mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Fix translation of "sync_otp" plugin
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
adfd82ee74
commit
1721356d53
@ -26,10 +26,12 @@ define(['dojo/_base/declare',
|
||||
'../navigation',
|
||||
'../phases',
|
||||
'../reg',
|
||||
'../text',
|
||||
'../widget',
|
||||
'../widgets/SyncOTPScreen'
|
||||
],
|
||||
function(declare, lang, on, Facet, auth, navigation, phases, reg, widget, SyncOTPScreen) {
|
||||
function(declare, lang, on, Facet, auth, navigation, phases, reg, text,
|
||||
widget, SyncOTPScreen) {
|
||||
|
||||
/**
|
||||
* Sync OTP Facet plugin
|
||||
@ -50,7 +52,7 @@ define(['dojo/_base/declare',
|
||||
{
|
||||
$type: 'activity',
|
||||
name: 'activity',
|
||||
text: 'Synchronizing',
|
||||
text: text.get('@i18n:login.synchronizing', 'Synchronizing'),
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
@ -100,4 +102,4 @@ define(['dojo/_base/declare',
|
||||
});
|
||||
|
||||
return sync_otp;
|
||||
});
|
||||
});
|
||||
|
@ -362,6 +362,7 @@ class i18n_messages(Command):
|
||||
"password": _("Password"),
|
||||
"password_and_otp": _("Password or Password+One-Time-Password"),
|
||||
"sync_otp_token": _("Sync OTP Token"),
|
||||
"synchronizing": _("Synchronizing"),
|
||||
"username": _("Username"),
|
||||
},
|
||||
"measurement_units": {
|
||||
|
Loading…
Reference in New Issue
Block a user