]> git.saurik.com Git - cydia.git/blob - UICaboodle/UCLocalize.h
SpringBoard gets away with a completely fake status bar; Cydia can get away with...
[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*/