summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-29 01:41:53 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:57 +0200
commita04413fd754ea4e56679f900bc67d3ff6428cd63 (patch)
treeb15ce313690fa0da9048961ab8b6eba1618306ce /settings
parenta392532e28bb50a724e7ea76daad4472307406b2 (diff)
downloadnextcloud-server-a04413fd754ea4e56679f900bc67d3ff6428cd63.tar.gz
nextcloud-server-a04413fd754ea4e56679f900bc67d3ff6428cd63.zip
rename Uninstall to Remove
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js6
-rw-r--r--settings/templates/apps.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 06ec001b672..83a8e893042 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -448,11 +448,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
}
OC.Settings.Apps.hideErrorMessage(appId);
- element.val(t('settings','Uninstalling …'));
+ element.val(t('settings','Removing …'));
$.post(OC.filePath('settings','ajax','uninstallapp.php'),{appid:appId},function(result) {
if(!result || result.status !== 'success') {
- OC.Settings.Apps.showErrorMessage(appId, t('settings','Error while uninstalling app'));
- element.val(t('settings','Uninstall'));
+ OC.Settings.Apps.showErrorMessage(appId, t('settings','Error while removing app'));
+ element.val(t('settings','Remove'));
} else {
OC.Settings.Apps.rebuildNavigation();
element.parents('#apps-list > .section').fadeOut(function() {
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index d1e2e501a62..653adaa5474 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -62,7 +62,7 @@ script(
<div class="warning hidden"></div>
<input class="update hidden" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
{{#if canUnInstall}}
- <input class="uninstall" type="submit" value="<?php p($l->t('Uninstall')); ?>" data-appid="{{id}}" />
+ <input class="uninstall" type="submit" value="<?php p($l->t('Remove')); ?>" data-appid="{{id}}" />
{{/if}}
{{#if active}}
<input class="enable" type="submit" data-appid="{{id}}" data-active="true" value="<?php p($l->t("Disable"));?>"/>
@@ -178,7 +178,7 @@ script(
<input class="enable{{#if needsDownload}} needs-download{{/if}}" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
{{/if}}
{{#if canUnInstall}}
- <input class="uninstall" type="submit" value="<?php p($l->t('Uninstall app')); ?>" data-appid="{{id}}" />
+ <input class="uninstall" type="submit" value="<?php p($l->t('Remove app')); ?>" data-appid="{{id}}" />
{{/if}}
<div class="warning hidden"></div>