aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Woodward <ben@bdw.to>2021-07-29 10:21:25 -0700
committerGitHub <noreply@github.com>2021-07-29 10:21:25 -0700
commit746dcaecbae228d831049284d3d58b69d75ec241 (patch)
tree535609095a7a47330953fbdeedb4d37a06354b90
parentf8eefb4b0414b3b7452270a8e563631419fda285 (diff)
Occitan translation (#144)
* Adds Occitan * Adds Occitan * Update README.md Co-authored-by: ensag-dev <59049879+ensag-dev@users.noreply.github.com>
-rw-r--r--README.md1
-rw-r--r--src/App.js1
-rw-r--r--src/i18n.js26
3 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md
index 965c12c..110442d 100644
--- a/README.md
+++ b/README.md
@@ -60,3 +60,4 @@ make fmt.write
60| Indonesia | [nyancodeid](https://github.com/nyancodeid) | 60| Indonesia | [nyancodeid](https://github.com/nyancodeid) |
61| Polish | [olekstomek](https://github.com/olekstomek) | 61| Polish | [olekstomek](https://github.com/olekstomek) |
62| Arabic | [Ahmed Tokyo](https://github.com/a-tokyo) | 62| Arabic | [Ahmed Tokyo](https://github.com/a-tokyo) |
63| Occitan | [ensag-dev](https://github.com/ensag-dev) |
diff --git a/src/App.js b/src/App.js
index 1db0b85..4aaf3ab 100644
--- a/src/App.js
+++ b/src/App.js
@@ -53,6 +53,7 @@ function App() {
53 <option value="id-ID">Indonesian (Indonesia)</option> 53 <option value="id-ID">Indonesian (Indonesia)</option>
54 <option value="pl-PL">Polish - PL (Polski)</option> 54 <option value="pl-PL">Polish - PL (Polski)</option>
55 <option value="ar">Arabic - العربية</option> 55 <option value="ar">Arabic - العربية</option>
56 <option value="oc">Occitan</option>
56 </select> 57 </select>
57 </div> 58 </div>
58 59
diff --git a/src/i18n.js b/src/i18n.js
index f816585..344e2d2 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -346,6 +346,32 @@ const resources = {
346 select: 'Choisir la langue', 346 select: 'Choisir la langue',
347 }, 347 },
348 }, 348 },
349 oc: {
350 translation: {
351 title: 'Carta WiFi',
352 'desc.use':
353 'Imprimissètz una carta simpla amb vòstras informacions de connexion WiFi. Pegatz-la al refregidor, gardatz-la al pòrtafuèlha, etc.',
354 'desc.privacy':
355 "Vòstras informacions WiFi son pas jamai enviadas al servidor. Cap de seguiment, d'analisi o de generacion d'emprenta numerica son pas realizats sus aqueste site Web. Veire lo",
356 'desc.source': 'còde font',
357 'wifi.login': 'Connexion Wi-Fi',
358 'wifi.name': 'Nom de la ret',
359 'wifi.name.placeholder': 'Nom de la ret WiFi',
360 'wifi.password': 'Senhal',
361 'wifi.password.placeholder': 'Senhal',
362 'wifi.password.hide': "Rescondre lo camp del senhal abans d'imprimir",
363 'wifi.password.encryption': 'Chiframent',
364 'wifi.tip':
365 'Viratz vòstre aparelh fòto cap al còdi QR per vos connectar automaticament',
366 'wifi.alert.name': 'Lo nom de la ret pòt pas èsser void',
367 'wifi.alert.password.length.5':
368 'Lo senhal deu conténer almens 5 caractèrs',
369 'wifi.alert.password.8': 'Lo senhal deu conténer almens 8 caractèrs',
370 'button.rotate': 'Pivotar',
371 'button.print': 'Imprimir',
372 select: 'Causir la lenga',
373 },
374 },
349 'pt-BR': { 375 'pt-BR': {
350 translation: { 376 translation: {
351 title: 'Cartão WiFi', 377 title: 'Cartão WiFi',