Skip to content

Commit 0b9d44a

Browse files
chore(i18n): convert election translation strings from legacy § codes to MiniMessage
1 parent 032575c commit 0b9d44a

2 files changed

Lines changed: 39 additions & 39 deletions

File tree

configuration/i18n/en_US/gui/gui_election.properties

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44

55
# --- ElectionView (Voting GUI) ---
66
gui_election.view.title = Election
7-
gui_election.view.no_election = §cNo Active Election
8-
gui_election.view.no_election.lore = §7There is no active election\n§7at this time.
9-
gui_election.view.candidate.year = §8Year {year} Candidate
10-
gui_election.view.candidate.votes = §7Votes: {color}{votes} §7({color}{percentage}§7)
11-
gui_election.view.candidate.last_elected = §7Last elected: {color}{years}y ago
12-
gui_election.view.candidate.last_elected_never = §7Last elected: {color}Never
13-
gui_election.view.candidate.minister_note_1 = §6✯ {color}Minister Perks §7are also granted if
14-
gui_election.view.candidate.minister_note_2 = §7this mayor wins second place!
15-
gui_election.view.candidate.voted = §aYou voted for this candidate!
16-
gui_election.view.candidate.change_vote_1 = §8You may change your vote at any
17-
gui_election.view.candidate.change_vote_2 = §8time until the election ends!
18-
gui_election.view.candidate.click_vote = §eClick to vote for {name}!
19-
gui_election.view.vote_divider = §c-----------------------------------------------------
20-
gui_election.view.vote_cast = §eYou cast §c1 vote §efor {candidate} §ein the §bYear {year} Elections§e!
21-
gui_election.view.vote_fame = §bNew player §eFame Rank §a+1 vote
22-
gui_election.view.vote_result = {candidate} §enow has §c{percentage} §eof votes with §c{votes} votes§e!
23-
gui_election.view.already_voted = §aYou voted for this candidate.
7+
gui_election.view.no_election = <red>No Active Election
8+
gui_election.view.no_election.lore = <gray>There is no active election\n<gray>at this time.
9+
gui_election.view.candidate.year = <dark_gray>Year {year} Candidate
10+
gui_election.view.candidate.votes = <gray>Votes: {color}{votes} <gray>({color}{percentage}<gray>)
11+
gui_election.view.candidate.last_elected = <gray>Last elected: {color}{years}y ago
12+
gui_election.view.candidate.last_elected_never = <gray>Last elected: {color}Never
13+
gui_election.view.candidate.minister_note_1 = <gold>✯ {color}Minister Perks <gray>are also granted if
14+
gui_election.view.candidate.minister_note_2 = <gray>this mayor wins second place!
15+
gui_election.view.candidate.voted = <green>You voted for this candidate!
16+
gui_election.view.candidate.change_vote_1 = <dark_gray>You may change your vote at any
17+
gui_election.view.candidate.change_vote_2 = <dark_gray>time until the election ends!
18+
gui_election.view.candidate.click_vote = <yellow>Click to vote for {name}!
19+
gui_election.view.vote_divider = <red>-----------------------------------------------------
20+
gui_election.view.vote_cast = <yellow>You cast <red>1 vote <yellow>for {candidate} <yellow>in the <aqua>Year {year} Elections<yellow>!
21+
gui_election.view.vote_fame = <aqua>New player <yellow>Fame Rank <green>+1 vote
22+
gui_election.view.vote_result = {candidate} <yellow>now has <red>{percentage} <yellow>of votes with <red>{votes} votes<yellow>!
23+
gui_election.view.already_voted = <green>You voted for this candidate.
2424

