Restore language sync

- Bring back 5 commits a force push dropped from GitHub master (0aad88c30)
- Keep the thin Bukkit entry; port language sync into IrisRuntime
- Fetch guides through GitHubLanguageSource instead of the removed catalog
This commit is contained in:
Brian Neumann-Fopiano committed 2026-11-02 14:15:44 -05:00
commit 5769b0d4e8
53 files changed
+13688 -14119

No files matched your search

@@ -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()));