Fix name of external storages

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/4551/head
Jan-Christoph Borchardt 2017-04-27 12:58:16 +07:00 committed by Morris Jobke
parent 6109afc14d
commit 010b9c4609
3 changed files with 3 additions and 4 deletions

@ -35,7 +35,7 @@ OCA.External.App = {
); );
this._extendFileList(this.fileList); this._extendFileList(this.fileList);
this.fileList.appName = t('files_external', 'External storage'); this.fileList.appName = t('files_external', 'External storages');
return this.fileList; return this.fileList;
}, },
@ -111,4 +111,3 @@ $(document).ready(function() {
} }
/* End Status Manager */ /* End Status Manager */
}); });

@ -28,7 +28,7 @@
FileList.prototype = _.extend({}, OCA.Files.FileList.prototype, FileList.prototype = _.extend({}, OCA.Files.FileList.prototype,
/** @lends OCA.External.FileList.prototype */ { /** @lends OCA.External.FileList.prototype */ {
appName: 'External storage', appName: 'External storages',
/** /**
* @private * @private

@ -88,7 +88,7 @@
?> ?>
<form data-can-create="<?php echo $canCreateMounts?'true':'false' ?>" id="files_external" class="section" data-encryption-enabled="<?php echo $_['encryptionEnabled']?'true': 'false'; ?>"> <form data-can-create="<?php echo $canCreateMounts?'true':'false' ?>" id="files_external" class="section" data-encryption-enabled="<?php echo $_['encryptionEnabled']?'true': 'false'; ?>">
<h2 data-anchor-name="external-storage"><?php p($l->t('External storage')); ?></h2> <h2 data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2>
<?php if (isset($_['dependencies']) and ($_['dependencies']<>'') and $canCreateMounts) print_unescaped(''.$_['dependencies'].''); ?> <?php if (isset($_['dependencies']) and ($_['dependencies']<>'') and $canCreateMounts) print_unescaped(''.$_['dependencies'].''); ?>
<table id="externalStorage" class="grid" data-admin='<?php print_unescaped(json_encode($_['visibilityType'] === BackendService::VISIBILITY_ADMIN)); ?>'> <table id="externalStorage" class="grid" data-admin='<?php print_unescaped(json_encode($_['visibilityType'] === BackendService::VISIBILITY_ADMIN)); ?>'>
<thead> <thead>