Skip to content

Commit

Permalink
Merge pull request #32 from medreporter/microI18n
Browse files Browse the repository at this point in the history
MicroI18n
  • Loading branch information
medihack authored Oct 15, 2023
2 parents 44fc06d + 5d17359 commit 0aa3be7
Show file tree
Hide file tree
Showing 107 changed files with 1,139 additions and 1,202 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"typescript.locale": "en",
"i18n-ally.displayLanguage": "en",
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["locales"],
"i18n-ally.localesPaths": ["locales", "src/tools/**/locales"],
"i18n-ally.enabledParsers": ["yaml", "ts"],
"cSpell.diagnosticLevel": "Hint",
"cSpell.language": "en, de-de",
"cSpell.words": ["autosize", "signup", "Signup"],
Expand Down
2 changes: 0 additions & 2 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { AppConfig } from "~/types/general"
const appConfig: AppConfig = {
debugTranslations: true,
reactHookFormDevToolsEnabled: false, // Cave, make site slow
supportedLanguages: ["de", "en", "en-US", "es", "fr", "it", "nl", "pt", "sv"],
fallbackLanguages: ["en", "en-US"],
}

export default appConfig
43 changes: 0 additions & 43 deletions locales/de/adrenalMri.yml

This file was deleted.

61 changes: 0 additions & 61 deletions locales/de/adrenalWashout.yml

This file was deleted.

3 changes: 2 additions & 1 deletion locales/de/common.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
formError:
alreadyUsed: Bereits vergeben.
invalidChars: "Enthält ungültige Zeichen. Erlaubt: {{chars}}"
reservedKeyword: "Reserviertes Schlüsselwort."
invalidLocale: Ungültiges Sprachschema.
reservedKeyword: Reserviertes Schlüsselwort.
tooLong: Zu lang. Maximal {{max}} Zeichen.
tooShort: Zu kurz. Mindestens {{min}} Zeichen.
unexpected: "Ein unerwarteter Fehler ist aufgetreten: "
Expand Down
10 changes: 0 additions & 10 deletions locales/de/drafts.yml

This file was deleted.

58 changes: 0 additions & 58 deletions locales/de/fleischner2017.yml

This file was deleted.

32 changes: 0 additions & 32 deletions locales/de/gfr.yml

This file was deleted.

28 changes: 0 additions & 28 deletions locales/de/kidneyVolume.yml

This file was deleted.

2 changes: 0 additions & 2 deletions locales/de/measurementsTable.yml

This file was deleted.

File renamed without changes.
43 changes: 0 additions & 43 deletions locales/en/adrenalMri.yml

This file was deleted.

58 changes: 0 additions & 58 deletions locales/en/adrenalWashout.yml

This file was deleted.

3 changes: 2 additions & 1 deletion locales/en/common.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
formError:
alreadyUsed: Already in use.
invalidChars: "Contains invalid characters. Allowed: {{chars}}"
reservedKeyword: "Reserved keyword."
invalidLocale: Invalid locale name.
reservedKeyword: Reserved keyword.
tooLong: Too long. Maximum {{max}} characters.
tooShort: Too short. Minimum {{min}} characters.
unexpected: "An unexpected error occurred: "
Expand Down
10 changes: 0 additions & 10 deletions locales/en/drafts.yml

This file was deleted.

Loading

0 comments on commit 0aa3be7

Please sign in to comment.