feat(locale): sistema i18n YAML amb català i anglès
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "core/input/input.hpp"
|
||||
#include "core/input/mouse.hpp"
|
||||
#include "core/locale/locale.hpp"
|
||||
#include "core/rendering/sdl_manager.hpp"
|
||||
#include "core/system/notifier.hpp"
|
||||
#include "scene_context.hpp"
|
||||
@@ -71,7 +72,7 @@ namespace GlobalEvents {
|
||||
// sortida en lloc de tancar.
|
||||
auto* notifier = System::Notifier::get();
|
||||
if (notifier != nullptr && !notifier->isExitPromptActive()) {
|
||||
notifier->notifyExit("PREMEU ESC UN ALTRE COP PER EIXIR");
|
||||
notifier->notifyExit(Locale::get().text("notification.press_again_exit"));
|
||||
return true;
|
||||
}
|
||||
// Notifier inexistent (degradació elegant) o segona ESC
|
||||
|
||||
Reference in New Issue
Block a user