mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Removed script/event text collation from compiler (added a debug function to do that instead), removed system cache reloader from compiler
This commit is contained in:
@@ -1180,6 +1180,18 @@ MenuHandlers.add(:debug_menu, :rename_files, {
|
||||
}
|
||||
})
|
||||
|
||||
MenuHandlers.add(:debug_menu, :rename_files, {
|
||||
"name" => _INTL("Collate Script/Event Texts For Translation"),
|
||||
"parent" => :files_menu,
|
||||
"description" => _INTL("Get translatable text from 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