JPP: Split lehmer endian and added space guide navigation dial slugs
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m23s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m23s
This commit is contained in:
parent
0e0b107094
commit
fc90187bcf
10 changed files with 304 additions and 153 deletions
|
|
@ -29,7 +29,7 @@ package ᒢᣘᐧᐧ.ᑊᑉᣔᣔᔆ.ᐪᣔᒻᑊᑉ;
|
|||
|
||||
import java.util.Arrays;
|
||||
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherTone;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherToneGuide;
|
||||
|
||||
/// Builds and formatted and localized text message.
|
||||
///
|
||||
|
|
@ -45,7 +45,7 @@ public final class KaasTalkTextLocalizer {
|
|||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static public String formatToned(final Class<? extends NetherTone> linguaId, final Class<? extends KaasTalkText> babelMsg, final Object...msgArgs) {
|
||||
static public String formatToned(final Class<? extends NetherToneGuide.SpaceGuideSageNX01Lingua> linguaId, final Class<? extends KaasTalkText> babelMsg, final Object...msgArgs) {
|
||||
if (babelMsg == null) {
|
||||
throw new NullPointerException("No kaas talk message class given.");
|
||||
}
|
||||
|
|
@ -56,7 +56,7 @@ public final class KaasTalkTextLocalizer {
|
|||
return v;
|
||||
}
|
||||
}).toArray();
|
||||
Class<? extends NetherTone> putinLinguaId = linguaId; // The put in lingua id
|
||||
Class<? extends NetherToneGuide.SpaceGuideSageNX01Lingua> putinLinguaId = linguaId; // The put in lingua id
|
||||
if (putinLinguaId == null) {
|
||||
putinLinguaId = 嘴ᗮᙿᗮ.guess();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherTone;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherToneGuide;
|
||||
|
||||
/// Define kaas talk text.
|
||||
///
|
||||
|
|
@ -46,7 +46,7 @@ import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherTone;
|
|||
@Target({ElementType.TYPE})
|
||||
public @interface KaasTalkText注 {
|
||||
|
||||
Class<? extends NetherTone> 嘴();
|
||||
Class<? extends NetherToneGuide.SpaceGuideSageNX01Lingua> 嘴();
|
||||
|
||||
String txt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package ᒢᣘᐧᐧ.ᑊᑉᣔᣔᔆ.ᐪᣔᒻᑊᑉ;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherTone;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.NetherToneGuide;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒻᑊᣕᕐᓑᣔᓫ.ᐞᐧᐧᐧᐧᐧᣟ.ᐃᣟᐧᐧᐧᐧᐧᐞᣟᐧᐧᐧᐧᣟᐞᣟᐧᐧᐧᣟᐧᐞᐧᐧᐧᐧᐧᣟᣟᐧᣟ;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒻᑊᣕᕐᓑᣔᓫ.ᐞᐧᐧᐧᣟᣟᐧ.ᐃᣟᐧᐧᐧᐧᐧᐞᣟᐧᐧᐧᐧᣟᐞᣟᐧᐧᐧᣟᐧᐞᐧᐧᐧᣟᣟᐧᣟᐧᐧ;
|
||||
import ᒢᣘᐧᐧ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒻᑊᣕᕐᓑᣔᓫ.ᐞᐧᐧᐧᣟᣟᐧ.ᐃᣟᐧᐧᐧᐧᐧᐞᣟᐧᐧᐧᐧᣟᐞᣟᐧᐧᐧᣟᐧᐞᐧᐧᐧᣟᣟᐧᣟᐧᣟ;
|
||||
|
|
@ -43,7 +43,7 @@ public enum 嘴ᗮᙿᗮ {
|
|||
|
||||
|
||||
// temp until data is in No2Lingua
|
||||
public static Class<? extends NetherTone> guess() {
|
||||
public static Class<? extends NetherToneGuide.SpaceGuideSageNX01Lingua> guess() {
|
||||
Locale locale = Locale.getDefault();
|
||||
if ("NL".equals(locale.getCountry())) {
|
||||
return Dutch.class;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue