diff options
author | Kenny Root <kenny@the-b.org> | 2009-06-02 08:57:54 +0000 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2009-06-02 08:57:54 +0000 |
commit | a4f1455a9cacd5c254d2ebf69d11ad121571533e (patch) | |
tree | ffde4339cf02a282f7471bff42048ccf69cf4a24 /res | |
parent | 0b1f5e775236a489efa28f7c2b8ebecd7c05e758 (diff) | |
download | connectbot-a4f1455a9cacd5c254d2ebf69d11ad121571533e.tar.gz connectbot-a4f1455a9cacd5c254d2ebf69d11ad121571533e.tar.bz2 connectbot-a4f1455a9cacd5c254d2ebf69d11ad121571533e.zip |
Add audible terminal bell, vibrate on terminal bell, and notification on background terminal bell.
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@258 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'res')
-rw-r--r-- | res/raw/bell.ogg | bin | 0 -> 5090 bytes | |||
-rw-r--r-- | res/values/strings.xml | 14 | ||||
-rw-r--r-- | res/xml/preferences.xml | 19 |
3 files changed, 33 insertions, 0 deletions
diff --git a/res/raw/bell.ogg b/res/raw/bell.ogg Binary files differnew file mode 100644 index 0000000..674f25d --- /dev/null +++ b/res/raw/bell.ogg diff --git a/res/values/strings.xml b/res/values/strings.xml index db0e720..666bf3c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -169,6 +169,17 @@ <!-- Summary for the haptic feedback (bumpy arrow) preference --> <string name="pref_bumpyarrows_summary">Vibrate when sending arrow keys from trackball; useful for laggy connections</string> + <!-- Checkbox preference title for the audible terminal bell feature --> + <string name="pref_bell_title">Audible terminal bell</string> + + <!-- Checkbox preference title for the vibrate on terminal bell feature --> + <string name="pref_bell_vibrate_title">Vibrate on terminal bell</string> + + <!-- Checkbox preference title for the receive notifications on terminal bell feature --> + <string name="pref_bell_notification_title">Terminal bell notifications</string> + <!-- Brief summary of the feature that is enabled when the checkbox preference for the receive notifications on terminal bell feature is checked --> + <string name="pref_bell_notification_summary">Send notification when a terminal running in the background sounds a bell.</string> + <!-- Preference selection to indicate use of right side of keyboard for special shortcuts. --> <string name="list_keymode_right">Use right-side keys</string> <!-- Preference selection to indicate use of left side of keyboard for special shortcuts. --> @@ -334,6 +345,9 @@ <string name="local_shell_unavailable">Failure! Local shell is unavailable on this phone.</string> + <!-- Text sent to the user to alert them that a Terminal Bell is received in a background session --> + <string name="notification_text">%1$s wants your attention.</string> + <!-- Dialog title when a new version of ConnectBot is detected. --> <string name="upgrade">New version</string> <!-- Button selection to upgrade to the latest ConnectBot when one is available. --> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 5836d33..42f6b24 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -114,6 +114,25 @@ android:defaultValue="true" /> + <CheckBoxPreference + android:key="bell" + android:title="@string/pref_bell_title" + android:defaultValue="true" + /> + + <CheckBoxPreference + android:key="bellVibrate" + android:title="@string/pref_bell_vibrate_title" + android:defaultValue="true" + /> + + <CheckBoxPreference + android:key="bellNotification" + android:title="@string/pref_bell_notification_title" + android:summary="@string/pref_bell_notification_summary" + android:defaultValue="false" + /> + </PreferenceCategory> </PreferenceScreen> |