From 31f3fd9c2f67788b01f69abd8024cc3b6e9a9573 Mon Sep 17 00:00:00 2001 From: Farzad Hayat Date: Tue, 23 Jul 2024 10:16:44 +1000 Subject: [PATCH] DOC-2487: (6 Docs) Replace 'en' with 'en_US' in Spellchecker docs and demo (#3393) --- modules/ROOT/examples/live-demos/spellcheckerpro/index.js | 2 +- modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/examples/live-demos/spellcheckerpro/index.js b/modules/ROOT/examples/live-demos/spellcheckerpro/index.js index b3dea3ce04..8b2ea8bd02 100644 --- a/modules/ROOT/examples/live-demos/spellcheckerpro/index.js +++ b/modules/ROOT/examples/live-demos/spellcheckerpro/index.js @@ -3,7 +3,7 @@ tinymce.init({ plugins: 'code tinymcespellchecker link', toolbar: 'spellchecker language spellcheckdialog', height: 500, - spellchecker_language: 'en', + spellchecker_language: 'en_US', content_langs: [ { title: 'English (US)', code: 'en_US' }, { title: 'English (US Medical)', code: 'en_US', customCode: 'en_US-medical' }, diff --git a/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc b/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc index 9cdf1c8399..36141af927 100644 --- a/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc +++ b/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc @@ -29,7 +29,7 @@ With {cloudname} the server-side spellchecking component is automatically config tinymce.init({ selector: 'textarea', plugins: 'tinymcespellchecker', - spellchecker_language: 'en' + spellchecker_language: 'en_US' }); ---- @@ -47,7 +47,7 @@ tinymce.init({ selector: 'textarea', plugins: 'tinymcespellchecker', spellchecker_rpc_url: 'localhost/ephox-spelling', - spellchecker_language: 'en' + spellchecker_language: 'en_US' }); ----