Skip to content

Commit

Permalink
Updated language list
Browse files Browse the repository at this point in the history
  • Loading branch information
rmraya committed Sep 1, 2023
1 parent 63f8a19 commit 4c032dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file modified lib/openxliff.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/com/maxprograms/converters/Convert.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ public static List<String> run(Map<String, String> params) {
if ("yes".equals(params.get("embed")) && Constants.SUCCESS.equals(result.get(0))) {
result = addSkeleton(params.get("xliff"), params.get("catalog"));
}
Boolean xliff20 = "yes".equals(params.get("xliff20"));
Boolean xliff21 = "yes".equals(params.get("xliff21"));
boolean xliff20 = "yes".equals(params.get("xliff20"));
boolean xliff21 = "yes".equals(params.get("xliff21"));
if ((xliff20 || xliff21) && Constants.SUCCESS.equals(result.get(0))) {
String version = xliff20 ? "2.0" : "2.1";
result = ToXliff2.run(new File(params.get("xliff")), params.get("catalog"), version);
Expand Down
1 change: 1 addition & 0 deletions src/com/maxprograms/languages/languageList.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<lang code="ab">Abkhazian</lang>
<lang code="ae">Avestan</lang>
<lang code="af">Afrikaans</lang>
<lang code="af-ZA">Afrikaans (South Africa)</lang>
<lang code="ak">Akan</lang>
<lang code="am">Amharic</lang>
<lang code="an">Aragonese</lang>
Expand Down
1 change: 1 addition & 0 deletions src/com/maxprograms/languages/languageList_es.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<lang code="ab">Abjaso</lang>
<lang code="ae">Avéstico</lang>
<lang code="af">Afrikaans</lang>
<lang code="af-ZA">Afrikaans (Sudáfrica)</lang>
<lang code="ak">Acano</lang>
<lang code="am">Amárico</lang>
<lang code="an">Aragonés</lang>
Expand Down

0 comments on commit 4c032dc

Please sign in to comment.