Updated generateTranslationDiffs to put comments at the beginning of default
This commit is contained in:
parent
7a8a390d80
commit
378fc76ca0
@ -32,8 +32,9 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
# First thing, we want to strip default of any "!" and duplicates.
|
||||
grep -v '^!' default | sort -Vu > "$tmp"
|
||||
# First thing, fix default, so move comments to front, then strip the rest of any "!" and duplicates.
|
||||
grep "^#.*" default > "$tmp"
|
||||
grep -Ev '^[!|#]' default | sort -Vu >> "$tmp"
|
||||
mv "$tmp" "default"
|
||||
|
||||
for file in "${langFiles[@]}"; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user