mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
use the _() macro for localisation within base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32173 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8acf2cf573
commit
27550994ee
17 changed files with 45 additions and 60 deletions
|
@ -54,6 +54,11 @@
|
|||
|
||||
#import "GSPrivate.h"
|
||||
|
||||
/* Constants */
|
||||
NSString * const NSBundleDidLoadNotification = @"NSBundleDidLoadNotification";
|
||||
NSString * const NSShowNonLocalizedStrings = @"NSShowNonLocalizedStrings";
|
||||
NSString * const NSLoadedClasses = @"NSLoadedClasses";
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
@ -2102,11 +2107,11 @@ IF_NO_GC(
|
|||
if (tableContent != nil)
|
||||
{
|
||||
NSWarnMLog (@"Localisation file %@ not in portable encoding"
|
||||
@" so I'm using the default encoding for the current"
|
||||
@" system, which may not display messages correctly.\n"
|
||||
@"The file should be ASCII (using \\U escapes for unicode"
|
||||
@" characters) or Unicode (UTF16 or UTF8) with a leading "
|
||||
@"byte-order-marker.\n", tablePath);
|
||||
@" so I'm using the default encoding for the current"
|
||||
@" system, which may not display messages correctly.\n"
|
||||
@"The file should be ASCII (using \\U escapes for unicode"
|
||||
@" characters) or Unicode (UTF16 or UTF8) with a leading "
|
||||
@"byte-order-marker.\n", tablePath);
|
||||
}
|
||||
}
|
||||
if (tableContent == nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue