Skip to content

Commit

Permalink
Merge pull request NecronomiconCoding#1601 from Oolaruu/patch-7
Browse files Browse the repository at this point in the history
Update Translations.cs
  • Loading branch information
NecronomiconCoding authored Jul 31, 2016
2 parents 802450a + d83ddbb commit a8d9e94
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 a8d9e94

Please sign in to comment.