User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Allow TinyMCE plugin to be reset to default language (english).
Updated the xml file to display the default value.
After the patch you can.
none
Status | New | ⇒ | Pending |
Category | ⇒ | Plugins Front End |
Labels |
Added:
?
|
I have tested this item
I have tested this item
This works fine but I propose to also update the language string
from
PLG_TINY_FIELD_LANGCODE_DESC="Editor UI Language. The value will be used if Automatic language is not set."
to
PLG_TINY_FIELD_LANGCODE_DESC="Editor UI Language. The value will be used if Automatic language is not set. 'Use Default' will default to English "
@brianteeman
Would that proposal be OK?
Another idea is to use this code:
<field
name="lang_code"
type="filelist"
label="PLG_TINY_FIELD_LANGCODE_LABEL"
description="PLG_TINY_FIELD_LANGCODE_DESC"
class="inputbox"
stripext="1"
directory="media/editors/tinymce/langs/"
hide_none="1"
default="en"
hide_default="1"
filter="\.js$"
size="10"
showon="lang_mode:0"
>
<option value="en">en</option>
</field>
What do you think?
I am not sure it needs updating at all as the tooltip is clear when you enable the option - but if you insist then
PLG_TINY_FIELD_LANGCODE_DESC="Editor UI Language. The value will be used if Automatic language is not set. 'Use Default' will default to English "
==>
PLG_TINY_FIELD_LANGCODE_DESC="Editor UI Language. The value will be used if Automatic language is not set. The Default is English."
IMHO @infograf768 's proposal is the best solution here
Indeed this is a better solution, please re test.
Thank you
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC. Thanks.
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-29 17:32:32 |
Closed_By | ⇒ | rdeutz |
Labels |
Removed:
?
|
the issue comes from the fact that the English language in TinyMce is not a xx.js specific file, but is included in the main js files.