From 99738afa97822261fa07f9faf34409809f3e83d4 Mon Sep 17 00:00:00 2001 From: HeyStenson Date: Thu, 11 Apr 2019 12:26:20 -0700 Subject: [PATCH 1/2] update comment for setRTLTextPlugin --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a62e4a556b7..f3250dba471 100644 --- a/src/index.js +++ b/src/index.js @@ -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. From 5c0ddc0b61a98d4d8457cb0b241781eca2022b30 Mon Sep 17 00:00:00 2001 From: HeyStenson Date: Thu, 11 Apr 2019 17:52:01 -0700 Subject: [PATCH 2/2] clarify wording in example --- docs/pages/example/mapbox-gl-rtl-text.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pages/example/mapbox-gl-rtl-text.js b/docs/pages/example/mapbox-gl-rtl-text.js index 13dbe798703..71792d35d95 100644 --- a/docs/pages/example/mapbox-gl-rtl-text.js +++ b/docs/pages/example/mapbox-gl-rtl-text.js @@ -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/