mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Added message saving back to compiler, tweaked various messages, fixed typo of constant, fixed missing attr_reader
This commit is contained in:
@@ -1180,18 +1180,6 @@ MenuHandlers.add(:debug_menu, :rename_files, {
|
||||
}
|
||||
})
|
||||
|
||||
MenuHandlers.add(:debug_menu, :collate_script_and_event_text, {
|
||||
"name" => _INTL("Collate Script/Event Texts For Translation"),
|
||||
"parent" => :files_menu,
|
||||
"description" => _INTL("Find translatable text in scripts/map events. Do this before extracting text."),
|
||||
"effect" => proc {
|
||||
Translator.gather_script_and_event_texts
|
||||
MessageTypes.save_default_messages
|
||||
MessageTypes.load_default_messages if safeExists?("Data/messages_core.dat")
|
||||
pbMessage(_INTL("Translatable text gathered from scripts and map events and saved in data files."))
|
||||
}
|
||||
})
|
||||
|
||||
MenuHandlers.add(:debug_menu, :extract_text, {
|
||||
"name" => _INTL("Extract Text For Translation"),
|
||||
"parent" => :files_menu,
|
||||
|
||||
Reference in New Issue
Block a user