diff options
| author | 2020-05-15 17:31:21 +0200 | |
|---|---|---|
| committer | 2020-05-15 17:31:21 +0200 | |
| commit | 8487fa6248d1d5dac81640de9c55c1eab9f324b3 (patch) | |
| tree | f3209fdeb8341870bd4fe765e30a0a395a12c4ea /app/i18n/sk/feedback.php | |
| parent | 62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (diff) | |
Reformat i18n correctly (#2976)
* Ignore i18n gen.dir key
* Add a makefile target to update an i18n key
* Mark some i18n keys to ignore
* Reformat i18n files correctly
* Make i18n keys sort case-sensitive
Calling `make i18n-format` was always inverting 4 lines:
- gen.date.dec with gen.date.Dec
- and gen.date.nov with gen.date.Nov
I don't know why these particular lines and not the others, but it
appeared the sort function was case insensitive due to the
`SORT_FLAG_CASE` flag passed to the `ksort` function. Removing this flag
makes the calls to the formatter idempotent and more reliable.
Unfortunately it moves a lot of lines since the `_` character is
considered differently.
* Check i18n files are correctly formatted on Travis
Diffstat (limited to 'app/i18n/sk/feedback.php')
| -rw-r--r-- | app/i18n/sk/feedback.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/i18n/sk/feedback.php b/app/i18n/sk/feedback.php index fd87d26c1..ed880f1c8 100644 --- a/app/i18n/sk/feedback.php +++ b/app/i18n/sk/feedback.php @@ -44,9 +44,9 @@ return array( 'ko' => '%s sa nepodarilo povoliť. <a href="%s">Prečítajte si záznamy FreshRSS</a>, ak chcete poznať podrobnosti.', 'ok' => '%s je teraz povolený', ), + 'no_access' => 'Nemáte prístup k %s', 'not_enabled' => '%s nie je povolený', 'not_found' => '%s neexistuje', - 'no_access' => 'Nemáte prístup k %s', ), 'import_export' => array( 'export_no_zip_extension' => 'ZIP rozšírenie sa na vašom serveri nenachádza. Prosím, skúste exportovať súbory pojednom.', @@ -72,10 +72,10 @@ return array( 'emptied' => 'Kategória bola vyprázdnená', 'error' => 'Nepodarilo sa aktualizovať kategóriu', 'name_exists' => 'Názov kategórie už existuje.', - 'not_delete_default' => 'Nemôžete odstrániť prednastavenú kategóriu!', - 'not_exist' => 'Kategória neexistuje!', 'no_id' => 'Musíte zadať ID kategórie.', 'no_name' => 'Názov kategórie nemôže byť prázdny.', + 'not_delete_default' => 'Nemôžete odstrániť prednastavenú kategóriu!', + 'not_exist' => 'Kategória neexistuje!', 'over_max' => 'Dosiahli ste limit počtu kategórií (%d)', 'updated' => 'Kategória bola aktualizovaná.', ), @@ -89,17 +89,17 @@ return array( 'error' => 'Kanál sa nepodarilo aktualizovať', 'internal_problem' => 'Kanál sa nepodarilo pridať. <a href="%s">Prečítajte si záznamy FreshRSS</a>, ak chcete poznať podrobnosti. Skúste pridať kanál pomocou <code>#force_feed</code> v odkaze (URL).', 'invalid_url' => 'Odkaz <em>%s</em> je neplatný', - 'not_added' => 'Kanál <em>%s</em> sa nepodarilo pridať', - 'not_found' => 'Feed cannot be found', // TODO - Translation - 'no_refresh' => 'Žiadny kanál sa neaktualizoval…', 'n_actualized' => 'Počet aktualizovaných kanálov: %d', 'n_entries_deleted' => 'Počet vymazaných článkov: %d', + 'no_refresh' => 'Žiadny kanál sa neaktualizoval…', + 'not_added' => 'Kanál <em>%s</em> sa nepodarilo pridať', + 'not_found' => 'Feed cannot be found', // TODO - Translation 'over_max' => 'Dosiahli ste limit počtu kanálov (%d)', 'reloaded' => '<em>%s</em> has been reloaded', // TODO - Translation 'selector_preview' => array( 'http_error' => 'Failed to load website content.', // TODO - Translation - 'no_entries' => 'There is no entries in your feed. You need at least one entry to create a preview.', // TODO - Translation - 'no_feed' => 'Internal error (no feed to entry).', // TODO - Translation + 'no_entries' => 'There are no articles in this feed. You need at least one article to create a preview.', // TODO - Translation + 'no_feed' => 'Internal error (feed can’t be found).', // TODO - Translation 'no_result' => 'The selector didn\'t match anything. As a fallback the original feed text will be displayed instead.', // TODO - Translation 'selector_empty' => 'The selector is empty. You need to define one to create a preview.', // TODO - Translation ), @@ -117,16 +117,16 @@ return array( ), 'user' => array( 'created' => array( - 'error' => 'Používateľ %s nebol vytvorený', '_' => 'Používateľ %s bol vytvorený', + 'error' => 'Používateľ %s nebol vytvorený', ), 'deleted' => array( - 'error' => 'Používateľ %s nebol vymazaný', '_' => 'Používateľ %s bol vymazaný', + 'error' => 'Používateľ %s nebol vymazaný', ), 'updated' => array( - 'error' => 'Používateľ %s nebol aktualizovaný', '_' => 'Používateľ %s bol aktualizovaný', + 'error' => 'Používateľ %s nebol aktualizovaný', ), ), ); |
