[bugzilla-gnome-org-upstream/4.4: 5/19] Bug 1033068: The "unknown_action" error message could confuse the user r=dkl a=sgreen



commit aa689e51488c27ba675cb2fdaa967dc5e7e1475a
Author: Frédéric Buclin <LpSolit gmail com>
Date:   Wed Oct 22 03:15:20 2014 +0200

    Bug 1033068: The "unknown_action" error message could confuse the user
    r=dkl a=sgreen

 template/en/default/global/user-error.html.tmpl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 8dbcd45..492c2ad 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1725,10 +1725,11 @@
     then try again.
 
   [% ELSIF error == "unknown_action" %]
+    [% title = "Unknown Action" %]
     [% IF action %]
-       Unknown action [% action FILTER html %]!
+      Unknown action "[% action.truncate(20, "...") FILTER html %]"!
     [% ELSE %]
-       I could not figure out what you wanted to do.
+      I could not figure out what you wanted to do.
     [% END %]
 
   [% ELSIF error == "unknown_tab" %]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]