-
From: Paul Hänsch
- Some files could not be renamed
- Successfully renamed:
+ theme_page - "$(_ "Attachment rename")" <<-EOF
+ $(_ Some files could not be renamed)
+ $(_ Successfully renamed:)
$(printf %s "$success" |while read html; do
printf '
- Errors:
+ $(_ Errors:)
$(printf %s "$fail" |while read html; do
printf '
- OK
+ $(_ OK)
EOF
exit 0
elif [ "$fail" ]; then
printf "%s\r\n" "Status: 500 Internal Server Error"
- theme_page - "Attachment rename" <<-EOF
- Files could not be renamed
+ theme_page - "$(_ "Attachment rename")" <<-EOF
+ $(_ "Files could not be renamed")
$(printf %s "$fail" |while read html; do
printf '
- OK
+ $(_ OK)
EOF
exit 0
elif [ "$success" ]; then
printf 'Refresh: %i\r\n' 4
theme_page - "Attachment rename" <<-EOF
- Files were renamed
+ $(_ Files were renamed)
$(printf %s "$success" |while read html; do
printf '
- OK
+ $(_ OK)
EOF
exit 0
diff --git a/handlers/60_move_rename_delete.sh b/handlers/60_move_rename_delete.sh
index bbe994e..3879e9b 100755
--- a/handlers/60_move_rename_delete.sh
+++ b/handlers/60_move_rename_delete.sh
@@ -1,5 +1,14 @@
#!/bin/sh
+l10n_immutablepage >/dev/null \
+|| l10n_immutablepage(){ #TRANSLATION
+ cat <<-EOF
+ Immutable Page
+ This is a core page of the wiki system. Its name and position cannot be changed.
+ You may however update this page and you can use ACLs to hide it from various listings.
+ EOF
+}
+
case "${PATH_INFO}" in
*/\[move\]|*/\[rename\]|*/\[delete\])
page="${PATH_INFO%\[*\]}"
@@ -14,9 +23,7 @@ case "${PATH_INFO}" in
theme_page - <<-EOF
Immutable Page
- This is a core page of the wiki system. Its name and position cannot be changed.
- You may however update this page and you can use ACLs to hide it from various listings.
+ $(l10n_immutablepage)
$(HTML "${page}")
+ +$(HTML "${page}")
+ +$(HTML "${page}")
+Diese Seite und all ihre Anhänge werden gelöscht.
+