Files
FreshRSS/app/i18n/en-US/api.php
Alexis Degrugillier b6f4276c6c Change regional language codes (#8065)
* Change regional language codes

According to `ISO-639-1` and `ISO-3166-1 alpha-2` recommendations, regional
languages must be written with the language code in lowercase and the region
in uppercase. For instance, we should have `en-US` instead of `en-us`.

Folders have been updated to reflect those recommendations and regional
language codes have been updated in the translation files.

* Update README files

* Fix configuration for typos

* Revert language order in documentation

* Remove unnecessary code

* Change language configuration getter

* Fix phpstan error

* Fix typo

* Add types

* escape regex

* Move language logic to avoid magic or deprecated methods

* Minor fix on regex
2025-10-06 21:09:01 +02:00

34 lines
1.5 KiB
PHP

<?php
/******************************************************************************
* Each entry of that file can be associated with a comment to indicate its *
* state. When there is no comment, it means the entry is fully translated. *
* The recognized comments are (comment matching is case-insensitive): *
* + TODO: the entry has never been translated. *
* + DIRTY: the entry has been translated but needs to be updated. *
* + IGNORE: the entry does not need to be translated. *
* When a comment is not recognized, it is discarded. *
******************************************************************************/
return array(
'information' => array(
'address' => 'Your API address:', // IGNORE
'output' => array(
'encoding-support' => '⚠️ WARN: no <code>%2F</code> support, some clients might not work!', // IGNORE
'invalid-configuration' => '⚠️ WARN: Probable invalid base URL in ./data/config.php', // IGNORE
'pass' => '✔️ PASS', // IGNORE
'unknown-error' => '❌ ', // IGNORE
),
'test' => array(
'fever' => 'Fever API configuration test:', // IGNORE
'greader' => 'Google Reader API configuration test:', // IGNORE
),
'title' => array(
'_' => 'FreshRSS API endpoints', // IGNORE
'extension' => 'API for extensions', // IGNORE
'fever' => 'Fever compatible API', // IGNORE
'greader' => 'Google Reader compatible API', // IGNORE
),
),
);