-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add localized accessibility strings to React Core pod (#27995)
Summary: The accessibility roles and states description strings are not able to be localized on iOS platform. Those strings are exposed to the end users so it should be localized. This PR is to add localized strings as a resource bundle to the React Core Pod so that any React Native app integrating the React Native dependencies using CocoaPods can get the localized accessibility roles and states description. ## Changelog [iOS] [Added] - Add localized accessibility strings to React Core pod Pull Request resolved: #27995 Test Plan: Verified with RNTester app. Differential Revision: D19975587 Pulled By: PeteTheHeat fbshipit-source-id: f8eb4e25194f0cd603c98a6221ec87503a2826ed
- Loading branch information
1 parent
24e0bad
commit aebf54a
Showing
3 changed files
with
77 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
Localizable.strings | ||
React | ||
*/ | ||
"alert"="alert"; | ||
"checkbox"="checkbox"; | ||
"combobox"="combo box"; | ||
"menu"="menu"; | ||
"menubar"="menu bar"; | ||
"menuitem"="menu item"; | ||
"progressbar"="progress bar"; | ||
"radio"="radio button"; | ||
"radiogroup"="radio group"; | ||
"scrollbar"="scroll bar"; | ||
"spinbutton"="spin button"; | ||
"switch"="switch"; | ||
"tab"="tab description"; | ||
"tablist"="tab list"; | ||
"timer"="timer"; | ||
"toolbar"="tool bar"; | ||
"checked"="checked"; | ||
"unchecked"="not checked"; | ||
"busy"="busy"; | ||
"expanded"="expanded"; | ||
"collapsed"="collapsed"; | ||
"mixed"="mixed"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters