Skip to content

Commit

Permalink
Some more translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Oct 6, 2024
1 parent cb5513d commit 481622e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ tsm=Turka signolingvo
dsl=Dana signolingvo
inl=Indonezia signolingvo
ise=Itala signolingvo
rse=Rusa signolingvo
rsl=Rusa signolingvo
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ tsm=Turkse Gebarentaal
dsl=Deense Gebarentaal
inl=Indonesische Gebarentaal
ise=Italiaanse Gebarentaal
rse=Russische Gebarentaal
rsl=Russische Gebarentaal
27 changes: 23 additions & 4 deletions src/test/java/org/meeuw/i18n/languages/test/LanguageCodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,9 @@ public void deprecated() {
assertThat(LanguageCode.getByPart3("nld")).contains((LanguageCode) ISO_639.get("nl").get());
}

@ParameterizedTest
@ValueSource(strings = {"dse"})
public void signLanguage(String code) {
LanguageCode l = LanguageCode.get(code).orElseThrow();
@Test
public void dutchSignLanguage() {
LanguageCode l = LanguageCode.get("sse").orElseThrow();

assertThat(l.refName()).isEqualTo("Dutch Sign Language");
assertThat(l.nameRecord().print()).isEqualTo("dse (Dutch Sign Language)");
Expand All @@ -225,6 +224,26 @@ public void signLanguage(String code) {

assertThat(l.getDisplayName(new Locale("nl"))).isEqualTo("Nederlandse Gebarentaal");
}
@ParameterizedTest
@ValueSource(strings = {"dse", "vgt","ase","bfi",
"csl",
"gsg",
"tsm",
"dsl",
"inl",
"ise",
"rsl"})
public void signLanguage(String code) {
LanguageCode l = LanguageCode.get(code).orElseThrow();


System.out.println(l.code() + "\t" +
l.refName() + "\t" +
l.getDisplayName(Locale.US) + "\t" +
l.getDisplayName(new Locale("nl")) + "\t" +
l.getDisplayName(new Locale("eo"))
);
}


// TODO
Expand Down

0 comments on commit 481622e

Please sign in to comment.