From 4db201dee7c4134c41eba348e5d5247ae14de44b Mon Sep 17 00:00:00 2001 From: yusufdundar Date: Thu, 30 Nov 2023 22:51:40 +0300 Subject: [PATCH 1/2] Added Turkish translation --- .../palexdev/materialfx/i18n/Language.java | 3 +- .../materialfx/i18n/mfxlang_tr.properties | 106 ++++++++++++++++++ 2 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties diff --git a/materialfx/src/main/java/io/github/palexdev/materialfx/i18n/Language.java b/materialfx/src/main/java/io/github/palexdev/materialfx/i18n/Language.java index be6312bf..3bbac4f1 100644 --- a/materialfx/src/main/java/io/github/palexdev/materialfx/i18n/Language.java +++ b/materialfx/src/main/java/io/github/palexdev/materialfx/i18n/Language.java @@ -36,7 +36,8 @@ public enum Language { RUSSIAN(Locale.forLanguageTag("ru")), SIMPLIFIED_CHINESE(Locale.SIMPLIFIED_CHINESE), SPANISH(Locale.forLanguageTag("es")), - TRADITIONAL_CHINESE(Locale.TRADITIONAL_CHINESE); + TRADITIONAL_CHINESE(Locale.TRADITIONAL_CHINESE), + TURKISH(Locale.forLanguageTag("tr")); private final Locale locale; diff --git a/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties b/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties new file mode 100644 index 00000000..c9094349 --- /dev/null +++ b/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties @@ -0,0 +1,106 @@ +# +# Copyright (C) 2022 Parisi Alessandro +# This file is part of MaterialFX (https://github.com/palexdev/MaterialFX). +# +# MaterialFX is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# MaterialFX is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with MaterialFX. If not, see . +# + +################################################## +# Controls +################################################## + +# Combo Box +comboBox.contextMenu.selectFirst=İlkini seç +comboBox.contextMenu.selectNext=Sonrakini seç +comboBox.contextMenu.selectPrevious=Öncekini seç +comboBox.contextMenu.selectLast=Sonuncuyu seç +comboBox.contextMenu.clearSelection=Seçimi temizle + +# Filter Combo Box +filterCombo.search=Ara... + +# Filter Pane +filterPane.headerText=Filtreler +filterPane.activeFilters=Mevcut Filtreler +filterPane.searchField=Filtre değerinizi yazın... +filterPane.addFilter=Filtre Ekle + +# Notification Center +notificationCenter.contextMenu.selectAll=Hepsini seç +notificationCenter.contextMenu.selectRead=Okunmuşları seç +notificationCenter.contextMenu.selectUnread=Okunmamışları seç +notificationCenter.contextMenu.clearSelection=Seçimi temizle +notificationCenter.contextMenu.sortState=Duruma göre sırala +notificationCenter.contextMenu.sortTime=Zamana göre sırala +notificationCenter.contextMenu.reverseSort=Terse sırala +notificationCenter.contextMenu.filterRead=Okunmuşları filtrele +notificationCenter.contextMenu.filterUnread=Okunmamışları filtrele +notificationCenter.contextMenu.clearFilter=Filtreyi temizle +notificationCenter.contextMenu.clearSort=Sıralamayı sıfırla +notificationCenter.contextMenu.selectionSeparator=Seçim +notificationCenter.contextMenu.sortingSeparator=Sıralama +notificationCenter.contextMenu.filterSeparator=Filtreleme +notificationCenter.dnd=Rahatsız Etme +notificationCenter.header=Bildirimler + +# Stepper +stepper.next=Sonraki +stepper.previous=Önceki + +# Stepper Toggle +stepperToggle.invalidFields=Geçersiz Alanlar... + +# Text Fields +textField.contextMenu.copy=Kopyala +textField.contextMenu.cut=Kes +textField.contextMenu.paste=Yapıştır +textField.contextMenu.delete=Sil +textField.contextMenu.selectAll=Hepsini Seç +textField.contextMenu.redo=Yinele +textField.contextMenu.undo=Geri Al + +################################################## +# Enums +################################################## +chainMode.alternativeAnd=ve +chainMode.or=veya + +################################################## +# Filters +################################################## +filter.is=ise +filter.isNot=değil ise +filter.greater=büyüktür +filter.greaterEqual=büyük veya eşittit +filter.lesser=küçüktür +filter.lesserEqual=küçük veya eşittir +filter.contains=içerir +filter.containsIgnCase=içerir (büyük/küçük harf gözetmez) +filter.containsAny=herhangi birini içerir +filter.containsAll=hepsini içerir +filter.endsWith=ile biter +filter.endsWithIgnCase=ile biter (büyük/küçük harf gözetmez) +filter.equals=eşittir +filter.equalsIgnCase=eşittir (büyük/küçük harf gözetmez) +filter.notEqual=eşit değildir +filter.startsWith= ile başlar +filter.startsWithIgnCase=ile başlar (büyük/küçük harf gözetmez) + +################################################## +# Utils +################################################## +stringUtil.now=Şimdi +stringUtil.minutes={0} dakika önce +stringUtils.hours={0} saat önce +stringUtils.days={0} gün önce From c6d1b5ee6214429723321e4deefa63f866455693 Mon Sep 17 00:00:00 2001 From: yusufdundar Date: Thu, 30 Nov 2023 22:57:36 +0300 Subject: [PATCH 2/2] Fixed typo --- .../io/github/palexdev/materialfx/i18n/mfxlang_tr.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties b/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties index c9094349..7724f96f 100644 --- a/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties +++ b/materialfx/src/main/resources/io/github/palexdev/materialfx/i18n/mfxlang_tr.properties @@ -82,7 +82,7 @@ chainMode.or=veya filter.is=ise filter.isNot=değil ise filter.greater=büyüktür -filter.greaterEqual=büyük veya eşittit +filter.greaterEqual=büyük veya eşittir filter.lesser=küçüktür filter.lesserEqual=küçük veya eşittir filter.contains=içerir