xamarin-macios/tests/monotouch-test/Resources
Sebastien Pouliot f5df902049
[foundation] Add NSBundle.GetLocalizedString returning an NSString. Fixes #41292 (#3266)
The original, now obsoleted, `LocalizedString` API returned a .net
`string` which does not work in most cases.

Different versions of iOS seems to return different (public or internal)
subclasses of `NSString` that are understood by other API (like NSString
`localizedStringWithFormat:`) for further customization.

Our logic to convert NSString to string is correct but it cannot
recreate the custom, required subclass to continue the localization.

So the new API return an `NSString` publicly (which is actually a
subclass) that can do the required job.

Adding a test in monotouch-test is presently blocked by #3265 [2]

[1] https://bugzilla.xamarin.com/show_bug.cgi?id=41292
[2] https://github.com/xamarin/xamarin-macios/issues/3265

* Add tests for new (and old) NSBundle API and adjust old ones since adding a Base.lproj directories changes things

* Add localization to xammac_tests since it shares the same, updated tests
2018-01-20 14:00:01 -05:00
..
Base.lproj [foundation] Add NSBundle.GetLocalizedString returning an NSString. Fixes #41292 (#3266) 2018-01-20 14:00:01 -05:00
xamarin0.png [tests] Import 2016-05-26 15:06:52 +02:00
xamarin1.png [tests] Import 2016-05-26 15:06:52 +02:00
xamarin2.png [tests] Import 2016-05-26 15:06:52 +02:00