Skip to content

Commit 4eebd27

Browse files
committed
added new test cases
1 parent 1a5e891 commit 4eebd27

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Test/Resources/CustomPrefix.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
[textView_doneMessage setString:AILocalizedString(@"Adium is now ready for you. \n\nThe Status indicator at the top of your Contact List and in the Status menu lets you determine whether others see you as Available or Away or, alternately, if you are Offline. Select Custom to type your own status message.\n\nDouble-click a name in your Contact List to begin a conversation. You can add contacts to your Contact List via the Contact menu.\n\nWant to customize your Adium experience? Check out the Adium Preferences and Xtras Manager via the Adium menu.\n\nEnjoy! Click Done to begin using Adium.", nil)],
3+
14
/* Tests that the same elements are picked up if -s is used */
25

36
NSLocalizedStringFromTable(@"key", @"NSTable", @"Standard Prefix");

Test/Resources/Unicode.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ NSLocalizedString(@"\u5404\u500b\u90fd", nil)
66
// CFSTR + Unicode
77

88
CFCopyLocalizedString(CFSTR("AB\\U0043D"), "Comment")
9+
10+
11+
CFCopyLocalizedString(CFSTR("AB\n\\U0043D\t"), "combined unicode and slash escapes")
12+
13+
14+
// single slash \u are decoded on reading, double slash \\u are decoded on writing with -u option
15+
16+
CFCopyLocalizedString(CFSTR("\\U0043 \u0043"), "mixed single and double slash")

0 commit comments

Comments
 (0)