From 1c4de168aa435d3e2fb22872a769308de75a6923 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 23 Aug 2023 11:33:18 +0200 Subject: [PATCH] bugfix: include translations --- macros/newpage | 3 +++ 1 file changed, 3 insertions(+) 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' -- 2.39.2