From 846398d128835adfe56d369f71ca5fca27d2cc58 Mon Sep 17 00:00:00 2001 From: Niklas Forsdahl Date: Mon, 12 Nov 2012 15:58:17 +0200 Subject: [PATCH] Correct translation for language dropdown field in link form --- code/controller/TranslatableEditorToolbarExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controller/TranslatableEditorToolbarExtension.php b/code/controller/TranslatableEditorToolbarExtension.php index ffc9daf..d76e48e 100644 --- a/code/controller/TranslatableEditorToolbarExtension.php +++ b/code/controller/TranslatableEditorToolbarExtension.php @@ -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');