Made all settings translatable.

This commit is contained in:
Felix Ableitner 2014-10-14 20:10:22 +03:00
parent 25be5539fc
commit c9e670157b
2 changed files with 48 additions and 16 deletions

View File

@ -215,6 +215,38 @@ Please report any problems you encounter via Github.</string>
<string name="sync_only_wifi">Sync only on wifi</string>
<string name="syncthing_options">Syncthing Options</string>
<string name="listen_address">Sync Protocol Listen Addresses</string>
<string name="max_recv_kbps">Incoming Rate Limit (KiB/s)</string>
<string name="max_send_kbps">Outgoing Rate Limit (KiB/s)</string>
<string name="reconnect_interval">Reconnect Interval (s)</string>
<string name="parallell_requests">Max Outstanding Requests</string>
<string name="max_change_kbps">Max File Change Rate (KiB/s)</string>
<string name="global_announce_enabled">Global Discovery</string>
<string name="local_announce_enabled">Local Discovery</string>
<string name="local_announce_port">Local Discovery Port</string>
<string name="upnp_enabled">Enable UPnP</string>
<string name="syncthing_gui">Syncthing GUI</string>
<string name="gui_address">GUI Listen Addresses</string>
<string name="gui_user">GUI Authentication User</string>
<string name="gui_password">GUI Authentication Password</string>
<string name="gui_https_enabled">Use HTTPS for GUI</string>
<!-- Title for the preference to set STTRACE parameters -->
<string name="sttrace_title">Debug Options</string>

View File

@ -18,79 +18,79 @@
<PreferenceScreen
android:key="syncthing_options"
android:title="Syncthing Options"
android:title="@string/syncthing_options"
android:persistent="false">
<EditTextPreference
android:key="ListenAddress"
android:title="Sync Protocol Listen Addresses"
android:title="@string/listen_address"
android:defaultValue="0.0.0.0:22000" />
<EditTextPreference
android:key="MaxRecvKbps"
android:title="Incoming Rate Limit (KiB/s)"
android:title="@string/max_recv_kbps"
android:numeric="integer" />
<EditTextPreference
android:key="MaxSendKbps"
android:title="Outgoing Rate Limit (KiB/s)"
android:title="@string/max_send_kbps"
android:numeric="integer" />
<EditTextPreference
android:key="ReconnectIntervalS"
android:title="Reconnect Interval (s)"
android:title="@string/reconnect_interval"
android:numeric="integer" />
<EditTextPreference
android:key="ParallelRequests"
android:title="Max Outstanding Requests"
android:title="@string/parallell_requests"
android:numeric="integer" />
<EditTextPreference
android:key="MaxChangeKbps"
android:title="Max File Change Rate (KiB/s)"
android:title="@string/max_change_kbps"
android:numeric="integer" />
<CheckBoxPreference
android:key="GlobalAnnEnabled"
android:title="Global Discovery" />
android:title="@string/global_announce_enabled" />
<CheckBoxPreference
android:key="LocalAnnEnabled"
android:title="Local Discovery" />
android:title="@string/local_announce_enabled" />
<EditTextPreference
android:key="LocalAnnPort"
android:title="Local Discovery Port"
android:title="@string/local_announce_port"
android:numeric="integer" />
<CheckBoxPreference
android:key="UPnPEnabled"
android:title="Enable UPnP" />
android:title="@string/upnp_enabled" />
</PreferenceScreen>
<PreferenceScreen
android:key="syncthing_gui"
android:title="Syncthing GUI"
android:title="@string/syncthing_gui"
android:persistent="false">
<EditTextPreference
android:key="Address"
android:title="GUI Listen Addresses" />
android:title="@string/gui_address" />
<EditTextPreference
android:key="User"
android:title="GUI Authentication User" />
android:title="@string/gui_user" />
<EditTextPreference
android:key="Password"
android:title="GUI Authentication Password"
android:title="@string/gui_password"
android:inputType="textPassword" />
<CheckBoxPreference
android:key="UseTLS"
android:title="Use HTTPS for GUI"
android:title="@string/gui_https_enabled"
android:enabled="false" />
</PreferenceScreen>