Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.
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
5 changes: 5 additions & 0 deletions i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import translationJP from './translations/ja-JP.json';
import translationKM from './translations/km-KH.json';
import translationPT from './translations/pt-BR.json';
import translationRU from './translations/ru-RU.json';
import translationTR from './translations/tr-TR.json';
import translationUA from './translations/uk-UA.json';
import translationCN from './translations/zh-CN.json';
import translatiobTW from './translations/zh-TW.json';
Expand Down Expand Up @@ -42,6 +43,9 @@ const languages = {
'ru-RU': {
translation: translationRU,
},
'tr-TR': {
translation: translationTR,
},
'uk-UA': {
translation: translationUA,
},
Expand Down Expand Up @@ -73,6 +77,7 @@ i18n
'zh-CN',
'ja-JP',
'ru-RU',
'tr-TR',
'uk-UA',
'km-KH',
'zh-TW',
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Čínština (tradiční)",
"french": "Francouzština",
"russian": "Ruský",
"turkish": "Turečtina",
"ukraine": "Ukrajinština",
"khmer": "Khmerština"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Chinesisch (Traditionell)",
"french": "Französisch",
"russian": "Russisch",
"turkish": "Türkisch",
"ukraine": "Ukrainisch",
"khmer": "Khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Chinese (Traditional)",
"french": "French",
"russian": "Russian",
"turkish": "Turkish",
"ukraine": "Ukraine",
"khmer": "Khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Chino (Tradicional)",
"french": "Francés",
"russian": "Ruso",
"turkish": "Turco",
"ukraine": "Ucraniano",
"khmer": "khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Chinois (Traditionnel)",
"french": "Français",
"russian": "Russe",
"turkish": "Turc",
"ukraine": "Ukrainien",
"khmer": "Khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "繁体字中国語",
"french": "フランス語",
"russian": "ロシア",
"turkish": "トルコ人",
"ukraine": "ウクライナ",
"khmer": "クメール語"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/km-KH.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "ជនជាតិចិន (ប្រពៃណី)",
"french": "បារាំង",
"russian": "រុស្ស៊ី",
"turkish": "ទួរគី",
"ukraine": "អ៊ុយក្រែន",
"khmer": "ខ្មែរ"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Chinês (Tradicional)",
"french": "Francês",
"russian": "Russo",
"turkish": "Turco",
"ukraine": "Ucraniano",
"khmer": "Khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chinese": "Китайский",
"chineseTraditional": "Китайский (Традиционный)",
"french": "Французский",
"turkish": "турецкий",
"ukraine": "Украинский",
"khmer": "Кхмерский"
}
Expand Down
157 changes: 157 additions & 0 deletions i18n/translations/tr-TR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"copy-to-clipboard": "Panoya kopyala",
"author-anonymous": "Anonim",
"action-bar-action": {
"visit-home-page": "Ana sayfayı ziyaret et",
"open-an-issue": "Sorunları aç",
"download-tarball": "Arşivi indir"
},
"dialog": {
"registry-info": {
"title": "Kayıt Bilgisi"
}
},
"header": {
"documentation": "Dokümantasyon",
"registry-info": "Kayıt Bilgileri",
"greetings": "Merhaba "
},
"search": {
"packages": "Paket Ara"
},
"autoComplete": {
"loading": "Yükleniyor...",
"no-results-found": "Sonuç bulunamadı",
"clear": "Temizle",
"expand": "Genişlet",
"collapse": "Dök"
},
"tab": {
"uplinks": "Bağlantılar",
"versions": "Sürümler",
"dependencies": "Bağımlılıklar",
"readme": "Beni Oku"
},
"uplinks": {
"title": "Bağlantılar",
"no-items": "{{name}} bağlantısı yok"
},
"versions": {
"current-tags": "Mevcut Etiketler",
"version-history": "Sürüm Tarihçesi",
"not-available": "Mevcut değil"
},
"package": {
"published-on": "{{time}}'de yayınlandı •",
"version": "v{{version}}",
"visit-home-page": "Ana sayfayı ziyaret et",
"homepage": "Ana sayfa",
"open-an-issue": "Sorunları aç",
"bugs": "Hatalar",
"download": "İndir {{what}}",
"the-tar-file": "arşiv dosyası",
"tarball": "Arşiv"
},
"dependencies": {
"has-no-dependencies": "{{package}} bağımlılığı yok.",
"dependency-block": "{{package}}@{{version}}"
},
"form": {
"username": "Kullanıcı Adı",
"password": "Parola"
},
"form-placeholder": {
"username": "Kullanıcı adınız",
"password": "Parolanız"
},
"form-validation": {
"required-field": "Bu alan gereklidir",
"required-min-length": "Bu alan en az {{length}} karakter uzunluğunda olmalıdır",
"unable-to-sign-in": "Oturum açılamıyor",
"username-or-password-cant-be-empty": "Kullanıcı adı veya parola boş olamaz!"
},
"help": {
"title": "Henüz Paket Yayınlanmadı.",
"sub-title": "İlk paketinizi yayınlamak için:",
"first-step": "1. Giriş",
"first-step-command-line": "npm adduser --registry {{registryUrl}}",
"second-step": "2. Yayınla",
"second-step-command-line": "npm publish --registry {{registryUrl}}",
"third-step": "3. Sayfayı yenile."
},
"sidebar": {
"detail": {
"latest-version": "En son sürüm v{{version}}",
"version": "v{{version}}"
},
"installation": {
"title": "Kurulum",
"install-using-yarn": "Yarn kullanarak kurulum",
"install-using-yarn-command": "yarn add {{packageName}}",
"install-using-npm": "NPM kullanarak kurulum",
"install-using-npm-command": "npm install {{packageName}}",
"install-using-pnpm": "pnpm kullanarak kurulum",
"install-using-pnpm-command": "pnpm install {{packageName}}"
},
"repository": {
"title": "Depo"
},
"author": {
"title": "Yazar"
},
"distribution": {
"title": "Son Dağıtım",
"license": "Lisans",
"size": "Boyut",
"file-count": "Dosya adedi"
},
"maintainers": {
"title": "Bakımcılar"
},
"contributors": {
"title": "Katkıda bulunanlar"
},
"engines": {
"npm-version": "NPM Sürümü",
"node-js": "NODE JS"
}
},
"footer": {
"powered-by": "Destekleyen",
"made-with-love-on": "<0>♥</0> ile yapılmıştır"
},
"button": {
"close": "Kapat",
"cancel": "İptal",
"login": "Giriş",
"logout": "Çıkış",
"go-to-the-home-page": "Ana sayfaya git",
"learn-more": "Daha Fazlasını Öğren",
"fund-this-package": "Bu paketi <0>fonla</0>"
},
"error": {
"unspecific": "Bir şeyler ters gitti.",
"404": {
"page-not-found": "404 - Sayfa bulunamadı",
"sorry-we-could-not-find-it": "Üzgünüz, bunu bulamadık..."
},
"app-context-not-correct-used": "Uygulama kapsamı doğru kullanılmadı",
"theme-context-not-correct-used": "Tema kapsamı doğru kullanılmadı",
"package-meta-is-required-at-detail-context": "DetailContext için packageMeta gereklidir"
},
"lng": {
"english": "İngilizce",
"czech": "Çekçe",
"japanese": "Japonca",
"portuguese": "Portekizce",
"spanish": "İspanyolca",
"german": "Almanca",
"chinese": "Çince",
"chineseTraditional": "Çince (Geleneksel)",
"french": "Fransızca",
"russian": "Rusça",
"turkish": "Türkçe",
"ukraine": "Ukraynaca",
"khmer": "Kmerce"
}
}
1 change: 1 addition & 0 deletions i18n/translations/uk-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "Китайці (Традиційні)",
"french": "Французька",
"russian": "Російська",
"turkish": "Турецька",
"ukraine": "Українська",
"khmer": "Khmer"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"chineseTraditional": "正体中文",
"french": "法语",
"russian": "俄语",
"turkish": "土耳其",
"ukraine": "乌克兰",
"khmer": "高棉语"
}
Expand Down
1 change: 1 addition & 0 deletions i18n/translations/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"chineseTraditional":"正體中文",
"french": "法文",
"russian": "俄文",
"turkish": "土耳其",
"ukraine": "烏克蘭文",
"khmer": "高棉文"
}
Expand Down
4 changes: 4 additions & 0 deletions src/App/Header/LanguageSwitch/LanguageSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const lngDetails: Record<Language, { translation: TFunctionKeys; icon: React.Com
translation: 'lng.russian',
icon: 'russia',
},
'tr-TR': {
translation: 'lng.turkish',
icon: 'turkey',
},
'uk-UA': {
translation: 'lng.ukraine',
icon: 'ukraine',
Expand Down
3 changes: 3 additions & 0 deletions src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import russia from './img/russia.svg';
import spain from './img/spain.svg';
import taiwan from './img/taiwan.svg';
import time from './img/time.svg';
import turkey from './img/turkey.svg';
import ukraine from './img/ukraine.svg';
import usa from './img/usa.svg';
import verdaccio from './img/verdaccio.svg';
Expand All @@ -41,6 +42,7 @@ export interface IconsMap {
india: string;
japan: string;
russia: string;
turkey: string;
ukraine: string;
khmer: string;
taiwan: string;
Expand Down Expand Up @@ -75,6 +77,7 @@ export const Icons: IconsMap = {
france,
japan,
russia,
turkey,
ukraine,
khmer,
taiwan,
Expand Down
1 change: 1 addition & 0 deletions src/components/Icon/img/turkey.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/design-tokens/load-dayjs-locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ function loadDayJSLocale() {
dayjs.locale('ru');
}
break;
case 'tr-tr':
{
require('dayjs/locale/tr');
dayjs.locale('tr');
}
break;
case 'uk-ua':
{
require('dayjs/locale/uk');
Expand Down