« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js6
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});
     },