Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Fix translations check script (#8855)

James Brunton618ca6d41665
diff --git a/.github/scripts/check_language_toml.py b/.github/scripts/check_language_toml.py
index e6a032bc9d..47b97e54ef 100644
--- a/.github/scripts/check_language_toml.py
+++ b/.github/scripts/check_language_toml.py
@@ -26,7 +26,7 @@ from pathlib import Path
import tomli_w # For writing TOML files
-LOCALES_DIR = Path("frontend", "editor", "public", "locales")
+LOCALES_DIR = Path("frontend", "public", "locales")
REFERENCE_LOCALE = "en-US"
MAX_FILE_SIZE = 5 * 1024 * 1024 # 5 MB
MAX_KEYS_LISTED = 20
diff --git a/.github/workflows/check_toml.yml b/.github/workflows/check_toml.yml
index 61c25474aa..3d2d19231c 100644
--- a/.github/workflows/check_toml.yml
+++ b/.github/workflows/check_toml.yml
@@ -46,7 +46,7 @@ jobs:
const { owner, repo } = context.repo;
const pr = context.payload.pull_request;
- const LOCALE_FILE = /^frontend\/editor\/public\/locales\/[a-zA-Z-]+\/translation\.toml$/;
+ const LOCALE_FILE = /^frontend\/public\/locales\/[a-zA-Z-]+\/translation\.toml$/;
const REFERENCE_FILE = "frontend/public/locales/en-US/translation.toml";
const files = await github.paginate(github.rest.pulls.listFiles, {
diff --git a/docs/developer/STYLELINT.md b/docs/developer/STYLELINT.md
index f8b3cc9a9e..281633518f 100644
--- a/docs/developer/STYLELINT.md
+++ b/docs/developer/STYLELINT.md
@@ -10,7 +10,7 @@ task frontend:lint:css
The config deliberately carries only `no-duplicate-selectors`: `oxfmt` owns formatting and
`task frontend:lint:colors` owns the theme tokens, so stylelint is left with the rules that
catch real bugs. `ignoreFiles` excludes `**/dist/**`, `**/src-tauri/**` and the vendored
-`editor/public/css/cookieconsent.css` (whose first-party customisation file is still linted).
+`public/css/cookieconsent.css` (whose first-party customisation file is still linted).
To lint a single file: