]> git.saurik.com Git - cydia.git/blame - UICaboodle/UCLocalize.h
Add back a documentation warning from the old BrowserView.
[cydia.git] / UICaboodle / UCLocalize.h
CommitLineData
61b13cae
JF
1#ifndef UICABOODLE_UCLOCALIZE_H
2#define UICABOODLE_UCLOCALIZE_H
3
4#import <Foundation/Foundation.h>
5
6static 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*/