fix: Hint labels showing default text regardless of localization (#1965)
This commit is contained in:
parent
cc0efd8600
commit
51e3f59054
@ -48,6 +48,7 @@ report.card=Report card
|
|||||||
about=About WebGoat
|
about=About WebGoat
|
||||||
contact=Contact Us
|
contact=Contact Us
|
||||||
show.hints=Show hints
|
show.hints=Show hints
|
||||||
|
hide.hints=Hide hints
|
||||||
lesson.overview=Lesson overview
|
lesson.overview=Lesson overview
|
||||||
reset.lesson=Reset lesson
|
reset.lesson=Reset lesson
|
||||||
sign.in=Sign in
|
sign.in=Sign in
|
||||||
|
@ -32,9 +32,9 @@ function($,
|
|||||||
|
|
||||||
toggleLabel: function() {
|
toggleLabel: function() {
|
||||||
if (this.isVisible()) {
|
if (this.isVisible()) {
|
||||||
$('#show-hints-button').text('Hide hints');
|
$('#show-hints-button').text(polyglot.t("hide.hints"))
|
||||||
} else {
|
} else {
|
||||||
$('#show-hints-button').text('Show hints');
|
$('#show-hints-button').text(polyglot.t("show.hints"))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user