extracted strings from preferences to put them properly in strings.xml

This commit is contained in:
Nathan Freitas 2011-11-14 03:20:11 -05:00
parent c35e134fa7
commit 66e1e82fde
2 changed files with 70 additions and 33 deletions

View File

@ -199,5 +199,38 @@
<string name="error">Error</string> <string name="error">Error</string>
<string name="your_reachableaddresses_settings_caused_an_exception_">Your ReachableAddresses settings caused an exception!</string> <string name="your_reachableaddresses_settings_caused_an_exception_">Your ReachableAddresses settings caused an exception!</string>
<string name="your_relay_settings_caused_an_exception_">Your relay settings caused an exception!</string> <string name="your_relay_settings_caused_an_exception_">Your relay settings caused an exception!</string>
<string name="exit_nodes">Exit Nodes</string>
<string name="fingerprints_nicks_countries_and_addresses_for_the_last_hop">Fingerprints, nicks, countries and addresses for the last hop</string>
<string name="enter_exit_nodes">Enter Exit Nodes</string>
<string name="exclude_nodes">Exclude Nodes</string>
<string name="fingerprints_nicks_countries_and_addresses_to_exclude">Fingerprints, nicks, countries and addresses to exclude</string>
<string name="enter_exclude_nodes">Enter Exclude Nodes</string>
<string name="strict_nodes">Strict Nodes</string>
<string name="use_only_these_specified_nodes">Use *only* these specified nodes</string>
<string name="bridges">Bridges</string>
<string name="use_bridges">Use Bridges</string>
<string name="enable_alternate_entrance_nodes_into_the_tor_network">Enable alternate entrance nodes into the Tor Network</string>
<string name="ip_address_and_port_of_bridges">IP address and port of bridges</string>
<string name="enter_bridge_addresses">Enter Bridge Addresses</string>
<string name="relays">Relays</string>
<string name="relaying">Relaying</string>
<string name="enable_your_device_to_be_a_non_exit_relay">Enable your device to be a non-exit relay</string>
<string name="relay_port">Relay Port</string>
<string name="listening_port_for_your_tor_relay">Listening port for your Tor relay</string>
<string name="enter_or_port">Enter OR port</string>
<string name="relay_nickname">Relay nickname</string>
<string name="the_nickname_for_your_tor_relay">The nickname for your Tor relay</string>
<string name="enter_a_custom_relay_nickname">Enter a custom relay nickname</string>
<string name="reachable_addresses">Reachable Addresses</string>
<string name="run_as_a_client_behind_a_firewall_with_restrictive_policies">Run as a client behind a firewall with restrictive policies</string>
<string name="reachable_ports">Reachable ports</string>
<string name="ports_reachable_behind_a_restrictive_firewall">Ports reachable behind a restrictive firewall</string>
<string name="enter_ports">Enter ports</string>
<string name="enable_hidden_services">Enable Hidden Services</string>
<string name="run_servers_accessible_via_the_tor_network">run servers accessible via the Tor network</string>
<string name="enter_localhost_ports_for_hidden_services">enter localhost ports for hidden services</string>
<string name="hidden_service_ports">Hidden Service Ports</string>
<string name="the_addressable_name_for_your_hidden_service_generated_automatically_">the addressable name for your hidden service (generated automatically)</string>
<string name="enable_debug_log_to_output_must_use_adb_or_alogcat_to_view_">enable debug log to output (must use adb or aLogCat to view)</string>
</resources> </resources>

View File

