The terminal app was using the preferences framework incorrectly: it was trying to keep its own authoritative copies of the preferences, instead of relying in the preference framework to store the preferences. This lead to some race conditions, and made terminal's preferences not work correctly in Donut or Eclair. Terminal now uses preferences in a more straightforward way. As long as I was editing terminal, I made two additional changes: Term now honors the display density. This makes the text more readable on high-density devices. An I put in some error checks for empty shell and first-command strings. Fixes bug 2177356 Term program on Sholes: preferences doesn't work
56 lines
2.6 KiB
XML
56 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
* Copyright (C) 2008 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
-->
|
|
<resources>
|
|
<string name="application_terminal">Terminal Emulator</string>
|
|
<string name="preferences">Preferences</string>
|
|
<string name="reset">Reset term</string>
|
|
<string name="send_email">Email to</string>
|
|
<string name="special_keys">Special keys</string>
|
|
|
|
<!-- Preference dialog -->
|
|
<string name="text_preferences">Text</string>
|
|
|
|
<string name="title_fontsize_preference">Font size</string>
|
|
<string name="summary_fontsize_preference">Choose character height in points.</string>
|
|
<string name="dialog_title_fontsize_preference">Font size</string>
|
|
|
|
<string name="title_color_preference">Colors</string>
|
|
<string name="summary_color_preference">Choose text color.</string>
|
|
<string name="dialog_title_color_preference">Text color</string>
|
|
|
|
<string name="keyboard_preferences">Keyboard</string>
|
|
<string name="title_controlkey_preference">Control key</string>
|
|
<string name="summary_controlkey_preference">Choose control key.</string>
|
|
<string name="dialog_title_controlkey_preference">Control key</string>
|
|
|
|
<string name="shell_preferences">Shell</string>
|
|
<string name="title_shell_preference">Command line</string>
|
|
<string name="summary_shell_preference">Specify the shell command line.</string>
|
|
<string name="dialog_title_shell_preference">Shell</string>
|
|
|
|
<string name="title_initialcommand_preference">Initial command</string>
|
|
<string name="summary_initialcommand_preference">Sent to the shell when it starts.</string>
|
|
<string name="dialog_title_initialcommand_preference">Initial Command</string>
|
|
|
|
<!-- Don't localize these default values -->
|
|
<string name="default_value_fontsize_preference">10</string>
|
|
<string name="default_value_color_preference">2</string>
|
|
<string name="default_value_controlkey_preference">0</string>
|
|
<string name="default_value_shell_preference">/system/bin/sh -</string>
|
|
<string name="default_value_initialcommand_preference">export PATH=/data/local/bin:$PATH</string>
|
|
</resources>
|