Skip to content

Migrate locale files from legacy color codes to MiniMessage format#167

Merged
tastybento merged 1 commit intodevelopfrom
feature/minimessage-translations
Apr 8, 2026
Merged

Migrate locale files from legacy color codes to MiniMessage format#167
tastybento merged 1 commit intodevelopfrom
feature/minimessage-translations

Conversation

@tastybento
Copy link
Copy Markdown
Member

@tastybento tastybento commented Apr 8, 2026

Summary

  • Converts all 19 locale files from legacy Bukkit & color codes to Adventure MiniMessage tags (&1<dark_blue>, &c<red>)
  • Fixes pre-existing bugs discovered during migration:
    • ja.yml: full-width &1<dark_blue> (broken color code)
    • vi.yml: [tên][name] (untranslated placeholder, sign never showed player name)
    • hr.yml: [Ime][name] (same issue)
    • tr.yml: & 1AsitAdası (space in code) → <dark_blue>AsitAdası, [isim][name]
    • pl.yml: line3 was missing <red><3 entirely — added
    • tr.yml: reordered line2/line3 to be consistent with all other locales

Test plan

  • No legacy & color codes remain in any locale file
  • All 19 files have line0line3 keys
  • All [name] placeholders are standardised
  • mvn clean test passes

🤖 Generated with Claude Code

Converts all 19 locale files from legacy Bukkit & color codes to
Adventure MiniMessage tags (&1 → <dark_blue>, &c → <red>). Also fixes
several pre-existing bugs: full-width ampersand in ja.yml, broken
placeholder names in vi.yml ([tên]), hr.yml ([Ime]) and tr.yml ([isim])
standardised to [name], missing <red><3 in pl.yml, and a space in the
color code in tr.yml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@tastybento tastybento merged commit 14a5322 into develop Apr 8, 2026
2 of 3 checks passed
@tastybento tastybento deleted the feature/minimessage-translations branch April 8, 2026 04:47
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