mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Fix translation of "SyncOTPScreen" widget
To be translatable messages should be marked with '@i18n' and present in "i18n_messages" dictionary. Fixes: https://pagure.io/freeipa/issue/7621 Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
1721356d53
commit
14e21047e4
@ -63,7 +63,7 @@ define(['dojo/_base/declare',
|
||||
render_buttons: function(container) {
|
||||
this.cancel_btn_node = IPA.button({
|
||||
name: 'cancel',
|
||||
label: 'Cancel',
|
||||
label: text.get('@i18n:buttons.cancel', "Cancel"),
|
||||
'class': 'btn-default btn-lg',
|
||||
click: this.on_cancel.bind(this)
|
||||
})[0];
|
||||
@ -71,7 +71,7 @@ define(['dojo/_base/declare',
|
||||
construct.place(this.cancel_btn_node, container);
|
||||
}
|
||||
this.sync_btn_node = IPA.button({
|
||||
label: text.get('@i18n:password.sync_otp_token', "Sync OTP Token"),
|
||||
label: text.get('@i18n:login.sync_otp_token', "Sync OTP Token"),
|
||||
'class': 'btn-primary btn-lg',
|
||||
click: this.on_confirm.bind(this)
|
||||
})[0];
|
||||
|
Loading…
Reference in New Issue
Block a user