mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
Language sync
- Branch-tracking language source on Bukkit and modded - 57 unused keys removed, translations corrected - Consolidated saved-pack field warning
This commit is contained in:
1 parent
8b99f0b75f
commit
7efd51de3e
40 files changed
+13578
-14082
No files matched your search
+1
@@ -65,6 +65,7 @@ public class ModdedLanguageCommandsTest {
|
||||
try (MockedStatic<IrisLanguage> language = mockStatic(IrisLanguage.class)) {
|
||||
language.when(IrisLanguage::activeLocale).thenReturn("en_US");
|
||||
language.when(IrisLanguage::availableLocales).thenReturn(Set.of("de_DE"));
|
||||
language.when(() -> IrisLanguage.displayName("de_DE")).thenReturn("German (Germany)");
|
||||
language.when(() -> IrisLanguage.plain(DirectorHelpMessages.BACK)).thenReturn("Back");
|
||||
CommandDispatcher<CommandSourceStack> dispatcher = new CommandDispatcher<>();
|
||||
new NativeCommandRegistration(dispatcher).register(NativeCommandRegistration.literal("iris").then(ModdedLanguageCommands.tree()));
|
||||
|
||||
Reference in new issue
Block a user