Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs')
-rw-r--r--main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs
index 8bf16f5fc7..8f0327c28e 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Gettext.cs
@@ -84,6 +84,8 @@ namespace MonoDevelop.Core
// MD is located at $prefix/lib/monodevelop/bin
// adding "../../.." should give us $prefix
string prefix = Path.Combine (Path.Combine (Path.Combine (location, ".."), ".."), "..");
+ if (Platform.IsMac)
+ prefix = Path.Combine (prefix, "..", "MacOS");
//normalise it
prefix = Path.GetFullPath (prefix);
//catalogue is installed to "$prefix/share/locale" by default