Add a template variable for the current language, for better user feedback. Fixes bug #11573.
This commit is contained in:
parent
ab0204dfd9
commit
c2e6978873
4 changed files with 20 additions and 7 deletions
|
|
@ -34,7 +34,12 @@ our $I18N = { ##hashref of hashes
|
|||
message => q|The English name of the language.|,
|
||||
lastUpdated => 1131394072,
|
||||
context => q|A label of the language to use in the template|
|
||||
},
|
||||
},
|
||||
'language_isCurrent' => {
|
||||
message => q|A boolean which is true if this language is the current language.|,
|
||||
lastUpdated => 1131394072,
|
||||
context => q|A label of the language to use in the template|
|
||||
},
|
||||
'language_url' => {
|
||||
message => q|The url that sets the WebGUI language to the selected language.|,
|
||||
lastUpdated => 1131394072,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue