Skip to content

Commit

Permalink
Translate - Part 7 - Quest
Browse files Browse the repository at this point in the history
Translation of all texts and information concerning the Quests, on
Classes in "\items\quest" package
Remove "Lint.xml" file generated by Eclipse
  • Loading branch information
rodriformiga committed Aug 31, 2014
1 parent 6115f46 commit 4f9c15d
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.project
project.properties
proguard.cfg
lint.xml

# Built application files
*.apk
Expand Down
33 changes: 33 additions & 0 deletions res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -884,4 +884,37 @@
<string name="PotionOfToxicGas_Name">Poção de Gás Tóxico</string>
<string name="PotionOfToxicGas_Info">Abrir ou quebrar esse vidro pressurizado fará com que o seu conteúdo exploda em uma nuvem mortal de gás tóxico verde. Você pode optar por lançar esta poção em inimigos distantes ao invés de abri-lo com a mão.</string>


<!-- PACKAGE /items/quest -->
<!-- STRINGS OF CorpseDust CLASS -->
<string name="CorpseDust_Name">poeira de cadáver</string>
<string name="CorpseDust_Info">Por fora a bola de poeira cadáver não e diferente de uma bola de poeira normal. No entanto, você sabe de alguma forma que é melhor se livrar dela o mais rápido possível.</string>


<!-- STRINGS OF DarkGold CLASS -->
<string name="DarkGold_Name">minério de ouro escuro</string>
<string name="DarkGold_Info">Este metal é chamado de escuro não por causa da sua cor(que é igual à cor normal do ouro), mas porque derrete sob a luz do dia, tornando-se inútil na superfície.</string>


<!-- STRINGS OF DriedRose CLASS -->
<string name="DriedRose_Name">rosa seca</string>
<string name="DriedRose_Info">A rosa secou há muito tempo, mas manteve todas as suas pétalas de alguma forma.</string>


<!-- STRINGS OF DwarfToken CLASS -->
<string name="DwarfToken_Name">token de anão</string>
<string name="DwarfToken_Info">Muitos anões e algumas de suas criações maiores carregam esses pequenos pedaços de metal de propósito desconhecido. Talvez eles sejam jóias ou algum tipo de identificação. Anões são pessoas estranhas.</string>


<!-- STRINGS OF Pickaxe CLASS -->
<string name="Pickaxe_Name">picareta</string>
<string name="Pickaxe_Info">Esta é uma ferramenta grande e resistente para quebrar rochas. Provavelmente isto pode ser usado como uma arma.</string>
<string name="Pickaxe_ACMine">MINERAR</string>
<string name="Pickaxe_NoVein">Não há nenhum veio de ouro escuro perto de você para minerar</string>


<!-- STRINGS OF RatSkull CLASS -->
<string name="RatSkull_Name">crânio de rato gigante</string>
<string name="RatSkull_Info">Poderia ser um bom troféu de caça, mas cheira muito mal para colocá-lo em uma parede.</string>

</resources>
30 changes: 29 additions & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -886,9 +886,37 @@
<string name="PotionOfToxicGas_Info">Uncorking or shattering this pressurized glass will cause its contents to explode into a deadly cloud of toxic green gas. You might choose to fling this potion at distant enemies instead of uncorking it by hand.</string>



<!-- PACKAGE /items/quest -->
<!-- STRINGS OF CorpseDust CLASS -->
<string name="CorpseDust_Name">corpse dust</string>
<string name="CorpseDust_Info">The ball of corpse dust doesn\'t differ outwardly from a regular dust ball. However, you know somehow that it\'s better to get rid of it as soon as possible.</string>


