Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan authored Oct 5, 2020
2 parents f54ac11 + cb69a45 commit 85b2848
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)
- Français (French)
- [_Your language?_][add-translation]

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

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

var languages = {
en,
uk,
fr,
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 85b2848

Please sign in to comment.