Skip to content

Commit

Permalink
Update comment for setRTLTextPlugin (#8143)
Browse files Browse the repository at this point in the history
* update comment for setRTLTextPlugin

* clarify wording in example
  • Loading branch information
HeyStenson authored Apr 12, 2019
1 parent 2b195dc commit b32d2ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit b32d2ce

Please sign in to comment.