From 925d2f5eb92b7a78713c3ae85027b32ddacca2e7 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 11 Jul 2016 00:46:27 -0400 Subject: [PATCH] v0.4.1: removed a couple shopping messages for easier i18n --- .../shatteredpixeldungeon/messages/windows/windows.properties | 3 --- .../shatteredpixeldungeon/windows/WndTradeItem.java | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows.properties b/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows.properties index 959c36a8f..e8e62ed38 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows.properties +++ b/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows.properties @@ -116,9 +116,6 @@ windows.wndtradeitem.sell=Sell for %dg windows.wndtradeitem.sell_1=Sell 1 for %dg windows.wndtradeitem.sell_all=Sell all for %dg windows.wndtradeitem.cancel=Never mind -windows.wndtradeitem.sold=You've sold your %1$s for %2$dg -windows.wndtradeitem.bought=You've bought %1$s for %2$dg -windows.wndtradeitem.stole=You've stolen the %s windows.wndwandmaker.dust=Oh, I see you have the dust! Don't worry about the wraiths, I can deal with them. As I promised, you can choose one of my high quality wands. windows.wndwandmaker.ember=Oh, I see you have the embers! I do hope the fire elemental wasn't too much trouble. As I promised, you can choose one of my high quality wands. diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndTradeItem.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndTradeItem.java index a1376cc65..47f0af839 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndTradeItem.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndTradeItem.java @@ -145,7 +145,6 @@ public class WndTradeItem extends Window { if(thievery.steal(price)){ Hero hero = Dungeon.hero; Item item = heap.pickUp(); - GLog.i( Messages.get(WndTradeItem.class, "stole", item.name()) ); hide(); if (!item.doPickUp( hero )) { @@ -248,7 +247,6 @@ public class WndTradeItem extends Window { int price = item.price(); new Gold( price ).doPickUp( hero ); - GLog.i( Messages.get(this, "sold"), item.name(), price ); } } @@ -265,8 +263,6 @@ public class WndTradeItem extends Window { int price = price( item ); Dungeon.gold -= price; - GLog.i( Messages.get(this, "bought"), item.name(), price ); - if (!item.doPickUp( hero )) { Dungeon.level.drop( item, heap.pos ).sprite.drop(); }