Merge pull request #2751 from nextcloud/backport-2643-apps-buttons-wording

[stable11] fix wording for apps mgmt buttons
This commit is contained in:
Morris Jobke 2016-12-22 14:39:16 +01:00 committed by GitHub
commit a581e2fab3
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
OC.Settings.Apps.hideErrorMessage(appId);
groups = groups || [];
var appItem = $('div#app-'+appId+'');
element.val(t('settings','Please wait....'));
element.val(t('settings','Enabling app …'));
if(active && !groups.length) {
$.post(OC.filePath('settings','ajax','disableapp.php'),{appid:appId},function(result) {
if(!result || result.status !== 'success') {

View File

@ -134,7 +134,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('Uninstall app')); ?>" data-appid="{{id}}" />
{{/if}}
<div class="warning hidden"></div>