From 78e834120698e783e7d72427511243502d1d218e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 12 Sep 2015 15:02:46 -0700 Subject: [PATCH] Replace string array items with strings Fixes #206. Two other small fixes too: * Units don't really translate, and they are appended to java strings anyway. If it is to be translated, do a proper formatted string. * Placed the light theme above the dark one, since it's the default. --- F-Droid/res/values/array.xml | 33 +++++++++++---------------- F-Droid/res/values/donottranslate.xml | 10 +++++++- F-Droid/res/values/strings.xml | 11 +++++++++ 3 files changed, 33 insertions(+), 21 deletions(-) diff --git a/F-Droid/res/values/array.xml b/F-Droid/res/values/array.xml index 4b49516e6..ca2253a25 100644 --- a/F-Droid/res/values/array.xml +++ b/F-Droid/res/values/array.xml @@ -1,25 +1,18 @@ - - Never - Hourly - Every 4 Hours - Every 12 Hours - Daily - Weekly - Every 2 Weeks - + + @string/interval_never + @string/interval_1h + @string/interval_4h + @string/interval_12h + @string/interval_1d + @string/interval_1w + @string/interval_2w + - - Dark - Light - + + @string/theme_light + @string/theme_dark + - - B - KiB - MiB - GiB - TiB - diff --git a/F-Droid/res/values/donottranslate.xml b/F-Droid/res/values/donottranslate.xml index f5747526c..ae132d1cb 100644 --- a/F-Droid/res/values/donottranslate.xml +++ b/F-Droid/res/values/donottranslate.xml @@ -24,8 +24,8 @@ - dark light + dark @@ -73,4 +73,12 @@ zh-rHK + + B + KiB + MiB + GiB + TiB + + diff --git a/F-Droid/res/values/strings.xml b/F-Droid/res/values/strings.xml index ca8771a7a..c1b41658a 100644 --- a/F-Droid/res/values/strings.xml +++ b/F-Droid/res/values/strings.xml @@ -394,4 +394,15 @@ NEW: Provided by %1$s. Downloading… + + Never + Hourly + Every 4 hours + Every 12 hours + Daily + Weekly + Every 2 weeks + + Light + Dark