We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82e2834 + 4b69d93 commit aa7d26bCopy full SHA for aa7d26b
scripts/update_language_files.sh
@@ -18,6 +18,8 @@ fi
18
19
download_dir="$1"
20
21
+echo "Updating translations..."
22
+
23
# The Portuguese translation is named pt-PT, but we want to use pt instead (it
24
# is used both for Brasilian and European Portuguese). I couldn't figure out how
25
# to change this in Crowdin, so we'll do it here.
@@ -30,3 +32,7 @@ do
30
32
# exporting, but unfortunately it doesn't work for json files.
31
33
jq 'del(..|select(. == ""))' < "$d/en.json" > pkg/i18n/translations/$(basename "$d").json
34
done
35
36
+# Update cheatsheets, which might be affected by changes in the translations.
37
+echo "Regenerating auto-generated files..."
38
+go generate ./...
0 commit comments