mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Merge pull request #142 from burunduk/new-string
Add new strings to localization
This commit is contained in:
+4
-4
@@ -341,7 +341,7 @@ var Events = {
|
||||
var msg = "";
|
||||
if(typeof dmg == 'number') {
|
||||
if(dmg < 0) {
|
||||
msg = 'miss';
|
||||
msg = _('miss');
|
||||
dmg = 0;
|
||||
} else {
|
||||
msg = '-' + dmg;
|
||||
@@ -354,7 +354,7 @@ var Events = {
|
||||
}
|
||||
} else {
|
||||
if(dmg == 'stun') {
|
||||
msg = 'stunned';
|
||||
msg = _('stunned');
|
||||
enemy.data('stunned', true);
|
||||
setTimeout(function() {
|
||||
enemy.data('stunned', false);
|
||||
@@ -386,7 +386,7 @@ var Events = {
|
||||
var msg = "";
|
||||
if(typeof dmg == 'number') {
|
||||
if(dmg < 0) {
|
||||
msg = 'miss';
|
||||
msg = _('miss');
|
||||
dmg = 0;
|
||||
} else {
|
||||
msg = '-' + dmg;
|
||||
@@ -399,7 +399,7 @@ var Events = {
|
||||
}
|
||||
} else {
|
||||
if(dmg == 'stun') {
|
||||
msg = 'stunned';
|
||||
msg = _('stunned');
|
||||
enemy.data('stunned', true);
|
||||
setTimeout(function() {
|
||||
enemy.data('stunned', false);
|
||||
|
||||
+17
-11
@@ -14,7 +14,8 @@
|
||||
_('iron'),
|
||||
_('steel'),
|
||||
_('coal'),
|
||||
_('enegy cell'),
|
||||
_('sulphur'),
|
||||
_('energy cell'),
|
||||
_('torch'),
|
||||
_('medicine'),
|
||||
_('hunter'),
|
||||
@@ -24,8 +25,12 @@
|
||||
_('bolas'),
|
||||
_("charcutier"),
|
||||
_('iron miner'),
|
||||
_('iron mine'),
|
||||
_('coal miner'),
|
||||
_('sulphur miner'), _('armourer'),
|
||||
_('coal mine'),
|
||||
_('sulphur miner'),
|
||||
_('sulphur mine'),
|
||||
_('armourer'),
|
||||
_('steelworker'),
|
||||
_('bait'),
|
||||
_('cured meat'),
|
||||
@@ -44,16 +49,17 @@
|
||||
_('not enough steel'),
|
||||
_('baited trap'),
|
||||
_('not enough scales'),
|
||||
_('not enough cloth'), _('not enough teeth'),
|
||||
_('not enough cloth'),
|
||||
_('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.')
|
||||
_('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;
|
||||
|
||||
Reference in New Issue
Block a user