From 1a033dac57e675350b83d5280d253a6bf5b5ca4f Mon Sep 17 00:00:00 2001 From: lilj Date: Thu, 29 May 2014 17:36:33 +0800 Subject: [PATCH 01/24] Update localization.js Add some missing localization items. --- script/localization.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/localization.js b/script/localization.js index 2b98c52..d13e2c5 100644 --- a/script/localization.js +++ b/script/localization.js @@ -2,12 +2,12 @@ //only used for poedit to find translatable strings var keywords = [ _('saved.'), _('wood'),_('builder'),_('teeth'),_('meat'),_('fur'), _('alien alloy'), _('bullets'), _('charm'),_('leather'),_('iron'), _('steel'), _('coal'), _('enegy cell'), - _('torch'),_('medicine'),_('hunter'),_('trapper'),_('tanner'), + _('torch'),_('medicine'),_('hunter'),_('trapper'),_('tanner'), _('grenade'), _('bolas'), _("charcutier"),_('iron miner'),_('coal miner'), _('sulphur miner'), _('armourer'), _('steelworker'),_('bait'),_('cured meat'), _('scales'), _('compass'), _('laser rifle'), _('gatherer'),_('cloth'), _('scales'), _('cured meat'), _('thieves'), _('not enough fur'), _('not enough wood'), _('not enough coal'), _('not enough iron'), _('not enough steel'), _('baited trap'), - _('not enough scales'), _('not enough teeth'), _('not enough leather'), + _('not enough scales'),_('not enough clouth'), _('not enough teeth'), _('not enough leather'), _('the compass points east.'), _('the compass points west.'), _('the compass points north.'), _('the compass points south.'), _('the compass points northeast.'), _('the compass points northwest.'), _('the compass points southeast.'), _('the compass points southwest.')]; delete keywords; @@ -24,4 +24,4 @@ div#lootButtons:before { content: \''+ _("take:") + '\'}\ div#village:before{ content: \''+_('forest')+'\'}\ ').appendTo($('head')); -})(); \ No newline at end of file +})(); From 88fe373ea6581e57445d78fbbd0e3aeb553330d5 Mon Sep 17 00:00:00 2001 From: lilj Date: Thu, 29 May 2014 17:41:18 +0800 Subject: [PATCH 02/24] Create langs.js Langs config --- lang/langs.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 lang/langs.js diff --git a/lang/langs.js b/lang/langs.js new file mode 100644 index 0000000..d9db3e1 --- /dev/null +++ b/lang/langs.js @@ -0,0 +1,4 @@ +var langs = { + 'en':'English', + 'fr':'français' +} From 99d949906a0c38bc7362b5cb17cf65883640eb20 Mon Sep 17 00:00:00 2001 From: lilj Date: Thu, 29 May 2014 17:43:14 +0800 Subject: [PATCH 03/24] Update index.html Load langs config. --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 1c315c8..53ffaf9 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,8 @@ + +