From 9a0407fa999d51feea57ab0c93f0dd2c12f4ca3b Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 22 Jul 2023 08:02:46 -0700 Subject: [PATCH 01/10] Add README entry about large downloads. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 264efabd..e3bc7eb7 100644 --- a/README.md +++ b/README.md @@ -4065,6 +4065,16 @@ 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) From 5290588e4d715dee28ada0cf424db8ab0f894f80 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sat, 22 Jul 2023 08:03:41 -0700 Subject: [PATCH 02/10] Formatting fix. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3bc7eb7..f878c630 100644 --- a/README.md +++ b/README.md @@ -4070,7 +4070,9 @@ for the iPhone is not currently possible. 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). +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. From 9dab83a9f56736ae0404ca415cdd0b8129f79f42 Mon Sep 17 00:00:00 2001 From: jannesblobel <72493222+jannesblobel@users.noreply.github.com> Date: Tue, 19 Sep 2023 18:13:47 +0200 Subject: [PATCH 03/10] fix: update inlang settings --- inlang.config.js | 17 ----------------- project.inlang.json | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 inlang.config.js create mode 100644 project.inlang.json 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.json b/project.inlang.json new file mode 100644 index 00000000..272e002d --- /dev/null +++ b/project.inlang.json @@ -0,0 +1,19 @@ +{ + "$schema":"https://inlang.com/schema/project-settings", + "sourceLanguageTag": "en", + "languageTags": [], + "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" + ], + "plugin.inlang.json": { + "pathPattern": "./src/localize/languages/{languageTag}.json", + "variableReferencePattern": [ + "{", + "}" + ] + } +} From 55aca0dbe348a82f797aea3b85ef161f81454c39 Mon Sep 17 00:00:00 2001 From: jannesblobel <72493222+jannesblobel@users.noreply.github.com> Date: Tue, 19 Sep 2023 18:16:34 +0200 Subject: [PATCH 04/10] add inlang to extensions --- .vscode/extensions.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 317f0be3..6dcd2f11 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -8,7 +8,8 @@ "runem.lit-plugin", "davidanson.vscode-markdownlint", "redhat.vscode-yaml", - "lokalise.i18n-ally", - "zixuanchen.vitest-explorer" + // "lokalise.i18n-ally", + "zixuanchen.vitest-explorer", + "inlang.vs-code-extension" // improved i18n DX ] } From bde29d6958e9d12000ad923d1d4bd8844a7f58ef Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:18:15 +0100 Subject: [PATCH 05/10] Create project.inlang&settings.json --- project.inlang&settings.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 project.inlang&settings.json diff --git a/project.inlang&settings.json b/project.inlang&settings.json new file mode 100644 index 00000000..c92f6fea --- /dev/null +++ b/project.inlang&settings.json @@ -0,0 +1,19 @@ +{ + "$schema":"https://inlang.com/schema/project-settings", + "sourceLanguageTag": "en", + "languageTags": [], + "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": [ + "{", + "}" + ] + } +} From 26a1b2a4704a422cf976c1a67352fa254de90d65 Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:18:45 +0100 Subject: [PATCH 06/10] Rename project.inlang&settings.json to project.inlang/settings.json --- project.inlang&settings.json => project.inlang/settings.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename project.inlang&settings.json => project.inlang/settings.json (100%) diff --git a/project.inlang&settings.json b/project.inlang/settings.json similarity index 100% rename from project.inlang&settings.json rename to project.inlang/settings.json From c81a5d0b19ca45931dd57fcd4b959e20a0e46e82 Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:20:45 +0100 Subject: [PATCH 07/10] Update settings.json --- project.inlang/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.inlang/settings.json b/project.inlang/settings.json index c92f6fea..cc9332b2 100644 --- a/project.inlang/settings.json +++ b/project.inlang/settings.json @@ -1,7 +1,7 @@ { "$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@latest/dist/index.js", "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", From 52f9027c1e062e20f3c18c041aaa05b98666121c Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:21:43 +0100 Subject: [PATCH 08/10] Update settings.json --- project.inlang/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.inlang/settings.json b/project.inlang/settings.json index cc9332b2..c6416fe2 100644 --- a/project.inlang/settings.json +++ b/project.inlang/settings.json @@ -1,7 +1,7 @@ { "$schema":"https://inlang.com/schema/project-settings", "sourceLanguageTag": "en", - "languageTags": [en, it, pt-BR, pt-PT], + "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", From 3db4e6cc6ccc201173e6414e6be0fe7f399322b3 Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:36:52 +0100 Subject: [PATCH 09/10] Update README.md Update badge urls --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f878c630..5eb073d8 100644 --- a/README.md +++ b/README.md @@ -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. From 5795421f02231bb98c7b66c40f703a6c28fbf616 Mon Sep 17 00:00:00 2001 From: Niklas Buchfink <59048346+NiklasBuchfink@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:37:43 +0100 Subject: [PATCH 10/10] Delete project.inlang.json --- project.inlang.json | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 project.inlang.json diff --git a/project.inlang.json b/project.inlang.json deleted file mode 100644 index 272e002d..00000000 --- a/project.inlang.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$schema":"https://inlang.com/schema/project-settings", - "sourceLanguageTag": "en", - "languageTags": [], - "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" - ], - "plugin.inlang.json": { - "pathPattern": "./src/localize/languages/{languageTag}.json", - "variableReferencePattern": [ - "{", - "}" - ] - } -}