summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-01-08 20:29:17 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-01-08 20:29:17 +0100
commitc837868af892ada4c25333bec46583a0d42a240d (patch)
treef918bc68afbf28bf75a90b135248b28109058760 /lib/plugins
parentbc1b7a8a0fdd1812e352cab5e2362bd5770d5b3b (diff)
downloadrpg-c837868af892ada4c25333bec46583a0d42a240d.tar.gz
rpg-c837868af892ada4c25333bec46583a0d42a240d.tar.bz2
added missing localization
Diffstat (limited to 'lib/plugins')
-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