]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct wxTranslations docs: CWD is not searched.
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 13:42:02 +0000 (13:42 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 13:42:02 +0000 (13:42 +0000)
The documentation incorrectly stated that the current working directory
is searched for translations.  This isn't the case (and wouldn't be a
good thing to do).

See #12498.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/translation.h

index 791cb757a9658713dc15407a92c5d4501c4ec028..8ef763a50cf70baee16729c1830de3df9aa48f2d 100644 (file)
@@ -337,9 +337,10 @@ public:
     This is the default unless you change the loader with
     wxTranslations::SetLoader().
 
-    Catalogs are searched for in standard places (current directory first, then
-    the system one), but you may also prepend additional directories to the
-    search path with AddCatalogLookupPathPrefix().
+    Catalogs are searched for in standard places (system locales directory,
+    `LC_PATH` on Unix systems, Resources folder on OS X, executable's directory
+    on Windows), but you may also prepend additional directories to the search
+    path with AddCatalogLookupPathPrefix().
 
     @since 2.9.1
  */