mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-24 21:55:42 +00:00
Little stringbank localization improvement
This commit is contained in:
parent
b719b8fd60
commit
6bd5caf4fa
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,12 @@ void StringBank::load()
|
|||
{
|
||||
stringMap.clear();
|
||||
|
||||
// First, load the default string banks
|
||||
_load("data/stringbank.txt");
|
||||
if (dsq->mod.isActive())
|
||||
_load(dsq->mod.getPath() + "stringbank.txt");
|
||||
|
||||
// Then, load localized ones. If some entries in these are missing, the default for each is taken.
|
||||
std::string fname = dsq->user.localisePath("data/stringbank.txt");
|
||||
_load(fname);
|
||||
|
||||
|
|
Loading…
Reference in a new issue