diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-05 16:18:59 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-04-05 16:18:59 -0300 |
commit | e86738fc4aef746a7fa4aef6c84a0b0bc0f9005a (patch) | |
tree | 80b0fd4c90610413f8d2c5de956adce13840c38b /upd8.js | |
parent | d55610a3869167c8100ceec39f36334b5395de40 (diff) |
use or mock ListFormat api on client
Diffstat (limited to 'upd8.js')
-rwxr-xr-x | upd8.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 445ff8d7..61be4b06 100755 --- a/upd8.js +++ b/upd8.js @@ -2451,6 +2451,7 @@ writePage.html = (pageFn, {paths, strings, to}) => { return filterEmptyLines(fixWS` <!DOCTYPE html> <html ${attributes({ + lang: strings.code, 'data-rebase-localized': to('localized.root'), 'data-rebase-shared': to('shared.root'), 'data-rebase-media': to('media.root'), @@ -2850,7 +2851,7 @@ function getRevealStringFromWarnings(warnings, {strings}) { function getRevealStringFromTags(tags, {strings}) { return tags && tags.some(tag => tag.isCW) && ( - getRevealStringFromWarnings(tags.filter(tag => tag.isCW).map(tag => tag.name).join(', '), {strings})); + getRevealStringFromWarnings(strings.list.unit(tags.filter(tag => tag.isCW).map(tag => tag.name).join(', '), {strings}))); } function generateCoverLink({ |