Browse Source

fix wording for apps mgmt buttons

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
tags/v12.0.0beta1
Jan-Christoph Borchardt 7 years ago
parent
commit
89252497c6
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      settings/js/apps.js
  2. 1
    1
      settings/templates/apps.php

+ 1
- 1
settings/js/apps.js 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') {

+ 1
- 1
settings/templates/apps.php 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>

Loading…
Cancel
Save