1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

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="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 --> <!-- Title for the preference to set STTRACE parameters -->
<string name="sttrace_title">Debug Options</string> <string name="sttrace_title">Debug Options</string>

View file

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