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/he/admin.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/he/admin.php')
| -rw-r--r-- | app/i18n/he/admin.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/i18n/he/admin.php b/app/i18n/he/admin.php index ea4884d4d..7b9977834 100644 --- a/app/i18n/he/admin.php +++ b/app/i18n/he/admin.php @@ -83,9 +83,9 @@ return array( 'ok' => 'PDO מותקן ולפחות אחד ממנהלי ההתקן הנתמכים מותקן (pdo_mysql, pdo_sqlite)', ), 'php' => array( + '_' => 'PHP installation', // TODO - Translation 'nok' => 'גירסת PHP שלכם היא %s אך FreshRSS דורש לפחות את גירסה %s', 'ok' => 'גירסת PHP שלכם היא %s, שתואמת ל FreshRSS', - '_' => 'PHP installation', // TODO - Translation ), 'tables' => array( 'nok' => 'There is one or more lacking tables in the database.', @@ -116,8 +116,8 @@ return array( 'name' => 'Name', // TODO - Translation 'no_configure_view' => 'This extension cannot be configured.', // TODO - Translation 'system' => array( - 'no_rights' => 'System extension (you have no rights on it)', // TODO - Translation '_' => 'System extensions', // TODO - Translation + 'no_rights' => 'System extension (you have no rights on it)', // TODO - Translation ), 'title' => 'Extensions', // TODO - Translation 'update' => 'Update available', // TODO - Translation @@ -125,6 +125,7 @@ return array( 'version' => 'Version', // TODO - Translation ), 'stats' => array( + '_' => 'סטטיסטיקות', 'all_feeds' => 'כל ההזנות', 'category' => 'קטגוריה', 'entry_count' => 'סכום המאמרים', @@ -154,9 +155,9 @@ return array( 'status_unread' => 'לא נקרא', 'title' => 'סטטיסטיקות', 'top_feed' => 'עשרת ההזנות המובילות', - '_' => 'סטטיסטיקות', ), 'system' => array( + '_' => 'System configuration', // TODO - Translation 'auto-update-url' => 'Auto-update server URL', // TODO - Translation 'cookie-duration' => array( 'help' => 'in seconds', // TODO - Translation @@ -170,21 +171,20 @@ return array( 'help' => '0 means that there is no account limit', // TODO - Translation 'number' => 'Max number of accounts', // TODO - Translation ), - '_' => 'System configuration', // TODO - Translation ), 'update' => array( + '_' => 'מערכת העדכון', 'apply' => 'החלת העדכון', 'check' => 'בדיקת עדכונים חדשים', 'current_version' => 'Your current version of FreshRSS is the %s.', 'last' => 'תאריך בדיקה אחרון: %s', 'none' => 'אין עדכון להחלה', 'title' => 'מערכת העדכון', - '_' => 'מערכת העדכון', ), 'user' => array( 'admin' => 'Administrator', // TODO - Translation - 'articles_and_size' => '%s articles (%s)', // TODO - Translation 'article_count' => 'Articles', // TODO - Translation + 'articles_and_size' => '%s articles (%s)', // TODO - Translation 'back_to_manage' => '← Return to user list', // TODO - Translation 'create' => 'יצירת משתמש חדש', 'database_size' => 'Database size', // TODO - Translation @@ -202,8 +202,8 @@ return array( 'selected' => 'Selected user', // TODO - Translation 'title' => 'Manage users', // TODO - Translation 'update_users' => 'Update user', // TODO - Translation + 'user_list' => 'רשימת משתמשים', 'username' => 'שם משתמש', 'users' => 'משתמשים', - 'user_list' => 'רשימת משתמשים', ), ); |
