Permalink
Browse files

SearchEngine: change "more results" messages, we may not know the exa…

…ct total result count.
  • Loading branch information...
1 parent f5ae6fd commit 58bbd237d7ec4e23c72b93e748e4d2329699f9cb @cdujeu cdujeu committed Jun 20, 2016
Showing with 31 additions and 31 deletions.
  1. +1 −1 core/src/plugins/core.ajaxplorer/i18n/ca.php
  2. +1 −1 core/src/plugins/core.ajaxplorer/i18n/cs.php
  3. +1 −1 core/src/plugins/core.ajaxplorer/i18n/da.php
  4. +1 −1 core/src/plugins/core.ajaxplorer/i18n/de.php
  5. +2 −2 core/src/plugins/core.ajaxplorer/i18n/en.php
  6. +1 −1 core/src/plugins/core.ajaxplorer/i18n/es.php
  7. +1 −1 core/src/plugins/core.ajaxplorer/i18n/et.php
  8. +1 −1 core/src/plugins/core.ajaxplorer/i18n/eus.php
  9. +1 −1 core/src/plugins/core.ajaxplorer/i18n/fi.php
  10. +1 −1 core/src/plugins/core.ajaxplorer/i18n/fr.php
  11. +1 −1 core/src/plugins/core.ajaxplorer/i18n/gr.php
  12. +1 −1 core/src/plugins/core.ajaxplorer/i18n/he.php
  13. +1 −1 core/src/plugins/core.ajaxplorer/i18n/hu.php
  14. +1 −1 core/src/plugins/core.ajaxplorer/i18n/it.php
  15. +1 −1 core/src/plugins/core.ajaxplorer/i18n/ja.php
  16. +1 −1 core/src/plugins/core.ajaxplorer/i18n/kr.php
  17. +1 −1 core/src/plugins/core.ajaxplorer/i18n/nl.php
  18. +1 −1 core/src/plugins/core.ajaxplorer/i18n/no.php
  19. +1 −1 core/src/plugins/core.ajaxplorer/i18n/pl.php
  20. +1 −1 core/src/plugins/core.ajaxplorer/i18n/pt-br.php
  21. +1 −1 core/src/plugins/core.ajaxplorer/i18n/pt.php
  22. +1 −1 core/src/plugins/core.ajaxplorer/i18n/ru.php
  23. +1 −1 core/src/plugins/core.ajaxplorer/i18n/si.php
  24. +1 −1 core/src/plugins/core.ajaxplorer/i18n/sv.php
  25. +1 −1 core/src/plugins/core.ajaxplorer/i18n/tr.php
  26. +1 −1 core/src/plugins/core.ajaxplorer/i18n/zh-tw.php
  27. +1 −1 core/src/plugins/core.ajaxplorer/i18n/zh.php
  28. +3 −3 core/src/plugins/gui.ajax/res/js/ui/prototype/class.SearchEngine.js
@@ -638,7 +638,7 @@
"540" => "Error en la pujada: no es pot trobar el directori temporal",
"541" => "Error en la pujada: no es pot escriure en el directori temporal",
"542" => "Error en la pujada: una extensió de PHP ha aturat el procés de càrrega.",
-"543" => "Resultats limitats a 100 de %s.",
+"543" => "Resultats limitats a %s.",
"544" => "Mostrar tot",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -636,7 +636,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -639,7 +639,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -643,7 +643,7 @@
"540" => "Fehler beim Hochladen: Ordner für temporäre Dateien nicht gefunden",
"541" => "Fehler beim Hochladen: Kein Schreibzugriff auf Ordner für temporäre Dateien",
"542" => "Fehler beim Hochladen: Hochladen wurde durch PHP-Erweiterung unterbrochen",
-"543" => "Es werden nur die ersten 100 von %s Ergebnissen angezeigt.",
+"543" => "Es werden nur die ersten %s Ergebnissen angezeigt.",
"544" => "Alle anzeigen",
"545" => "Freigabe von entferntem System",
"546" => "Dieses Element wurde von %%OWNER%% für Sie von einem entfernten System freigegeben. Möchten sie fortfahren?",
@@ -636,8 +636,8 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
-"544" => "Show All",
+"543" => "Results limited to %s.",
+"544" => "Show more",
"545" => "Remote Share",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
"547" => "Accept",
@@ -641,7 +641,7 @@
"540" => "Error al subir: no puede encontrar el directorio temporal",
"541" => "Error al subir: no se puede escribir en el directorio temporal",
"542" => "Error al subir: una extensión de PHP se detuvo el proceso de carga.",
-"543" => "Resultados limitados a 100 de %s.",
+"543" => "Resultados limitados a %s.",
"544" => "Mostrar todo",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -637,7 +637,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -635,7 +635,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -637,7 +637,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -636,7 +636,7 @@
"540" => "Erreur de transfert: impossible d'ouvrir le répertoire temporaire.",
"541" => "Erreur de transfert: impossible d'écrire dans le répertoire temporaire.",
"542" => "Erreur de transfert: une extension PHP a stoppé le processus.",
-"543" => "Résultats limités au 100 premiers sur %s.",
+"543" => "Résultats limités au %s premiers.",
"544" => "Voir tout",
"545" => "Partage à distance",
"546" => "Ce partage provient de %%OWNER%% d'un système distant. Souhaîtez-vous continuer ?",
@@ -634,7 +634,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -634,7 +634,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -639,7 +639,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -654,7 +654,7 @@
"540" => "Errore caricamento: impossibile trovare la cartella temporanea",
"541" => "Errore caricamento: non è possibile scrivere nella cartella temporanea",
"542" => "Errore caricamento: un'estensione PHP ha bloccato il processo di caricamento",
-"543" => "Risultati limitati a 100 su %s.",
+"543" => "Risultati limitati a %s.",
"544" => "Visualizza tutti",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -639,7 +639,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -643,7 +643,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -640,7 +640,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -638,7 +638,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -634,7 +634,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -638,7 +638,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -634,7 +634,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -636,7 +636,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -635,7 +635,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -634,7 +634,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -637,7 +637,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -637,7 +637,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -646,7 +646,7 @@
"540" => "Upload error: cannot find the temporary directory",
"541" => "Upload error: cannot write into the temporary directory",
"542" => "Upload error: a PHP extension stopped the upload process.",
-"543" => "Results limited to 100 out of %s.",
+"543" => "Results limited to %s.",
"544" => "Show All",
"545" => "Remote Share Dialog",
"546" => "This item has been shared with you by %%OWNER%% from a remote location. Do you want to continue ?",
@@ -962,7 +962,7 @@ Class.create("SearchEngine", AjxpPane, {
connexion.discrete = true;
connexion.addParameter('get_action', 'search');
connexion.addParameter('query', this.crtText);
- if(limit){
+ if(limit && limit !== -1){
connexion.addParameter('limit', limit);
}
if(this.hasMetaSearch()){
@@ -1048,10 +1048,10 @@ Class.create("SearchEngine", AjxpPane, {
if(showAllDiv) showAllDiv.remove();
if(paginationNode && this.currentLimitDefault){
var totalCount = parseInt(paginationNode.getAttribute("count"));
- showAllDiv = new Element('div', {id:'search_show_all'}).update(pydio.MessageHash['543'].replace('%s', totalCount) + ' ');
+ showAllDiv = new Element('div', {id:'search_show_all'}).update(pydio.MessageHash['543'].replace('%s', 100) + ' ');
var showAllLink = new Element('a').update(pydio.MessageHash['544']);
showAllLink.observe("click", function(){
- this.search(totalCount, true);
+ this.search(-1, true);
}.bind(this));
showAllDiv.insert(showAllLink);
this.htmlElement.down("#basic_search").insert(showAllDiv);

0 comments on commit 58bbd23

Please sign in to comment.