diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-10 20:17:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-10 20:17:40 -0300 |
commit | c6aff602f65dfa4e5a1bc1a8c6841cdda829a0ce (patch) | |
tree | 26dbe2fedea2a994591200a06fd7bf533e5b1f0f /src/data | |
parent | 4749a682d55469b3df994ab76b29e62cf570b78c (diff) |
rename strings( to language.$(
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}); }, |