commit | author | age
|
6e1425
|
1 |
// |
H |
2 |
// LocalizedStringUtil.h |
|
3 |
// WACommonUI |
|
4 |
// |
|
5 |
// Created by hank on 16/5/12. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// 多语言工具类 |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
@interface LocalizedStringUtil : NSObject |
|
12 |
|
|
13 |
/** 通过key获取多语言文本 */ |
|
14 |
+ (NSString *)getLocalizedStringByKey:(NSString *)key value:(NSString *)value; |
|
15 |
|
|
16 |
@end |
|
17 |
|
|
18 |
#define WALocalizedString(key, comment) \ |
|
19 |
[LocalizedStringUtil getLocalizedStringByKey:(key) value:(comment)] |