Bugzilla – Attachment 108352 Details for
Bug 25727
Update the Select2 JS lib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25727: Adjust translations
Bug-25727-Adjust-translations.patch (text/plain), 2.70 KB, created by
Jonathan Druart
on 2020-08-16 11:39:40 UTC
(
hide
)
Description:
Bug 25727: Adjust translations
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-08-16 11:39:40 UTC
Size:
2.70 KB
patch
obsolete
>From 98c819ce68a643524802746e6f62083183b36e97 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 13 Jun 2020 13:32:56 +0200 >Subject: [PATCH] Bug 25727: Adjust translations > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/includes/select2.inc | 49 ++++++++----------- > 1 file changed, 21 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >index 9f0a4aeb02..e51ebfd849 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc >@@ -25,34 +25,27 @@ > }, > > // Internationalization >- formatMatches: function (matches) { >- if (matches === 1) { >- return _("One result is available, press enter to select it."); >- } >- return _("%s results are available, use up and down arrow keys to navigate.").format(matches); >- }, >- formatNoMatches: function () { >- return _("No matches found"); >- }, >- formatInputTooShort: function (input, min) { >- var n = min - input.length; >- return _("Please enter %n or more characters").format(n); >- }, >- formatInputTooLong: function (input, max) { >- var n = input.length - max; >- return _("Please delete %d character(s)").format(n); >- }, >- formatResult: function(item) { >- return $('<div>', {title: item.element[0].title}).text(item.text); >- }, >- formatSelectionTooBig: function (limit) { >- return _("You can only select %s item(s)").format(limit); >- }, >- formatLoadMore: function (pageNumber) { >- return _("Loading more resultsâ¦"); >- }, >- formatSearching: function () { >- return _("Searchingâ¦"); >+ language: { >+ errorLoading:function(){return"The results could not be loaded."}, >+ inputTooLong:function(e){ >+ var n = e.input.length - e.max; >+ return _("Please delete %d character(s)").format(n); >+ }, >+ inputTooShort:function(e){ >+ var n = e.min - e.input.length; >+ return _("Please enter %n or more characters").format(n); >+ }, >+ formatResult: function(item) { >+ return $('<div>', {title: item.element[0].title}).text(item.text); >+ }, >+ loadingMore:function(){return"Loading more resultsâ¦"}, >+ maximumSelected:function(e){ >+ return _("You can only select %s item(s)").format(e.max); >+ }, >+ noResults:function(){return _("No results found")}, >+ searching:function(){return _("Searchingâ¦")}, >+ removeAllItems:function(){return _("Remove all items")}, >+ removeItem:function(){return _("Remove item")} > } > }); > </script> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25727
:
105822
|
105853
|
105854
|
105855
|
105975
|
105976
|
105977
|
105978
|
105979
|
105980
|
108351
|
108352
|
108353
|
108354
|
108355
|
108395
|
108400
|
108436
|
108823
|
108829
|
108830
|
108875
|
108876
|
108877
|
108878
|
108879
|
108880
|
108881
|
108882
|
109359
|
109361