Skip to content

Commit 809a7d1

Browse files
committed
chore: add translations and fix some small mistakes in the default gui configs
1 parent 2df6e80 commit 809a7d1

File tree

7 files changed

+93
-178
lines changed

7 files changed

+93
-178
lines changed

plugin/src/main/resources/guis/active-quest-abort-confirm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ icons:
2828

2929
items:
3030
confirm:
31-
displayname: gui.abort-quest-confirm..button.confirmabort.name
31+
displayname: gui.abort-quest-confirm.button.confirmabort.name
3232
lore: gui.abort-quest-confirm.button.confirmabort.lore
3333
material: GREEN_CONCRETE
3434

plugin/src/main/resources/guis/active-quest-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ icons:
2323
properties:
2424
specialicontype: PLAYER_ACTIVE_QUEST
2525
actions:
26-
- OpenGui abort-quest --targetplayer %player_name% --quest %QUESTID%
26+
- OpenGui active-quest-abort-confirm --targetplayer %player_name% --quest %QUESTID%
2727
B:
2828
type: ACTION
2929
items:

plugin/src/main/resources/guis/category-take.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ icons:
4545
items:
4646
return:
4747
material: BARRIER
48-
displayname: gui.category-take.button.return
48+
displayname: gui.category-take.button.return.name
4949

5050
quests:
5151
displayname: gui.category-take.button.quests.name

plugin/src/main/resources/guis/main-base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ icons:
2828
- tab-one-inactive
2929
properties:
3030
tabindex: 0
31-
tabtitle: gui.main-base.tab1.title
31+
tabtitle: gui.main-active.title
3232
2:
3333
type: TAB
3434
items:
3535
- tab-two-active
3636
- tab-two-inactive
3737
properties:
3838
tabindex: 1
39-
tabtitle: gui.main-base.tab3.title
39+
tabtitle: gui.main-take.title
4040
W:
4141
type: BLANK
4242
items:

plugin/src/main/resources/guis/main-take.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ icons:
3535

3636
items:
3737
categories:
38-
displayname: gui.main-take.button.quests.name
38+
displayname: gui.main-take.button.categories.name
39+
lore: gui.main-take.button.categories.lore
3940
material: "%CATEGORY_ITEM_MATERIAL%"
4041

4142
emptyspacefiller:

plugin/src/main/resources/guis/quest-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ icons:
2929
- decline
3030
properties:
3131
actions:
32-
- OpenGui npc-available-quests --npc %NPCID%
32+
- CloseInventory --player %player_name%
3333

3434

3535
items:

plugin/src/main/resources/translations/en-US.yml

