aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiza Ergun <re@rizaergun.com>2021-07-27 01:38:17 +0300
committerGitHub <noreply@github.com>2021-07-26 15:38:17 -0700
commite688d6845bfb4bb825294e569545923988682f47 (patch)
treeffa164550beb601bf05b1b10df187a0ab4626676
parent2ce60d89bd81080e7a6ed8e64e1f1ac4ed053b61 (diff)
added turkish language (#114)
* added turkish language * minor changes * run make fmt.write * updated readme for turkish language * missign the trailing * fixed language name
-rw-r--r--README.md3
-rw-r--r--src/App.js1
-rw-r--r--src/i18n.js25
3 files changed, 28 insertions, 1 deletions
diff --git a/README.md b/README.md
index 02ba79f..18798ce 100644
--- a/README.md
+++ b/README.md
@@ -51,4 +51,5 @@ make fmt.write
51| Russian | [Teraskull](https://github.com/Teraskull) | 51| Russian | [Teraskull](https://github.com/Teraskull) |
52| Ukrainian | [Teraskull](https://github.com/Teraskull) | 52| Ukrainian | [Teraskull](https://github.com/Teraskull) |
53| Dutch | [wouterbrink](https://github.com/wouterbrink) | 53| Dutch | [wouterbrink](https://github.com/wouterbrink) |
54| French | [Divlo](https://github.com/Divlo) 54| French | [Divlo](https://github.com/Divlo) |
55| Turkish | [Riza Ergun](https://github.com/rizaergun) |
diff --git a/src/App.js b/src/App.js
index 5fdb388..2020d30 100644
--- a/src/App.js
+++ b/src/App.js
@@ -46,6 +46,7 @@ function App() {
46 <option value="nl-NL">Nederlands</option> 46 <option value="nl-NL">Nederlands</option>
47 <option value="fr-FR">French - FR (Français)</option> 47 <option value="fr-FR">French - FR (Français)</option>
48 <option value="pt-BR">pt-BR</option> 48 <option value="pt-BR">pt-BR</option>
49 <option value="tr-TR">Turkish (Türkçe)</option>
49 </select> 50 </select>
50 </div> 51 </div>
51 52
diff --git a/src/i18n.js b/src/i18n.js
index fcb3ff9..ef4e801 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -314,6 +314,31 @@ const resources = {
314 select: 'Escolha o idioma', 314 select: 'Escolha o idioma',
315 }, 315 },
316 }, 316 },
317 'tr-TR': {
318 translation: {
319 title: 'WiFi Kartı',
320 'desc.use':
321 'WiFi giriş bilgilerinizle basit bir kart yazdırın. Buzdolabına bantlayın, cüzdanınızda saklayın vb.',
322 'desc.privacy':
323 'WiFi bilgileriniz asla sunucuya gönderilmez. Bu web sitesinde hiçbir izleme, analiz veya parmak izi kullanılmamaktadır. Görüntüle',
324 'desc.source': 'kaynak kodu',
325 'wifi.login': 'WiFi Giriş',
326 'wifi.name': 'Ağ adı',
327 'wifi.name.placeholder': 'WiFi Ağ adı',
328 'wifi.password': 'Parola',
329 'wifi.password.placeholder': 'Parola',
330 'wifi.password.hide': 'Yazdırmadan önce parola alanını gizle',
331 'wifi.password.encryption': 'Şifreleme',
332 'wifi.tip':
333 'Otomatik olarak bağlanmak için telefonunuzun kamerası ile QR kodunu okutun',
334 'wifi.alert.name': 'Ağ adı boş olamaz',
335 'wifi.alert.password.length.5': 'Parola en az 5 karakter olmalıdır',
336 'wifi.alert.password.length.8': 'Parola en az 8 karakter olmalıdır',
337 'button.rotate': 'Döndür',
338 'button.print': 'Yazdır',
339 select: 'Dil Seçin',
340 },
341 },
317}; 342};
318 343
319i18n 344i18n