mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37: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
|
@ -41,9 +41,9 @@ namespace Greenshot.Configuration {
|
|||
uniqueInstance.Load();
|
||||
CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
if (string.IsNullOrEmpty(conf.Language)) {
|
||||
uniqueInstance.SynchronizeLanguageToCulture();
|
||||
LanguageContainer.SynchronizeLanguageToCulture();
|
||||
} else {
|
||||
uniqueInstance.SetLanguage(conf.Language);
|
||||
LanguageContainer.SetGlobalLanguage(conf.Language);
|
||||
}
|
||||
if (freeResources) {
|
||||
uniqueInstance.FreeResources();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue