diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-16 19:04:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-16 19:04:43 +0300 |
commit | 92311f100efe888df9f8101d22ba9f2d7b483074 (patch) | |
tree | f59dcc185fd6e952b52607c164575a4c37052865 /src/defaults.cpp | |
parent | b1f8a2eaab592b59b5946bdbe38f0d8f775cc434 (diff) | |
download | manaverse-92311f100efe888df9f8101d22ba9f2d7b483074.tar.gz manaverse-92311f100efe888df9f8101d22ba9f2d7b483074.tar.bz2 manaverse-92311f100efe888df9f8101d22ba9f2d7b483074.tar.xz manaverse-92311f100efe888df9f8101d22ba9f2d7b483074.zip |
Enable japanese language in gettext.
Add ability to use japanese font if current locale is japan locale.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index e614a489b..e1cb08299 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -159,6 +159,7 @@ DefaultsData* getConfigDefaults() AddDEF(configData, "particleFont", "fonts/dejavusans.ttf"); AddDEF(configData, "helpFont", "fonts/dejavusansmono.ttf"); AddDEF(configData, "secureFont", "fonts/dejavusansmono.ttf"); + AddDEF(configData, "japanFont", "fonts/mplus-1p-regular.ttf"); AddDEF(configData, "showBackground", true); AddDEF(configData, "enableTradeTab", true); AddDEF(configData, "logToChat", false); @@ -242,6 +243,7 @@ DefaultsData* getBrandingDefaults() AddDEF(brandingData, "particleFont", "fonts/dejavusans.ttf"); AddDEF(brandingData, "helpFont", "fonts/dejavusansmono.ttf"); AddDEF(brandingData, "secureFont", "fonts/dejavusansmono.ttf"); + AddDEF(brandingData, "japanFont", "fonts/mplus-1p-regular.ttf"); AddDEF(brandingData, "guiPath", "graphics/gui/"); AddDEF(brandingData, "guiThemePath", "themes/"); |