#!/bin/bash
+set -e
ignores="WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
base_url="http://192.168.50.60:1234"
#!/bin/bash
+set -e
new_tag="$1"
-Subproject commit f36cf2332878286378303d0ce9629728b3889ac9
+Subproject commit 764d35d913453d1fd8eeec6007f0d94f59c8b0ee
import { hr } from "./translations/hr";
import { th } from "./translations/th";
import { bg } from "./translations/bg";
+import { ar } from "./translations/ar";
import { ko } from "./translations/ko";
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
hr,
th,
bg,
- ko,
+ ar,
+ ko
};
function format(value: any, format: any): any {
#!/bin/bash
+set -e
sudo docker build . --tag dessalines/lemmy-ui:dev
sudo docker push dessalines/lemmy-ui:dev
#!/bin/bash
+set -e
+
pushd ../lemmy-translations
git fetch weblate
git merge weblate/main
git push
popd
+
+# look for unused translations
+for langfile in lemmy-translations/translations/*.json; do
+ lang=$(basename $langfile .json)
+ if ! grep -q "\"./translations/$lang\"" src/shared/i18next.ts; then
+ echo "Unused language $lang"
+ fi
+done
+
git submodule update --remote
git add lemmy-translations
git commit -m"Updating translations."