current widget name displayed on current profile label
This commit is contained in:
1 parent
97d17f505b
commit
6be5aa6507
3 files changed
+42
-2
No files matched your search
@@ -93,6 +93,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
" Profile: %@ Widget: %@" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : " 当前布局: %@ 当前组件: %@"
|
||||
}
|
||||
},
|
||||
"zh-Hant" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : " 当前布局: %@ 当前组件: %@"
|
||||
}
|
||||
},
|
||||
"zh-HK" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : " 当前布局: %@ 当前组件: %@"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
" Wake-on-LAN" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
|
||||
@@ -13,8 +13,10 @@
|
||||
+ (NSString *)localizedStringForKey:(NSString *)key, ... {
|
||||
va_list args;
|
||||
va_start(args, key);
|
||||
|
||||
NSString *format = NSLocalizedStringFromTable(key, @"Localizable", nil);
|
||||
NSString *result = [[NSString alloc] initWithFormat:format arguments:args];
|
||||
|
||||
va_end(args);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user