Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locale): Added Turkish language support (tr-TR) - Community PR #3695

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions platform/i18n/src/locales/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import tr_TR from './tr-TR/';
import ar from './ar/';
import en_US from './en-US/';
import es from './es/';
Expand All @@ -11,6 +12,7 @@ import test_lng from './test-LNG/';

export default {
...ar,
...tr_TR,
...en_US,
...es,
...fr,
Expand Down
14 changes: 14 additions & 0 deletions platform/i18n/src/locales/tr-TR/AboutModal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"Browser": "Tarayıcı",
"Build Number": "Derleme Numarası",
"Latest Master Commits": "Son Kaynak Kod Güncellemesi",
"More details": "Daha Fazla Detay",
"Name": "İsim",
"OHIF Viewer - About": "OHIF Viewer - Hakkında",
"OS": "İşletim Sistemi",
"Report an issue": "Sorun Bildir",
"Repository URL": "Kaynak Kod URL",
"Value": "Değer",
"Version Information": "Sürüm Bilgisi",
"Visit the forum": "Forumu ziyaret et"
}
43 changes: 43 additions & 0 deletions platform/i18n/src/locales/tr-TR/Buttons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"Acquired": "Edinilen",
"Angle": "Açı",
"Axial": "Eksenel",
"Bidirectional": "Çift Yönlü",
"Brush": "Fırça",
"CINE": "CINE",
"Cancel": "Vazgeç",
"Circle": "Daire",
"Clear": "Temizle",
"Coronal": "Koronal",
"Crosshairs": "Kesişim",
"Download": "İndir",
"Ellipse": "Elips",
"Elliptical": "Eliptik",
"Flip H": "Çevir D",
"Flip V": "Çevir Y",
"Freehand": "Serbest El",
"Invert": "Tersini Çevir",
"Layout": "$t(Common:Layout)",
"Length": "Uzunluk",
"Levels": "Seviyeler",
"Magnify": "Büyüt",
"Manual": "Manuel",
"Measurements": "Ölçümler",
"More": "$t(Common:More)",
"Next": "$t(Common:Next)",
"Pan": "Tut",
"Play": "$t(Common:Play)",
"Previous": "$t(Common:Previous)",
"Probe": "İncele",
"ROI Window": "ROI Penceresi",
"Rectangle": "Diktörtgen",
"Reset": "$t(Common:Reset)",
"Reset to Defaults": "Varsayılana $t(Common:Reset)",
"Rotate Right": "Sağa Döndür",
"Sagittal": "Sagital",
"Save": "Kaydet",
"Stack Scroll": "Yığın Kaydırma",
"Stop": "$t(Common:Stop)",
"Themes": "Temalar",
"Zoom": "Yakınlaştır"
}
8 changes: 8 additions & 0 deletions platform/i18n/src/locales/tr-TR/CineDialog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Next image": "$t(Common:Next) $t(Common:Image)",
"Play / Stop": "$t(Common:Play) / $t(Common:Stop)",
"Previous image": "$t(Common:Previous) $t(Common:Image)",
"Skip to first image": "İlk $t(Common:Image) Geç",
"Skip to last image": "Son $t(Common:Image) Geç",
"fps": "fps"
}
16 changes: 16 additions & 0 deletions platform/i18n/src/locales/tr-TR/Common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"Close": "Kapat",
"Image": "Görüntü",
"Layout": "Düzen",
"Measurements": "Ölçümler",
"More": "Daha Fazla",
"Next": "Sonraki",
"Play": "Oynat",
"Previous": "Önceki",
"Reset": "Sıfırla",
"RowsPerPage": "Sayfa başına satır",
"Series": "Seriler",
"Show": "Göster",
"Stop": "Durdur",
"StudyDate": "Çalışma Zamanı"
}
5 changes: 5 additions & 0 deletions platform/i18n/src/locales/tr-TR/DatePicker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Clear dates": "Tarihleri Temizle",
"End Date": "Bitiş Tarih",
"Start Date": "Başlangıç Tarihi"
}
8 changes: 8 additions & 0 deletions platform/i18n/src/locales/tr-TR/Header.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"About": "Hakkında",
"Back to Viewer": "Görüntüleyiciye Dön",
"INVESTIGATIONAL USE ONLY": "SADECE ARAŞTIRMA AMAÇLI KULLANIM",
"Options": "Seçenekler",
"Preferences": "Tercihler",
"Study list": "Çalışma Listesi"
}
9 changes: 9 additions & 0 deletions platform/i18n/src/locales/tr-TR/MeasurementTable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Criteria nonconformities": "Kriter uygunsuzlukları",
"Delete": "Sil",
"Description": "Açıklama",
"MAX": "Enfazla",
"NonTargets": "Hedefsiz",
"Relabel": "Tekrar Etiketle",
"Targets": "Hedefler"
}
10 changes: 10 additions & 0 deletions platform/i18n/src/locales/tr-TR/StudyList.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"AccessionNumber": "Accession #",
"Empty": "Boş",
"MRN": "MRN",
"Modality": "Modalite",
"PatientName": "Hasta Adı",
"StudyDate": "Çalışma Zamanı",
"StudyDescription": "Açıklama",
"StudyList": "Çalışma Listesi"
}
9 changes: 9 additions & 0 deletions platform/i18n/src/locales/tr-TR/UserPreferencesModal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Cancel": "$t(Buttons:Cancel)",
"No hotkeys found": "Bu uygulama için hiçbir kısayol tuşu yapılandırılmamış. Kısayol tuşları, uygulamanın app-config.js dosyasında yapılandırılabilir.",
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
"ResetDefaultMessage": "Tercihler başarıyla varsayılana sıfırlandı. <br /> Bu eylemi gerçekleştirmek için <strong>Kaydetmelisiniz</strong>.",
"Save": "$t(Buttons:Save)",
"SaveMessage": "Tercihler kaydedildi",
"User Preferences": "Kullanıcı tercihleri"
}
14 changes: 14 additions & 0 deletions platform/i18n/src/locales/tr-TR/ViewportDownloadForm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"emptyFilenameError": "Dosya adı boş olamaz.",
"fileType": "Dosya Tipi",
"filename": "Dosya Adı",
"formTitle": "Lütfen çıktı görüntüsü için boyutları, dosya adını ve istediğiniz türü belirtin.",
"imageHeight": "Görüntü Yüksekliği (px)",
"imagePreview": "Görüntü Önizleme",
"imageWidth": "Görüntü Genişliği (px)",
"keepAspectRatio": "En-boy oranını koru",
"loadingPreview": "Görüntü Önzilemesi Yükleniyor...",
"minHeightError": "Minimum geçerli yükseklik 100 pikseldir.",
"minWidthError": "Minimum geçerli genişlik 100 pikseldir.",
"showAnnotations": "Ek Açıklamaları Göster"
}
25 changes: 25 additions & 0 deletions platform/i18n/src/locales/tr-TR/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import AboutModal from './AboutModal.json';
import Buttons from './Buttons.json';
import CineDialog from './CineDialog.json';
import Common from './Common.json';
import DatePicker from './DatePicker.json';
import Header from './Header.json';
import MeasurementTable from './MeasurementTable.json';
import StudyList from './StudyList.json';
import UserPreferencesModal from './UserPreferencesModal.json';
import ViewportDownloadForm from './ViewportDownloadForm.json';

export default {
'tr-TR': {
AboutModal,
Buttons,
CineDialog,
Common,
DatePicker,
Header,
MeasurementTable,
StudyList,
UserPreferencesModal,
ViewportDownloadForm,
},
};
1 change: 1 addition & 0 deletions platform/i18n/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const languagesMap = {
te: 'Telugu',
th: 'Thai',
tr: 'Turkish',
'tr-TR': 'Turkish (Turkey)',
uk: 'Ukrainian',
vi: 'Vietnamese',
zh: 'Chinese',
Expand Down
Loading