Skip to content

Commit

Permalink
Merge pull request #1346 from NiklasBuchfink/main
Browse files Browse the repository at this point in the history
Migrate inlang
  • Loading branch information
dermotduffy committed Jan 25, 2024
2 parents 3b82dd6 + 5795421 commit 6307daf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4220,6 +4220,6 @@ The Home Assistant container will get preconfigured during first initialization,
1. Hit 'Publish release'.

### Translations
[![translation badge](https://inlang.com/badge?url=github.com/dermotduffy/frigate-hass-card)](https://inlang.com/editor/github.com/dermotduffy/frigate-hass-card?ref=badge)
[![translation badge](https://badge.inlang.com/?url=github.com/dermotduffy/frigate-hass-card)](https://fink.inlang.com/github.com/dermotduffy/frigate-hass-card?ref=badge)

To add translations, you can manually edit the JSON translation files in `src/localize/languages`, use the [inlang](https://inlang.com/) online editor, or run `yarn machine-translate` to add missing translations using AI from Inlang.
12 changes: 6 additions & 6 deletions project.inlang.json → project.inlang/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema":"https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": [],
"languageTags": ["en", "it", "pt-BR", "pt-PT"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-json@4/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@1/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@1/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@1/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@1/dist/index.js"
"https://cdn.jsdelivr.net/npm/@inlang/plugin-json@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js"
],
"plugin.inlang.json": {
"pathPattern": "./src/localize/languages/{languageTag}.json",
Expand Down

0 comments on commit 6307daf

Please sign in to comment.