OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../wxwidgets24/locale.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Naur wxPythonSrc-2.4.2.4_orig/src/common/intl.cpp wxPythonSrc-2.4.2.4/src/common/intl.cpp
  17. --- wxPythonSrc-2.4.2.4_orig/src/common/intl.cpp 2003-09-22 21:09:45.000000000 +0200
  18. +++ wxPythonSrc-2.4.2.4/src/common/intl.cpp 2005-03-31 17:50:13.032652824 +0200
  19. @@ -274,7 +274,7 @@
  20. // search first in prefix/fr/LC_MESSAGES, then in prefix/fr and finally in
  21. // prefix (assuming the language is 'fr')
  22. searchPath << prefix << wxFILE_SEP_PATH << lang << wxFILE_SEP_PATH
  23. - << wxT("LC_MESSAGES") << wxPATH_SEP
  24. + << wxT("LC_MESSAGES/wx24") << wxPATH_SEP
  25. << prefix << wxFILE_SEP_PATH << lang << wxPATH_SEP
  26. << prefix << wxPATH_SEP;
  27. @@ -303,8 +303,8 @@
  28. #ifdef __UNIX__
  29. // add some standard ones and the one in the tree where wxWin was installed:
  30. searchPath
  31. - << GetAllMsgCatalogSubdirs(wxString(wxGetInstallPrefix()) + wxT("/share/locale"), lang)
  32. - << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale"), lang)
  33. + << GetAllMsgCatalogSubdirs(wxString(wxGetInstallPrefix()) + wxT("/share/locale/wx24"), lang)
  34. + << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale/wx24"), lang)
  35. << GetAllMsgCatalogSubdirs(wxT("/usr/lib/locale"), lang)
  36. << GetAllMsgCatalogSubdirs(wxT("/usr/local/share/locale"), lang);
  37. #endif // __UNIX__