Skip to content

Commit

Permalink
support german, french, and spanish language dialects
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckscor3 committed Jan 29, 2023
1 parent 1a2cbeb commit 945d2b2
Show file tree
Hide file tree
Showing 11 changed files with 11,403 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix: Options are not synchronized between newly placed laser blocks
- Fix: Modules are not properly synchronized between laser blocks in certain situations
- Misc.: The Spanish translation has been updated (Thanks Globi10!)
- Misc.: German (de_at, de_ch), French (fr_ca), and Spanish (es_ar, es_cl, es_ec, es_mx, es_uy, es_ve) dialects are now supported. While these are not proper translations into the specific dialects, they should be better than having to resort to English

--------------------------Changelog for v1.9.5 of SecurityCraft--------------------------

Expand Down
16 changes: 16 additions & 0 deletions copy_language_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
cd src/main/resources/assets/securitycraft/lang

declare -A languages=(
["de"]="at ch"
["es"]="ar cl ec mx uy ve"
["fr"]="ca"
)

for standard in "${!languages[@]}"; do
declare -a dialects=(${languages[$standard]})

for dialect in "${dialects[@]}"; do
cp "${standard}_${standard}.json" "${standard}_${dialect}.json"
done
done
1,271 changes: 1,271 additions & 0 deletions src/main/resources/assets/securitycraft/lang/de_at.json

Large diffs are not rendered by default.

1,271 changes: 1,271 additions & 0 deletions src/main/resources/assets/securitycraft/lang/de_ch.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_ar.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_cl.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_ec.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_mx.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_uy.json

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions src/main/resources/assets/securitycraft/lang/es_ve.json

Large diffs are not rendered by default.

1,266 changes: 1,266 additions & 0 deletions src/main/resources/assets/securitycraft/lang/fr_ca.json

Large diffs are not rendered by default.

0 comments on commit 945d2b2

Please sign in to comment.