blob: 2775a4f673853f866737b1c2c87b4246b87a2ce5 [file] [log] [blame] [edit]
diff -aruN a/CFBundle_Resources.c b/CFBundle_Resources.c
--- a/CFBundle_Resources.c 2018-02-23 11:18:07.687746791 -0800
+++ b/CFBundle_Resources.c 2018-02-23 11:18:16.813307627 -0800
@@ -792,7 +792,6 @@
result = (CFStringRef)CFDictionaryGetValue(stringTable, key);
if (!result) {
- static int capitalize = -1;
if (!value) {
result = (CFStringRef)CFRetain(key);
} else if (CFEqual(value, CFSTR(""))) {
@@ -800,15 +799,7 @@
} else {
result = (CFStringRef)CFRetain(value);
}
- if (capitalize != 0) {
- if (capitalize != 0) {
- CFMutableStringRef capitalizedResult = CFStringCreateMutableCopy(CFGetAllocator(bundle), 0, result);
- CFLog(__kCFLogBundle, CFSTR("Localizable string \"%@\" not found in strings table \"%@\" of bundle %@."), key, tableName, bundle);
- CFStringUppercase(capitalizedResult, NULL);
- CFRelease(result);
- result = capitalizedResult;
- }
- }
+ CFLog(__kCFLogBundle, CFSTR("Localizable string \"%@\" not found in strings table \"%@\" of bundle %@."), key, tableName, bundle);
} else {
CFRetain(result);
}