diff --git a/www/plugins/es/i18n/locale-en-GB.json b/www/plugins/es/i18n/locale-en-GB.json index e8096bb488519fec2769cb1bee74a09dc293339e..f61f78fbd407d3393371d63ebc06606ca86612f2 100644 --- a/www/plugins/es/i18n/locale-en-GB.json +++ b/www/plugins/es/i18n/locale-en-GB.json @@ -108,7 +108,6 @@ }, "COMMENTS": { "DIVIDER": "Comments", - "DIVIDER_WITH_TOTAL": "Comments ({{total}})", "SHOW_MORE_COMMENTS": "Show previous comments", "COMMENT_HELP": "Your comment, question...", "COMMENT_HELP_REPLY_TO": "Your answer...", diff --git a/www/plugins/es/i18n/locale-en.json b/www/plugins/es/i18n/locale-en.json index e8096bb488519fec2769cb1bee74a09dc293339e..f61f78fbd407d3393371d63ebc06606ca86612f2 100644 --- a/www/plugins/es/i18n/locale-en.json +++ b/www/plugins/es/i18n/locale-en.json @@ -108,7 +108,6 @@ }, "COMMENTS": { "DIVIDER": "Comments", - "DIVIDER_WITH_TOTAL": "Comments ({{total}})", "SHOW_MORE_COMMENTS": "Show previous comments", "COMMENT_HELP": "Your comment, question...", "COMMENT_HELP_REPLY_TO": "Your answer...", diff --git a/www/plugins/es/i18n/locale-es-ES.json b/www/plugins/es/i18n/locale-es-ES.json index 0f426a80ab3ed9f8753932fc48958b551af14836..a785e12bb7cc11b4aa3e4491c4cc06fa9ac97dcb 100644 --- a/www/plugins/es/i18n/locale-es-ES.json +++ b/www/plugins/es/i18n/locale-es-ES.json @@ -108,7 +108,6 @@ }, "COMMENTS": { "DIVIDER": "Comentarios", - "DIVIDER_WITH_TOTAL": "Comentarios ({{total}})", "SHOW_MORE_COMMENTS": "Visualizar los comentarios anteriores", "COMMENT_HELP": "Su comentario, preguntas, etc.", "COMMENT_HELP_REPLY_TO": "Su repuesta…", diff --git a/www/plugins/es/i18n/locale-fr-FR.json b/www/plugins/es/i18n/locale-fr-FR.json index c147ec51ca257a8b0fe629e1411f6f7f3f5ad8a4..95408e8024cc337cd98d84486c2e2efc228a6dc1 100644 --- a/www/plugins/es/i18n/locale-fr-FR.json +++ b/www/plugins/es/i18n/locale-fr-FR.json @@ -108,7 +108,6 @@ }, "COMMENTS": { "DIVIDER": "Commentaires", - "DIVIDER_WITH_TOTAL": "Commentaires ({{total}})", "SHOW_MORE_COMMENTS": "Afficher les commentaires précédents", "COMMENT_HELP": "Votre commentaire, question, etc.", "COMMENT_HELP_REPLY_TO": "Votre réponse...", diff --git a/www/plugins/es/i18n/locale-nl-NL.json b/www/plugins/es/i18n/locale-nl-NL.json index a452b1cca55afe8f95a590ccc67dad72b81c28ef..9a1cdeb7295aa44f9052f521b60ca48f0b3ee73a 100644 --- a/www/plugins/es/i18n/locale-nl-NL.json +++ b/www/plugins/es/i18n/locale-nl-NL.json @@ -34,7 +34,6 @@ }, "COMMENTS": { "DIVIDER": "Commentaren", - "DIVIDER_WITH_TOTAL": "Commentaren ({{total}})", "SHOW_MORE_COMMENTS": "Toon eerder commentaren", "COMMENT_HELP": "Jouw commentaar, vraag...", "COMMENT_HELP_REPLY_TO": "Jouw antwoord...", diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js index a9fa7da90de8843b32c12c5f2c6a6f926968e477..fd6f067daeb27feced496366f66f5298a364d3a4 100644 --- a/www/plugins/es/js/controllers/registry-controllers.js +++ b/www/plugins/es/js/controllers/registry-controllers.js @@ -201,6 +201,7 @@ function ESRegistryLookupController($scope, $focus, $timeout, $filter, // pubkey : use a special 'term', because of 'non indexed' field if (BMA.regexp.PUBKEY.test(text /*case sensitive*/)) { filters.push({term : { issuer: text}}); + filters.push({term : { pubkey: text}}); } else { text = text.toLowerCase(); diff --git a/www/plugins/es/templates/common/view_comments.html b/www/plugins/es/templates/common/view_comments.html index b3668a7cff15f899b1a91528980a72f14d94c2bd..84de35c5af02aee95f58e91a905114a3c73be399 100644 --- a/www/plugins/es/templates/common/view_comments.html +++ b/www/plugins/es/templates/common/view_comments.html @@ -3,8 +3,8 @@ <div class="item item-divider"> <i class="icon ion-chatboxes"></i> - <span ng-if="!comments.result.length">{{'COMMENTS.DIVIDER' | translate}}</span> - <span ng-if="comments.result.length">{{'COMMENTS.DIVIDER_WITH_TOTAL' | translate:comments}}</span> + <span translate>COMMENTS.DIVIDER</span> + <span class="gray" ng-if="comments.total">({{comments.total}})</span> </div> <span class="item item-more-comments"