diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 89715101..7834487c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -9,6 +9,7 @@ "davidanson.vscode-markdownlint", "redhat.vscode-yaml", "lokalise.i18n-ally", - "vitest.explorer" + "vitest.explorer", + "inlang.vs-code-extension" ] } diff --git a/README.md b/README.md index b38369f2..6f151554 100644 --- a/README.md +++ b/README.md @@ -4381,6 +4381,18 @@ Unfortunately, [iOS does not support the Javascript fullscreen API](https://caniuse.com/fullscreen). As a result, card-level fullscreen support for the iPhone is not currently possible. +### Large downloads don't work + +Downloads are assembled by the Frigate backend out of ~10s segment files. You +must have enough cache space in your Frigate instance to allow this assembly to +happen -- if downloads don't work, especially for recordings, check your Frigate +backend logs to see if it's running out of space. You can increase your cache +size with the `tmpfs` `size` argument, see [Frigate +documentation](https://docs.frigate.video/frigate/installation#docker). + +Large downloads may take a few seconds to assemble, so there may be a delay +between clicking the download button and the download starting. + ### Android Will Not Render >4 JSMPEG Live Views Android Webview (as used by Android Chrome / Android Home Assistant Companion) @@ -4524,6 +4536,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. diff --git a/inlang.config.js b/inlang.config.js deleted file mode 100644 index 7ed0dc54..00000000 --- a/inlang.config.js +++ /dev/null @@ -1,17 +0,0 @@ -export async function defineConfig(env) { - const { default: pluginJson } = await env.$import( - "https://cdn.jsdelivr.net/gh/samuelstroschein/inlang-plugin-json@2/dist/index.js" - ); - - const { default: standardLintRules } = await env.$import( - "https://cdn.jsdelivr.net/gh/inlang/standard-lint-rules@2/dist/index.js" - ); - - return { - referenceLanguage: 'en', - plugins: [pluginJson({ - pathPattern: "./src/localize/languages/{language}.json", - variableReferencePattern: ["{", "}"], - }), standardLintRules()] - }; -} diff --git a/project.inlang/settings.json b/project.inlang/settings.json new file mode 100644 index 00000000..c6416fe2 --- /dev/null +++ b/project.inlang/settings.json @@ -0,0 +1,19 @@ +{ + "$schema":"https://inlang.com/schema/project-settings", + "sourceLanguageTag": "en", + "languageTags": ["en", "it", "pt-BR", "pt-PT"], + "modules": [ + "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", + "variableReferencePattern": [ + "{", + "}" + ] + } +}