summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-01-12 15:19:11 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2010-01-12 15:19:11 -0800
commit9719d9e70567984a0133a7d606ff053d3bb19906 (patch)
tree637282cea2acd2999da561358d175d5d0d5c5ff8 /res/values
parentedf8fcfb3a2114914d681c61e2a14896ba776007 (diff)
downloadandroid_packages_apps_DeskClock-9719d9e70567984a0133a7d606ff053d3bb19906.tar.gz
android_packages_apps_DeskClock-9719d9e70567984a0133a7d606ff053d3bb19906.tar.bz2
android_packages_apps_DeskClock-9719d9e70567984a0133a7d606ff053d3bb19906.zip
android-2.1_r1 snapshot
Diffstat (limited to 'res/values')
-rw-r--r--res/values/colors.xml24
-rw-r--r--res/values/strings.xml251
-rw-r--r--res/values/styles.xml60
3 files changed, 335 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 000000000..df2c9cf35
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,24 @@
+<?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>
+ <color name="ampm_off">#ff404040</color>
+ <color name="ampm_on">#ffffffff</color>
+
+ <color name="white">#ffffffff</color>
+ <color name="red">#ffee0000</color>
+ <color name="grey">#ffaaaaaa</color>
+</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 000000000..1cf4057c8
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,251 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- -->
+ <!-- Label shown on launcher icon -->
+ <string name="app_label">Clock</string>
+
+ <!-- Title for AlarmClock activity -->
+ <string name="alarm_list_title">Alarms</string>
+
+ <!-- Menu item on Alarm Clock screen: Add alarm -->
+ <string name="add_alarm">Add alarm</string>
+
+ <!-- Menu item on Alarm Clock screen: Desk clock -->
+ <string name="menu_desk_clock">Desk clock</string>
+
+ <!-- Menu item on Alarm Clock screen: Edit alarm -->
+ <string name="menu_edit_alarm">Edit alarm</string>
+
+ <!-- Context Menu Item on Alarm Settings screen: Delete alarm -->
+ <string name="delete_alarm">Delete alarm</string>
+
+ <!-- Context Menu Item on Alarm Settings screen: Enable alarm -->
+ <string name="enable_alarm">Turn alarm on</string>
+
+ <!-- Context Menu Item on Alarm Settings screen: Disable alarm -->
+ <string name="disable_alarm">Turn alarm off</string>
+
+ <!-- Delete alarm confirmation dialog message. -->
+ <string name="delete_alarm_confirm">This alarm will be deleted.</string>
+
+ <!-- Menu item on Alarm Clock screen: Show clock -->
+ <string name="show_clock">Show clock</string>
+
+ <!-- Menu item on Alarm Clock screen: Hide clock -->
+ <string name="hide_clock">Hide clock</string>
+
+ <!-- Setting label on Set alarm screen: Label -->
+ <string name="label">Label</string>
+
+ <!-- Default label to display for an alarm -->
+ <string name="default_label">Alarm</string>
+
+ <!-- Preference category on Alarm Settings screen: Set alarm -->
+ <string name="set_alarm">Set alarm</string>
+
+ <!-- Setting labels on Set alarm screen: Vibration on or off -->
+ <string name="alarm_vibrate">Vibrate</string>
+
+ <!-- Setting labels on Set alarm screen: Repeat -->
+ <string name="alarm_repeat">Repeat</string>
+
+ <!-- Setting labels on Set alarm screen: Select alarm ringtone -->
+ <string name="alert">Ringtone</string>
+
+ <!-- Setting labels on Set alarm screen: Set time -->
+ <string name="time">Time</string>
+
+ <!-- Button labels on the alarm dialog: Dismiss -->
+ <string name="alarm_alert_dismiss_text">Dismiss</string>
+
+ <!-- Alarm Alert screen: this message is shown after an alarm rung
+ unattended for a number of minutes. It tells the user that
+ the alarm has been silenced.-->
+ <string name="alarm_alert_alert_silenced">Alarm silenced after <xliff:g id="minutes">%d</xliff:g> minutes</string>
+
+ <!-- Button labels on the alarm dialog: Snooze -->
+ <string name="alarm_alert_snooze_text">Snooze</string>
+
+ <!-- Toast that appears after Alarm is snoozed from the Alarm
+ dialog. Says the alarm will snooze for xxx minutes. -->
+ <string name="alarm_alert_snooze_set">Snoozing for <xliff:g id="minutes">%d</xliff:g> minutes.</string>
+
+ <!-- 0: nothing
+ 1: days
+ 2: hours
+ 3: days hours
+ 4: minutes
+ 5: days minutes
+ 6: hours minutes
+ 7: days hours minutes
+ --><skip />
+
+ <!-- Alarm confirmation toast: Describes how long from now until
+ alarm fires -->
+ <string-array name="alarm_set">
+ <item>This alarm is set for less than 1 minute from now.</item>
+ <item>This alarm is set for <xliff:g id="DAYS" example="2 days">%1$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="HOURS" example="2 hours">%2$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="DAYS" example="2 days">%1$s</xliff:g> and <xliff:g id="HOURS" example="2 hours">%2$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="MINUTES" example="2 minutes">%3$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="DAYS" example="2 days">%1$s</xliff:g> and <xliff:g id="MINUTES" example="2 minutes">%3$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="HOURS" example="2 hours">%2$s</xliff:g> and <xliff:g id="MINUTES" example="2 minutes">%3$s</xliff:g> from now.</item>
+ <item>This alarm is set for <xliff:g id="DAYS" example="2 days">%1$s</xliff:g>, <xliff:g id="HOURS" example="2 hours">%2$s</xliff:g>, and <xliff:g id="MINUTES" example="2 minutes">%3$s</xliff:g> from now.</item>
+ </string-array>
+
+ <!-- Alarm confirmation toast: singular day -->
+ <string name="day">"1 day"</string>
+
+ <!-- Alarm confirmation toast: plural days -->
+ <string name="days">"<xliff:g id="days">%s</xliff:g> days"</string>
+
+ <!-- Alarm confirmation toast: singular hour -->
+ <string name="hour">1 hour</string>
+
+ <!-- Alarm confirmation toast: plural hours -->
+ <string name="hours"><xliff:g id="hours">%s</xliff:g> hours</string>
+
+ <!-- Alarm confirmation toast: singular minute -->
+ <string name="minute">"1 minute"</string>
+
+ <!-- Alarm confirmation toast: plural minutes -->
+ <string name="minutes">"<xliff:g id="minutes">%s</xliff:g> minutes"</string>
+
+ <!-- Repeat options that appear under an alarm on main Alarm Clock
+ screen to identify repetition schedule: special case for when
+ the alarm is set to repeat every day -->
+ <string name="every_day">every day</string>
+
+ <!-- Repeat options that appear under an alarm on main Alarm Clock
+ screen to identify repetition schedule: special case for when
+ the alarm is set to never repeat -->
+ <string name="never">Never</string>
+
+ <!-- Repeat options that appear under an alarm on main Alarm Clock
+ screen to identify repetition schedule: concatenate days with
+ this character, i.e. "Mon, Tue, Wed" -->
+ <string name="day_concat">", "</string>
+
+ <!-- Appears at the top of the Clock Picker screen: Tell user to
+ select a clock to display -->
+ <string name="clock_instructions">Select a clock to display.</string>
+
+ <!-- Label for analog clock gadget, shown in list of all gadgets -->
+ <string name="analog_gadget">Analog clock</string>
+
+ <!-- Menu item title for general Alarm Clock Settings -->
+ <string name="settings">Settings</string>
+
+ <!-- Setting title for whether the alarm should play in silent mode.
+ Usually, silent mode only affects the ringer, but this setting
+ will make the alarms respect silent mode too. -->
+ <string name="alarm_in_silent_mode_title">Alarm in silent mode</string>
+
+ <!-- Setting summary for whether the alarm should play in silent mode. -->
+ <string name="alarm_in_silent_mode_summary">Play alarm even when the phone is in silent mode</string>
+
+ <!-- Setting title for changing the snooze duration. -->
+ <string name="snooze_duration_title">Snooze duration</string>
+
+ <!-- Entries listed in the ListPreference when invoking the snooze duration
+ preference. -->
+ <string-array name="snooze_duration_entries">
+ <item>5 minutes</item>
+ <item>10 minutes</item>
+ <item>15 minutes</item>
+ <item>20 minutes</item>
+ <item>25 minutes</item>
+ <item>30 minutes</item>
+ </string-array>
+
+ <!-- Values that are retrieved from the ListPreference. These must match
+ the snooze_duration_entries above. -->
+ <string-array name="snooze_duration_values">
+ <item>5</item>
+ <item>10</item>
+ <item>15</item>
+ <item>20</item>
+ <item>25</item>
+ <item>30</item>
+ </string-array>
+
+ <!-- Done button when editing an alarm. -->
+ <string name="done">Done</string>
+
+ <!-- Revert button when editing an alarm. -->
+ <string name="revert">Revert</string>
+
+ <!-- Delete button when editing an alarm. -->
+ <string name="delete">Delete</string>
+
+ <!-- Setting title for changing the alarm volume. -->
+ <string name="alarm_volume_title">Alarm volume</string>
+
+ <!-- Setting summary for changing the alarm volume. -->
+ <string name="alarm_volume_summary">Set the volume of alarms</string>
+
+ <!-- Summary for the alarm preference when silent is chosen. -->
+ <string name="silent_alarm_summary">Silent</string>
+
+ <!-- Text to display in the small text of the notification -->
+ <string name="alarm_notify_text">Select to snooze or dismiss this alarm.</string>
+
+ <!-- Text to display in the notification ticker and label -->
+ <string name="alarm_notify_snooze_label"><xliff:g id="label">%s</xliff:g> (snoozed)</string>
+
+ <!-- Text to display in the notification when the alarm has been snoozed -->
+ <string name="alarm_notify_snooze_text">Alarm set for <xliff:g id="time">%s</xliff:g>. Select to cancel.</string>
+
+ <!-- Title of the setting to change the volume/camera button behavior. -->
+ <string name="volume_button_setting_title">Side button behavior</string>
+
+ <!-- The summary of the side button setting. -->
+ <string name="volume_button_setting_summary">Set the desired behavior of the side buttons when pressed during an alarm</string>
+
+ <!-- Entries listed in the setting for the side-button action. -->
+ <string-array name="volume_button_setting_entries">
+ <item>None</item>
+ <item>Snooze</item>
+ <item>Dismiss</item>
+ </string-array>
+
+ <!-- Values for the side-button setting. -->
+ <string-array name="volume_button_setting_values">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ </string-array>
+
+ <!-- Accessibility labels for Clock activity buttons --><skip/>
+ <string name="alarm_button_description">Alarms</string>
+ <string name="gallery_button_description">Gallery</string>
+ <string name="music_button_description">Music</string>
+ <string name="nightmode_button_description">Dim</string>
+ <string name="home_button_description">Launcher</string>
+ <string name="desk_clock_button_description">Clock Display</string>
+
+ <!-- A short representation of charging information, e.g "34%" -->
+ <string name="battery_charging_level"><xliff:g id="number">%d</xliff:g><xliff:g id="percent">%%</xliff:g></string>
+
+ <!-- What to show the user if the weather widget exists but fails to
+ respond. This is a sign of an error; if the weather widget is not
+ present on the device, we show nothing at all. -->
+ <string name="weather_fetch_failure">Weather information currently unavailable.</string>
+</resources>
+
+
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100644
index 000000000..edacfeac4
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,60 @@
+<?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>
+ <style name="clock">
+ <item name="android:layout_width">fill_parent</item>
+ <item name="android:layout_height">fill_parent</item>
+ <item name="android:layout_gravity">center_horizontal</item>
+ </style>
+
+ <!-- This theme is similar to the Theme.Dialog.Alert but does not rely on a
+ non-public resource. -->
+ <style name="alarm_alert" parent="android:Theme.Dialog">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ </style>
+
+ <style name="RoundTouchButton">
+ <item name="android:gravity">center</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:background">@drawable/incall_round_button</item>
+ </style>
+
+ <style name="ButtonStripLeft">
+ <item name="android:gravity">center</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:background">@drawable/btn_strip_trans_left</item>
+ </style>
+ <style name="ButtonStripMiddle">
+ <item name="android:gravity">center</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:background">@drawable/btn_strip_trans_middle</item>
+ </style>
+ <style name="ButtonStripRight">
+ <item name="android:gravity">center</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:background">@drawable/btn_strip_trans_right</item>
+ </style>
+
+ <style name="alarm_list_left_column">
+ <item name="android:layout_width">68dip</item>
+ <item name="android:layout_height">68dip</item>
+ </style>
+</resources>