From 097fc080239d1a4aa717ba2e8854bceb10415c78 Mon Sep 17 00:00:00 2001 From: Farzad Hayatbakhsh Date: Tue, 16 Jul 2024 12:23:32 +1000 Subject: [PATCH] DOC-2487: Replace 'en' with 'en_US' in Spellchecker docs and demo --- modules/ROOT/examples/live-demos/spellchecker/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/spellchecker/index.js b/modules/ROOT/examples/live-demos/spellchecker/index.js index 6ccd6f0d1c..617b1a579d 100644 --- a/modules/ROOT/examples/live-demos/spellchecker/index.js +++ b/modules/ROOT/examples/live-demos/spellchecker/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: 'Afrikaans (South Africa)', code: 'af_ZA', customCode: 'af_ZA' }, { title: 'English (Australia)', code: 'en_AU' }, diff --git a/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc b/modules/ROOT/pages/introduction-to-tiny-spellchecker.adoc index 78c36aafe7..5d9cfa5fd6 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' }); ----