simple_form_custom_inputs 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -8
- data/example/Gemfile +0 -1
- data/example/Gemfile.lock +1 -4
- data/example/app/assets/javascripts/application.js +1 -2
- data/example/app/assets/stylesheets/application.scss +1 -1
- data/lib/simple_form_custom_inputs/simple_form/button_file_input.rb +1 -0
- data/lib/simple_form_custom_inputs/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.bg.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ca.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.cs.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.da.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.de.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.el.js +13 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.es.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fi.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fr.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.he.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.hr.js +13 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.id.js +13 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.is.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.it.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ja.js +13 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.kr.js +13 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.lt.js +16 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.lv.js +16 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ms.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.nb.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.nl.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.pl.js +15 -0
- data/vendor/assets/javascripts/{I18n/pt-BR.js → bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.js} +5 -1
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.pt.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ro.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.rs.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ru.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sk.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sl.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sv.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sw.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.th.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.tr.js +15 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.uk.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.js +14 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.js +13 -0
- data/vendor/assets/javascripts/ezdz.js +423 -0
- data/vendor/assets/javascripts/simple_form_custom_inputs.js +16 -18
- data/vendor/assets/stylesheets/ezdz.css +119 -0
- data/vendor/assets/stylesheets/simple_form_custom_inputs.scss +1 -0
- metadata +41 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 368e37dc51b73b61fd73cdd391c82848087dc909
|
4
|
+
data.tar.gz: 2d7e75b461276a331aea7ac9f85e2ab80449a533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1260fc0d079220bfc0792b395e24a2d1836f14126938c823ae11830881d012888ddf2aeda1173a3e17529e16a79cde90b581baef5bb845dfc56037221c008685
|
7
|
+
data.tar.gz: 48fa8471a02ceb35f03c2d0c3fb9b6e2ab23d0307d38c0fcc54f30f0ac52c8f0add57c1f16df4d4c504d573164ea0259d4e4f31d2c7da892ae429a6fbc4b0d1a
|
data/README.md
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
|
7
7
|
- [x] Switch/Toggle with Switchery
|
8
8
|
- [x] Masked inputs
|
9
|
+
- [x] File button
|
10
|
+
- [x] File drag n drop
|
9
11
|
- [x] Datepicker
|
10
12
|
- [ ] Datetimepicker
|
11
13
|
- [ ] Timepicker
|
12
|
-
- [x] File button
|
13
|
-
- [x] File drag n drop
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -44,7 +44,6 @@ In app/assets/javascripts/application.js, you should add as follows:
|
|
44
44
|
//= require switchery
|
45
45
|
//= require jquery.maskedinput
|
46
46
|
//= require bootstrap-datepicker
|
47
|
-
//= require ezdz/dist/jquery.ezdz
|
48
47
|
//= require simple_form_custom_inputs
|
49
48
|
//= require ...
|
50
49
|
```
|
@@ -56,7 +55,7 @@ Application.scss
|
|
56
55
|
@import "bootstrap";
|
57
56
|
@import "switchery";
|
58
57
|
@import "bootstrap-datepicker";
|
59
|
-
@import "
|
58
|
+
@import "simple_form_custom_inputs";
|
60
59
|
```
|
61
60
|
|
62
61
|
Basic Example:
|
@@ -85,12 +84,9 @@ config.i18n.default_locale = 'pt-BR'
|
|
85
84
|
```js
|
86
85
|
...
|
87
86
|
//= require bootstrap-datepicker
|
88
|
-
//= require
|
87
|
+
//= require bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR
|
89
88
|
...
|
90
89
|
```
|
91
|
-
## Help wanted
|
92
|
-
|
93
|
-
Please, help with I18n for datepicker!
|
94
90
|
|
95
91
|
## Sample projects
|
96
92
|
|
data/example/Gemfile
CHANGED
data/example/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
simple_form_custom_inputs (0.0.
|
4
|
+
simple_form_custom_inputs (0.0.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -116,8 +116,6 @@ GEM
|
|
116
116
|
sprockets-rails (>= 2.0.0)
|
117
117
|
rails-assets-bootstrap-datepicker (1.6.4)
|
118
118
|
rails-assets-jquery (>= 1.7.1)
|
119
|
-
rails-assets-ezdz (0.5.1)
|
120
|
-
rails-assets-jquery (>= 1.8)
|
121
119
|
rails-assets-fastclick (0.6.11)
|
122
120
|
rails-assets-jquery (3.2.1)
|
123
121
|
rails-assets-jquery.maskedinput (1.4.1)
|
@@ -198,7 +196,6 @@ DEPENDENCIES
|
|
198
196
|
puma (~> 3.0)
|
199
197
|
rails (~> 5.0.2)
|
200
198
|
rails-assets-bootstrap-datepicker!
|
201
|
-
rails-assets-ezdz!
|
202
199
|
rails-assets-jquery.maskedinput!
|
203
200
|
rails-assets-switchery!
|
204
201
|
sass-rails (~> 5.0)
|
@@ -17,7 +17,6 @@
|
|
17
17
|
//= require switchery
|
18
18
|
//= require jquery.maskedinput
|
19
19
|
//= require bootstrap-datepicker
|
20
|
-
//= require
|
21
|
-
//= require I18n/pt-BR
|
20
|
+
//= require bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR
|
22
21
|
//= require simple_form_custom_inputs
|
23
22
|
//= require_tree .
|
@@ -4,6 +4,7 @@ class ButtonFileInput < SimpleForm::Inputs::FileInput
|
|
4
4
|
attr_accessor :output_buffer
|
5
5
|
|
6
6
|
def input(wrapper_options = nil)
|
7
|
+
options[:class] = 'btn btn-default' unless options[:class]
|
7
8
|
input_html_options[:class] << 'hidden inputfile'
|
8
9
|
merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
|
9
10
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Bulgarian translation for bootstrap-datepicker
|
3
|
+
* Apostol Apostolov <apostol.s.apostolov@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['bg'] = {
|
7
|
+
days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
|
8
|
+
daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
|
9
|
+
daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
|
10
|
+
months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
|
11
|
+
monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
|
12
|
+
today: "днес"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Catalan translation for bootstrap-datepicker
|
3
|
+
* J. Garcia <jogaco.en@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ca'] = {
|
7
|
+
days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"],
|
8
|
+
daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"],
|
9
|
+
daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"],
|
10
|
+
months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"],
|
11
|
+
monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"],
|
12
|
+
today: "Avui"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Czech translation for bootstrap-datepicker
|
3
|
+
* Matěj Koubík <matej@koubik.name>
|
4
|
+
* Fixes by Michal Remiš <michal.remis@gmail.com>
|
5
|
+
*/
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['cs'] = {
|
8
|
+
days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"],
|
9
|
+
daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"],
|
10
|
+
daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"],
|
11
|
+
months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"],
|
12
|
+
monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"],
|
13
|
+
today: "Dnes"
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Danish translation for bootstrap-datepicker
|
3
|
+
* Christian Pedersen <http://github.com/chripede>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['da'] = {
|
7
|
+
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
8
|
+
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
9
|
+
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
10
|
+
months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "I Dag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* German translation for bootstrap-datepicker
|
3
|
+
* Sam Zurcher <sam@orelias.ch>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['de'] = {
|
7
|
+
days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
|
8
|
+
daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
|
9
|
+
daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
|
10
|
+
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
12
|
+
today: "Heute",
|
13
|
+
weekStart: 1
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Greek translation for bootstrap-datepicker
|
3
|
+
*/
|
4
|
+
;(function($){
|
5
|
+
$.fn.datepicker.dates['el'] = {
|
6
|
+
days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"],
|
7
|
+
daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"],
|
8
|
+
daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"],
|
9
|
+
months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"],
|
10
|
+
monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"],
|
11
|
+
today: "Σήμερα"
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Spanish translation for bootstrap-datepicker
|
3
|
+
* Bruno Bonamin <bruno.bonamin@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['es'] = {
|
7
|
+
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
|
8
|
+
daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
|
9
|
+
daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
|
10
|
+
months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
|
11
|
+
monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
|
12
|
+
today: "Hoy"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Finnish translation for bootstrap-datepicker
|
3
|
+
* Jaakko Salonen <https://github.com/jsalonen>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['fi'] = {
|
7
|
+
days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
|
8
|
+
daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
|
9
|
+
daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
|
10
|
+
months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
|
11
|
+
monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"],
|
12
|
+
today: "tänään"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* French translation for bootstrap-datepicker
|
3
|
+
* Nico Mollet <nico.mollet@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['fr'] = {
|
7
|
+
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
8
|
+
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
|
9
|
+
daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
|
10
|
+
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
|
11
|
+
monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"],
|
12
|
+
today: "Aujourd'hui",
|
13
|
+
weekStart: 1
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Hebrew translation for bootstrap-datepicker
|
3
|
+
* Sagie Maoz <sagie@maoz.info>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['he'] = {
|
7
|
+
days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"],
|
8
|
+
daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
|
9
|
+
daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
|
10
|
+
months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"],
|
11
|
+
monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
|
12
|
+
today: "היום",
|
13
|
+
rtl: true
|
14
|
+
};
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Croatian localisation
|
3
|
+
*/
|
4
|
+
;(function($){
|
5
|
+
$.fn.datepicker.dates['hr'] = {
|
6
|
+
days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"],
|
7
|
+
daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"],
|
8
|
+
daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"],
|
9
|
+
months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"],
|
10
|
+
monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"],
|
11
|
+
today: "Danas"
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Bahasa translation for bootstrap-datepicker
|
3
|
+
* Azwar Akbar <azwar.akbar@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['id'] = {
|
7
|
+
days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
|
8
|
+
daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
|
9
|
+
daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
|
10
|
+
months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"]
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Icelandic translation for bootstrap-datepicker
|
3
|
+
* Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['is'] = {
|
7
|
+
days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
|
8
|
+
daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
|
9
|
+
daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
|
10
|
+
months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"],
|
12
|
+
today: "Í Dag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Italian translation for bootstrap-datepicker
|
3
|
+
* Enrico Rubboli <rubboli@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['it'] = {
|
7
|
+
days: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domenica"],
|
8
|
+
daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
|
9
|
+
daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
|
10
|
+
months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
|
11
|
+
monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
|
12
|
+
today: "Oggi"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Japanese translation for bootstrap-datepicker
|
3
|
+
* Norio Suzuki <https://github.com/suzuki/>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ja'] = {
|
7
|
+
days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
|
8
|
+
daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
|
9
|
+
daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"],
|
10
|
+
months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
11
|
+
monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"]
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* Korean translation for bootstrap-datepicker
|
3
|
+
* Gu Youn <http://github.com/guyoun>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['kr'] = {
|
7
|
+
days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
|
8
|
+
daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
9
|
+
daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
10
|
+
months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
11
|
+
monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
|
12
|
+
};
|
13
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Lithuanian translation for bootstrap-datepicker
|
3
|
+
* Šarūnas Gliebus <ssharunas@yahoo.co.uk>
|
4
|
+
*/
|
5
|
+
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['lt'] = {
|
8
|
+
days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"],
|
9
|
+
daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"],
|
10
|
+
daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"],
|
11
|
+
months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"],
|
12
|
+
monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"],
|
13
|
+
today: "Šiandien",
|
14
|
+
weekStart: 1
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* Latvian translation for bootstrap-datepicker
|
3
|
+
* Artis Avotins <artis@apit.lv>
|
4
|
+
*/
|
5
|
+
|
6
|
+
;(function($){
|
7
|
+
$.fn.datepicker.dates['lv'] = {
|
8
|
+
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
|
9
|
+
daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"],
|
10
|
+
daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"],
|
11
|
+
months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
|
12
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."],
|
13
|
+
today: "Šodien",
|
14
|
+
weekStart: 1
|
15
|
+
};
|
16
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Malay translation for bootstrap-datepicker
|
3
|
+
* Ateman Faiz <noorulfaiz@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['ms'] = {
|
7
|
+
days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"],
|
8
|
+
daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
|
9
|
+
daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
|
10
|
+
months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
|
12
|
+
today: "Hari Ini"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Norwegian (bokmål) translation for bootstrap-datepicker
|
3
|
+
* Fredrik Sundmyhr <http://github.com/fsundmyhr>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['nb'] = {
|
7
|
+
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
8
|
+
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
9
|
+
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
10
|
+
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
12
|
+
today: "I Dag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Dutch translation for bootstrap-datepicker
|
3
|
+
* Reinier Goltstein <mrgoltstein@gmail.com>
|
4
|
+
*/
|
5
|
+
;(function($){
|
6
|
+
$.fn.datepicker.dates['nl'] = {
|
7
|
+
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
|
8
|
+
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
9
|
+
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
10
|
+
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
11
|
+
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
+
today: "Vandaag"
|
13
|
+
};
|
14
|
+
}(jQuery));
|