X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=handlers%2F40_edit_attachment.sh;h=2696a4d368ef78710ddc506339adc31cbd04a88a;hb=dc31b0a59d7c6461b3b6c622f221723a01e6d76d;hp=97a4b9df2d8825be71512714c98f6e8fbdd193cf;hpb=d13adbdd1e9e258af215d20405b7de6737755fc2;p=shellwiki diff --git a/handlers/40_edit_attachment.sh b/handlers/40_edit_attachment.sh index 97a4b9d..2696a4d 100755 --- a/handlers/40_edit_attachment.sh +++ b/handlers/40_edit_attachment.sh @@ -163,51 +163,51 @@ elif [ "$action" = rename ]; then if [ "$success" -a "$fail" ]; then printf "%s\r\n" "Status: 500 Internal Server Error" - theme_page - "Attachment rename" <<-EOF -

Some files could not be renamed

-

Successfully renamed:

+ theme_page - "$(_ "Attachment rename")" <<-EOF +

$(_ Some files could not be renamed)

+

$(_ Successfully renamed:)

-

Errors:

+

$(_ Errors:)

- 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")

- 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)

- OK + $(_ OK) EOF exit 0