Update issue #492
Status: Fixed Now applies selected locale to the worker thread, causing the error messages to be in the selected language as well. git-svn-id: https://duplicati.googlecode.com/svn/trunk@959 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
@@ -125,6 +125,14 @@ namespace Duplicati.GUI
|
||||
m_state = paused ? WorkerThread<Tx>.RunState.Paused : WorkerThread<Tx>.RunState.Run;
|
||||
|
||||
m_thread = new Thread(new ThreadStart(Runner));
|
||||
try
|
||||
{
|
||||
//The worker is using the same locale as the caller
|
||||
m_thread.CurrentCulture = System.Threading.Thread.CurrentThread.CurrentCulture;
|
||||
m_thread.CurrentUICulture = System.Threading.Thread.CurrentThread.CurrentUICulture;
|
||||
}
|
||||
catch { }
|
||||
|
||||
m_thread.IsBackground = true;
|
||||
m_thread.Start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user