From d0f1f9f141a58e090d210c221a7c1745378b96a3 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 3 Dec 2019 23:11:06 +0100 Subject: 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 --- app/i18n/tr/conf.php | 1 + app/i18n/tr/feedback.php | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'app/i18n/tr') 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.', -- cgit v1.2.3