]> git.saurik.com Git - cydia.git/blame - UICaboodle/UCLocalize.h
say thank you, comex :P. animation for editing bar button item for sections.
[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*/