2c777132fd
pointed out by david@ some time ago regen patches while here. no bump needed.
20 lines
875 B
Plaintext
20 lines
875 B
Plaintext
$OpenBSD: patch-common_edaappl_cpp,v 1.2 2007/04/16 14:13:14 steven Exp $
|
|
--- common/edaappl.cpp.orig Mon Apr 16 17:05:39 2007
|
|
+++ common/edaappl.cpp Mon Apr 16 17:05:48 2007
|
|
@@ -359,13 +359,13 @@ bool WinEDA_App::SetLanguage(bool first_time)
|
|
*/
|
|
{
|
|
wxString DictionaryName( wxT("kicad")); // dictionary file name without extend (full name is kicad.mo)
|
|
-wxString BaseDictionaryPath( wxT("internat")); // Real path is kicad/internat/xx_XX or kicad/internat/xx
|
|
+wxString BaseDictionaryPath( wxT("!!LOCALBASE!!/share/locale")); // Real path is kicad/internat/xx_XX or kicad/internat/xx
|
|
wxString dic_path;
|
|
|
|
if ( m_Locale != NULL ) delete m_Locale;
|
|
m_Locale = new wxLocale();
|
|
m_Locale->Init(m_LanguageId);
|
|
- dic_path = ReturnKicadDatasPath() + BaseDictionaryPath;
|
|
+ dic_path = BaseDictionaryPath;
|
|
m_Locale->AddCatalogLookupPathPrefix(dic_path);
|
|
|
|
if ( ! first_time )
|