From 35852c36cf54a2fde6e12aa265318cda67dea1b7 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 2 Dec 2023 18:43:25 +0100 Subject: [PATCH 1/2] translate filters --- static/js/documentFilter.js | 4 +++- static/js/filter.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/static/js/documentFilter.js b/static/js/documentFilter.js index ab7f39fe..c98ea3a0 100644 --- a/static/js/documentFilter.js +++ b/static/js/documentFilter.js @@ -189,7 +189,9 @@ pandora.ui.documentFilter = function(id) { {id: 'clearFilters', title: Ox._('Clear All Filters'), keyboard: 'shift alt control a'}, {}, {group: 'filter', max: 1, min: 1, items: pandora.site.documentFilters.map(function(filter) { - return Ox.extend({checked: filter.id == id}, filter); + return Ox.extend({checked: filter.id == id}, filter, { + title: Ox._(filter.title) + }); })} ], type: 'image', diff --git a/static/js/filter.js b/static/js/filter.js index c52fdcda..c65733ed 100644 --- a/static/js/filter.js +++ b/static/js/filter.js @@ -187,7 +187,9 @@ pandora.ui.filter = function(id) { {id: 'clearFilters', title: Ox._('Clear All Filters'), keyboard: 'shift alt control a'}, {}, {group: 'filter', max: 1, min: 1, items: pandora.site.filters.map(function(filter) { - return Ox.extend({checked: filter.id == id}, filter); + return Ox.extend({checked: filter.id == id}, filter, { + title: Ox._(filter.title) + }); })} ], type: 'image', From 540ee0f4c0a6bccbc9f7e4067dcb783a6bf7733b Mon Sep 17 00:00:00 2001 From: j Date: Sat, 2 Dec 2023 18:45:49 +0100 Subject: [PATCH 2/2] tr translations --- static/json/locale.pandora.tr.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/static/json/locale.pandora.tr.json b/static/json/locale.pandora.tr.json index 5e60eeb0..3d8417f4 100644 --- a/static/json/locale.pandora.tr.json +++ b/static/json/locale.pandora.tr.json @@ -528,7 +528,7 @@ "Staff": "Personel", "Statistics...": "İstatistikler...", "Statistics": "İstatistik", - "Status": "Statüs", + "Status": "Durum", "Stay Signed In": "Çevrimiçi kal", "Student": "Öğrenci", "Subject": "Konu", @@ -656,6 +656,10 @@ "Inactive": "İnaktif", "Custom": "Özel", "Collection": "Koleksiyon", + "Collections": "Koleksiyonlar", + "Personal Collections": "Kişisel Koleksiyonlar", + "Favorite Collections": "Favoriler", + "Featured Collections": "Öne Çıkanlar", "Image URL": "İmge URL", "Link URL": "Link URL", "Embed a Poster and Basic Metadata": "Poster ve Temel Meta Verileri Yerleştir", @@ -687,8 +691,14 @@ "File": "Dosya", "Select Video Files": "Video Dosyaları Seç", "YouTube, Vimeo, etc.": "YouTuve, Vimeo, vs.", - "No Summary": "", + "No Summary": "Açıklama yok", "No Groups": "", "Mixed Notes": "", - "Mixed Titles": "" + "Mixed Titles": "", + "Publisher": "Yayıncı", + "Author": "Yazar", + "Year": "Yıl", + "as List": "", + "as Grid": "" + } \ No newline at end of file