From 4b293f028acf3cd3b2417a9c5b19c3faac24fb13 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 22 Aug 2023 20:39:59 +0200 Subject: [PATCH] enable inheritance of localized translation function _() --- l10n/de.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/l10n/de.sh b/l10n/de.sh index 6e406f8..eea6e25 100644 --- a/l10n/de.sh +++ b/l10n/de.sh @@ -1,6 +1,6 @@ #!/bin/sh -_(){ +_l10n_de(){ case $* in 'Page names containing newline character are not allowed') printf 'Seitennamen mit Zeilenumbruch sind nicht erlaubt';; 'Page names starting with "#" are not allowed') printf 'Seitennamen dürfen nicht mit "#" anfangen';; @@ -35,6 +35,8 @@ case $* in esac } +_(){ _l10n_de "$@"; } + user_register_email() { # TRANSLATION "$SENDMAIL" -t -f "$MAILFROM" <<-EOF From: ${MAILFROM} -- 2.39.2