2525
# --- ElectionViewStatsView ---
2626
gui_election.stats.title = Election, Year {year}
@@ -29,29 +29,29 @@ gui_election.stats.leader = {color}Leading in votes!
2929
# --- MayorMenuView ---
3030
gui_election.mayor.title = Mayor {name}
3131
gui_election.mayor.title_fallback = Mayor
32-
gui_election.mayor.perks_label = §8Perks List
33-
gui_election.mayor.perks_footer_1 = §7The listed perks are available to
34-
gui_election.mayor.perks_footer_2 = §7all players until the closing of
35-
gui_election.mayor.perks_footer_3 = §7the next elections.
36-
gui_election.mayor.results_title = §bMayor Election Results
37-
gui_election.mayor.results_no_data_1 = §7No previous election data
38-
gui_election.mayor.results_no_data_2 = §7available.
39-
gui_election.mayor.results_year = §8Year {year}
40-
gui_election.mayor.results_footer_1 = §7These are the votes for the
41-
gui_election.mayor.results_footer_2 = §7last election in which {name}
42-
gui_election.mayor.results_footer_3 = §7was elected.
32+
gui_election.mayor.perks_label = <dark_gray>Perks List
33+
gui_election.mayor.perks_footer_1 = <gray>The listed perks are available to
34+
gui_election.mayor.perks_footer_2 = <gray>all players until the closing of
35+
gui_election.mayor.perks_footer_3 = <gray>the next elections.
36+
gui_election.mayor.results_title = <aqua>Mayor Election Results
37+
gui_election.mayor.results_no_data_1 = <gray>No previous election data
38+
gui_election.mayor.results_no_data_2 = <gray>available.
39+
gui_election.mayor.results_year = <dark_gray>Year {year}
40+
gui_election.mayor.results_footer_1 = <gray>These are the votes for the
41+
gui_election.mayor.results_footer_2 = <gray>last election in which {name}
42+
gui_election.mayor.results_footer_3 = <gray>was elected.
4343

4444
# --- MinisterMenuView ---
4545
gui_election.minister.title = Minister {name}
4646
gui_election.minister.title_fallback = Minister
47-
gui_election.minister.perk_label = §8Active Perk
48-
gui_election.minister.perk_footer_1 = §7The Minister is who came in 2nd Place
49-
gui_election.minister.perk_footer_2 = §7during the election. They have one
50-
gui_election.minister.perk_footer_3 = §7of their perks active.
47+
gui_election.minister.perk_label = <dark_gray>Active Perk
48+
gui_election.minister.perk_footer_1 = <gray>The Minister is who came in 2nd Place
49+
gui_election.minister.perk_footer_2 = <gray>during the election. They have one
50+
gui_election.minister.perk_footer_3 = <gray>of their perks active.
5151

5252
# --- ElectionDisplay (Holograms) ---
53-
gui_election.display.title = §e§lMAYOR ELECTIONS
54-
gui_election.display.year = §bYear {year}
55-
gui_election.display.time_left = §eTime left: §a{time}
56-
gui_election.display.your_vote = §eYour vote: §f{candidate}
57-
gui_election.display.click_switch = §e§lCLICK TO SWITCH
53+
gui_election.display.title = <yellow><bold>MAYOR ELECTIONS
54+
gui_election.display.year = <aqua>Year {year}
55+
gui_election.display.time_left = <yellow>Time left: <green>{time}
56+
gui_election.display.your_vote = <yellow>Your vote: <white>{candidate}
57+
gui_election.display.click_switch = <yellow><bold>CLICK TO SWITCH

configuration/i18n/en_US/npcs/npcs_hub.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ npcs_hub.clerk_seraphine.dialogue.hello = Welcome to the <aqua>Community Center<
8181
# --- Election NPCs ---
8282
npcs_hub.election.clerk_seraphine = Clerk Seraphine
8383
npcs_hub.election.candidate_label = Candidate
84-
npcs_hub.election.click = §e§lCLICK
84+
npcs_hub.election.click = <yellow><bold>CLICK
8585
npcs_hub.election.running = Running for mayor!
8686
npcs_hub.election.mayor_unknown = Mayor ???
8787
npcs_hub.election.minister_unknown = Minister ????
88-
npcs_hub.election.hello = §cHello!!
88+
npcs_hub.election.hello = <red>Hello!!
8989

9090
# --- Gladiator ---
9191
npcs_hub.gladiator.dialogue.hello = Welcome to the <aqua>Colosseum<white>!|Oh...wait. Nevermind.|Here you can join me in drinking away your sorrows.

0 commit comments

Comments
 (0)