From: Paul Hänsch Date: Wed, 23 Aug 2023 09:33:18 +0000 (+0200) Subject: bugfix: include translations X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=1c4de168aa435d3e2fb22872a769308de75a6923;p=shellwiki bugfix: include translations --- diff --git a/macros/newpage b/macros/newpage index dfb1e39..7a252aa 100755 --- a/macros/newpage +++ b/macros/newpage @@ -4,6 +4,9 @@ . "$_EXEC/acl.sh" . "$_EXEC/tools.sh" +_(){ printf %s\\n "$*"; } +[ "${LANGUAGE}" -a -r "${_EXEC}/l10n/${LANGUAGE}.sh" ] && . "${_EXEC}/l10n/${LANGUAGE}.sh" + pattern=./%%s template='' label='New Page'