afegit fixer de locales (textos centralitzats)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "core/jail/jdraw8.hpp"
|
||||
#include "core/jail/jfile.hpp"
|
||||
#include "core/jail/jgame.hpp"
|
||||
#include "core/locale/locale.hpp"
|
||||
#include "core/rendering/menu.hpp"
|
||||
#include "core/rendering/overlay.hpp"
|
||||
#include "core/rendering/screen.hpp"
|
||||
@@ -19,6 +20,9 @@ int main(int /*argc*/, char* /*args*/[]) {
|
||||
Options::setConfigFile(std::string(file_getconfigfolder()) + "config.yaml");
|
||||
Options::loadFromFile();
|
||||
|
||||
// Carrega textos (idioma per defecte: valencià)
|
||||
Locale::load("locale/ca.yaml");
|
||||
|
||||
// Carrega presets de shaders
|
||||
Options::setPostFXFile(std::string(file_getconfigfolder()) + "postfx.yaml");
|
||||
Options::loadPostFXFromFile();
|
||||
|
||||
Reference in New Issue
Block a user