diff options
| author | 2019-12-03 23:11:06 +0100 | |
|---|---|---|
| committer | 2019-12-03 23:11:06 +0100 | |
| commit | d0f1f9f141a58e090d210c221a7c1745378b96a3 (patch) | |
| tree | 5d538ee048a14d29f8091d9e85cf391ada48ae83 /app/i18n | |
| parent | 15b8ef8f40f249ace343696df216f2d61f8249d0 (diff) | |
Separate the update API password endpoint (#2675)
* Extract hashPassword method from userController
* Extract and refactor fever key-related methods
* Move update of API password to dedicated action
* Simplify the controller by refactoring feverUtil
* Add locales
Diffstat (limited to 'app/i18n')
30 files changed, 105 insertions, 0 deletions
diff --git a/app/i18n/cz/conf.php b/app/i18n/cz/conf.php index 056e895a7..f066ac9a4 100644 --- a/app/i18n/cz/conf.php +++ b/app/i18n/cz/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Správa profilu', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Smazání účtu', 'warn' => 'Váš účet bude smazán spolu se všemi souvisejícími daty', diff --git a/app/i18n/cz/feedback.php b/app/i18n/cz/feedback.php index 3d0dcbc96..ad3d38cf0 100644 --- a/app/i18n/cz/feedback.php +++ b/app/i18n/cz/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Nemáte oprávnění přistupovat na tuto stránku', 'not_found' => 'Tato stránka neexistuje', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Nastal problém s konfigurací přihlašovacího systému. Zkuste to prosím později.', diff --git a/app/i18n/de/conf.php b/app/i18n/de/conf.php index b08694eee..2d9b91260 100644 --- a/app/i18n/de/conf.php +++ b/app/i18n/de/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profil-Verwaltung', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Accountlöschung', 'warn' => 'Dein Account und alle damit bezogenen Daten werden gelöscht.', diff --git a/app/i18n/de/feedback.php b/app/i18n/de/feedback.php index 269069162..446aa2a04 100644 --- a/app/i18n/de/feedback.php +++ b/app/i18n/de/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Sie haben nicht die Berechtigung, diese Seite aufzurufen', 'not_found' => 'Sie suchen nach einer Seite, die nicht existiert', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Während der Konfiguration des Authentifikationssystems trat ein Fehler auf. Bitte versuchen Sie es später erneut.', diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php index 2d4e06550..f01de649a 100644 --- a/app/i18n/en/conf.php +++ b/app/i18n/en/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profile management', + 'api' => 'API management', 'delete' => array( '_' => 'Account deletion', 'warn' => 'Your account and all related data will be deleted.', diff --git a/app/i18n/en/feedback.php b/app/i18n/en/feedback.php index 2322a62cc..89bbd4154 100644 --- a/app/i18n/en/feedback.php +++ b/app/i18n/en/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'You don’t have permission to access this page', 'not_found' => 'You are looking for a page which doesn’t exist', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', + 'updated' => 'Your password has been modified', + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'A problem occured during authentication system configuration. Please retry later.', diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.php index 7a93a87de..fcbe9b984 100755 --- a/app/i18n/es/conf.php +++ b/app/i18n/es/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Administración de perfiles', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Borrar cuenta', 'warn' => 'Tu cuenta y todos los datos asociados serán eliminados.', diff --git a/app/i18n/es/feedback.php b/app/i18n/es/feedback.php index d70ccfe8a..5a7358b0d 100755 --- a/app/i18n/es/feedback.php +++ b/app/i18n/es/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'No dispones de permiso para acceder a esta página', 'not_found' => 'La página que buscas no existe', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Hubo un problema durante la configuración del sistema de idenfificación. Por favor, inténtalo más tarde.', diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php index 020c94085..b51d123f1 100644 --- a/app/i18n/fr/conf.php +++ b/app/i18n/fr/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Gestion du profil', + 'api' => 'Gestion de l’API', 'delete' => array( '_' => 'Suppression du compte', 'warn' => 'Le compte et toutes les données associées vont être supprimées.', diff --git a/app/i18n/fr/feedback.php b/app/i18n/fr/feedback.php index 328113c25..f4b3ba245 100644 --- a/app/i18n/fr/feedback.php +++ b/app/i18n/fr/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Vous n’avez pas le droit d’accéder à cette page !', 'not_found' => 'La page que vous cherchez n’existe pas !', ), + 'api' => array( + 'password' => array( + 'failed' => 'Votre mot de passe n’a pas pu être mis à jour', + 'updated' => 'Votre mot de passe a été mis à jour', + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Un problème est survenu lors de la configuration de votre système d’authentification. Veuillez réessayer plus tard.', diff --git a/app/i18n/he/conf.php b/app/i18n/he/conf.php index b987f21f4..d83d688d5 100644 --- a/app/i18n/he/conf.php +++ b/app/i18n/he/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profile management', //TODO - Translation + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Account deletion', //TODO - Translation 'warn' => 'Your account and all related data will be deleted.', //TODO - Translation diff --git a/app/i18n/he/feedback.php b/app/i18n/he/feedback.php index f972173cb..026e93450 100644 --- a/app/i18n/he/feedback.php +++ b/app/i18n/he/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'אין לך הרשאות לצפות בדף זה', 'not_found' => 'הדף הזה לא נמצא', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'אירעה שגיאה במהלך הגדרת מערכת האימיות. אנא נסו שוב מאוחר יותר.', diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php index 4bdaad33d..6dd390ebd 100644 --- a/app/i18n/it/conf.php +++ b/app/i18n/it/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Gestione profili', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Cancellazione account', 'warn' => 'Il tuo account e tutti i dati associati saranno cancellati.', diff --git a/app/i18n/it/feedback.php b/app/i18n/it/feedback.php index ca7879904..f137de9e8 100644 --- a/app/i18n/it/feedback.php +++ b/app/i18n/it/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Non hai i permessi per accedere a questa pagina', 'not_found' => 'Pagina non disponibile', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Si è verificato un problema alla configurazione del sistema di autenticazione. Per favore riprova più tardi.', diff --git a/app/i18n/kr/conf.php b/app/i18n/kr/conf.php index 1e77d0098..219feab49 100644 --- a/app/i18n/kr/conf.php +++ b/app/i18n/kr/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => '프로필 관리', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => '계정 삭제', 'warn' => '당신의 계정과 관련된 모든 데이터가 삭제됩니다.', diff --git a/app/i18n/kr/feedback.php b/app/i18n/kr/feedback.php index 0e31536f8..1ea58388b 100644 --- a/app/i18n/kr/feedback.php +++ b/app/i18n/kr/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => '이 페이지에 접근할 수 있는 권한이 없습니다', 'not_found' => '이 페이지는 존재하지 않습니다', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => '인증 시스템을 설정하는 동안 문제가 발생했습니다. 잠시 후 다시 시도하세요.', diff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.php index ca6627cbb..fdd82f7c2 100644 --- a/app/i18n/nl/conf.php +++ b/app/i18n/nl/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profiel beheer', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Account verwijderen', 'warn' => 'Uw account en alle gerelateerde gegvens worden verwijderd.', diff --git a/app/i18n/nl/feedback.php b/app/i18n/nl/feedback.php index 97e1a71b8..dafbb9d68 100644 --- a/app/i18n/nl/feedback.php +++ b/app/i18n/nl/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'U hebt geen rechten om deze pagina te bekijken.', 'not_found' => 'Deze pagina bestaat niet', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Er is een probleem opgetreden tijdens de controle van de systeemconfiguratie. Probeer het later nog eens.', diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php index e123c03c5..98758be28 100644 --- a/app/i18n/oc/conf.php +++ b/app/i18n/oc/conf.php @@ -51,6 +51,7 @@ return array( ), 'profile' => array( '_' => 'Gestion del perfil', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Supression del compte', 'warn' => 'Lo compte e totas las donadas ligadas seràn suprimits.', diff --git a/app/i18n/oc/feedback.php b/app/i18n/oc/feedback.php index 7f7d05dbd..a37ad2ae2 100644 --- a/app/i18n/oc/feedback.php +++ b/app/i18n/oc/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Avètz pas l’autorizacion d’accedir a aquesta pagina', 'not_found' => 'La pagina que cercatz existís pas', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Un problèma es aparegut pendent la configuracion del sistèma d’autentificacion. Tonatz ensajar ai tard.', diff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-br/conf.php index 5e43cc373..d2a60aba8 100644 --- a/app/i18n/pt-br/conf.php +++ b/app/i18n/pt-br/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Gerenciamento de perfil', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Remover conta', 'warn' => 'Sua conta e todos os dados relacionados serão removidos.', diff --git a/app/i18n/pt-br/feedback.php b/app/i18n/pt-br/feedback.php index 816bbf43b..d15080964 100644 --- a/app/i18n/pt-br/feedback.php +++ b/app/i18n/pt-br/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Você não tem permissão para acessar esta página', 'not_found' => 'VocÊ está buscando por uma página que não existe', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Um problema ocorreu durante o sistema de configuração para autenticação. Por favor tente mais tarde.', diff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.php index 7a80587f8..96a307976 100644 --- a/app/i18n/ru/conf.php +++ b/app/i18n/ru/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profile management', //TODO - Translation + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Account deletion', //TODO - Translation 'warn' => 'Your account and all the related data will be deleted.', //TODO - Translation diff --git a/app/i18n/ru/feedback.php b/app/i18n/ru/feedback.php index 7b859fcdd..449d01ee4 100644 --- a/app/i18n/ru/feedback.php +++ b/app/i18n/ru/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'You don’t have permission to access this page', //TODO - Translation 'not_found' => 'You are looking for a page which doesn’t exist', //TODO - Translation ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'A problem occured during authentication system configuration. Please retry later.', //TODO - Translation diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php index 2e2289b79..be6fdce4f 100644 --- a/app/i18n/sk/conf.php +++ b/app/i18n/sk/conf.php @@ -42,6 +42,7 @@ return array( ), 'profile' => array( '_' => 'Správca profilu', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Vymazanie účtu', 'warn' => 'Váš účet a všetky údaje v ňom budú vymazané.', diff --git a/app/i18n/sk/feedback.php b/app/i18n/sk/feedback.php index 9aee79068..5bccd8259 100644 --- a/app/i18n/sk/feedback.php +++ b/app/i18n/sk/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Na prístup k tejto stránke nemáte oprávnenie', 'not_found' => 'Hľadáte stránku, ktorá neexistuje', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Nastavl problém pri nastavovaní prihlasovacieho systému. Prosím, skúste to znova neskôr.', diff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.php index c8ea78efa..25eaedc55 100644 --- a/app/i18n/tr/conf.php +++ b/app/i18n/tr/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => 'Profil yönetimi', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => 'Hesap silme', 'warn' => 'Hesabınız ve tüm verileriniz silinecek.', diff --git a/app/i18n/tr/feedback.php b/app/i18n/tr/feedback.php index fc1e59bbc..73489c723 100644 --- a/app/i18n/tr/feedback.php +++ b/app/i18n/tr/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => 'Bu sayfaya erişim yetkiniz yok', 'not_found' => 'Varolmayan bir sayfa arıyorsunuz', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => 'Sistem yapılandırma kimlik doğrulaması sırasında hata oldu. Lütfen daha sonra tekrar deneyin.', diff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-cn/conf.php index a7404bc58..485da16f2 100644 --- a/app/i18n/zh-cn/conf.php +++ b/app/i18n/zh-cn/conf.php @@ -50,6 +50,7 @@ return array( ), 'profile' => array( '_' => '帐户管理', + 'api' => 'API management', // TODO - Translation 'delete' => array( '_' => '账户删除', 'warn' => '你的帐户和所有相关数据都将被删除。', diff --git a/app/i18n/zh-cn/feedback.php b/app/i18n/zh-cn/feedback.php index e8ee969b0..9dbc45cf5 100644 --- a/app/i18n/zh-cn/feedback.php +++ b/app/i18n/zh-cn/feedback.php @@ -8,6 +8,12 @@ return array( 'denied' => '你无权访问此页面', 'not_found' => '你寻找的页面不存在', ), + 'api' => array( + 'password' => array( + 'failed' => 'Your password cannot be modified', // TODO - Translation + 'updated' => 'Your password has been modified', // TODO - Translation + ), + ), 'auth' => array( 'form' => array( 'not_set' => '配置认证方式时出错。请稍后重试。', |
