summaryrefslogtreecommitdiffstats
path: root/src/helloworld.d
diff options
context:
space:
mode:
authorGravatar mszulecki2007-06-11 17:45:08 +0000
committerGravatar mszulecki2007-06-11 17:45:08 +0000
commitc6421dddc6ede5f92a4626899083e9eaece0f380 (patch)
tree3ee51096795f7da377c42b8737ba48fe403b8a5a /src/helloworld.d
parentef14adf712b23fce2867a4df9aa6af26ff34e58e (diff)
downloaddskel-c6421dddc6ede5f92a4626899083e9eaece0f380.tar.gz
dskel-c6421dddc6ede5f92a4626899083e9eaece0f380.tar.bz2
Fix i18n functionality
git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@21 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
Diffstat (limited to 'src/helloworld.d')
-rwxr-xr-xsrc/helloworld.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helloworld.d b/src/helloworld.d
index db25741..dcb4a37 100755
--- a/src/helloworld.d
+++ b/src/helloworld.d
@@ -7,7 +7,7 @@ import catalog;
void main(char[][] args)
{
// Internationalization Example
- Catalog.Init("i18n","./locale");
+ Catalog.Init(config.PACKAGE, config.PACKAGE_LOCALE_DIR);
writefln(Catalog.GetString("Hello!"));