diff options
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things.js b/src/data/things.js index a37ede7b..34946c0f 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1494,7 +1494,7 @@ Object.assign(Language.prototype, { formatDuration(secTotal, {approximate = false, unit = false}) { if (secTotal === 0) { - return strings('count.duration.missing'); + return language.$('count.duration.missing'); } const hour = Math.floor(secTotal / 3600); @@ -1537,8 +1537,8 @@ Object.assign(Language.prototype, { : value); const words = (value > 1000 - ? strings('count.words.thousand', {words: num}) - : strings('count.words', {words: num})); + ? language.$('count.words.thousand', {words: num}) + : language.$('count.words', {words: num})); return this.$('count.words.withUnit.' + this.getUnitForm(value), {words}); }, |