mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-13 23:51:20 +03:00
Change update_language_files.sh script to rename pt-PT to pt
This commit is contained in:
parent
20fe43f972
commit
555ab8735a
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ fi
|
|||
|
||||
download_dir="$1"
|
||||
|
||||
# The Portuguese translation is named pt-PT, but we want to use pt instead (it
|
||||
# is used both for Brasilian and European Portuguese). I couldn't figure out how
|
||||
# to change this in Crowdin, so we'll do it here.
|
||||
[ -d "$download_dir/pt-PT" ] && mv "$download_dir/pt-PT" "$download_dir/pt"
|
||||
|
||||
for d in "$download_dir"/*
|
||||
do
|
||||
# We need to remove empty strings from the JSON files; those are the ones
|
||||
|
|
Loading…
Reference in a new issue