diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-03-07 18:36:10 -0400 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-03-07 18:36:10 -0400 |
commit | f6c8796571a67111f2070328e806b5a8adbfe9c6 (patch) | |
tree | fa45974cdef8332f0631a39a47c20d8ddf4a52e9 /upd8.js | |
parent | e79bde9baead5d38d07cae8c09f89781f31fc7ed (diff) |
add support for localizing index (#123 etc)
Diffstat (limited to 'upd8.js')
-rwxr-xr-x | upd8.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js index 7d191e0d..772573a8 100755 --- a/upd8.js +++ b/upd8.js @@ -568,8 +568,7 @@ const count = { }, index: (value, {strings}) => { - // TODO: Localize...? - return '#' + value; + return strings('count.index', {index: value}); }, number: value => strings.intl.number.format(value), |