Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MicroI18n #32

Merged
merged 3 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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