Lines Matching refs:localized
81 // A C-Funtion that returns a localized string because it has the
84 // An ObjC method that returns a localized string because it has the
92 // An ObjC method that returns a localized string
105 …[testLabel setText:bar]; // expected-warning {{User-facing text should use localized string macro}}
115 … 0) withAttributes:nil]; // expected-warning {{User-facing text should use localized string macro}}
164 …[testLabel setText:@"Hello"]; // expected-warning {{User-facing text should use localized string m…
173 // A method that takes in a localized string and returns a string
174 // most likely that string is localized.
199 // requires a localized string should give an error
203 …[testLabel setText:argumentString]; // expected-warning {{User-facing text should use localized st…
214 …LocalizedStringMethod]]; // expected-warning {{User-facing text should use localized string macro}}
226 // require localized strings
231 [s setToolTip:bar]; // expected-warning {{User-facing text should use localized string macro}}
237 …l:@"UnlocalizedString"]; // expected-warning {{User-facing text should use localized string macro}}
287 NSString *localized = NSLocalizedString(@"Hello", @"World");
288 NSString *alsoLocalized = [LocalizationTestSuite takesLocalizedString:localized]; // no-warning
292 …ionTestSuite takesLocalizedString:@"not localized"]; // expected-warning {{User-facing text should…
293 …takesLocalizedString(@"not localized"); // expected-warning {{User-facing text should use localize…