mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-02 10:48:29 +02:00
10 lines
No EOL
364 B
Python
10 lines
No EOL
364 B
Python
|
|
|
|
def get_finished_installation_message(mod_config: "ModConfig") -> str:
|
|
message: str = translate_external(
|
|
mod_config, mod_config.messages.get("installation_completed", {}).get("text", {})
|
|
)
|
|
|
|
return f"{_('TEXT_INSTALLATION_FINISHED_SUCCESSFULLY')}" + (
|
|
f"\n{_('TEXT_MESSAGE_FROM_AUTHOR')} :\n\n{message}" if message != "" else ""
|
|
) |