summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-06 13:24:16 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-06 13:24:16 +0200
commit5cebb6fb9b541efa26fa5a06fdd2cc589bb70932 (patch)
tree82c386063ebe22f7382f0bea9b10c3c589c0664a /core
parent204eb256f39e2aaedd0b416f25573a9abb822eac (diff)
parent7c29645f22eeb686ce7a25c9f8ad97b464d7febb (diff)
downloadnextcloud-server-5cebb6fb9b541efa26fa5a06fdd2cc589bb70932.tar.gz
nextcloud-server-5cebb6fb9b541efa26fa5a06fdd2cc589bb70932.zip
Merge pull request #4553 from owncloud/update_search_classes
Update search classes
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index d02dc6445f2..c0e5324a8d4 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -585,6 +585,13 @@ OC.search.customResults={};
OC.search.currentResult=-1;
OC.search.lastQuery='';
OC.search.lastResults={};
+//translations for result type ids, can be extended by apps
+OC.search.resultTypes={
+ file: t('core','File'),
+ folder: t('core','Folder'),
+ image: t('core','Image'),
+ audio: t('core','Audio')
+};
OC.addStyle.loaded=[];
OC.addScript.loaded=[];