Lines changed: 85 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ chat:
8484
successfully-completed: |2
8585
8686
<CENTER><success>[Objective Completed]
87-
<CENTER><highlight><bold>%OBJECTIVENAME%</bold> <RESET><main>(%QUESTNAME%)
87+
<CENTER><highlight><bold>%OBJECTIVENAME%</bold> <!i><main>(%QUESTNAME%)
8888
<EMPTY>
8989
successfully-completed-rewards-prefix: ' <highlight>Rewards:'
9090
successfully-completed-rewards-rewardformat: ' <highlight> - <unimportant>%reward%'
@@ -192,191 +192,105 @@ placeholders:
192192
days: '%DAYS% days'
193193
no-cooldown: ''
194194
gui:
195-
main:
196-
title: ' <highlight2>Quests'
197-
backgroundFill:
198-
material: 'BLACK_STAINED_GLASS_PANE'
199-
background:
200-
'1':
201-
minX: 0
202-
maxX: 8
203-
minY: 0
204-
maxY: 0
205-
'2':
206-
minX: 0
207-
maxX: 0
208-
minY: 0
209-
maxY: 5
210-
'3':
211-
minX: 1
212-
maxX: 1
213-
minY: 0
214-
maxY: 5
215-
'4':
216-
minX: 2
217-
maxX: 2
218-
minY: 0
219-
maxY: 5
195+
abort-quest-confirm:
196+
title: "<!i><red>Abort Quest <dark_gray>- <dark_red>Are you sure?"
220197
button:
221-
questpoints:
222-
name: "<highlight>Quest Points"
223-
lore:
224-
- "<main>Current quest points: <highlight2>%QUESTPOINTS%"
225-
x: 8
226-
y: 0
227-
takequest:
228-
name: "<positive>Take a Quest"
198+
cancelabort:
199+
name: "<!i><red>Click to cancel"
229200
lore:
230-
- "<unimportant>Start a new Quest!"
231-
- ""
232-
- "<veryUnimportant>Some Quests cannot be"
233-
- "<veryUnimportant>started like this."
234-
x: 0
235-
y: 1
236-
abortquest:
237-
name: "<negative>Abort a Quest"
201+
- "<!i><gray>Cancels the abortion of the quest "
202+
confirmabort:
203+
name: "<!i><dark_red>Click to abort quest"
238204
lore:
239-
- ""
240-
- "<veryUnimportant>Aborting a Quest may"
241-
- "<veryUnimportant>lead to punishments."
242-
x: 0
243-
y: 2
244-
activequests:
245-
name: "<highlight>Active Quests"
246-
lore:
247-
- ""
248-
- "<veryUnimportant>Shows all of your"
249-
- "<veryUnimportant>active Quests."
250-
x: 0
251-
y: 3
252-
activeQuests:
253-
title: ' <highlight2>Active Quests'
205+
- "<!i><gray>Aborts the quest "
206+
- "<!i><dark_red>All progress will be lost!"
207+
active-quest-info:
208+
title: "<main>Questinfo <gray>- <green>%QUESTNAME%"
254209
button:
255-
activeQuestButton:
256-
name: "<highlight>%QUESTNAME% <positive>[ACTIVE]"
210+
infobook:
211+
name: "<!i><green>%QUESTNAME%"
257212
lore:
258-
- "<unimportant>Progress: <positive>%COMPLETEDOBJECTIVESCOUNT% <unimportant>/ <main>%ALLOBJECTIVESCOUNT%"
259-
- "<main>Click to see details!"
260-
reward-hidden-text: . <unimportant>[HIDDEN]
261-
availableQuests:
262-
title: ' <highlight2>Available Quests'
263-
button:
264-
questPreview:
265-
name-if-not-accepted: "<highlight>%QUESTNAME%"
266-
name-if-accepted: "<highlight>%QUESTNAME% <reset><positive>[ACCEPTED]"
213+
- "<!i><gray>%QUESTDESCRIPTION%"
214+
abort:
215+
name: "<!i><red>Abort quest"
267216
lore:
268-
- "<veryUnimportant>%WRAPPEDQUESTDESCRIPTION%"
269-
- "<main>Click to open Quest!"
270-
takeQuestChoose:
271-
title: <highlight2>Which Quest do you want to take?
272-
size:
273-
minX: 3
274-
minY: 1
275-
maxX: 8
276-
maxY: 5
217+
- "<!i><red>Click to abort quest"
218+
back:
219+
name: "<!i><red>Back to previous page"
220+
category-take:
221+
title: "<main>Take new quest"
277222
button:
278-
questPreview:
279-
name-if-not-accepted: "<highlight>%QUESTNAME%"
280-
name-if-accepted: "<highlight>%QUESTNAME% <reset><positive>[ACCEPTED]"
223+
return:
224+
name: "<!i><red>Back"
225+
quests:
226+
name: "<!i><!i><green>%QUESTNAME%"
281227
lore:
282-
- "<veryUnimportant>%WRAPPEDQUESTDESCRIPTION%"
283-
- "<main>Click to preview Quest!"
284-
abortQuestChoose:
285-
title: ' <highlight2>Active Quests you can abort'
228+
- "<!i><gray>%QUESTDESCRIPTION%"
229+
back:
230+
name: "<!i><gray>Previous page"
231+
forward:
232+
name: "<!i><gray>Next page"
233+
main-base:
234+
title: "<main>Questmenu"
286235
button:
287-
abortQuestPreview:
288-
name: "<highlight>%QUESTNAME% <positive>[ACTIVE]"
236+
questpoints:
237+
name: "<!i><main>Questpoints"
289238
lore:
290-
- "<unimportant>Progress: <positive>%COMPLETEDOBJECTIVESCOUNT% <unimportant>/ <main>%ALLOBJECTIVESCOUNT%"
291-
- "<negative>Click to abort Quest!"
292-
abortQuest:
293-
title: ' <negative>Abort Confirmation'
294-
button:
295-
confirmAbort:
296-
name: "<highlight>%QUESTNAME% <positive>[ACTIVE]"
239+
- "<!i><gray>Your questpoints: <yellow>%QUESTPOINTS%"
240+
tab1:
241+
name: "<!i><main>Active quests"
297242
lore:
298-
- "<unimportant>Progress: <positive>%COMPLETEDOBJECTIVESCOUNT% <unimportant>/ <main>%ALLOBJECTIVESCOUNT%"
299-
- "<negative>Click to abort the quest <highlight>%QUESTNAME%</highlight>!"
300-
x: 3
301-
y: 1
302-
cancelAbort:
303-
name: "<positive>Click to NOT abort this quest"
243+
- "<!i><gray>See your active quests"
244+
tab2:
245+
name: "<!i><main>Take a new quest"
304246
lore:
305-
- "<positive>and cancel this action"
306-
x: 5
307-
y: 1
308-
previewQuest:
309-
title: <highlight2>Quest Preview
247+
- "<!i><gray>See available quests"
248+
main-active:
249+
title: "<main>Questmenu <gray>- <highlight>Active quests"
310250
button:
311-
description:
312-
name: "<highlight>Description"
313-
lore:
314-
- "<veryUnimportant>%WRAPPEDQUESTDESCRIPTION%"
315-
lore-if-empty:
316-
- "<veryUnimportant>???"
317-
x: 2
318-
y: 0
319-
rewards:
320-
name: "<positive>Rewards"
321-
lore:
322-
- "<WHITE>%QUESTREWARDS%"
323-
lore-if-empty:
324-
- "<veryUnimportant>None or hidden"
325-
x: 4
326-
y: 0
327-
requirements:
328-
name: "<negative>Requirements"
251+
quests:
252+
name: "<!i><green>%QUESTNAME%"
329253
lore:
330-
- "<WHITE>%QUESTREQUIREMENTS%"
331-
lore-if-empty:
332-
- "<veryUnimportant>-"
333-
x: 6
334-
y: 0
335-
confirmTake:
336-
name: "<highlight>%QUESTNAME%"
337-
lore:
338-
- "<positive>Click to take the quest <highlight>%QUESTNAME%"
339-
x: 3
340-
y: 2
341-
cancelTake:
342-
name: "<negative>Click to NOT take this quest"
343-
lore:
344-
- "<negative>and cancel this action"
345-
x: 5
346-
y: 2
347-
progress:
348-
title: <highlight2>Details for Quest
254+
- "<!i><gray>%QUESTDESCRIPTION%"
255+
back:
256+
name: "<!i><gray>Previous page"
257+
forward:
258+
name: "<!i><gray>Next page"
259+
main-take:
260+
title: "<main>Questmenu <gray>- <highlight>Take a new quest"
349261
button:
350-
unlockedObjective:
351-
name: "<highlight2>%ACTIVEOBJECTIVEID%. <highlight>%OBJECTIVENAME%"
262+
categories:
263+
name: "<!i><yellow>%CATEGORYNAME%"
352264
lore:
353-
- "<main><BOLD>ACTIVE</BOLD>"
354-
- "<veryUnimportant>%WRAPPEDOBJECTIVEDESCRIPTION%"
355-
- "<unimportant>%OBJECTIVETASKDESCRIPTION%"
356-
- ""
357-
- "<unimportant>Progress: <positive>%ACTIVEOBJECTIVEPROGRESS% <unimportant>/ <main>%OBJECTIVEPROGRESSNEEDED%"
358-
lore-if-description-empty:
359-
- "<main><BOLD>ACTIVE</BOLD>"
360-
- "<veryUnimportant>No Description"
361-
- "<unimportant>%OBJECTIVETASKDESCRIPTION%"
362-
- ""
363-
- "<unimportant>Progress: <positive>%ACTIVEOBJECTIVEPROGRESS% <unimportant>/ <main>%OBJECTIVEPROGRESSNEEDED%"
364-
lockedObjective:
365-
name: "<highlight2>%ACTIVEOBJECTIVEID%. <unimportant><BOLD>[HIDDEN]"
265+
- "<!i><gray>Click to view available"
266+
- "<!i><gray>quests in category"
267+
back:
268+
name: "<!i><gray>Previous page"
269+
forward:
270+
name: "<!i><gray>Next page"
271+
npc-available-quests:
272+
title: "<!i><main>Available quests"
273+
button:
274+
quest:
275+
name: "<!i><green>%QUESTNAME%"
366276
lore:
367-
- "<warn>This objective has not yet"
368-
- "<warn>been unlocked!"
369-
completedObjective:
370-
name: "<highlight2><strikethrough>%ACTIVEOBJECTIVEID%. <positive><strikethrough>%OBJECTIVENAME%"
277+
- "<!i><gray>%QUESTDESCRIPTION%"
278+
back:
279+
name: "<!i><gray>Previous page"
280+
forward:
281+
name: "<!i><gray>Next page"
282+
quest-preview:
283+
title: "<main>Quest preview"
284+
button:
285+
info:
286+
name: "<!i><green>%QUESTNAME%"
371287
lore:
372-
- "<positive><BOLD>COMPLETED</BOLD>"
373-
- "<veryUnimportant><strikethrough>%WRAPPEDOBJECTIVEDESCRIPTION%"
374-
- "<veryUnimportant><strikethrough>%COMPLETEDOBJECTIVETASKDESCRIPTION%"
375-
- ""
376-
- "<unimportant><strikethrough>Progress: <positive><strikethrough>%ACTIVEOBJECTIVEPROGRESS% <unimportant><strikethrough>/ <positive><strikethrough>%OBJECTIVEPROGRESSNEEDED%"
377-
lore-if-description-empty:
378-
- "<positive><BOLD>COMPLETED</BOLD>"
379-
- "<veryUnimportant><strikethrough>No Description"
380-
- "<veryUnimportant><strikethrough>%COMPLETEDOBJECTIVETASKDESCRIPTION%"
381-
- ""
382-
- "<unimportant><strikethrough>Progress: <positive><strikethrough>%ACTIVEOBJECTIVEPROGRESS% <unimportant><strikethrough>/ <positive><strikethrough>%OBJECTIVEPROGRESSNEEDED%"
288+
- "<!i><gray>%QUESTDESCRIPTION%"
289+
accept:
290+
name: "<!i><green>Accept quest"
291+
decline:
292+
name: "<!i><red>Decline quest"
293+
294+
295+
296+

0 commit comments

Comments
 (0)