1
0
mirror of synced 2025-02-10 17:19:23 +03:00

429 Commits

Author SHA1 Message Date
alexweissman
c1e62b7db7 Czech: Add missing commas and periods (#5052) 2017-09-25 20:35:37 -04:00
alexweissman
0cc279ac75 Merge #4817 2017-09-25 20:33:40 -04:00
Ivan Kvasnica
398870d982 Add missing commas and periods 2017-09-25 10:30:23 +02:00
alexweissman
3561810a64 Fix line lengths to keep Travis happy 2017-09-24 21:43:57 -04:00
alexweissman
ed24c34028 Fixes French translation (see #4988) 2017-09-24 21:38:04 -04:00
alexweissman
389aa1ab97 Add Bosnian (bs) 2017-09-24 16:42:12 -04:00
alexweissman
1afea17194 Fixed Norwegian inputTooShort message (#4896) 2017-09-24 16:28:47 -04:00
alexweissman
bdc70c80a0 Updated sk.js localisation (#4915) 2017-09-24 16:27:10 -04:00
alexweissman
9f55c376d2 Merge branch 'master' of https://github.com/milupo/select2 into hotfix 2017-09-24 16:23:30 -04:00
alexweissman
22e73a5586 Fix typo in Romanian
Merged from @peterlupu
2017-09-24 16:19:47 -04:00
alexweissman
4930f735fa Merge branch 'patch-1' of https://github.com/nelson6e65/select2 into nelson6e65-patch-1 2017-09-24 16:08:01 -04:00
alexweissman
ca4de9dcb0 Merge branch 'focus-event' of https://github.com/nino-s/select2 into hotfix 2017-09-06 16:59:54 -04:00
Nelson Martell
5f7feeb801 Update es.js
Update the 'errorLoading' message.
2017-09-06 13:41:31 -04:00
milupo
575e862f98 Create hsb.js 2017-06-11 20:02:09 +02:00
milupo
d914a6d5f5 Create dsb.js 2017-06-11 20:00:58 +02:00
milupo
5a7f832f12 Create dsb.js 2017-06-10 17:03:53 +02:00
milupo
3bc4522200 Create hsb.js 2017-06-10 17:03:05 +02:00
milupo
25fdc6bef4 Delete hsb.js 2017-06-10 17:02:15 +02:00
milupo
53c4c97411 Delete dsb.js 2017-06-10 17:01:36 +02:00
milupo
32ba6d7573 Create dsb.js 2017-06-10 16:04:48 +02:00
milupo
a4a095bda8 Create hsb.js 2017-06-10 16:02:59 +02:00
depesr
5bb7446d24 Update sk.js 2017-05-23 07:22:18 +02:00
depesr
e43a1f2165 Updated sk.js localisation 2017-05-23 07:18:15 +02:00
Frederic G. Østby
f38d84df71 Fixed norwegian inputTooShort message. 2017-05-05 13:02:43 +02:00
Børge Antonsen
946149277e Simplified Norwegian(nb) translation to a more correct text 2017-03-02 10:13:57 +01:00
Josef Šimánek
cd7d4be576 correct typo in pt.js 2016-12-30 18:22:49 +01:00
Kevin Brown
751b36767f Corrected linting issue in Turkish translation 2016-12-30 12:15:56 -05:00
mhamlet
f6fa52dcc0 Added Armenian Localization
This closes https://github.com/select2/select2/pull/3993.
2016-12-30 12:15:25 -05:00
osman orhan
fd4a082531 Add missing errorLoading to Turkish translation
This closes https://github.com/select2/select2/pull/4650.
2016-12-30 11:50:58 -05:00
Kevin Brown
3b8a5d3660 Merge pull request #4730 from quantus/master
Add missing finnish translations
2016-12-30 11:44:28 -05:00
Derrick Hammer
45a8773454 Fix UMD commonjs support
This is based on the UMDJS jQuery template available at
95563fd6b4/templates/jqueryPlugin.js

This closes https://github.com/select2/select2/issues/4557.
This closes https://github.com/select2/select2/pull/4558.
2016-12-29 19:40:09 -05:00
Mike Dearman
16b4840c0e Support selecting options with falsy values
Previously you could not select an option which had the number 0
as its value, because there was a check which would detect it as
an option without a value. There was a similar issue with selecting
options which had a blank string as the value.

This closes https://github.com/select2/select2/issues/4604.
This closes https://github.com/select2/select2/issues/4516.
This closes https://github.com/select2/select2/issues/3252.
This closes https://github.com/select2/select2/issues/3519.

This closes https://github.com/select2/select2/pull/4605.
This closes https://github.com/select2/select2/pull/4517.
2016-12-29 19:23:48 -05:00
Nimit Suwannagate
625fc78ee6 Add errorLoading translation of Thai language.
This closes https://github.com/select2/select2/pull/4521.
2016-12-29 19:01:37 -05:00
Leandro Regueiro
f3788e2cda Simplify Danish and Arabic translations
This closes https://github.com/select2/select2/pull/4547.
2016-12-29 18:59:44 -05:00
Leandro Regueiro
8fcc6202c3 Update Galician translation 2016-12-29 18:59:15 -05:00
mitja-p
8e6422c570 Add Slovene translation
This closes https://github.com/select2/select2/pull/4576.
2016-12-29 18:55:49 -05:00
niki7har
4df965219e Update de.js
The german errorLoading message was missing.

This closes https://github.com/select2/select2/pull/4711.
This closes https://github.com/select2/select2/pull/4591.
2016-12-29 18:48:18 -05:00
Sági György
7d1d133523 i18n hu.js update. Added errorLoading property.
This closes https://github.com/select2/select2/pull/4724.
2016-12-29 18:46:29 -05:00
Yaron Uliel
cb9a904578 Make tags matching case insensitive
This closes https://github.com/select2/select2/issues/3566
This closes https://github.com/select2/select2/pull/4509
2016-12-29 18:26:19 -05:00
Pekka Pöyry
124087ae2a Add missing finnish translations 2016-12-22 15:03:12 +02:00
Nino Schoch
294e7e664d Fixed form focus lost 2016-06-16 13:45:21 +02:00
Harry
7eab29e271 Added Greek (el) translation
Translated English (en) language file to Greek (el).

This closes https://github.com/select2/select2/pull/4139
This closes https://github.com/select2/select2/pull/4146
2016-05-26 20:36:22 -04:00
Kevin Brown
ea79a197e0 Select2 now detects added and removed options
Select2 will now automatically update the selection if there are options
added to or removed from the DOM within the `<select>` element. This is
supported in all browsers except for Internet Explorer 8. Internet
Explorer 8 does not support the DOM mutation events which were added in
Internet Explorer 9, and it does not support mutation observers which
are the recommended way of handling this in modern browsers.

DOM mutation events also trigger for the `<select>` itself when it is
pulled from the DOM, so we need to filter these out within the event
handler.

Despite supporting mutation observers, we cannot accurately detect if
the removed option was selected at one time or another, so we need to
always re-pull the selection when an element is deleted.

This closes https://github.com/select2/select2/issues/4248
This builds upon https://github.com/select2/select2/pull/4249
2016-05-23 23:31:17 -04:00
Kevin Brown
4b9e02f022 Corrected check for opening the dropdown
This corrects the check that was used when the dropdown was opened, so
the results would be immediately rendered instead of delaying the
loading. Previously it would delay the immediate load but immediately
load the results when the search term was emptied.

This closes https://github.com/select2/select2/issues/4191
This closes https://github.com/select2/select2/pull/4192
This closes https://github.com/select2/select2/pull/4202
2016-05-14 22:26:56 -04:00
Kevin Brown
481c43883e selectOnClose now properly works with closeOnSelect
Previously we hacked around the infinite loop between closeOnSelect and
selectOnClose by attempting to detect what event was being triggered
without knowing what event triggered it. Now we properly relay the
Select2 event and the jQuery event that triggered the select or unselect

This closes https://github.com/select2/select2/issues/4012
2016-05-14 22:14:20 -04:00
Kevin Brown
ad8447cc35 Add a new _type parameter for the first event argument
This will include the event type in the _type property, so it can be
accessed within the event handlers if it's not normally passed in. This
should not conflict with any existing handlers, and this should not be
considered a public property on event arguments.
2016-05-14 22:01:42 -04:00
Kevin Brown
9f581285d8 Renamed focusFirstItem method
This renames the `focusFirstItem` method to `highlightFirstItem`, which
better reflects what is actually happening. This also ensures that the
highlight is visible when it is moved by calling
`ensureHighlightVisible`.

This closes https://github.com/select2/select2/issues/3479
This closes https://github.com/select2/select2/pull/4238
2016-05-14 21:05:14 -04:00
Alexander Leonov
e897d008a6 Fixed infinite scrolling issue using down key. 2016-05-14 21:04:31 -04:00
Damien Finck
b1ea28bb7d Add missing French translation 2016-05-04 19:55:01 +02:00
Maarten Brouwers
89dcfef94b linting fix for lt i18n file 2016-05-03 00:08:06 +02:00