From 79651b942de86e9d181ecf92cbbf12ad87b58cf2 Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:41:08 +0100 Subject: improve api management (#7048) * ... and sharing user queries by link (not all languages) * Profile page: API mgm: better headline, better help text * i18n * i18n: " and sharing user queries" * i18n: link to documentation + apps list * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/conf.php * Update app/i18n/it/admin.php Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> * Update app/i18n/it/conf.php * Update app/i18n/fr/admin.php * i18n * French doc cf. English * Update app/i18n/it/conf.php Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> * Update conf.php --------- Co-authored-by: Alexandre Alapetite Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --- app/i18n/en/admin.php | 2 +- app/i18n/en/conf.php | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'app/i18n/en') diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php index 81d4ff09e..6394d1e0a 100644 --- a/app/i18n/en/admin.php +++ b/app/i18n/en/admin.php @@ -14,7 +14,7 @@ return array( 'auth' => array( 'allow_anonymous' => 'Allow anonymous reading of the default user’s articles (%s)', 'allow_anonymous_refresh' => 'Allow anonymous refresh of the articles', - 'api_enabled' => 'Allow API access (required for mobile apps)', + 'api_enabled' => 'Allow API access (required for mobile apps and sharing user queries)', 'form' => 'Web form (traditional, requires JavaScript)', 'http' => 'HTTP (for advanced users with HTTPS)', 'none' => 'None (dangerous)', diff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.php index 8ef4080bd..30d500c50 100644 --- a/app/i18n/en/conf.php +++ b/app/i18n/en/conf.php @@ -100,12 +100,18 @@ return array( ), ), 'privacy' => array( - '_' => 'Privacy', // TODO - 'retrieve_extension_list' => 'Retrieve extension list', // TODO + '_' => 'Privacy', + 'retrieve_extension_list' => 'Retrieve extension list', ), 'profile' => array( '_' => 'Profile management', - 'api' => 'API management', + 'api' => array( + '_' => 'External access via API', + 'check_link' => 'Check API status via: %s', + 'disabled' => 'The API access is disabled.', + 'documentation_link' => 'See the documentation and list of known apps', + 'help' => 'See documentation', + ), 'delete' => array( '_' => 'Account deletion', 'warn' => 'Your account and all related data will be deleted.', @@ -149,6 +155,10 @@ return array( 'search' => 'Search for “%s”', 'share' => array( '_' => 'Share this query by link', + 'disabled' => array( + '_' => 'disabled', + 'title' => 'Sharing', + ), 'greader' => 'Shareable link to the GReader JSON', 'help' => 'Give this link if you want to share this query with anyone', 'html' => 'Shareable link to the HTML page', @@ -177,7 +187,7 @@ return array( '_' => 'Reading', 'after_onread' => 'After “mark all as read”,', 'always_show_favorites' => 'Show all articles in favourites by default', - 'apply_to_individual_feed' => 'Applies to feeds individually', // TODO + 'apply_to_individual_feed' => 'Applies to feeds individually', 'article' => array( 'authors_date' => array( '_' => 'Authors and date', -- cgit v1.2.3