Skip to content

Commit

Permalink
Update Translations.cs
Browse files Browse the repository at this point in the history
Added keys:
	NoEggsAvailable
	UseLuckyEggActive
	NoIncenseAvailable
	UseIncenseActive
	AmountPkmSeenCaught
	PkmPotentialEvolveCount
	PkmNotEnoughRessources
  • Loading branch information
Oolaruu authored Jul 31, 2016
1 parent c3d34e8 commit d83ddbb
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions PoGo.NecroBot.Logic/Common/Translations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ public enum TranslationString
DisplayHighestMove1Header,
DisplayHighestMove2Header,
DisplayHighestCandy,
IPBannedError
IPBannedError,
NoEggsAvailable,
UseLuckyEggActive,
NoIncenseAvailable,
UseIncenseActive,
AmountPkmSeenCaught,
PkmPotentialEvolveCount,
PkmNotEnoughRessources
}

public class Translation : ITranslation
Expand Down Expand Up @@ -326,7 +333,18 @@ public class Translation : ITranslation
new KeyValuePair<TranslationString, string>(TranslationString.DisplayHighestMove1Header, "MOVE1"),
new KeyValuePair<TranslationString, string>(TranslationString.DisplayHighestMove2Header, "MOVE2"),
new KeyValuePair<TranslationString, string>(TranslationString.DisplayHighestCandy, "Candy"),
new KeyValuePair<TranslationString, string>(TranslationString.IPBannedError, "Connection refused. Your IP might have been Blacklisted by Niantic. Exiting..")
new KeyValuePair<TranslationString, string>(TranslationString.IPBannedError,
"Connection refused. Your IP might have been Blacklisted by Niantic. Exiting.."),
new KeyValuePair<TranslationString, string>(TranslationString.NoEggsAvailable, "No Eggs Available"),
new KeyValuePair<TranslationString, string>(TranslationString.UseLuckyEggActive, "Lucky Egg Already Active"),
new KeyValuePair<TranslationString, string>(TranslationString.NoIncenseAvailable, "No Incense Available"),
new KeyValuePair<TranslationString, string>(TranslationString.UseIncenseActive, "Incense Already Active"),
new KeyValuePair<TranslationString, string>(TranslationString.AmountPkmSeenCaught,
"Amount of Pokemon Seen:{}:151, Amount of Pokemon Caught:{}:151"),
new KeyValuePair<TranslationString, string>(TranslationString.PkmPotentialEvolveCount,
"[Evolves] Potential Evolves: {}"),
new KeyValuePair<TranslationString, string>(TranslationString.PkmNotEnoughRessources,
"Pokemon Upgrade Failed Not Enough Resources")
};

public string GetTranslation(TranslationString translationString, params object[] data)
Expand Down Expand Up @@ -387,4 +405,4 @@ public void Save(string fullPath)
File.WriteAllText(fullPath, output);
}
}
}
}

0 comments on commit d83ddbb

Please sign in to comment.