Skip to content

Commit c8869c1

Browse files
LpSolitglobau
authored andcommitted
Bug 1195598 - The "unknown_action" error message could confuse the user
1 parent 8dd0fac commit c8869c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

template/en/default/global/user-error.html.tmpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,10 +1808,11 @@
18081808
token too recently to request another. Please wait a while and try again.
18091809

18101810
[% ELSIF error == "unknown_action" %]
1811+
[% title = "Unknown Action" %]
18111812
[% IF action %]
1812-
Unknown action [% action FILTER html %]!
1813+
Unknown action "[% action.truncate(20, "...") FILTER html %]"!
18131814
[% ELSE %]
1814-
I could not figure out what you wanted to do.
1815+
I could not figure out what you wanted to do.
18151816
[% END %]
18161817

18171818
[% ELSIF error == "unknown_tab" %]

0 commit comments

Comments
 (0)