Commit 582405ff authored by Pedro Castro's avatar Pedro Castro

Fix #91 Some strings are displayed untranslated

Some strings are displayed in their untranslated form: Start, End,
Duration, Text Translation
parent 43fa2013
......@@ -274,6 +274,9 @@ public class Base {
executionContext = newExecutionContext;
executionContext.InitApplication();
Catalog.Init(ExecutionContext.TranslationDomain, ExecutionContext.LocaleDir);
/* Initialize Command manager */
commandManager = new CommandManager();
......@@ -293,7 +296,6 @@ public class Base {
/* Initialize the GUI */
ui = new MainUi(handlers);
clipboards.WatchPrimaryChanges = true;
Catalog.Init(ExecutionContext.TranslationDomain, ExecutionContext.LocaleDir);
EmitInitFinishedEvent();
}
......
......@@ -46,6 +46,7 @@ public class ExecutionContext {
private void SetDynamicVariables () {
this.localeDir = System.AppDomain.CurrentDomain.BaseDirectory + "../../share/locale";
//this.localeDir = "/usr/share/locale"; //for testing
/* Handle platform */
switch (Environment.OSVersion.Platform) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment