| Index: ui/file_manager/file_manager/common/js/importer_common.js
|
| diff --git a/ui/file_manager/file_manager/common/js/importer_common.js b/ui/file_manager/file_manager/common/js/importer_common.js
|
| index 47e300c417dbe9d58bfe176f2904e287e3528dda..8a441f8ce6a6e83bbb2fa30cc6cd38ea32b97e65 100644
|
| --- a/ui/file_manager/file_manager/common/js/importer_common.js
|
| +++ b/ui/file_manager/file_manager/common/js/importer_common.js
|
| @@ -276,7 +276,11 @@ importer.importEnabled = function() {
|
| 'disable-cloud-import',
|
| /** @param {boolean} disabled */
|
| function(disabled) {
|
| - resolve(!disabled);
|
| + // TODO(smckay): For M42 only, we dropped the ball on
|
| + // decent RTL formatting. Disable it for the duration of M42 only.
|
| + var rtl = ['ar', 'iw', 'he', 'fa'].indexOf(
|
| + chrome.i18n.getUILanguage().toLowerCase()) !== -1;
|
| + resolve(!disabled && !rtl);
|
| });
|
| });
|
| };
|
|
|