mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-30 20:21:45 +01:00
Improve strings for Event Editor
This commit is contained in:
parent
47e163b204
commit
f5ef8898f5
@ -403,7 +403,7 @@ public class EventFactory implements ConversationAbandonedListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
String text = ChatColor.RED + Lang.get("eventEditorDeletePrompt") + " \"" + ChatColor.GOLD + (String) context.getSessionData(CK.ED_EVENT_DELETE) + ChatColor.RED + "\"?\n";
|
String text = ChatColor.RED + Lang.get("eventEditorDeletePrompt") + "(" + ChatColor.GOLD + (String) context.getSessionData(CK.ED_EVENT_DELETE) + ChatColor.RED + ")";
|
||||||
text += ChatColor.YELLOW + Lang.get("yesWord") + "/" + Lang.get("noWord");
|
text += ChatColor.YELLOW + Lang.get("yesWord") + "/" + Lang.get("noWord");
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
@ -693,7 +693,7 @@ public class EventFactory implements ConversationAbandonedListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
String text = ChatColor.RED + Lang.get("eventEditorFinishAndSave") + " \"" + ChatColor.GOLD + (String) context.getSessionData(CK.E_NAME) + ChatColor.RED + "\"?\n";
|
String text = ChatColor.RED + Lang.get("eventEditorFinishAndSave") + "(" + ChatColor.GOLD + (String) context.getSessionData(CK.E_NAME) + ChatColor.RED + ")";
|
||||||
if (modified.isEmpty() == false) {
|
if (modified.isEmpty() == false) {
|
||||||
text += ChatColor.RED + Lang.get("eventEditorModifiedNote") + "\n";
|
text += ChatColor.RED + Lang.get("eventEditorModifiedNote") + "\n";
|
||||||
for (String s : modified) {
|
for (String s : modified) {
|
||||||
|
@ -318,9 +318,9 @@ eventEditorErrorSaving: "An error occurred while saving."
|
|||||||
eventEditorDeleted: "Event deleted, Quests and Events reloaded."
|
eventEditorDeleted: "Event deleted, Quests and Events reloaded."
|
||||||
eventEditorSaved: "Event saved, Quests and Events reloaded."
|
eventEditorSaved: "Event saved, Quests and Events reloaded."
|
||||||
eventEditorEnterEventName: "Enter an Event name, <cancel>"
|
eventEditorEnterEventName: "Enter an Event name, <cancel>"
|
||||||
eventEditorDeletePrompt: "Are you sure you want to delete the Event"
|
eventEditorDeletePrompt: "Are you sure you want to delete the Event?"
|
||||||
eventEditorQuitWithoutSaving: "Are you sure you want to quit without saving?"
|
eventEditorQuitWithoutSaving: "Are you sure you want to quit without saving?"
|
||||||
eventEditorFinishAndSave: "Are you sure you want to finish and save the Event"
|
eventEditorFinishAndSave: "Are you sure you want to finish and save the Event?"
|
||||||
eventEditorModifiedNote: 'Note: You have modified an Event that the following Quests use:'
|
eventEditorModifiedNote: 'Note: You have modified an Event that the following Quests use:'
|
||||||
eventEditorForcedToQuit: "If you save the Event, anyone who is actively doing any of these Quests will be forced to quit them."
|
eventEditorForcedToQuit: "If you save the Event, anyone who is actively doing any of these Quests will be forced to quit them."
|
||||||
eventEditorEventInUse: "The following Quests use the Event"
|
eventEditorEventInUse: "The following Quests use the Event"
|
||||||
|
Loading…
Reference in New Issue
Block a user