From f6c8796571a67111f2070328e806b5a8adbfe9c6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 7 Mar 2021 18:36:10 -0400 Subject: add support for localizing index (#123 etc) --- upd8.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'upd8.js') diff --git a/upd8.js b/upd8.js index 7d191e0..772573a 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), -- cgit 1.3.0-6-gf8a5