Skip to content

Commit

Permalink
Set character limit for accessability strings to NONE
Browse files Browse the repository at this point in the history
They are not normally displayed in any size-restricted UI element and don't
need a character limit.

#minor-release

PiperOrigin-RevId: 427998164
  • Loading branch information
tonihei authored and icbaker committed Feb 21, 2022
1 parent 0fac743 commit c95abd5
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions libraries/ui/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,63 +14,63 @@
limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Accessibility description for a media player view to indicate that tapping on the view shows the playback controls. [CHAR LIMIT=50] -->
<!-- Accessibility description for a media player view to indicate that tapping on the view shows the playback controls. [CHAR LIMIT=NONE] -->
<string name="exo_controls_show">Show player controls</string>
<!-- Accessibility description for a media player view to indicate that tapping on the view hides the playback controls [CHAR LIMIT=50] -->
<!-- Accessibility description for a media player view to indicate that tapping on the view hides the playback controls [CHAR LIMIT=NONE] -->
<string name="exo_controls_hide">Hide player controls</string>
<!-- Accessibility description for a media player seek bar, which indicates the playback progress. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a media player seek bar, which indicates the playback progress. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_seek_bar_description">Playback progress</string>
<!-- Accessibility description for a settings button. [CHAR_LIMIT=30] -->
<!-- Accessibility description for a settings button. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_settings_description">Settings</string>
<!-- Accessibility description for a settings button that hides a list of additional settings. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a settings button that hides a list of additional settings. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_overflow_hide_description">Hide additional settings</string>
<!-- Accessibility description for a settings button that expands a list of additional settings. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a settings button that expands a list of additional settings. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_overflow_show_description">Show additional settings</string>
<!-- Accessibility description for a media control button that enters fullscreen playback. [CHAR_LIMIT=40] -->
<!-- Accessibility description for a media control button that enters fullscreen playback. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_fullscreen_enter_description">Enter fullscreen</string>
<!-- Accessibility description for a media control button that exits fullscreen playback. [CHAR_LIMIT=40] -->
<!-- Accessibility description for a media control button that exits fullscreen playback. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_fullscreen_exit_description">Exit fullscreen</string>
<!-- Accessibility description for a media control button that causes the previous track to be played. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes the previous track to be played. [CHAR LIMIT=NONE] -->
<string name="exo_controls_previous_description">Previous</string>
<!-- Accessibility description for a media control button that causes the next track to be played. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes the next track to be played. [CHAR LIMIT=NONE] -->
<string name="exo_controls_next_description">Next</string>
<!-- Accessibility description for a media control button that causes playback to be paused. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be paused. [CHAR LIMIT=NONE] -->
<string name="exo_controls_pause_description">Pause</string>
<!-- Accessibility description for a media control button that causes playback to be started. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be started. [CHAR LIMIT=NONE] -->
<string name="exo_controls_play_description">Play</string>
<!-- Accessibility description for a media control button that causes playback to be stopped. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be stopped. [CHAR LIMIT=NONE] -->
<string name="exo_controls_stop_description">Stop</string>
<!-- Accessibility description for a media control button that causes playback to be rewound. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be rewound. [CHAR LIMIT=NONE] -->
<string name="exo_controls_rewind_description">Rewind</string>
<!-- Accessibility description for a media control button that causes playback to be rewound a specified number of seconds. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be rewound a specified number of seconds. [CHAR LIMIT=NONE] -->
<plurals name="exo_controls_rewind_by_amount_description">
<item quantity="one">Rewind <xliff:g id="rewind_amount" example="1">%d</xliff:g> second</item>
<item quantity="other">Rewind <xliff:g id="rewind_amount" example="30">%d</xliff:g> seconds</item>
</plurals>
<!-- Accessibility description for a media control button that causes playback to be fast-forwarded. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that causes playback to be fast-forwarded. [CHAR LIMIT=NONE] -->
<string name="exo_controls_fastforward_description">Fast forward</string>
<!-- Accessibility description for a media control button that causes playback to be fast-forwarded a specified number of seconds. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a media control button that causes playback to be fast-forwarded a specified number of seconds. [CHAR_LIMIT=NONE] -->
<plurals name="exo_controls_fastforward_by_amount_description">
<item quantity="one">Fast forward <xliff:g id="fastforward_amount" example="1">%d</xliff:g> second</item>
<item quantity="other">Fast forward <xliff:g id="fastforward_amount" example="30">%d</xliff:g> seconds</item>
</plurals>
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode media is not repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=30] -->
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode media is not repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=NONE] -->
<string name="exo_controls_repeat_off_description">Current mode: Repeat none. Toggle repeat mode.</string>
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode the current piece of media is repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=30] -->
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode the current piece of media is repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=NONE] -->
<string name="exo_controls_repeat_one_description">Current mode: Repeat one. Toggle repeat mode.</string>
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode the entire playlist is repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=30] -->
<!-- Accessibility description for a button that controls the repeat mode of a media playback. In this mode the entire playlist is repeated. If the user clicks the button, the repeat mode changes to the next available mode. [CHAR LIMIT=NONE] -->
<string name="exo_controls_repeat_all_description">Current mode: Repeat all. Toggle repeat mode.</string>
<!-- Accessibility description for a button that controls the shuffle mode of media playback. In this mode shuffle is on. If the user clicks the button, shuffle mode will be turned off. [CHAR LIMIT=40] -->
<!-- Accessibility description for a button that controls the shuffle mode of media playback. In this mode shuffle is on. If the user clicks the button, shuffle mode will be turned off. [CHAR LIMIT=NONE] -->
<string name="exo_controls_shuffle_on_description">Disable shuffle mode</string>
<!-- Accessibility description for a button that controls the shuffle mode of media playback. In this mode shuffle is off. If the user clicks the button, shuffle mode will be turned on. [CHAR LIMIT=40] -->
<!-- Accessibility description for a button that controls the shuffle mode of media playback. In this mode shuffle is off. If the user clicks the button, shuffle mode will be turned on. [CHAR LIMIT=NONE] -->
<string name="exo_controls_shuffle_off_description">Enable shuffle mode</string>
<!-- Accessibility description for a media control button that toggles whether a video playback is in VR mode. [CHAR LIMIT=30] -->
<!-- Accessibility description for a media control button that toggles whether a video playback is in VR mode. [CHAR LIMIT=NONE] -->
<string name="exo_controls_vr_description">VR mode</string>
<!-- Accessibility description for a closed captions (subtitles) button, when subtitles are enabled. If the user clicks the button, closed captions will be disabled. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a closed captions (subtitles) button, when subtitles are enabled. If the user clicks the button, closed captions will be disabled. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_cc_enabled_description">Disable subtitles</string>
<!-- Accessibility description for a closed captions (subtitles) button, when subtitles are disabled. If the user clicks the button, closed captions will be enabled. [CHAR_LIMIT=55] -->
<!-- Accessibility description for a closed captions (subtitles) button, when subtitles are disabled. If the user clicks the button, closed captions will be enabled. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_cc_disabled_description">Enable subtitles</string>
<!-- Accessibility description for a playback speed selection button. The button is shown with the current playback speed. If a user clicks it, the list of possible playback speeds will be shown. [CHAR_LIMIT=32] -->
<!-- Accessibility description for a playback speed selection button. The button is shown with the current playback speed. If a user clicks it, the list of possible playback speeds will be shown. [CHAR_LIMIT=NONE] -->
<string name="exo_controls_playback_speed">Speed</string>
<!-- LINT.IfChange(playback_speeds) -->
<!-- Different media playback speeds from one quarter normal speed ("0.25x") to double normal speed ("2x"). The fourth item ("Normal") corresponds to normal playback speed. [CHAR_LIMIT=16] -->
Expand Down

0 comments on commit c95abd5

Please sign in to comment.