From bddbeeb2a5754248a931aa38dce6870ce2cf50b1 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 5 May 2009 13:50:34 +0000 Subject: Externalize preference strings so they may be translated. --- res/values/strings.xml | 109 ++++++++++++++++++++++++++++++++++++++++++++++++ res/xml/host_prefs.xml | 31 +++++++------- res/xml/preferences.xml | 70 +++++++++++++++---------------- 3 files changed, 159 insertions(+), 51 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 55ecb7e..ef4d8d6 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -73,6 +73,9 @@ Bits: + + Password for key '%1$s' + Passwords do not match! Wrong password! Private key appears corrupt! @@ -122,6 +125,67 @@ bumpyarrows + + Terminal emulation + + + Emulation mode + + Terminal emulation mode to use for PTY connections + + + Scrollback size + + Size of scrollback buffer to keep in memory for each console + + + User interface + + + Rotation mode + + How to change rotation when keyboard popped in/out + + + Full screen + + Hide status bar while in console + + + Remember keys in memory + + Keep unlocked keys in memory until backend service is terminated + + + Update check + + Set the maximum frequency to check for ConnectBot updates + + + Directory shortcuts + + Select how to use Alt for '/' and Shift for Tab + + + Camera shortcut + + Select which shortcut to trigger when the camera button is pushed + + + Keep screen awake + + Prevent the screen from turning off when working in a console + + + Keep Wi-Fi active + + Prevent Wi-Fi from turning off when a session is active + + + Bumpy arrows + + Vibrate when sending arrow keys from trackball; useful for laggy connections + Use right-side keys @@ -141,6 +205,45 @@ Never + + Nickname + + + Color category + + + Use pubkey authentication + + + Post-login automation + + + Compression + + This may help with slower networks + + + Start shell session + + Disable this preference to only use port forwards + + + Encoding + + Character encoding for the host + + + Connection settings + + + Username + + + Host + + + Port + %1$s minutes ago @@ -240,11 +343,17 @@ Password Authentication method 'password' failed + Attempting 'publickey' authentication with any in-memory public keys + Selected public key is invalid, try reselecting key in host editor + Attempting 'publickey' authentication with a specific public key + Attempting 'keyboard-interactive' authentication Authentication method 'keyboard-interactive' failed [Your host doesn't support 'password' or 'keyboard-interactive' authentication.] + Failure! Local shell is unavailable on this phone. + New version diff --git a/res/xml/host_prefs.xml b/res/xml/host_prefs.xml index 01e5546..387528a 100644 --- a/res/xml/host_prefs.xml +++ b/res/xml/host_prefs.xml @@ -20,13 +20,13 @@ @@ -39,59 +39,58 @@ + android:title="@string/hostpref_connection_category"> - - \ No newline at end of file + diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 676d866..ef384f1 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -19,37 +19,37 @@ + android:title="@string/pref_emulation_category"> @@ -57,60 +57,60 @@ + android:title="@string/pref_ui_category"> -- cgit v1.2.3