aboutsummaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-05-11 22:18:32 +0000
committerKenny Root <kenny@the-b.org>2009-05-11 22:18:32 +0000
commit0f4aab8e8c01f3d9e625fd3cc8a55b515a4e1047 (patch)
treed15d629b8e5e1e681c51d8991b0d6a39cea07e93 /res/values
parentc26365d488b9b4829ef29582b33aeffa10861082 (diff)
downloadconnectbot-0f4aab8e8c01f3d9e625fd3cc8a55b515a4e1047.tar.gz
connectbot-0f4aab8e8c01f3d9e625fd3cc8a55b515a4e1047.tar.bz2
connectbot-0f4aab8e8c01f3d9e625fd3cc8a55b515a4e1047.zip
Externalized some strings that should be translated.
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@232 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml8
-rw-r--r--res/values/strings.xml27
2 files changed, 29 insertions, 6 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 6286561..5893a0e 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -25,10 +25,10 @@
</string-array>
<string-array name="list_colors">
- <item>red</item>
- <item>green</item>
- <item>blue</item>
- <item>gray</item>
+ <item>@string/color_red</item>
+ <item>@string/color_green</item>
+ <item>@string/color_blue</item>
+ <item>@string/color_gray</item>
</string-array>
<string-array name="list_update">
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2ec7d70..4ec0c88 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -36,7 +36,8 @@
<string name="pubkey_import">Import</string>
<string name="pubkey_delete">Delete key</string>
<string name="pubkey_gather_entropy">Gathering Entropy</string>
- <string name="pubkey_touch_prompt">Touch this box to gather randomness: </string>
+ <string name="pubkey_touch_prompt">Touch this box to gather randomness: %1$d%% done</string>
+ <string name="pubkey_touch_hint">In order to assure randomness during the key generation, move your finger randomly over the box below.</string>
<string name="pubkey_generating">Generating key pair...</string>
<string name="pubkey_copy_private">Copy private key</string>
<string name="pubkey_copy_public">Copy public key</string>
@@ -76,6 +77,21 @@
<!-- Prompt for the password to unlock a certain pubkey. -->
<string name="prompt_pubkey_password">Password for key '%1$s'</string>
+ <!-- The header of the warning a user gets when the host key has changed. Note that this can be a very serious attack, so we try to be as "loud" to the user as possible. -->
+ <string name="host_verification_failure_warning_header">WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!</string>
+ <!-- The body of the warning a user gets when the host key has changed. Note that this can be a very serious attack, so we try to be as "loud" to the user as possible. -->
+ <string name="host_verification_failure_warning">IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\nIt is also possible that the host key has just been changed.</string>
+
+ <!-- Prompt user gets when the remote host has disconnected unexpectedly. -->
+ <string name="prompt_host_disconnected">Host has disconnected.\nClose session?</string>
+ <!-- Prompt user must answer yes or no to when the remote host fails verification of encryption fingerprint -->
+ <string name="prompt_continue_connecting">Are you sure you want\nto continue connecting?</string>
+
+ <!-- Sent to user when the remote public encryption key fingerprint doesn't match the local database -->
+ <string name="host_authenticity_warning">The authenticity of host '%1$s' can't be established.</string>
+ <!-- First field is encryption algorithm. Second is the actual fingerprint in hex digits -->
+ <string name="host_fingerprint">Host %1$s key fingerprint is %2$s</string>
+
<string name="alert_passwords_do_not_match_msg">Passwords do not match!</string>
<string name="alert_wrong_password_msg">Wrong password!</string>
<string name="alert_key_corrupted_msg">Private key appears corrupt!</string>
@@ -216,6 +232,8 @@
<!-- Host post-login automation preference title -->
<string name="hostpref_postlogin_title">Post-login automation</string>
+ <!-- Host post-login automation preference summary -->
+ <string name="hostpref_postlogin_summary">Commands to run on remote server once authenticated</string>
<!-- Host compression preference title -->
<string name="hostpref_compression_title">Compression</string>
@@ -354,7 +372,7 @@
<string name="terminal_auth_fail">[Your host doesn't support 'password' or 'keyboard-interactive' authentication.]</string>
- <string name="local_shell_unavailable">Failure! Local shell is unavailable on this phone.</string>
+ <string name="local_shell_unavailable">Failure! Local shell is unavailable on this phone.</string>
<!-- Dialog title when a new version of ConnectBot is detected. -->
<string name="upgrade">New version</string>
@@ -362,4 +380,9 @@
<string name="upgrade_pos">Yes, upgrade</string>
<!-- Button selection to skip upgrading to the latest ConnectBot when one is available. -->
<string name="upgrade_neg">Not right now</string>
+
+ <string name="color_red">red</string>
+ <string name="color_green">green</string>
+ <string name="color_blue">blue</string>
+ <string name="color_gray">gray</string>
</resources>