diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs index 96bf769a7a..b530133bc6 100644 --- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs +++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext/GettextTool.cs @@ -74,7 +74,7 @@ namespace MonoDevelop.Gettext ConsoleProgressMonitor monitor = new ConsoleProgressMonitor (); monitor.IgnoreLogMessages = true; - WorkspaceItem centry = Services.ProjectService.ReadWorkspaceItem (monitor, file); + WorkspaceItem centry = Services.ProjectService.ReadWorkspaceItem (monitor, file).Result; monitor.IgnoreLogMessages = false; Solution solution = centry as Solution; @@ -84,7 +84,7 @@ namespace MonoDevelop.Gettext } if (project != null) { - SolutionEntityItem item = solution.FindProjectByName (project); + SolutionItem item = solution.FindProjectByName (project); if (item == null) { Console.WriteLine ("The project '" + project + "' could not be found in " + file); @@ -98,7 +98,7 @@ namespace MonoDevelop.Gettext tp.UpdateTranslations (monitor); } else { - foreach (TranslationProject p in solution.GetAllSolutionItems <TranslationProject>()) + foreach (TranslationProject p in solution.GetAllItems <TranslationProject>()) p.UpdateTranslations (monitor); } |