mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Correct translation for language dropdown field in link form
This commit is contained in:
parent
616a123ddc
commit
846398d128
@ -3,7 +3,7 @@
|
||||
class TranslatableEditorToolbarExtension extends DataExtension {
|
||||
|
||||
function updateLinkForm(&$form) {
|
||||
$field = new LanguageDropdownField('Language', _t('PageURLSelectionField.LANGUAGE', 'Language'));
|
||||
$field = new LanguageDropdownField('Language', _t('CMSMain.LANGUAGEDROPDOWNLABEL', 'Language'));
|
||||
$field->setForm($form);
|
||||
$form->Fields()->insertBefore($field, 'internal');
|
||||
Requirements::javascript('translatable/javascript/HtmlEditorField.Translatable.js');
|
||||
|
Loading…
Reference in New Issue
Block a user