Skip to content

Commit

Permalink
Merge pull request #5 from akinomeroglu/Turkish-translation
Browse files Browse the repository at this point in the history
Add Turkish translation
  • Loading branch information
denysdovhan authored Oct 5, 2020
2 parents c91ac5d + 9c8a86a commit cb69a45
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ This card supports translations. Please, help to add more translations and impro

- English
- Українська (Ukrainian)
- Türkçe (Turkish)
- [_Your language?_][add-translation]

## Supported models
Expand Down
2 changes: 2 additions & 0 deletions src/localize.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

import * as en from './translations/en.json';
import * as uk from './translations/uk.json';
import * as tr from './translations/tr.json';

var languages = {
en,
uk,
tr,
};

const DEFAULT_LANG = 'en';
Expand Down
38 changes: 38 additions & 0 deletions src/translations/tr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"common": {
"name": "Purifier Card",
"description": "Purifier kartı hava temizleyicinizi kontrol etmenize yardımcı olur.",
"not_available": "Varlık müsait değil",
"toggle_power": "Kapat/Aç"
},
"state": {
"on": "Açık",
"off": "Kapalı"
},
"speed": {
"Auto": "Otomatik",
"Silent": "Sessiz",
"Favorite": "Favori",
"Fan": "Fan"
},
"error": {
"missing_entity": "Varlığı belirtmeniz gereklidir!",
"xiaomi_miio_level_without_speed": "Hız xiaomi_miio_favorite_level için gereklidir!"
},
"editor": {
"entity": "Varlık (Gerekli)",
"compact_view": "Kompakt Görünüm",
"compact_view_aria_label_on": "Kompakt Görünümü aç",
"compact_view_aria_label_off": "Kompakt Görünümü kapat",
"show_name": "Show Name",
"show_name_aria_label_on": "İsim gösterimini aç",
"show_name_aria_label_off": "İsim gösterimini kapat",
"show_state": "Show State",
"show_state_aria_label_on": "Durum gösterimini aç",
"show_state_aria_label_off": "Durum gösterimini kapat",
"show_toolbar": "Show Toolbar",
"show_toolbar_aria_label_on": "Araç çubuğu gösterimini aç",
"show_toolbar_aria_label_off": "Araç çubuğu gösterimini kapat",
"code_only_note": "Not: Aksiyon ataması ve istatistik seçenekleri şu anda Kod Editörü kullanımı ile mümkündür."
}
}

0 comments on commit cb69a45

Please sign in to comment.