Commit 175a9b42 authored by Pierre Duchemin's avatar Pierre Duchemin

prefs: make some preferences translatable

Change-Id: I7cf02b4fffcf12232661cdf03f02d068b37110a5
parent d400b4a9
......@@ -162,6 +162,7 @@ along with this program; if not, write to the Free Software
<string name="account_tls_server_name_label">Server Name</string>
<string name="account_tls_verify_server_label">Verify Server</string>
<string name="account_tls_verify_client_label">Verify Client</string>
<string name="account_require_client_certificate_label">TLS Require Client Certificate</string>
<string name="account_tls_negotiation_timeout_sec">Negotiation Timeout (sec)</string>
<string name="account_rtp_max_port">Maximum</string>
<string name="account_rtp_min_port">Minimum</string>
......
......@@ -20,6 +20,10 @@
<string name="pref_hwEncode_title">Enable accelerated encoding</string>
<string name="pref_hwEncode_summary">Experimental feature</string>
<string name="pref_videoBitrate_title">Video bitrate</string>
<string name="pref_videoBitrate_summary">Select default outgoing video bitrate (KB/s)</string>
<string name="pref_videoResolution_title">Video resolution</string>
<string name="pref_videoResolution_summary">Select default outgoing video resolution</string>
<string name="pref_systemContacts_key" translatable="false">pref_systemContacts</string>
<string name="pref_systemContacts_title">Use system contacts</string>
......
......@@ -25,7 +25,7 @@ along with this program; if not, write to the Free Software
<Preference
android:key="ringtone"
android:summary="@string/account_ringtone_summary"
android:title="Set a ringtone"
android:title="@string/account_ringtone_title"
android:icon="@drawable/baseline_notifications_active_24"/>
</PreferenceCategory>
......
......@@ -126,7 +126,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:dependency="TLS.enable"
android:key="TLS.requireClientCertificate"
android:persistent="false"
android:title="TLS Require Client Certificate" />
android:title="@string/account_require_client_certificate_label" />
</androidx.preference.PreferenceCategory>
</androidx.preference.PreferenceScreen>
\ No newline at end of file
......@@ -25,8 +25,8 @@
android:entryValues="@array/video_bitrates"
android:icon="@drawable/baseline_bitrate_24"
android:key="video_bitrate"
android:summary="Select default outgoing video bitrate (KB/s)"
android:title="Video bitrate" />
android:summary="@string/pref_videoBitrate_summary"
android:title="@string/pref_videoBitrate_title" />
<ListPreference
android:defaultValue="@string/video_resolution_default_tv"
......@@ -34,8 +34,8 @@
android:entryValues="@array/video_resolutions"
android:icon="@drawable/baseline_hd_24"
android:key="video_resolution"
android:summary="Select default outgoing video resolution"
android:title="Video resolution" />
android:summary="@string/pref_videoResolution_summary"
android:title="@string/pref_videoResolution_title" />
</PreferenceCategory>
</PreferenceScreen>
\ No newline at end of file
......@@ -15,8 +15,8 @@
android:entryValues="@array/video_bitrates"
android:icon="@drawable/baseline_bitrate_24"
android:key="video_bitrate"
android:summary="Select default outgoing video bitrate (KB/s)"
android:title="Video bitrate" />
android:summary="@string/pref_videoBitrate_summary"
android:title="@string/pref_videoBitrate_title" />
<ListPreference
android:defaultValue="@string/video_resolution_default"
......@@ -24,7 +24,7 @@
android:entryValues="@array/video_resolutions"
android:icon="@drawable/baseline_hd_24"
android:key="video_resolution"
android:summary="Select default outgoing video resolution"
android:title="Video resolution" />
android:summary="@string/pref_videoResolution_summary"
android:title="@string/pref_videoResolution_title" />
</PreferenceScreen>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment