Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update comment for setRTLTextPlugin #8143

Merged
merged 2 commits into from
Apr 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/pages/example/mapbox-gl-rtl-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Add support for right-to-left scripts
description: >-
Use the [mapbox-gl-rtl-text](https://github.com/mapbox/mapbox-gl-rtl-text)
plugin to support scripts that use right-to-left layout such as Arabic or
Hebrew. The Mapbox Studio style editor loads this plugin by default.
plugin to support the Arabic or
Hebrew languages, which are written right-to-left. Mapbox Studio loads this plugin by default.
tags:
- internationalization
pathname: /mapbox-gl-js/example/mapbox-gl-rtl-text/
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const exported = {

/**
* Sets the map's [RTL text plugin](https://www.mapbox.com/mapbox-gl-js/plugins/#mapbox-gl-rtl-text).
* Necessary for supporting languages like Arabic and Hebrew that are written right-to-left.
* Necessary for supporting the Arabic and Hebrew languages, which are written right-to-left. Mapbox Studio loads this plugin by default.
*
* @function setRTLTextPlugin
* @param {string} pluginURL URL pointing to the Mapbox RTL text plugin source.
Expand Down