r22823 - gnucash/branches/2.4/src/gnome-utils - [r22822]Mac: Adjust document path for new location
John Ralls
jralls at code.gnucash.org
Sat Mar 2 20:52:27 EST 2013
Author: jralls
Date: 2013-03-02 20:52:26 -0500 (Sat, 02 Mar 2013)
New Revision: 22823
Trac: http://svn.gnucash.org/trac/changeset/22823
Modified:
gnucash/branches/2.4/src/gnome-utils/gnc-gnome-utils.c
Log:
[r22822]Mac: Adjust document path for new location
Modified: gnucash/branches/2.4/src/gnome-utils/gnc-gnome-utils.c
===================================================================
--- gnucash/branches/2.4/src/gnome-utils/gnc-gnome-utils.c 2013-03-03 01:50:57 UTC (rev 22822)
+++ gnucash/branches/2.4/src/gnome-utils/gnc-gnome-utils.c 2013-03-03 01:52:26 UTC (rev 22823)
@@ -337,7 +337,7 @@
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *subdir = [NSString stringWithUTF8String: dir];
- NSString *tag;
+NSString *tag, *subdirectory;
NSURL *url = NULL;
if (detail)
@@ -361,7 +361,7 @@
* add some more pieces, and put it all back together again. Then,
* because the gettext way of handling localizations is different from
* OSX's, we have to figure out which translation to use. */
-NSArray *components = [NSArray arrayWithObjects: @"share", @"gnome", @"help", @"gnucash", nil ];
+NSArray *components = [NSArray arrayWithObjects: @"share", @"doc", @"gnucash-docs", nil ];
NSString *prefix = [[[NSBundle mainBundle] resourcePath]
stringByDeletingLastPathComponent];
NSArray *prefix_comps = [[prefix pathComponents]
@@ -376,8 +376,8 @@
{
const gchar *message =
_("GnuCash could not find the files for the help documentation. "
- "This is likely because the 'gnucash-docs' package is not installed.");
- gnc_error_dialog(NULL, "%s", message);
+ "This is likely because the 'gnucash-docs' package is not installed");
+ gnc_error_dialog(NULL, "%s at %s", message, [docs_dir UTF8String]);
[pool release];
return;
}
More information about the gnucash-changes
mailing list