diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2015-08-02 18:27:36 -0400 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2015-08-02 18:27:36 -0400 |
commit | f799ad5ed58391ff841b1c19366c6558e99411b4 (patch) | |
tree | bca7de73e4c15c01529967138d2baf5b73965339 /core/src/main/java/de/danoeh | |
parent | 43a7a578e08808a73987c0bd03665057f2fd7501 (diff) | |
download | AntennaPod-f799ad5ed58391ff841b1c19366c6558e99411b4.zip |
Changed string names relating to time units.
Android can handle plurals and strings having the same names, but
Transifex can't. Renamed the time_unit*'s to just time_ to make sure
we got the correct translations.
Diffstat (limited to 'core/src/main/java/de/danoeh')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/Converter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/Converter.java b/core/src/main/java/de/danoeh/antennapod/core/util/Converter.java index 2bf88b3f3..1b929b214 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/Converter.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/Converter.java @@ -111,10 +111,10 @@ public final class Converter { String result = ""; if(h > 0) { - String hours = context.getResources().getQuantityString(R.plurals.time_unit_hours, h, h); + String hours = context.getResources().getQuantityString(R.plurals.time_hours_quantified, h, h); result += hours + " "; } - String minutes = context.getResources().getQuantityString(R.plurals.time_unit_minutes, m, m); + String minutes = context.getResources().getQuantityString(R.plurals.time_minutes_quantified, m, m); result += minutes; return result; } |