@ -66,57 +66,57 @@ android:summary="@string/pref_entrance_node_summary"
android:dialogTitle="@string/pref_entrance_node_dialog" android:dialogTitle="@string/pref_entrance_node_dialog"
/> />
<EditTextPreference android:key="pref_exit_nodes" <EditTextPreference android:key="pref_exit_nodes"
android:title="Exit Nodes" android:title="@string/exit_nodes"
android:summary="Fingerprints, nicks, countries and addresses for the last hop" android:summary="@string/fingerprints_nicks_countries_and_addresses_for_the_last_hop"
android:dialogTitle="Enter Exit Nodes" android:dialogTitle="@string/enter_exit_nodes"
/> />
<EditTextPreference android:key="pref_exclude_nodes" <EditTextPreference android:key="pref_exclude_nodes"
android:title="Exclude Nodes" android:title="@string/exclude_nodes"
android:summary="Fingerprints, nicks, countries and addresses to exclude" android:summary="@string/fingerprints_nicks_countries_and_addresses_to_exclude"
android:dialogTitle="Enter Exclude Nodes" android:dialogTitle="@string/enter_exclude_nodes"
/> />
<CheckBoxPreference android:defaultValue="false" <CheckBoxPreference android:defaultValue="false"
android:title="Strict Nodes" android:key="pref_strict_nodes" android:title="@string/strict_nodes" android:key="pref_strict_nodes"
android:summary="Use *only* these specified nodes"/> android:summary="@string/use_only_these_specified_nodes"/>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Bridges"> <PreferenceCategory android:title="@string/bridges">
<CheckBoxPreference android:defaultValue="false" <CheckBoxPreference android:defaultValue="false"
android:title="Use Bridges" android:key="pref_bridges_enabled" android:title="@string/use_bridges" android:key="pref_bridges_enabled"
android:summary="Enable alternate entrance nodes into the Tor Network"></CheckBoxPreference> android:summary="@string/enable_alternate_entrance_nodes_into_the_tor_network"></CheckBoxPreference>
<EditTextPreference android:key="pref_bridges_list" <EditTextPreference android:key="pref_bridges_list"
android:title="Bridges" android:title="@string/bridges"
android:summary="IP address and port of bridges" android:summary="@string/ip_address_and_port_of_bridges"
android:dialogTitle="Enter Bridge Addresses" android:dialogTitle="@string/enter_bridge_addresses"
/> />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Relays"> <PreferenceCategory android:title="@string/relays">
<CheckBoxPreference android:key="pref_or" <CheckBoxPreference android:key="pref_or"
android:defaultValue="false" android:defaultValue="false"
android:title="Relaying" android:title="@string/relaying"
android:summary="Enable your device to be a non-exit relay" android:summary="@string/enable_your_device_to_be_a_non_exit_relay"
android:enabled="true" android:enabled="true"
/> />
<EditTextPreference android:key="pref_or_port" <EditTextPreference android:key="pref_or_port"
android:defaultValue="9001" android:defaultValue="9001"
android:title="Relay Port" android:title="@string/relay_port"
android:summary="Listening port for your Tor relay" android:summary="@string/listening_port_for_your_tor_relay"
android:dialogTitle="Enter OR port" android:dialogTitle="@string/enter_or_port"
/> />
<EditTextPreference android:key="pref_or_nickname" <EditTextPreference android:key="pref_or_nickname"
android:defaultValue="Orbot" android:defaultValue="OrbotRelay"
android:title="Relay nickname" android:title="@string/relay_nickname"
android:summary="The nickname for your Tor relay" android:summary="@string/the_nickname_for_your_tor_relay"
android:dialogTitle="Enter a custom relay nickname" android:dialogTitle="@string/enter_a_custom_relay_nickname"
/> />
</PreferenceCategory> </PreferenceCategory>
@ -125,24 +125,28 @@ android:dialogTitle="Enter a custom relay nickname"
<CheckBoxPreference <CheckBoxPreference
android:key="pref_reachable_addresses" android:key="pref_reachable_addresses"
android:defaultValue="false" android:defaultValue="false"
android:title="ReachableAddresses" android:title="@string/reachable_addresses"
android:summary="Run as a client behind a firewall with restrictive policies" android:summary="@string/run_as_a_client_behind_a_firewall_with_restrictive_policies"
android:enabled="true"></CheckBoxPreference> android:enabled="true"></CheckBoxPreference>
<EditTextPreference <EditTextPreference
android:key="pref_reachable_addresses_ports" android:key="pref_reachable_addresses_ports"
android:defaultValue="*:80,*:443" android:defaultValue="*:80,*:443"
android:title="Reachable ports" android:title="@string/reachable_ports"
android:summary="Ports reachable behind a restrictive firewall" android:summary="@string/ports_reachable_behind_a_restrictive_firewall"
android:dialogTitle="Enter ports" android:dialogTitle="@string/enter_ports"
/> />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="@string/pref_hs_group"> <PreferenceCategory android:title="@string/pref_hs_group">
<CheckBoxPreference android:title="Enable Hidden Services" android:summary="run servers accessible via the Tor network" android:key="pref_hs_enable"></CheckBoxPreference> <CheckBoxPreference android:title="@string/enable_hidden_services"
<EditTextPreference android:summary="enter localhost ports for hidden services" android:title="Hidden Service Ports" android:enabled="false" android:key="pref_hs_ports"></EditTextPreference> android:summary="@string/run_servers_accessible_via_the_tor_network" android:key="pref_hs_enable"></CheckBoxPreference>
<EditTextPreference android:summary="@string/enter_localhost_ports_for_hidden_services"
android:title="@string/hidden_service_ports" android:enabled="false" android:key="pref_hs_ports"></EditTextPreference>
<EditTextPreference android:key="pref_hs_hostname" android:summary="the addressable name for your hidden service (generated automatically)" android:title=".Onion Hostname"></EditTextPreference> <EditTextPreference android:key="pref_hs_hostname"
android:summary="@string/the_addressable_name_for_your_hidden_service_generated_automatically_"
android:title=".Onion Hostname"></EditTextPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory android:title="Proxy Service for Tor"> <PreferenceCategory android:title="Proxy Service for Tor">
@ -168,7 +172,7 @@ android:dialogTitle="@string/pref_proxy_port_dialog"
android:key="pref_enable_logging" android:key="pref_enable_logging"
android:defaultValue="false" android:defaultValue="false"
android:title="Debug Log" android:title="Debug Log"
android:summary="enable debug log to output (must use adb or aLogCat to view)" android:summary="@string/enable_debug_log_to_output_must_use_adb_or_alogcat_to_view_"
android:enabled="true"></CheckBoxPreference> android:enabled="true"></CheckBoxPreference>