]> git.plutz.net Git - shellwiki/commitdiff
bugfix: include translations
authorPaul Hänsch <paul@plutz.net>
Wed, 23 Aug 2023 09:33:18 +0000 (11:33 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 23 Aug 2023 09:33:18 +0000 (11:33 +0200)
macros/newpage

index dfb1e397a9d3b7233d833a8c222c25b67e8c6565..7a252aa18aaef4c6f0ccf9f852fd33cb9d08f128 100755 (executable)
@@ -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'