From fdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8 Mon Sep 17 00:00:00 2001 From: Jackson Culbreth <88844902+culbrethj@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:34:56 -0500 Subject: Added api password indicator text (#7340) * Added api password indicator text * make fix-all * i18n * i18n: it Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --------- Co-authored-by: Alexandre Alapetite Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --- app/i18n/cs/conf.php | 2 ++ app/i18n/de/conf.php | 2 ++ app/i18n/el/conf.php | 2 ++ app/i18n/en-us/conf.php | 2 ++ app/i18n/en/conf.php | 2 ++ app/i18n/es/conf.php | 2 ++ app/i18n/fa/conf.php | 2 ++ app/i18n/fi/conf.php | 2 ++ app/i18n/fr/conf.php | 2 ++ app/i18n/he/conf.php | 2 ++ app/i18n/hu/conf.php | 2 ++ app/i18n/id/conf.php | 2 ++ app/i18n/it/conf.php | 2 ++ app/i18n/ja/conf.php | 2 ++ app/i18n/ko/conf.php | 2 ++ app/i18n/lv/conf.php | 2 ++ app/i18n/nl/conf.php | 2 ++ app/i18n/oc/conf.php | 2 ++ app/i18n/pl/conf.php | 2 ++ app/i18n/pt-br/conf.php | 2 ++ app/i18n/pt-pt/conf.php | 2 ++ app/i18n/ru/conf.php | 2 ++ app/i18n/sk/conf.php | 2 ++ app/i18n/tr/conf.php | 2 ++ app/i18n/zh-cn/conf.php | 2 ++ app/i18n/zh-tw/conf.php | 2 ++ app/views/user/profile.phtml | 5 +++++ cli/README.md | 6 +++--- 28 files changed, 60 insertions(+), 3 deletions(-) diff --git a/app/i18n/cs/conf.php b/app/i18n/cs/conf.php index b4cef925b..babe1621b 100644 --- a/app/i18n/cs/conf.php +++ b/app/i18n/cs/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Správa profilu', 'api' => array( '_' => 'Správa API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/de/conf.php b/app/i18n/de/conf.php index 6acf69c24..23d538b57 100644 --- a/app/i18n/de/conf.php +++ b/app/i18n/de/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profil-Verwaltung', 'api' => array( '_' => 'API-Verwaltung', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'API-Status prüfen: %s', 'disabled' => 'Der API-Zugriff ist deaktiviert.', 'documentation_link' => 'Siehe die Dokumentation und die Liste der bekannten Apps', diff --git a/app/i18n/el/conf.php b/app/i18n/el/conf.php index 86477370e..add5090e6 100644 --- a/app/i18n/el/conf.php +++ b/app/i18n/el/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profile management', // TODO 'api' => array( '_' => 'API management', // DIRTY + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/en-us/conf.php b/app/i18n/en-us/conf.php index 0288bc0d9..0b2ed39fd 100644 --- a/app/i18n/en-us/conf.php +++ b/app/i18n/en-us/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profile management', // IGNORE 'api' => array( '_' => 'API management', // IGNORE + 'api_not_set' => 'API password not set', // IGNORE + 'api_set' => 'API password set', // IGNORE 'check_link' => 'Check API status via: %s', // IGNORE 'disabled' => 'The API access is disabled.', // IGNORE 'documentation_link' => 'See the documentation and list of known apps', // IGNORE diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php index da0230a30..01c05b675 100644 --- a/app/i18n/en/conf.php +++ b/app/i18n/en/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profile management', 'api' => array( '_' => 'External access via API', + 'api_not_set' => 'API password not set', + 'api_set' => 'API password set', 'check_link' => 'Check API status via: %s', 'disabled' => 'The API access is disabled.', 'documentation_link' => 'See the documentation and list of known apps', diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.php index 610c7333c..1feecaec6 100644 --- a/app/i18n/es/conf.php +++ b/app/i18n/es/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Administración de perfiles', 'api' => array( '_' => 'Administración de API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/fa/conf.php b/app/i18n/fa/conf.php index 9a1890c0a..e91aa7058 100644 --- a/app/i18n/fa/conf.php +++ b/app/i18n/fa/conf.php @@ -107,6 +107,8 @@ return array( '_' => ' مدیریت پروفایل', 'api' => array( '_' => ' مدیریت API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/fi/conf.php b/app/i18n/fi/conf.php index 3a9a12b88..751b05ff7 100644 --- a/app/i18n/fi/conf.php +++ b/app/i18n/fi/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profiilien hallinta', 'api' => array( '_' => 'API-hallinta', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.php index bbf7fd6d1..65cfd63aa 100644 --- a/app/i18n/fr/conf.php +++ b/app/i18n/fr/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Gestion du profil', 'api' => array( '_' => 'Gestion de l’API', + 'api_not_set' => 'Pas de mot de passe API défini', + 'api_set' => 'Mot de passe API enregistré', 'check_link' => 'Vérifier l’état de l’API via : %s', 'disabled' => 'L’accès API est désactivé.', 'documentation_link' => 'Voir la documentation et une liste d’applications compatibles', diff --git a/app/i18n/he/conf.php b/app/i18n/he/conf.php index 704459b97..966bea79d 100644 --- a/app/i18n/he/conf.php +++ b/app/i18n/he/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profile management', // TODO 'api' => array( '_' => 'API management', // DIRTY + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/hu/conf.php b/app/i18n/hu/conf.php index 8c64401df..87a0355ea 100755 --- a/app/i18n/hu/conf.php +++ b/app/i18n/hu/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profil kezelés', 'api' => array( '_' => 'API menedzsment', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'API státusz ellenőrzése: %s', 'disabled' => 'Az API hozzáférés ki van kapcsolva.', 'documentation_link' => 'Lásd az ismert appok dokumentációját és listáját', diff --git a/app/i18n/id/conf.php b/app/i18n/id/conf.php index f9e7e39d8..466e974c8 100644 --- a/app/i18n/id/conf.php +++ b/app/i18n/id/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Manajemen Profil', 'api' => array( '_' => 'Manajemen API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.php index dbb6a696e..5453f84b4 100644 --- a/app/i18n/it/conf.php +++ b/app/i18n/it/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Gestione profili', 'api' => array( '_' => 'Gestione API', + 'api_not_set' => 'Password API non impostata', + 'api_set' => 'Password API impostata', 'check_link' => 'Verificare lo stato dell’API tramite: %s', 'disabled' => 'L’accesso all’API è disabilitato.', 'documentation_link' => 'Vedi la documentazione e l’elenco delle applicazioni', diff --git a/app/i18n/ja/conf.php b/app/i18n/ja/conf.php index 4bdbdbf00..378c2625f 100644 --- a/app/i18n/ja/conf.php +++ b/app/i18n/ja/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'プロフィール', 'api' => array( '_' => 'API管理', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'APIステータスを確認する: %s', 'disabled' => 'APIアクセスは無効です。', 'documentation_link' => '既知のアプリの一覧はドキュメントを参照してください', diff --git a/app/i18n/ko/conf.php b/app/i18n/ko/conf.php index e26171384..889c554d6 100644 --- a/app/i18n/ko/conf.php +++ b/app/i18n/ko/conf.php @@ -107,6 +107,8 @@ return array( '_' => '프로필 관리', 'api' => array( '_' => 'API 관리', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/lv/conf.php b/app/i18n/lv/conf.php index d921d7694..19a78139f 100644 --- a/app/i18n/lv/conf.php +++ b/app/i18n/lv/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profila pārvalde', 'api' => array( '_' => 'API pārvalde', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.php index ab680930c..1ca39660f 100644 --- a/app/i18n/nl/conf.php +++ b/app/i18n/nl/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profielbeheer', 'api' => array( '_' => 'API-beheer', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php index 7cc11693d..615e04d34 100644 --- a/app/i18n/oc/conf.php +++ b/app/i18n/oc/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Gestion del perfil', 'api' => array( '_' => 'Gestion API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/pl/conf.php b/app/i18n/pl/conf.php index 34d9fa773..1c6ffbda0 100644 --- a/app/i18n/pl/conf.php +++ b/app/i18n/pl/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Zarządzanie profilem', 'api' => array( '_' => 'Zarządzanie API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-br/conf.php index ec4c24d9e..779228b1f 100644 --- a/app/i18n/pt-br/conf.php +++ b/app/i18n/pt-br/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Gerenciamento de perfil', 'api' => array( '_' => 'Administração da API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/pt-pt/conf.php b/app/i18n/pt-pt/conf.php index 385df0abf..4f1bbbcc8 100644 --- a/app/i18n/pt-pt/conf.php +++ b/app/i18n/pt-pt/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Gestão de perfil', 'api' => array( '_' => 'Administração da API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.php index c52f20ac9..7a535908f 100644 --- a/app/i18n/ru/conf.php +++ b/app/i18n/ru/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Настройки профиля', 'api' => array( '_' => 'Настройки API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.php index 000a943a1..d49c01652 100644 --- a/app/i18n/sk/conf.php +++ b/app/i18n/sk/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Správca profilu', 'api' => array( '_' => 'Správa API', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.php index 68fa16819..bd98f7330 100644 --- a/app/i18n/tr/conf.php +++ b/app/i18n/tr/conf.php @@ -107,6 +107,8 @@ return array( '_' => 'Profil yönetimi', 'api' => array( '_' => 'API yönetimi', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-cn/conf.php index e80136b10..b6af7fe54 100644 --- a/app/i18n/zh-cn/conf.php +++ b/app/i18n/zh-cn/conf.php @@ -107,6 +107,8 @@ return array( '_' => '账户管理', 'api' => array( '_' => 'API 管理', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/i18n/zh-tw/conf.php b/app/i18n/zh-tw/conf.php index 4b1a6f4af..763937aa3 100644 --- a/app/i18n/zh-tw/conf.php +++ b/app/i18n/zh-tw/conf.php @@ -107,6 +107,8 @@ return array( '_' => '個人資料管理', 'api' => array( '_' => 'API 管理', + 'api_not_set' => 'API password not set', // TODO + 'api_set' => 'API password set', // TODO 'check_link' => 'Check API status via: %s', // TODO 'disabled' => 'The API access is disabled.', // TODO 'documentation_link' => 'See the documentation and list of known apps', // TODO diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml index 74f6911cd..8f3633eb3 100644 --- a/app/views/user/profile.phtml +++ b/app/views/user/profile.phtml @@ -82,6 +82,11 @@
apiPasswordHash != '') {?> + placeholder="" + + placeholder="" + pattern=".{7,}" />
diff --git a/cli/README.md b/cli/README.md index 22db88957..155c8938b 100644 --- a/cli/README.md +++ b/cli/README.md @@ -47,7 +47,7 @@ cd /usr/share/FreshRSS # --db-type can be: 'sqlite' (default), 'mysql' (MySQL or MariaDB), 'pgsql' (PostgreSQL). # --db-host URL of the database server. Default is 'localhost'. # --db-user sets database user. -# --db-password sets database password. +# --db-API password sets database password. # --db-base sets database name. # --db-prefix is an optional prefix in front of the names of the tables. We suggest using 'freshrss_' (default). # This command does not create the default user. Do that with ./cli/create-user.php. @@ -65,8 +65,8 @@ cd /usr/share/FreshRSS ./cli/create-user.php --user username [ --password 'password' --api-password 'api_password' --language en --email user@example.net --token 'longRandomString' --no-default-feeds --purge-after-months 3 --feed-min-articles-default 50 --feed-ttl-default 3600 --since-hours-posts-per-rss 168 --max-posts-per-rss 400 ] # --user must be alphanumeric, not longer than 38 characters. The name of the user to be created/updated. -# --password sets the user's password. -# --api-password sets the user's api password. +# --API password sets the user's password. +# --api-API password sets the user's api password. # --language can be: 'en' (default), 'fr', or one of the [supported languages](../app/i18n/). # --email sets an email for the user which will be used email validation if it forced email validation is enabled. # --no-default-feeds do not add this FreshRSS instance's default feeds to the user during creation. -- cgit v1.2.3