Add further strings
This commit is contained in:
parent
e3e7eb1e9d
commit
03986d4036
5 changed files with 17 additions and 10 deletions
|
@ -80,7 +80,7 @@ public final class MucDetailsContextMenuHelper {
|
|||
items.add(activity.getString(isGroupChat ? R.string.ban_from_conference : R.string.ban_from_channel));
|
||||
actions.add(ACTION_BAN);
|
||||
} else if (!Config.DISABLE_BAN) {
|
||||
items.add(isGroupChat ? "Unban from group chat" : "Unban from channel");
|
||||
items.add(isGroupChat ? activity.getString(R.string.unban_from_group_chat) : activity.getString(R.string.unban_from_channel));
|
||||
actions.add(ACTION_REMOVE_MEMBERSHIP);
|
||||
}
|
||||
if (!user.getAffiliation().ranks(MucOptions.Affiliation.MEMBER)) {
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
<item
|
||||
android:id="@+id/action_add_shortcut"
|
||||
android:orderInCategory="73"
|
||||
android:title="Add to Home Screen"
|
||||
android:title="@string/add_to_home_screen"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
android:visible="false" />
|
||||
<item
|
||||
android:id="@+id/block_media"
|
||||
android:title="Block Media"
|
||||
android:title="@string/block_media"
|
||||
android:visible="false" />
|
||||
<item
|
||||
android:id="@+id/delete_file"
|
||||
|
|
|
@ -1330,4 +1330,11 @@
|
|||
<string name="success_import_settings">Settings successfully imported</string>
|
||||
<string name="error_import_settings">Error while importing the settings</string>
|
||||
<string name="could_not_modify_call">Could not modify call</string>
|
||||
<string name="change_stickers_location">Change stickers location</string>
|
||||
<string name="clear_blocked_media">Clear blocked media</string>
|
||||
<string name="voice_message_codec">Voice message codec</string>
|
||||
<string name="always_accept_when_unmetered">Always accept when unmetered</string>
|
||||
<string name="pref_auto_accept_unmetered_summary">Don\'t use the above size limit on unmetered networks</string>
|
||||
<string name="unban_from_group_chat">Unban from group chat</string>
|
||||
<string name="unban_from_channel">Unban from channel</string>
|
||||
</resources>
|
|
@ -30,10 +30,10 @@
|
|||
android:defaultValue="@bool/auto_accept_unmetered"
|
||||
android:icon="@drawable/ic_wifi_24dp"
|
||||
android:key="auto_accept_unmetered"
|
||||
android:title="Always Accept When Unmetered"
|
||||
android:summary="Don't use the above size limit on unmetered networks" />
|
||||
android:title="@string/always_accept_when_unmetered"
|
||||
android:summary="@string/pref_auto_accept_unmetered_summary" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="Advanced">
|
||||
<PreferenceCategory android:title="@string/pref_advanced_options">
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/internal_meda_viewer"
|
||||
android:icon="@drawable/outline_perm_media_24"
|
||||
|
@ -41,16 +41,16 @@
|
|||
android:title="@string/internal_meda_viewer_title"
|
||||
android:summary="@string/internal_meda_viewer_summary" />
|
||||
<Preference
|
||||
android:title="Change Stickers Location"
|
||||
android:title="@string/change_stickers_location"
|
||||
android:key="sticker_directory" />
|
||||
<Preference
|
||||
android:title="Update Default Stickers"
|
||||
android:title="@string/update_default_stickers"
|
||||
android:key="download_default_stickers" />
|
||||
<Preference
|
||||
android:title="Clear Blocked Media"
|
||||
android:title="@string/clear_blocked_media"
|
||||
android:key="clear_blocked_media" />
|
||||
<ListPreference
|
||||
android:title="Voice Message Codec"
|
||||
android:title="@string/voice_message_codec"
|
||||
android:defaultValue="mpeg4"
|
||||
android:entries="@array/voice_codec_entries"
|
||||
android:entryValues="@array/voice_codec_values"
|
||||
|
|
Loading…
Reference in a new issue