<!-- STRINGS OF DarkGold CLASS -->
<string name="DarkGold_Name">dark gold ore</string>
<string name="DarkGold_Info">This metal is called dark not because of its color (it doesn\'t differ from the normal gold), but because it melts under the daylight, making it useless on the surface.</string>


<!-- STRINGS OF DriedRose CLASS -->
<string name="DriedRose_Name">dried rose</string>
<string name="DriedRose_Info">The rose has dried long ago, but it has kept all its petals somehow.</string>


<!-- STRINGS OF DwarfToken CLASS -->
<string name="DwarfToken_Name">dwarf token</string>
<string name="DwarfToken_Info">Many dwarves and some of their larger creations carry these small pieces of metal of unknown purpose. Maybe they are jewelry or maybe some kind of ID. Dwarves are strange folk.</string>


<!-- STRINGS OF Pickaxe CLASS -->
<string name="Pickaxe_Name">pickaxe</string>
<string name="Pickaxe_Info">This is a large and sturdy tool for breaking rocks. Probably it can be used as a weapon.</string>
<string name="Pickaxe_ACMine">MINE</string>
<string name="Pickaxe_NoVein">There is no dark gold vein near you to mine</string>


<!-- STRINGS OF RatSkull CLASS -->
<string name="RatSkull_Name">giant rat skull</string>
<string name="RatSkull_Info">It could be a nice hunting trophy, but it smells too bad to place it on a wall.</string>



Expand Down
8 changes: 4 additions & 4 deletions src/com/watabou/pixeldungeon/items/quest/CorpseDust.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
*/
package com.watabou.pixeldungeon.items.quest;

import com.watabou.noosa.Game;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.items.Item;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;

public class CorpseDust extends Item {

{
name = "corpse dust";
name = Game.getVar(R.string.CorpseDust_Name);
image = ItemSpriteSheet.DUST;

cursed = true;
Expand All @@ -44,8 +46,6 @@ public boolean isIdentified() {

@Override
public String info() {
return
"The ball of corpse dust doesn't differ outwardly from a regular dust ball. However, " +
"you know somehow that it's better to get rid of it as soon as possible.";
return Game.getVar(R.string.CorpseDust_Info);
}
}
8 changes: 4 additions & 4 deletions src/com/watabou/pixeldungeon/items/quest/DarkGold.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
*/
package com.watabou.pixeldungeon.items.quest;

import com.watabou.noosa.Game;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.items.Item;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;

public class DarkGold extends Item {

{
name = "dark gold ore";
name = Game.getVar(R.string.DarkGold_Name);
image = ItemSpriteSheet.ORE;

stackable = true;
Expand All @@ -42,9 +44,7 @@ public boolean isIdentified() {

@Override
public String info() {
return
"This metal is called dark not because of its color (it doesn't differ from the normal gold), " +
"but because it melts under the daylight, making it useless on the surface.";
return Game.getVar(R.string.DarkGold_Info);
}

@Override
Expand Down
7 changes: 4 additions & 3 deletions src/com/watabou/pixeldungeon/items/quest/DriedRose.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
*/
package com.watabou.pixeldungeon.items.quest;

import com.watabou.noosa.Game;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.items.Item;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;

public class DriedRose extends Item {

{
name = "dried rose";
name = Game.getVar(R.string.DriedRose_Name);
image = ItemSpriteSheet.ROSE;

unique = true;
Expand All @@ -41,7 +43,6 @@ public boolean isIdentified() {

@Override
public String info() {
return
"The rose has dried long ago, but it has kept all its petals somehow.";
return Game.getVar(R.string.DriedRose_Info);
}
}
8 changes: 4 additions & 4 deletions src/com/watabou/pixeldungeon/items/quest/DwarfToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
*/
package com.watabou.pixeldungeon.items.quest;

import com.watabou.noosa.Game;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.items.Item;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;

public class DwarfToken extends Item {

{
name = "dwarf token";
name = Game.getVar(R.string.DwarfToken_Name);
image = ItemSpriteSheet.TOKEN;

stackable = true;
Expand All @@ -42,9 +44,7 @@ public boolean isIdentified() {

@Override
public String info() {
return
"Many dwarves and some of their larger creations carry these small pieces of metal of unknown purpose. " +
"Maybe they are jewelry or maybe some kind of ID. Dwarves are strange folk.";
return Game.getVar(R.string.DwarfToken_Info);
}

@Override
Expand Down
11 changes: 6 additions & 5 deletions src/com/watabou/pixeldungeon/items/quest/Pickaxe.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@

import java.util.ArrayList;

import com.watabou.noosa.Game;
import com.watabou.noosa.audio.Sample;
import com.watabou.pixeldungeon.Assets;
import com.watabou.pixeldungeon.Dungeon;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.actors.Char;
import com.watabou.pixeldungeon.actors.buffs.Hunger;
import com.watabou.pixeldungeon.actors.hero.Hero;
Expand All @@ -41,16 +43,16 @@

public class Pickaxe extends Weapon {

public static final String AC_MINE = "MINE";
public static final String AC_MINE = Game.getVar(R.string.Pickaxe_ACMine);

public static final float TIME_TO_MINE = 2;

private static final String TXT_NO_VEIN = "There is no dark gold vein near you to mine";
private static final String TXT_NO_VEIN = Game.getVar(R.string.Pickaxe_NoVein);

private static final Glowing BLOODY = new Glowing( 0x550000 );

{
name = "pickaxe";
name = Game.getVar(R.string.Pickaxe_Name);
image = ItemSpriteSheet.PICKAXE;

unique = true;
Expand Down Expand Up @@ -171,7 +173,6 @@ public Glowing glowing() {

@Override
public String info() {
return
"This is a large and sturdy tool for breaking rocks. Probably it can be used as a weapon.";
return Game.getVar(R.string.Pickaxe_Info);
}
}
7 changes: 4 additions & 3 deletions src/com/watabou/pixeldungeon/items/quest/RatSkull.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@
*/
package com.watabou.pixeldungeon.items.quest;

import com.watabou.noosa.Game;
import com.watabou.pixeldungeon.R;
import com.watabou.pixeldungeon.items.Item;
import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;

public class RatSkull extends Item {

{
name = "giant rat skull";
name = Game.getVar(R.string.RatSkull_Name);
image = ItemSpriteSheet.SKULL;

unique = true;
Expand All @@ -41,8 +43,7 @@ public boolean isIdentified() {

@Override
public String info() {
return
"It could be a nice hunting trophy, but it smells too bad to place it on a wall.";
return Game.getVar(R.string.RatSkull_Info);
}

@Override
Expand Down

0 comments on commit 4f9c15d

Please sign in to comment.