mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-25 05:42:30 +08:00
Fixed whitespace conformity in localization.js
This commit is contained in:
+64
-20
@@ -1,27 +1,71 @@
|
|||||||
(function(){
|
(function(){
|
||||||
//only used for poedit to find translatable strings
|
//only used for poedit to find translatable strings
|
||||||
var keywords = [ _('saved.'), _('wood'),_('builder'),_('teeth'),_('meat'),_('fur'), _('alien alloy'), _('bullets'),
|
var keywords = [
|
||||||
_('charm'),_('leather'),_('iron'), _('steel'), _('coal'), _('enegy cell'),
|
_('saved.'),
|
||||||
_('torch'),_('medicine'),_('hunter'),_('trapper'),_('tanner'),
|
_('wood'),
|
||||||
_("charcutier"),_('iron miner'),_('coal miner'), _('sulphur miner'), _('armourer'),
|
_('builder'),
|
||||||
_('steelworker'),_('bait'),_('cured meat'), _('scales'), _('compass'), _('laser rifle'),
|
_('teeth'),
|
||||||
_('gatherer'),_('cloth'), _('scales'), _('cured meat'), _('thieves'),
|
_('meat'),
|
||||||
_('not enough fur'), _('not enough wood'), _('not enough coal'), _('not enough iron'), _('not enough steel'), _('baited trap'),
|
_('fur'),
|
||||||
_('not enough scales'), _('not enough teeth'), _('not enough leather'),
|
_('alien alloy'),
|
||||||
_('the compass points east.'), _('the compass points west.'), _('the compass points north.'), _('the compass points south.'),
|
_('bullets'),
|
||||||
_('the compass points northeast.'), _('the compass points northwest.'), _('the compass points southeast.'), _('the compass points southwest.')];
|
_('charm'),
|
||||||
|
_('leather'),
|
||||||
|
_('iron'),
|
||||||
|
_('steel'),
|
||||||
|
_('coal'),
|
||||||
|
_('enegy cell'),
|
||||||
|
_('torch'),
|
||||||
|
_('medicine'),
|
||||||
|
_('hunter'),
|
||||||
|
_('trapper'),
|
||||||
|
_('tanner'),
|
||||||
|
_("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'),
|
||||||
|
_('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;
|
delete keywords;
|
||||||
|
|
||||||
//translate text in css by overriding attributes
|
//translate text in css by overriding attributes
|
||||||
$("<style>").text('\
|
$("<style>").text('\
|
||||||
div#stores:before{ content: \''+ _("stores") + '\'}\
|
div#stores:before{ content: \''+ _("stores") + '\'}\
|
||||||
div#weapons:before{ content: \''+ _("weapons") + '\'}\
|
div#weapons:before{ content: \''+ _("weapons") + '\'}\
|
||||||
div#buildBtns:before{ content: \''+ _("build:") + '\'}\
|
div#buildBtns:before{ content: \''+ _("build:") + '\'}\
|
||||||
div#craftBtns:before{ content: \''+ _("craft:") + '\'}\
|
div#craftBtns:before{ content: \''+ _("craft:") + '\'}\
|
||||||
div#buyBtns:before{ content: \''+ _("buy:") + '\'}\
|
div#buyBtns:before{ content: \''+ _("buy:") + '\'}\
|
||||||
div#outfitting:before{ content: \''+ _("supplies:") + '\'}\
|
div#outfitting:before{ content: \''+ _("supplies:") + '\'}\
|
||||||
div#perks:before{ content: \''+ _("perks:") + '\'}\
|
div#perks:before{ content: \''+ _("perks:") + '\'}\
|
||||||
div#lootButtons:before { content: \''+ _("take:") + '\'}\
|
div#lootButtons:before { content: \''+ _("take:") + '\'}\
|
||||||
div#village:before{ content: \''+_('forest')+'\'}\
|
div#village:before{ content: \''+_('forest')+'\'}\
|
||||||
').appendTo($('head'));
|
').appendTo($('head'));
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in New Issue
Block a user