summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/plugins/extension/helper/gui.php6
-rw-r--r--lib/plugins/extension/lang/en/lang.php4
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php
index 76651515c..953d50fa6 100644
--- a/lib/plugins/extension/helper/gui.php
+++ b/lib/plugins/extension/helper/gui.php
@@ -124,9 +124,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
echo '</div>';
$form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'), 'enctype' => 'multipart/form-data', 'class' => 'install'));
- $form->addElement(form_makeTextField('installurl', '', 'Install from URL:', '', 'block'));
- $form->addElement(form_makeFileField('installfile', 'Upload Extension:', '', 'block'));
- $form->addElement(form_makeButton('submit', '', 'Install'));
+ $form->addElement(form_makeTextField('installurl', '', $this->getLang('install_url'), '', 'block'));
+ $form->addElement(form_makeFileField('installfile', $this->getLang('install_upload'), '', 'block'));
+ $form->addElement(form_makeButton('submit', '', $this->getLang('btn_install')));
$form->printForm();
}
diff --git a/lib/plugins/extension/lang/en/lang.php b/lib/plugins/extension/lang/en/lang.php
index b11490c0c..c0550c951 100644
--- a/lib/plugins/extension/lang/en/lang.php
+++ b/lib/plugins/extension/lang/en/lang.php
@@ -92,5 +92,7 @@ $lang['error_copy'] = 'There was a file copy error while attem
$lang['noperms'] = 'Extension directory is not writable';
$lang['notplperms'] = 'Template directory is not writable';
$lang['nopluginperms'] = 'Plugin directory is not writable';
-
$lang['git'] = 'This extension was installed via git, you may not want to update it here.';
+
+$lang['install_url'] = 'Install from URL:';
+$lang['install_upload'] = 'Upload Extension:'; \ No newline at end of file