From f9a42adadec9acd259c205727c95bd6f376dfbc5 Mon Sep 17 00:00:00 2001 From: Inverle Date: Wed, 16 Jul 2025 16:11:51 +0200 Subject: Show translation status in README.md (#7715) * Show translation status in README.md * Fix colon * markdownlint: Allow tag `` * Use mostly Unicode flags instead * Only `oc.svg` remains in an image format * `check.translation.php` still supports `.png` even though there aren't any PNGs as of right now * Fix CodeSniffer * Attempt approach with generating local SVGs * Fixes for local SVG approach * Cleanup old code * PHPStan fix * Remove decimal precision from percentages * Suggestions + better error messages * codesniffer fix v2 * Revert `ghSearchUrl` change * Generate readme * Fix syntax highlight, maybe * Regenerate * Update help message * Use existing translation files instead of .txt * Add test against wrong Unicode flag --------- Co-authored-by: Alexandre Alapetite --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 3336d9520..d2ae986ca 100644 --- a/composer.json +++ b/composer.json @@ -71,7 +71,7 @@ "phpstan": "phpstan analyse .", "phpstan-next": "phpstan analyse -c phpstan-next.neon .", "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --display-notices --display-phpunit-deprecations ./tests", - "translations": "cli/manipulate.translation.php -a format", + "translations": "cli/manipulate.translation.php -a format && cli/check.translation.php -g", "test": [ "@php-lint", "@phtml-lint", -- cgit v1.2.3