Skip to content

Feat/language - #11

Merged
Antidino72 merged 2 commits into
masterfrom
feat/language
Oct 22, 2026
Merged

Antidino72 merged 2 commits into
masterfrom
feat/language

Conversation

@Antidino72

Copy link
Copy Markdown
Owner

No description provided.

Replace hardcoded (mixed French/English) strings with a new
MessageManager that loads translatable messages, with support for
placeholders (e.g. {count}, {page}, {max}).

- Add MessageManager and initialize it in CorePlugin#onEnable
- Add `lang` option to config.yml (default: fr_FR)
- AdminCommands: use message keys for usage, reload, give and slot
  messages; add a send(Component) overload
- PerksCommand / CodexListener: use message keys for feedback messages
- CodexMenu: route all menu titles, buttons and lore through a new
  msg() helper (italic disabled by default); descriptions from the
  perk config still use MiniMessage directly
- CodexListener: add missing `break` statements in BACK_SLOT and
  GIVE_SLOT cases to prevent fall-through
- Remove default perks section from config.yml and an unused import
  in PDCBuilder
@Antidino72
Antidino72 merged commit 0469b51 into master Oct 22, 2026
1 check passed
@Antidino72
Antidino72 deleted the feat/language branch October 22, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant