summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-19 16:38:28 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-20 09:33:59 +0200
commite8d082208d241b3e25150222cacb8d1b4a5b6f12 (patch)
tree662f3c2dbba0518ec23eba656c84fe805d4576aa /apps/files_external
parentf8b2b954084c247d2edd70b56b17238fe7a8024e (diff)
downloadnextcloud-server-e8d082208d241b3e25150222cacb8d1b4a5b6f12.tar.gz
nextcloud-server-e8d082208d241b3e25150222cacb8d1b4a5b6f12.zip
Fixes for encoding wrapper
Improved label Fixed rename/copy/moveFromStorage/copyFromStorage and added tests Improved findPathToUse algo
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/js/settings.js6
-rw-r--r--apps/files_external/templates/settings.php1
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 91f5f8d8118..8d2cb52d67c 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -35,7 +35,7 @@ var MOUNT_OPTIONS_DROPDOWN_TEMPLATE =
' </div>' +
' <div class="optionRow">' +
' <input id="mountOptionsEncoding" name="encoding_compatibility" type="checkbox" value="true"/>' +
- ' <label for="mountOptionsEncoding">{{t "files_external" "Enable encoding compatibility (decreases performance)"}}</label>' +
+ ' <label for="mountOptionsEncoding">{{mountOptionsEncodingLabel}}</label>' +
' </div>' +
'</div>';
@@ -493,7 +493,9 @@ MountOptionsDropdown.prototype = {
MountOptionsDropdown._template = template;
}
- var $el = $(template());
+ var $el = $(template({
+ mountOptionsEncodingLabel: t('files_external', 'Compatibility with Mac NFD encoding (slow)')
+ }));
this.$el = $el;
this.setOptions(mountOptions, visibleOptions);
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 16e0e629bdb..c9cc40b0ba0 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -10,7 +10,6 @@
$l->t("Check for changes");
$l->t("Never");
$l->t("Once every direct access");
- $l->t("Enable encoding compatibility (decreases performance)");
script('files_external', 'settings');
style('files_external', 'settings');