Diff of /src/hugin1/nona_gui/nona_gui.cpp [6cdbff] .. [d5c5e9]  Maximize  Restore

  Switch to unified view

a/src/hugin1/nona_gui/nona_gui.cpp b/src/hugin1/nona_gui/nona_gui.cpp
...
...
109
    m_locale.Init(wxLANGUAGE_DEFAULT);
109
    m_locale.Init(wxLANGUAGE_DEFAULT);
110
    // add local Paths
110
    // add local Paths
111
    m_locale.AddCatalogLookupPathPrefix(exePath + wxT("/locale"));
111
    m_locale.AddCatalogLookupPathPrefix(exePath + wxT("/locale"));
112
#if defined __WXMSW__
112
#if defined __WXMSW__
113
    m_locale.AddCatalogLookupPathPrefix(wxT("./locale"));
113
    m_locale.AddCatalogLookupPathPrefix(wxT("./locale"));
114
#elif defined __WXMAC__
114
#elif (defined __WXMAC__ && defined HUGIN_OSX_BUNDLED)
115
    // TODO: add localisation init
115
    // TODO: add localisation init
116
#else
116
#else
117
    DEBUG_INFO("add locale path: " << INSTALL_LOCALE_DIR);
117
    DEBUG_INFO("add locale path: " << INSTALL_LOCALE_DIR);
118
    m_locale.AddCatalogLookupPathPrefix(wxT(INSTALL_LOCALE_DIR));
118
    m_locale.AddCatalogLookupPathPrefix(wxT(INSTALL_LOCALE_DIR));
119
#endif
119
#endif

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks