diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 13:28:43 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-06 13:28:43 +0400 |
commit | 7c29645f22eeb686ce7a25c9f8ad97b464d7febb (patch) | |
tree | 9e987d1eece2d0851bec64510b38f2b52e678de7 /search | |
parent | 2801f0f2228c571a0bfd9de3684f87e0fe408c57 (diff) |
allow apps to add translation for search result typeid
Diffstat (limited to 'search')
-rw-r--r-- | search/js/result.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js index b300f90f4c2..04e999c62ee 100644 --- a/search/js/result.js +++ b/search/js/result.js @@ -64,7 +64,7 @@ OC.search.showResults=function(results){ row.data('index',index); if (i === 0){ - var typeName = typeid.charAt(0).toUpperCase() + typeid.slice(1); + var typeName = OC.search.resultTypes[typeid]; row.children('td.type').text(t('lib', typeName)); } row.find('td.result div.name').text(type[i].name); |