Fixed error with IETF and refactored the confluence plugin to use the right language code.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1790 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-18 08:56:37 +00:00
parent a0c09b7d6a
commit 4e8f6b0b26
5 changed files with 87 additions and 69 deletions

View file

@ -32,8 +32,8 @@ namespace TranslationByMarkupExtension {
/// See <see cref="ITranslationProvider.Translate" />
/// </summary>
public object Translate(string key) {
if (Language.hasKey(key)) {
return Language.GetString(key);
if (Language.hasKey("confluence", key)) {
return Language.GetString("confluence", key);
}
return key;
}