]> git.saurik.com Git - cydia.git/blob - UICaboodle/UCLocalize.h
chpwn got the "blink only for essential packages" logic backwards, and claims to...
[cydia.git] / UICaboodle / UCLocalize.h
1 #ifndef UICABOODLE_UCLOCALIZE_H
2 #define UICABOODLE_UCLOCALIZE_H
3
4 #import <Foundation/Foundation.h>
5
6 static inline NSString *UCLocalizeEx(NSString *key, NSString *value = nil) {
7 return [[NSBundle mainBundle] localizedStringForKey:key value:value table:nil];
8 }
9
10 #define UCLocalize(key) UCLocalizeEx(@ key)
11
12 #endif/*UICABOODLE_UCLOCALIZE_H*/