From e64acef53a68fae99978147cfbb2ea8ad33f37b1 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Thu, 3 Aug 2017 10:13:00 +1200 Subject: [PATCH] BUG Fix invalid i18n yaml --- lang/bg.yml | 3 +-- lang/en.yml | 2 +- lang/eo.yml | 3 +-- lang/fi.yml | 3 +-- lang/fr.yml | 3 +-- lang/it.yml | 3 +-- lang/ru.yml | 3 +-- src/Security/LoginAttempt.php | 2 +- 8 files changed, 8 insertions(+), 14 deletions(-) diff --git a/lang/bg.yml b/lang/bg.yml index 7ca39c914..bf89c663f 100644 --- a/lang/bg.yml +++ b/lang/bg.yml @@ -249,9 +249,8 @@ bg: has_many_Permissions: 'Разрешения' many_many_Members: Потребители SilverStripe\Security\LoginAttempt: + Email: 'Email адрес' IP: 'IP адрес' - LoginAttempt: - Email: 'Email адрес' PLURALNAME: 'Опити за влизане' PLURALS: one: 'Опит за влизане' diff --git a/lang/en.yml b/lang/en.yml index b7aa0e73d..6c752a03d 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -195,8 +195,8 @@ en: has_many_Permissions: Permissions many_many_Members: Members SilverStripe\Security\LoginAttempt: + Email: 'Email Address' IP: 'IP Address' - LoginAttempt.Email: 'Email Address' PLURALNAME: 'Login Attempts' PLURALS: one: 'A Login Attempt' diff --git a/lang/eo.yml b/lang/eo.yml index db181e690..f76395370 100644 --- a/lang/eo.yml +++ b/lang/eo.yml @@ -250,9 +250,8 @@ eo: has_many_Permissions: Permesoj many_many_Members: Membroj SilverStripe\Security\LoginAttempt: + Email: 'Retpoŝta adreso' IP: IP-Adreso - LoginAttempt: - Email: 'Retpoŝta adreso' PLURALNAME: 'Provoj ensaluti' PLURALS: one: 'Unu provo ensaluti' diff --git a/lang/fi.yml b/lang/fi.yml index 4ad47270b..c03980aca 100644 --- a/lang/fi.yml +++ b/lang/fi.yml @@ -250,9 +250,8 @@ fi: has_many_Permissions: Oikeudet many_many_Members: Jäsenet SilverStripe\Security\LoginAttempt: + Email: Sähköpostiosoite IP: IP-osoite - LoginAttempt: - Email: Sähköpostiosoite PLURALNAME: Kirjautumisyritykset PLURALS: one: Kirjautumisyritys diff --git a/lang/fr.yml b/lang/fr.yml index 02362b257..178ef54c3 100644 --- a/lang/fr.yml +++ b/lang/fr.yml @@ -181,9 +181,8 @@ fr: has_many_Permissions: Autorisations many_many_Members: Membres SilverStripe\Security\LoginAttempt: + Email: 'Adresse email' IP: 'Adresse IP' - LoginAttempt: - Email: 'Adresse email' Status: Statut SilverStripe\Security\Member: ADDGROUP: 'Ajouter un groupe' diff --git a/lang/it.yml b/lang/it.yml index 413d2d205..6345c1794 100644 --- a/lang/it.yml +++ b/lang/it.yml @@ -250,9 +250,8 @@ it: has_many_Permissions: Permessi many_many_Members: Membri SilverStripe\Security\LoginAttempt: + Email: 'Indirizzo e-mail' IP: 'Indirizzo IP' - LoginAttempt: - Email: 'Indirizzo e-mail' PLURALNAME: 'Tentativi d''accesso' PLURALS: one: 'Un tentativo d''accesso' diff --git a/lang/ru.yml b/lang/ru.yml index 8368fca33..246227331 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -266,9 +266,8 @@ ru: has_many_Permissions: 'Права групп пользователей' many_many_Members: 'Члены группы' SilverStripe\Security\LoginAttempt: + Email: Email IP: IP-адрес - LoginAttempt: - Email: Email PLURALNAME: 'Попыток входа в систему' PLURALS: one: 'Попытка входа в систему' diff --git a/src/Security/LoginAttempt.php b/src/Security/LoginAttempt.php index 9d73cc1cc..8117359cb 100644 --- a/src/Security/LoginAttempt.php +++ b/src/Security/LoginAttempt.php @@ -54,7 +54,7 @@ class LoginAttempt extends DataObject public function fieldLabels($includerelations = true) { $labels = parent::fieldLabels($includerelations); - $labels['Email'] = _t(__CLASS__.'.LoginAttempt.Email', 'Email Address'); + $labels['Email'] = _t(__CLASS__.'.Email', 'Email Address'); $labels['Status'] = _t(__CLASS__.'.Status', 'Status'); $labels['IP'] = _t(__CLASS__.'.IP', 'IP Address');