summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-16 19:04:43 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-16 19:04:43 +0300
commit92311f100efe888df9f8101d22ba9f2d7b483074 (patch)
treef59dcc185fd6e952b52607c164575a4c37052865 /src/defaults.cpp
parentb1f8a2eaab592b59b5946bdbe38f0d8f775cc434 (diff)
downloadplus-92311f100efe888df9f8101d22ba9f2d7b483074.tar.gz
plus-92311f100efe888df9f8101d22ba9f2d7b483074.tar.bz2
plus-92311f100efe888df9f8101d22ba9f2d7b483074.tar.xz
plus-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.cpp2
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/");