mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix translations at load_page plugin
To be translatable text field should be marked with @i18n. Also these messages should be provided by i18n_messages. Fixes: https://pagure.io/freeipa/issue/7559 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
2a81ec3b94
commit
6bc3715045
@@ -24,10 +24,10 @@ define([
|
||||
'dojo/on',
|
||||
'../facets/Facet',
|
||||
'../phases',
|
||||
'../reg'
|
||||
|
||||
'../reg',
|
||||
'../text'
|
||||
],
|
||||
function(declare, lang, on, Facet, phases, reg) {
|
||||
function(declare, lang, on, Facet, phases, reg, text) {
|
||||
|
||||
/**
|
||||
* Load Facet plugin
|
||||
@@ -46,7 +46,7 @@ define([
|
||||
{
|
||||
$type: 'activity',
|
||||
name: 'activity',
|
||||
text: 'Loading',
|
||||
text: text.get('@i18n:login.loading', 'Loading'),
|
||||
visible: true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -352,6 +352,7 @@ class i18n_messages(Command):
|
||||
"tickets (obtainable via kinit) and <a href='http://${host}/"
|
||||
"ipa/config/ssbrowser.html'>configured</a> the browser "
|
||||
"correctly, then click 'Log in'."),
|
||||
"loading": _("Loading"),
|
||||
"loading_md": _("Loading data"),
|
||||
"login": _("Log in"),
|
||||
"login_certificate": _("Log In Using Certificate"),
|
||||
|
||||
Reference in New Issue
Block a user