v0.6.2b: a couple of translation adjustments

This commit is contained in:
Evan Debenham 2017-11-04 16:17:35 -04:00 committed by Evan Debenham
parent d7cc01c856
commit cb14cbd2e6
6 changed files with 11 additions and 11 deletions

View File

@ -24,7 +24,6 @@ package com.shatteredpixel.shatteredpixeldungeon.actors.buffs;
import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.Badges;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator; import com.shatteredpixel.shatteredpixeldungeon.ui.BuffIndicator;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
@ -100,11 +99,7 @@ public class Venom extends Buff implements Hero.Doom {
Badges.validateDeathFromPoison(); Badges.validateDeathFromPoison();
Dungeon.fail( getClass() ); Dungeon.fail( getClass() );
if (Messages.lang() == Languages.ENGLISH){
GLog.n("You died from venom...");
} else {
GLog.n(Messages.get(Poison.class, "ondeath")); GLog.n(Messages.get(Poison.class, "ondeath"));
} }
}
} }

View File

@ -26,7 +26,6 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor; import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon; import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon;
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
@ -56,8 +55,10 @@ public class StoneOfEnchantment extends InventoryStone {
Enchanting.show( curUser, item ); Enchanting.show( curUser, item );
//FIXME add this to translations //FIXME add this to translations
if (Messages.lang() == Languages.ENGLISH) { if (item instanceof Weapon) {
GLog.w("your %s glows in the dark", item.name()); GLog.p(Messages.get(this, "weapon"));
} else {
GLog.p(Messages.get(this, "armor"));
} }
} }

View File

@ -278,7 +278,7 @@ public class WndSettings extends WndTabbed {
slots.setRect(0, chkFlipTags.bottom() + GAP_TINY, WIDTH, SLIDER_HEIGHT); slots.setRect(0, chkFlipTags.bottom() + GAP_TINY, WIDTH, SLIDER_HEIGHT);
add(slots); add(slots);
CheckBox chkImmersive = new CheckBox( Messages.get(this, "soft_keys") ) { CheckBox chkImmersive = new CheckBox( Messages.get(this, "nav_bar") ) {
@Override @Override
protected void onClick() { protected void onClick() {
super.onClick(); super.onClick();

View File

@ -216,6 +216,8 @@ actors.buffs.toxicimbue.name=Imbued with Toxicity
actors.buffs.toxicimbue.desc=You are imbued with poisonous energy!\n\nAs you move around toxic gas will constantly billow forth from you, damaging your enemies. You are immune to toxic gas and poison for the duration of the effect.\n\nTurns of toxic imbue remaining: %s. actors.buffs.toxicimbue.desc=You are imbued with poisonous energy!\n\nAs you move around toxic gas will constantly billow forth from you, damaging your enemies. You are immune to toxic gas and poison for the duration of the effect.\n\nTurns of toxic imbue remaining: %s.
actors.buffs.venom.name=Venomed actors.buffs.venom.name=Venomed
actors.blobs.venomgas.ondeath=You died from venom...
actors.blobs.venomgas.rankings_desc=Succumbed to Venom
actors.buffs.venom.desc=Venom is a extremely caustic and dangerous poison.\n\nUnlike poison, whose damage lowers over time, venom does increasing damage the longer it stays on a target.\n\nTurns of venom remaining: %1$s.\nCurrent venom damage: %2$d. actors.buffs.venom.desc=Venom is a extremely caustic and dangerous poison.\n\nUnlike poison, whose damage lowers over time, venom does increasing damage the longer it stays on a target.\n\nTurns of venom remaining: %1$s.\nCurrent venom damage: %2$d.
actors.buffs.vertigo.name=Vertigo actors.buffs.vertigo.name=Vertigo

View File

@ -657,6 +657,8 @@ items.stones.inventorystone.ac_use=USE
items.stones.stoneofenchantment.name=Stone of Enchantment items.stones.stoneofenchantment.name=Stone of Enchantment
items.stones.stoneofenchantment.inv_title=Enchant an item items.stones.stoneofenchantment.inv_title=Enchant an item
items.stones.stoneofenchantment.weapon=Your weapon glows in the darkness!
items.stones.stoneofenchantment.armor=Your armor glows in the darkness!
items.stones.stoneofenchantment.desc=This runestone possesses enchanting magic. Unlike a scroll of upgrade, it will not increase the direct power of an item, but will instead imbue a weapon or armor with an enchantment, granting it a new power. items.stones.stoneofenchantment.desc=This runestone possesses enchanting magic. Unlike a scroll of upgrade, it will not increase the direct power of an item, but will instead imbue a weapon or armor with an enchantment, granting it a new power.
items.stones.stoneofintuition.name=Stone of Intuition items.stones.stoneofintuition.name=Stone of Intuition

View File

@ -110,7 +110,7 @@ windows.wndsettings$uitab.center=Center
windows.wndsettings$uitab.flip_toolbar=Flip Toolbar windows.wndsettings$uitab.flip_toolbar=Flip Toolbar
windows.wndsettings$uitab.flip_indicators=Flip Indicators windows.wndsettings$uitab.flip_indicators=Flip Indicators
windows.wndsettings$uitab.quickslots=Quickslots windows.wndsettings$uitab.quickslots=Quickslots
windows.wndsettings$uitab.soft_keys=Hide Software Keys windows.wndsettings$uitab.nav_bar=Hide Navigation Bar
windows.wndsettings$uitab.system_font=System Font windows.wndsettings$uitab.system_font=System Font
windows.wndsettings$audiotab.music_vol=Music Volume windows.wndsettings$audiotab.music_vol=Music Volume
windows.wndsettings$audiotab.music_mute=Mute Music windows.wndsettings$audiotab.music_mute=Mute Music