Skip to content

Commit

Permalink
fix: fixed the problem of irregular naming in Simplified Chinese
Browse files Browse the repository at this point in the history
Fixed the problem of irregular naming in Simplified Chinese

Signed-off-by: GL.iNet-RenBo.Xu <[email protected]>
  • Loading branch information
XuRenBo committed Jul 30, 2024
1 parent 554466d commit 7ae56f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-langs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ merge_lang() {
if [ "$filename" == "zh_Hant" ]; then
filename="zh-tw"
fi
if [ "$filename" == "zh_Hans" ]; then
filename="zh-cn"
fi
output_file="$output_folder/release.$filename.json"
if [ -f "$output_file" ]; then
merged_json=$(jq -s 'reduce .[] as $item ({}; . * $item)' "$output_file" "$file")
Expand Down

0 comments on commit 7ae56f3

Please sign in to comment.