aboutsummaryrefslogtreecommitdiffstats
path: root/app/res/values
diff options
context:
space:
mode:
authorFil <fil.bergamo@riseup.net>2017-12-17 12:59:08 +0100
committerFil <fil.bergamo@riseup.net>2017-12-17 13:32:16 +0100
commitbf2cc09307e404a8d6de0bfd77e1e8366e1a0497 (patch)
treea402e530fbba54a1a50c3fae5ef63a8c33204a5c /app/res/values
parent4a005f9be829b18438f5343d5104c840efd36ea5 (diff)
downloadRepWifiApp-0.6.tar.gz
RepWifiApp-0.6.tar.bz2
RepWifiApp-0.6.zip
new version v0.6 - new features plus code cleanupv0.6
* NEW: introduced static IP/gateway settings per network. * NEW: added OpenVPN support via interaction with de.blinkt.openvpn * completed french translation by Nicola Spanti. * improved stability by changing dhcpcd options. * better shell command handling, with direct output reading. * better network storage, based on JSON instead of TSV. * cleaned up engine's code. * clean up xml styling files * replaced all string litterals with @string resoruces
Diffstat (limited to 'app/res/values')
-rw-r--r--app/res/values/strings.xml81
-rw-r--r--app/res/values/strings_activity_input_password.xml11
-rw-r--r--app/res/values/strings_activity_settings.xml43
-rw-r--r--app/res/values/styles.xml2
4 files changed, 81 insertions, 56 deletions
diff --git a/app/res/values/strings.xml b/app/res/values/strings.xml
index dccbe44..8e8cd36 100644
--- a/app/res/values/strings.xml
+++ b/app/res/values/strings.xml
@@ -3,6 +3,7 @@
<string name="app_name">RepWifi</string>
<string name="menu_credits">Info and Credits</string>
+ <string name="menu_closeapp">Kill RepWifi</string>
<string name="scan_networks">Scan for Networks</string>
<string name="title_activity_select_network">Select Network</string>
<string name="rescan">Repeat Scan</string>
@@ -10,7 +11,6 @@
<string name="insert_nets_password">Insert a Password to connect to:</string>
<string name="show_password">Show password</string>
<string name="title_activity_connect">ConnectActivity</string>
- <string name="hello_world">Hello world!</string>
<string name="title_activity_show_status">Connection status</string>
<string name="back_main">Back to main</string>
<string name="disconnect">Disconnect</string>
@@ -20,7 +20,7 @@
<string name="delete">Delete network info</string>
<string name="manage_networks">Manage Networks</string>
<string name="title_activity_credits">Credits</string>
- <string name="credit_text">Copyright 2017 Filippo \&quot;Fil\&quot; Bergamo&lt;br/&gt;&lt;br/&gt;This app is Free Software.&lt;br/&gt;It\'s licensed under the terms of &lt;a href=&quot;https://www.gnu.org/licenses/gpl.txt&quot;&gt;GPL v3&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;This app is developed as a contribution to &lt;br/&gt;&lt;a href=&quot;http://www.replicant.us&quot;&gt;The Replicant Project&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;&lt;u&gt;&lt;big&gt;Thank GNUs:&lt;/big&gt;&lt;/u&gt;&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Tiberiu - Technoethical&lt;/b&gt;&lt;br/&gt;for having done the initial job of porting libre WiFi to Replicant 4.2.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Wolfgang Wiedmeyer&lt;/b&gt;&lt;br/&gt;for porting libre WiFi to Replicant 6.0 and for helping with the scripts.&lt;br/&gt;&lt;br/&gt;To report on bugs, request features, or any help request, please refer to:&lt;br/&gt;&lt;a href=&quot;http://redmine.replicant.us/projects/replicant/boards&quot;&gt;Replicant\'s Forum&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Source code is hosted at: &lt;br/&gt;&lt;a href=&quot;https://git.replicant.us/contrib/Fil/RepWifiApp/&quot;&gt;https://git.replicant.us/contrib/Fil/RepWifiApp/&lt;/a&gt;&lt;br/&gt;</string>
+ <string name="credit_text">Copyright 2017 Filippo \&quot;Fil\&quot; Bergamo&lt;br/&gt;&lt;br/&gt;This app is Free Software.&lt;br/&gt;It\'s licensed under the terms of &lt;a href=&quot;https://www.gnu.org/licenses/gpl.txt&quot;&gt;GPL v3&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;This app is developed as a contribution to &lt;br/&gt;&lt;a href=&quot;http://www.replicant.us&quot;&gt;The Replicant Project&lt;/a&gt;&lt;br/&gt;To report on bugs, request features, or any help request, please refer to:&lt;br/&gt;&lt;a href=&quot;http://redmine.replicant.us/projects/replicant/boards&quot;&gt;Replicant\'s Forum&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Source code is hosted at: &lt;br/&gt;&lt;a href=&quot;https://git.replicant.us/contrib/Fil/RepWifiApp/&quot;&gt;https://git.replicant.us/contrib/Fil/RepWifiApp/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;&lt;u&gt;&lt;big&gt;Thank GNUs:&lt;/big&gt;&lt;/u&gt;&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Tiberiu - Technoethical&lt;/b&gt;&lt;br/&gt;for having done the initial job of porting libre WiFi to Replicant 4.2.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Wolfgang Wiedmeyer&lt;/b&gt;&lt;br/&gt;for porting libre WiFi to Replicant 6.0 and for helping with the scripts.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Nicola Spanti&lt;/b&gt;&lt;br/&gt;for the French translation.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Nichlas Severinsen&lt;/b&gt;&lt;br/&gt;for publishing this app on F-Droid.&lt;br/&gt;&lt;br/&gt;</string>
<string name="menu_config">Settings</string>
<string name="msg_interface_not_found">WiFi adapter not found!\nPlease plug in a supported WiFi adapter and retry.</string>
<string name="msg_confirm_delete_network">Are you sure you want to delete this network?</string>
@@ -38,7 +38,84 @@
<string name="dns2_default">169.239.202.202</string>
<string name="receiver_description">RepWifi\'s listener for startup event. Provides auto-start and notification features to RepWifi.</string>
<string name="confirm_reset_settings">Are you sure you want to reset all settings to default?</string>
+ <string name="confirm_exit_app">Are you sure you want to kill RepWifi? This will disconnect you from WiFi.</string>
<string name="confirm_kill_backend">Are you sure you want to kill the back-end processes?</string>
<string name="summary_kill_backend">Sometimes back-end programs get stuck in inconsistent states.\nClicking this button restores normal behaviour by killing running instances of wpa_supplicant and dhcpcd."</string>
+ <string name="text_presented_by">Brought to you by:</string>
+ <string name="title_input_password">Input Password</string>
+ <string name="msg_password_empty">Password can\'t be empty!</string>
+ <string name="title_input_ssid">Insert Network\'s parameters</string>
+ <string name="msg_network_name_empty">Network name can\'t be empty!</string>
+ <string name="msg_connecting_to">Connecting to </string>
+ <string name="title_scanning">Scanning...</string>
+ <string name="msg_scanning_for_nets">Scanning for Networks...</string>
+ <string name="msg_checking_status">Checking status...</string>
+ <string name="msg_please_wait">Please wait...</string>
+ <string name="msg_network_saved">Network saved!</string>
+ <string name="msg_network_save_fail">FAILED to save network!</string>
+ <string name="msg_connect_fail">FAILED to connect!</string>
+ <string name="msg_netinfo_deleted">Network Info deleted!</string>
+ <string name="msg_netinfo_delete_fail">FAILED to delete Network Info!</string>
+ <string name="msg_autoconnect_error">An error occurred while trying to auto-connect</string>
+ <string name="text_netinfo_last_used">Last Used</string>
+ <string name="text_password">Password</string>
+ <string name="msg_network_list_fail">Unable to retrieve network list!</string>
+ <string name="msg_no_network">No network found.</string>
+ <string name="msg_select_network_connect">Select the network you want to connect to:</string>
+ <string name="msg_select_network_manage">Select network info to manage:</string>
+ <string name="msg_log_saved">Logs saved to file</string>
+ <string name="msg_log_save_fail">Failed to dump logs!</string>
+ <string name="msg_error_ip_format">ERROR:\nWrong IP format!</string>
+ <string name="msg_connected_to">Connected to</string>
+ <string name="text_ip_address">IP Address</string>
+ <string name="msg_disconnected">Disconnected.</string>
+ <string name="msg_disconnect_fail">FAILED to disconnect!</string>
+ <string name="text_status">Status</string>
+ <string name="msg_no_saved_network">No saved network</string>
+ <string name="msg_touch_open">Touch to open.</string>
+ <string name="msg_os_unsupported">UNSUPPORTED OS VERSION\nThe current version of Replicant is not supported by RepWifi.\nPlease upgrade to the latest version as soon as possible!</string>
+ <string name="title_log_prio">Log priority</string>
+ <string name="title_dump_logs">Dump logs to file</string>
+ <string name="title_reset_backend">Reset back-end engine</string>
+ <string name="title_dns_1">DNS server #1</string>
+ <string name="title_dns_2">DNS server #2</string>
+ <string name="summary_dns1">Set the IPv4 address of the primary DNS server.\nIf left blank, RepWifi will try to use the default gateway as a DNS resolver.</string>
+ <string name="summary_dns2">Set the IPv4 address of the secondary DNS server.\nIf the primary address is blank, this will be ignored.</string>
+ <string name="title_autoconnect">Enable Autoconnect</string>
+ <string name="summary_autoconnect">When the WiFi dongle is attached, RepWifi connects automatically to reachable known networks.\n(Experimental).</string>
+ <string name="title_progbar">Animated progress bar</string>
+ <string name="summary_progbar">Show an animated progress bar while doing long background tasks.\nKeep it disabled to (hopefully) save some extra power for the WiFi dongle.</string>
+ <string name="title_start_at_boot">Enable Start at Boot</string>
+ <string name="summary_start_at_boot">If checked, RepWifi is started automatically on system\'s startup.</string>
+ <string name="title_restore_default">Restore Defaults</string>
+ <string name="summary_restore_default">click to restore default settings\n(then return to main screen to apply the reset)</string>
+ <string name="title_advanced_settings">Advanced &amp; Debug</string>
+ <string name="title_general_settings">Options</string>
+ <string name="summary_advanced_settings">set advanced options and debug variables</string>
+ <string name="summary_general_settings">set general options</string>
+ <string name="text_use_dhcp">Use DHCP</string>
+ <string name="text_ipv4_settings">IPv4 settings</string>
+ <string name="text_static_ip">Static IP</string>
+ <string name="text_subnet_mask">Subnet Mask</string>
+ <string name="text_gateway">Gateway</string>
+ <string name="title_activity_ipv4_settings">Ipv4SettingsActivity</string>
+ <string name="txt_save_ip_settings">Save IP settings</string>
+ <string name="txt_back">Back</string>
+ <string name="msg_invalid_ip">Invalid IP address!</string>
+ <string name="msg_invalid_netmask">Invalid Subnet Mask!</string>
+ <string name="msg_invalid_gateway">Invalid Gateway!</string>
+ <string name="msg_vpn_disconnect_error">ERROR while disconnecting from VPN!</string>
+ <string name="msg_vpn_disconnect">Disconnected from VPN</string>
+ <string name="msg_vpn_launched">Launched VPN connection</string>
+ <string name="msg_vpn_wrong_profile">Invalid profile name!</string>
+ <string name="title_vpn_settings">VPN settings</string>
+ <string name="text_vpn_package_missing">Seems like the required VPN app is not installed.\nRepWifi needs &quot;[VPN_EXT_APP]&quot; to be installed, in order to provide VPN features.\nPlease install &quot;[VPN_EXT_APP]&quot; and retry.</string>
+ <string name="msg_vpn_no_permission">VPN permission denied.\nYou need to grant RepWifi permission to use &quot;[VPN_EXT_APP]&quot; when you are prompted for it.\nRepWifi won\'t be able to start VPN until you do so.</string>
+ <string name="msg_vpn_connect_error">** ERROR while connecting to VPN **</string>
+ <string name="title_activity_vpn_settings">VPN Settings</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="txt_save">Save</string>
+ <string name="summary_vpn_settings">Select the name of a VPN profile that you want to be launched automatically when you connect to this network.\nLeave blank to disable automatic VPN connection.\nTo use VPN capability, &quot;[VPN_EXT_APP]&quot; must be installed in the system.</string>
+ <string name="msg_vpn_no_profile">No profile found.\nPlease add a VPN profile inside [VPN_EXT_APP] before using this feature.</string>
</resources> \ No newline at end of file
diff --git a/app/res/values/strings_activity_input_password.xml b/app/res/values/strings_activity_input_password.xml
index 4770a51..31b8865 100644
--- a/app/res/values/strings_activity_input_password.xml
+++ b/app/res/values/strings_activity_input_password.xml
@@ -3,15 +3,6 @@
<string name="title_activity_input_password">Insert passwrod for network</string>
<!-- Strings related to login -->
- <string name="prompt_email">Email</string>
- <string name="prompt_password">Password</string>
- <string name="action_sign_in_register"><b>Sign in</b> or register</string>
- <string name="action_sign_in_short">Sign in</string>
- <string name="menu_forgot_password">Recover lost password</string>
- <string name="login_progress_signing_in">Signing in&#8230;</string>
- <string name="error_invalid_email">This email address is invalid</string>
- <string name="error_invalid_password">This password is too short</string>
- <string name="error_incorrect_password">This password is incorrect</string>
- <string name="error_field_required">This field is required</string>
+
</resources> \ No newline at end of file
diff --git a/app/res/values/strings_activity_settings.xml b/app/res/values/strings_activity_settings.xml
index d7bab93..dfc25ca 100644
--- a/app/res/values/strings_activity_settings.xml
+++ b/app/res/values/strings_activity_settings.xml
@@ -6,52 +6,9 @@
<!-- Example General settings -->
- <string name="pref_header_general">General</string>
- <string name="pref_title_social_recommendations">Enable social recommendations</string>
- <string name="pref_description_social_recommendations">Recommendations for people to contact based on your message history</string>
- <string name="pref_title_display_name">Display name</string>
- <string name="pref_default_display_name">John Smith</string>
- <string name="pref_title_add_friends_to_messages">Add friends to messages</string>
-
- <string-array name="pref_example_list_titles">
- <item>Always</item>
- <item>When possible</item>
- <item>Never</item>
- </string-array>
- <string-array name="pref_example_list_values">
- <item>1</item>
- <item>0</item>
- <item>-1</item>
- </string-array>
<!-- Example settings for Data & Sync -->
- <string name="pref_header_data_sync">Data &amp; sync</string>
- <string name="pref_title_sync_frequency">Sync frequency</string>
-
- <string-array name="pref_sync_frequency_titles">
- <item>15 minutes</item>
- <item>30 minutes</item>
- <item>1 hour</item>
- <item>3 hours</item>
- <item>6 hours</item>
- <item>Never</item>
- </string-array>
- <string-array name="pref_sync_frequency_values">
- <item>15</item>
- <item>30</item>
- <item>60</item>
- <item>180</item>
- <item>360</item>
- <item>-1</item>
- </string-array>
-
- <string name="pref_title_system_sync_settings">System sync settings</string>
<!-- Example settings for Notifications -->
- <string name="pref_header_notifications">Notifications</string>
- <string name="pref_title_new_message_notifications">New message notifications</string>
- <string name="pref_title_ringtone">Ringtone</string>
- <string name="pref_ringtone_silent">Silent</string>
- <string name="pref_title_vibrate">Vibrate</string>
</resources> \ No newline at end of file
diff --git a/app/res/values/styles.xml b/app/res/values/styles.xml
index 18e186b..2a431aa 100644
--- a/app/res/values/styles.xml
+++ b/app/res/values/styles.xml
@@ -42,7 +42,7 @@
<item name="android:textColor">@color/ThemeLight</item>
<item name="android:cacheColorHint">@color/Anthracite</item>
</style>
-
+
<style name="RepWifi.BorderlessButton" parent="@android:style/Widget.Holo.Button.Borderless">
<item name="android:textColor">@color/ThemeLight</item>
<item name="android:background">@drawable/repwifi_button</item>