Skip to content

Commit

Permalink
Merge pull request #111 from genox/auto-keys
Browse files Browse the repository at this point in the history
feature: automatic key assignment
  • Loading branch information
robisim74 authored Jan 28, 2024
2 parents 54991c1 + 2af47f8 commit cf00c04
Show file tree
Hide file tree
Showing 22 changed files with 714 additions and 63 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
8 changes: 8 additions & 0 deletions i18n/de-DE/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
"title": "Qwik Speak"
},
"anotherPage": "Ich bin eine andere Seite",
"autoKey_1a2e4ebeba1f8ffd38ee0bc52dde97f7": "Ein Zebra hinzufügen",
"autoKey_3c909eb27a10640be9495cff142f601c": {
"one": "{{ value }} {{ color }} Zebra",
"other": "{{ value }} {{ color }} Zebras"
},
"autoKey_41637e36ced97d2f01f48d56aaf32f32": "Wenn weder Schlüssel noch Trennzeichen in einem t()-Funktionsaufruf erkannt werden, wird der Schlüssel ein Hash der Zeichenkette sein. Dies funktioniert auch mit Pluralen:",
"autoKey_8e4c0598319b3b04541df2fc36cb6fc5": "Neue Zeichenketten ohne vorhandene Schlüssel",
"autoKey_cbe370e60f10f92d4dd8b3e9c267b1fa": "schwarz-weiß gestreiftes",
"dates": "Daten & relative Zeit",
"defaultValue": "Ich bin ein Standardwert",
"description": "<em>Internationalisierung (i18n) Bibliothek zum Übersetzen von Texten, Daten und Zahlen in Qwik-Apps</em>",
Expand Down
8 changes: 8 additions & 0 deletions i18n/en-US/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
"title": "Qwik Speak"
},
"anotherPage": "I'm another page",
"autoKey_1a2e4ebeba1f8ffd38ee0bc52dde97f7": "Add a zebra",
"autoKey_3c909eb27a10640be9495cff142f601c": {
"one": "{{ value }} {{ color }} zebra",
"other": "{{ value }} {{ color }} zebras"
},
"autoKey_41637e36ced97d2f01f48d56aaf32f32": "If neither key nor separator are detected in a t() function call, the key will be a hash of the string. This also works with plurals:",
"autoKey_8e4c0598319b3b04541df2fc36cb6fc5": "New strings without existing keys",
"autoKey_cbe370e60f10f92d4dd8b3e9c267b1fa": "black and white",
"dates": "Dates & relative time",
"defaultValue": "I'm a default value",
"description": "<em>Internationalization (i18n) library to translate texts, dates and numbers in Qwik apps</em>",
Expand Down
8 changes: 8 additions & 0 deletions i18n/it-IT/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
"title": "Qwik Speak"
},
"anotherPage": "Sono un'altra pagina",
"autoKey_1a2e4ebeba1f8ffd38ee0bc52dde97f7": "Aggiungi una zebra",
"autoKey_3c909eb27a10640be9495cff142f601c": {
"one": "{{ value }} zebra {{ color }}",
"other": "{{ value }} zebre {{ color }}"
},
"autoKey_41637e36ced97d2f01f48d56aaf32f32": "Se in una chiamata alla funzione t() non vengono rilevati né chiave né separatore, la chiave sarà un hash della stringa. Questo funziona anche con i plurali:",
"autoKey_8e4c0598319b3b04541df2fc36cb6fc5": "Nuove stringhe senza chiavi esistenti",
"autoKey_cbe370e60f10f92d4dd8b3e9c267b1fa": "a strisce bianche e nere",
"dates": "Date e tempo relativo",
"defaultValue": "Sono un valore predefinito",
"description": "<em>Libreria di internazionalizzazione (i18n) per tradurre testi, date e numeri nelle app Qwik</em>",
Expand Down
Loading

0 comments on commit cf00c04

Please sign in to comment.