mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
prep for release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36208 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
75661de25e
commit
7ca6e56d39
21 changed files with 178 additions and 93 deletions
|
@ -326,24 +326,17 @@ GS_EXPORT NSString* const NSLoadedClasses;
|
|||
#endif
|
||||
|
||||
/**
|
||||
<p>Returns the value for the key found in the strings file tableName, or
|
||||
Localizable.strings if tableName is nil.</p>
|
||||
|
||||
<p>If the user default <code>NSShowNonLocalizedStrings</code> is set, the
|
||||
value of the key will be returned as an uppercase string rather than any
|
||||
localized equivalent found. This can be useful during development to check
|
||||
where a given string in the UI is "coming from".</p>
|
||||
* <p>Returns the value for the key found in the strings file tableName, or
|
||||
* Localizable.strings if tableName is nil.
|
||||
* </p>
|
||||
* <p>If the user default <code>NSShowNonLocalizedStrings</code> is set, the
|
||||
* value of the key will be returned as an uppercase string rather than any
|
||||
* localized equivalent found. This can be useful during development to check
|
||||
* where a given string in the UI is "coming from".</p>
|
||||
*/
|
||||
#ifdef __clang__
|
||||
- (NSString*) localizedStringForKey: (NSString*)key
|
||||
value: (NSString*)value
|
||||
table: (NSString*)tableName
|
||||
__attribute__((format_arg(1)));
|
||||
#else
|
||||
- (NSString*) localizedStringForKey: (NSString*)key
|
||||
value: (NSString*)value
|
||||
table: (NSString*)tableName;
|
||||
#endif
|
||||
|
||||
/** Returns the absolute path to the resources directory of the bundle. */
|
||||
- (NSString*) resourcePath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue