mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 17:13:44 -07:00
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:
parent
a0c09b7d6a
commit
4e8f6b0b26
5 changed files with 87 additions and 69 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue