diff options
Diffstat (limited to 'UICaboodle/UCLocalize.h')
-rw-r--r-- | UICaboodle/UCLocalize.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/UICaboodle/UCLocalize.h b/UICaboodle/UCLocalize.h deleted file mode 100644 index ba66655..0000000 --- a/UICaboodle/UCLocalize.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef UICABOODLE_UCLOCALIZE_H -#define UICABOODLE_UCLOCALIZE_H - -#import <Foundation/Foundation.h> - -static inline NSString *UCLocalizeEx(NSString *key, NSString *value = nil) { - return [[NSBundle mainBundle] localizedStringForKey:key value:value table:nil]; -} - -#define UCLocalize(key) UCLocalizeEx(@ key) - -#endif/*UICABOODLE_UCLOCALIZE_H*/ |