mirror of
https://github.com/greenshot/greenshot
synced 2025-08-13 18:27:03 -07:00
Fixed language synchronizing over Greenshot and the plugins
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1741 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
ee950872e9
commit
59f9922670
16 changed files with 116 additions and 102 deletions
|
@ -32,12 +32,9 @@ namespace GreenshotConfluencePlugin {
|
|||
|
||||
public static ILanguage GetInstance() {
|
||||
if(uniqueInstance == null) {
|
||||
uniqueInstance = new LanguageContainer();
|
||||
uniqueInstance.LanguageFilePattern = LANGUAGE_FILENAME_PATTERN;
|
||||
uniqueInstance.Load();
|
||||
uniqueInstance.SetLanguage(Thread.CurrentThread.CurrentUICulture.Name);
|
||||
uniqueInstance = new LanguageContainer(LANGUAGE_FILENAME_PATTERN);
|
||||
}
|
||||
return uniqueInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue