aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-04-27 21:25:24 +0300
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-04-27 21:27:08 +0300
commit9493fe7868e1383875c2a312aa876a1dc9bbe462 (patch)
treeea7ad317908d0f78382cda7eb4ca426881ae2bff
parentc56159a628e4b7033cc33bac7df33a55f9b421a7 (diff)
downloadandroid_packages_apps_LockClock-9493fe7868e1383875c2a312aa876a1dc9bbe462.tar.gz
android_packages_apps_LockClock-9493fe7868e1383875c2a312aa876a1dc9bbe462.tar.bz2
android_packages_apps_LockClock-9493fe7868e1383875c2a312aa876a1dc9bbe462.zip
Fix weather source string translatability
* Also improve the string a bit Change-Id: I40c8dc167aa1cc886e06e60adb9f79f7551a89c1
-rw-r--r--res/values/strings.xml2
-rw-r--r--src/com/cyanogenmod/lockclock/ClockWidgetService.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4926cd6..f17313c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -113,7 +113,7 @@
<string name="weather_refreshing">Refreshing</string>
<string name="weather_last_sync_just_now">Just now</string>
<string name="weather_cannot_reach_provider">Can\'t reach %s at the moment</string>
- <string name="weather_source_not_selected">not selected</string>
+ <string name="weather_source_not_selected">No weather source selected</string>
<string name="weather_tap_to_select_source">Tap to select one</string>
<!-- Weather - Update frequency -->
diff --git a/src/com/cyanogenmod/lockclock/ClockWidgetService.java b/src/com/cyanogenmod/lockclock/ClockWidgetService.java
index bf4be2c..9208cd3 100644
--- a/src/com/cyanogenmod/lockclock/ClockWidgetService.java
+++ b/src/com/cyanogenmod/lockclock/ClockWidgetService.java
@@ -514,8 +514,7 @@ public class ClockWidgetService extends IntentService {
if (activeProviderLabel != null) {
noData = getString(R.string.weather_cannot_reach_provider, activeProviderLabel);
} else {
- noData = getString(R.string.weather_source_title) + " "
- + getString(R.string.weather_source_not_selected);
+ noData = getString(R.string.weather_source_not_selected);
}
weatherViews.setViewVisibility(R.id.weather_image, View.INVISIBLE);
if (!smallWidget) {