From: Paul Hänsch Date: Tue, 22 Aug 2023 18:39:59 +0000 (+0200) Subject: enable inheritance of localized translation function _() X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=4b293f028acf3cd3b2417a9c5b19c3faac24fb13;p=shellwiki enable inheritance of localized translation function _() --- 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}