xmlcopyeditor (1.2.0.6-1) translations.patch

Summary

 src/xmlcopyeditor.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

    
download this patch

Patch contents

--- xmlcopyeditor-1.2.0.6.orig/src/xmlcopyeditor.cpp
+++ xmlcopyeditor-1.2.0.6/src/xmlcopyeditor.cpp
@@ -288,8 +288,7 @@
 	}
 
 	myLocale.Init ( lang, wxLOCALE_LOAD_DEFAULT );
-	wxLocale::AddCatalogLookupPathPrefix ( wxT ( "." ) );
-	wxLocale::AddCatalogLookupPathPrefix ( wxT ( ".." ) );
+	wxLocale::AddCatalogLookupPathPrefix ( wxT ( "/usr/share/xmlcopyeditor/po" ) );
 
 #ifndef __WXMSW__
 	wxString poDir = GetLinuxAppDir::run() + wxFileName::GetPathSeparator() + _T ( "po" ) + wxFileName::GetPathSeparator();