From 8487fa6248d1d5dac81640de9c55c1eab9f324b3 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Fri, 15 May 2020 17:31:21 +0200 Subject: 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 --- app/i18n/tr/conf.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'app/i18n/tr/conf.php') diff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.php index 0971285ec..84d2da72e 100644 --- a/app/i18n/tr/conf.php +++ b/app/i18n/tr/conf.php @@ -2,6 +2,7 @@ return array( 'archiving' => array( + '_' => 'Arşiv', 'delete_after' => 'Makelelerin tutulacağı süre', 'exception' => 'Purge exception', // TODO - Translation 'help' => 'Akış ayarlarında daha çok ayar bulabilirsiniz', @@ -19,9 +20,9 @@ return array( 'purge_now' => 'Şimdi temizle', 'title' => 'Arşiv', 'ttl' => 'Şu süreden sık otomatik yenileme yapma', - '_' => 'Arşiv', ), 'display' => array( + '_' => 'Görünüm', 'icon' => array( 'bottom_line' => 'Alt çizgi', 'display_authors' => 'Authors', // TODO - Translation @@ -46,22 +47,22 @@ return array( 'no_limit' => 'Sınırsız', 'thin' => 'Zayıf', ), - '_' => 'Görünüm', ), 'profile' => array( + '_' => 'Profil yönetimi', 'api' => 'API management', // TODO - Translation 'delete' => array( - 'warn' => 'Hesabınız ve tüm verileriniz silinecek.', '_' => 'Hesap silme', + 'warn' => 'Hesabınız ve tüm verileriniz silinecek.', ), 'email' => 'Email adresleri', 'password_api' => 'API Şifresi
(ör. mobil uygulamalar için)', 'password_form' => 'Şifre
(Tarayıcı girişi için)', 'password_format' => 'En az 7 karakter', 'title' => 'Profil', - '_' => 'Profil yönetimi', ), 'query' => array( + '_' => 'Kullanıcı sorguları', 'deprecated' => 'Bu sorgu artık geçerli değil. İlgili akış veya kategori silinmiş.', 'display' => 'Display user query results', // TODO - Translation 'filter' => 'Filtre uygulandı:', @@ -69,8 +70,8 @@ return array( 'get_category' => '"%s" kategorisini göster', 'get_favorite' => 'Favori makaleleri göster', 'get_feed' => '"%s" akışını göster', - 'none' => 'Henüz hiç kullanıcı sorgusu oluşturmadınız.', 'no_filter' => 'Filtre yok', + 'none' => 'Henüz hiç kullanıcı sorgusu oluşturmadınız.', 'number' => 'Sorgu n°%d', 'order_asc' => 'Önce eski makaleleri göster', 'order_desc' => 'Önce yeni makaleleri göster', @@ -93,9 +94,9 @@ return array( 'state_14' => 'Okunmamış makaleleri göster', 'state_15' => 'Tüm makaleleri göster', 'title' => 'Kullanıcı sorguları', - '_' => 'Kullanıcı sorguları', ), 'reading' => array( + '_' => 'Okuma', 'after_onread' => '"Hepsini okundu say" dedinten sonra,', 'always_show_favorites' => 'Show all articles in favorites by default', // TODO - Translation 'articles_per_page' => 'Sayfa başına makale sayısı', @@ -117,19 +118,19 @@ return array( 'when' => 'Makaleyi okundu olarak işaretle…', ), 'show' => array( + '_' => 'Gösterilecek makaleler', + 'active_category' => 'Active category', // TODO - Translation 'adaptive' => 'Ayarlanmış gösterim', 'all_articles' => 'Tüm makaleleri göster', - 'unread' => 'Sadece okunmamış makaleleri göster', - 'active_category' => 'Active category', // TODO - Translation 'all_categories' => 'All categories', // TODO - Translation 'no_category' => 'No category', // TODO - Translation - '_' => 'Gösterilecek makaleler', + 'unread' => 'Sadece okunmamış makaleleri göster', ), 'sides_close_article' => 'Clicking outside of article text area closes the article', // TODO - Translation 'sort' => array( + '_' => 'Sıralama', 'newer_first' => 'Önce yeniler', 'older_first' => 'Önce eskiler', - '_' => 'Sıralama', ), 'sticky_post' => 'Makale açıldığında yukarı getir', 'title' => 'Okuma', @@ -139,9 +140,9 @@ return array( 'normal' => 'Normal görünüm', 'reader' => 'Okuma görünümü', ), - '_' => 'Okuma', ), 'sharing' => array( + '_' => 'Paylaşım', 'add' => 'Add a sharing method', // TODO - Translation 'blogotext' => 'Blogotext', // TODO - Translation 'diaspora' => 'Diaspora*', // TODO - Translation @@ -156,9 +157,9 @@ return array( 'title' => 'Paylaşım', 'twitter' => 'Twitter', // TODO - Translation 'wallabag' => 'wallabag', // TODO - Translation - '_' => 'Paylaşım', ), 'shortcut' => array( + '_' => 'Kısayollar', 'article_action' => 'Makale eylemleri', 'auto_share' => 'Paylaş', 'auto_share_help' => 'Sadece 1 paylaşım modu varsa bu kullanılır. Yoksa kendi paylaşım numaraları ile kullanılır.', @@ -183,14 +184,13 @@ return array( 'reading_view' => 'Switch to reading view', // TODO - Translation 'rss_view' => 'Open RSS view in a new tab', // TODO - Translation 'see_on_website' => 'Orijinal sitede göster', - 'shift_for_all_read' => '+ Alt ⎇ to mark previous articles as read
+ ⇧ Shift tuşu ile tüm makaleler okundu olarak işaretlenir', // TODO - Translation + 'shift_for_all_read' => '+ Alt ⎇ to mark previous articles as read
+ ⇧ Shift to mark all articles as read', // TODO - Translation 'skip_next_article' => 'Focus next without opening', // TODO - Translation 'skip_previous_article' => 'Focus previous without opening', // TODO - Translation 'title' => 'Kısayollar', 'user_filter' => 'Kullanıcı filtrelerine eriş', 'user_filter_help' => 'Eğer tek filtre varsa o kullanılır. Yoksa filtrelerin kendi numaralarıyla kullanılır.', 'views' => 'Views', // TODO - Translation - '_' => 'Kısayollar', ), 'user' => array( 'articles_and_size' => '%s makale (%s)', -- cgit v1.2.3