Initial Commit for Start of Class
This commit is contained in:
112
app/src/main/res/values/strings.xml
Normal file
112
app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 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="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!--
|
||||
Used in Action Bar, and in AndroidManifest to tell the device the name of this app.
|
||||
It's to keep this short, so your launcher icon isn't displayed with "The greatest Wea"
|
||||
or something similar.
|
||||
-->
|
||||
<string name="app_name">Sunshine</string>
|
||||
|
||||
<!--
|
||||
By convention, "action" denotes that this String will be used as the label for an Action,
|
||||
typically from the action bar. The ActionBar is limited real estate, so shorter is better.
|
||||
-->
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_map">Map Location</string>
|
||||
<string name="action_share">Share</string>
|
||||
|
||||
<!-- Menu label to fetch updated weather info from the server -->
|
||||
<string name="action_refresh" translatable="false">Refresh</string>
|
||||
<string name="title_activity_detail">Details</string>
|
||||
<string name="title_activity_settings">Settings</string>
|
||||
|
||||
<!-- Label for the location preference [CHAR LIMIT=30] -->
|
||||
<string name="pref_location_label">Location</string>
|
||||
|
||||
<!-- Key name for storing location in SharedPreferences [CHAR LIMIT=NONE] -->
|
||||
<string name="pref_location_key" translatable="false">location</string>
|
||||
|
||||
<!-- Default postal code for location preference [CHAR LIMIT=NONE] -->
|
||||
<string name="pref_location_default" translatable="false">94043</string>
|
||||
|
||||
<!-- Strings related to Notification Enabled preference -->
|
||||
<string name="pref_enable_notifications_key" translatable="false">enable_notifications</string>
|
||||
<string name="pref_enable_notifications_label">Weather Notifications</string>
|
||||
|
||||
<string name="pref_enable_notifications_true">Enabled</string>
|
||||
<string name="pref_enable_notifications_false">Not Enabled</string>
|
||||
<string name="pref_enable_notifications_default" translatable="false">true</string>
|
||||
|
||||
<!-- Strings for formatting weather-related data -->
|
||||
|
||||
<!-- Label for the temperature units preference [CHAR LIMIT=30] -->
|
||||
<string name="pref_units_label">Temperature Units</string>
|
||||
|
||||
<!-- Label for metric option in temperature unit preference [CHAR LIMIT=25] -->
|
||||
<string name="pref_units_label_metric">Metric</string>
|
||||
|
||||
<!-- Label for imperial option in temperature unit preference [CHAR LIMIT=25] -->
|
||||
<string name="pref_units_label_imperial">Imperial</string>
|
||||
|
||||
<!-- Key name for temperature unit preference in SharedPreferences [CHAR LIMIT=NONE] -->
|
||||
<string name="pref_units_key" translatable="false">units</string>
|
||||
|
||||
<!-- Value in SharedPreferences for metric temperature unit option [CHAR LIMIT=NONE] -->
|
||||
<string name="pref_units_metric" translatable="false">metric</string>
|
||||
|
||||
<!-- Value in SharedPreferences for imperial temperature unit option [CHAR LIMIT=NONE] -->
|
||||
<string name="pref_units_imperial" translatable="false">imperial</string>
|
||||
|
||||
|
||||
<!-- Language-specific constants -->
|
||||
<string name="today">Today</string>
|
||||
|
||||
<!-- For labelling tomorrow's forecast [CHAR LIMIT=15] -->
|
||||
<string name="tomorrow">Tomorrow</string>
|
||||
|
||||
<!-- Date format [CHAR LIMIT=NONE] -->
|
||||
<string name="format_full_friendly_date"><xliff:g id="month">%1$s</xliff:g>, <xliff:g id="day">%2$s</xliff:g></string>
|
||||
|
||||
<!-- Strings for formatting weather-related data -->
|
||||
<!-- Temperature format [CHAR LIMIT=5 -->
|
||||
<string name="format_temperature"><xliff:g id="temp">%1.0f</xliff:g>\u00B0</string>
|
||||
|
||||
<!-- Windspeed formats -->
|
||||
<!-- Wind in mph [CHAR LIMIT=25] -->
|
||||
<string name="format_wind_mph">Wind: <xliff:g id="speed">%1$1.0f</xliff:g> mph <xliff:g id="direction">%2$s</xliff:g></string>
|
||||
<!-- Wind in kph [CHAR LIMIT=25] -->
|
||||
<string name="format_wind_kmh">Wind: <xliff:g id="speed">%1$1.0f</xliff:g> km/h <xliff:g id="direction">%2$s</xliff:g></string>
|
||||
|
||||
<!-- Pressure format CHAR LIMIT=25] -->
|
||||
<string name="format_pressure">Pressure: <xliff:g id="pressure">%1.0f</xliff:g> hPa</string>
|
||||
|
||||
<!-- Humidity format CHAR LIMIT=25]-->
|
||||
<string name="format_humidity">Humidity: <xliff:g id="humidity">%1.0f</xliff:g> %%</string>
|
||||
|
||||
<!-- SyncAdapter related -->
|
||||
<string name="sync_account_type">sunshine.example.com</string>
|
||||
<string name="content_authority">com.example.android.sunshine.app</string>
|
||||
|
||||
<!-- Notification Format -->
|
||||
<string name="format_notification">Forecast: <xliff:g id="condition">%1$s</xliff:g> High: <xliff:g id="high">%2$s</xliff:g> Low: <xliff:g id="low">%3$s</xliff:g></string>
|
||||
|
||||
<!-- Strings related to Notification preference -->
|
||||
<string name="pref_last_notification">last_notification</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user