added several languages

This commit is contained in:
Valeriy 2014-11-16 02:28:37 +05:00
parent bc9ba145a3
commit fff719389f
6 changed files with 83 additions and 130 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
index.php $ cat .gitignore
parse.php

View File

@ -1,47 +1,47 @@
{ {
"name": "datetimepicker", "name": "datetimepicker",
"version": "2.4.0", "version": "2.4.1",
"title": "jQuery Date and Time picker", "title": "jQuery Date and Time picker",
"description": "jQuery plugin for date, time, or datetime manipulation in form", "description": "jQuery plugin for date, time, or datetime manipulation in form",
"keywords": [ "keywords": [
"calendar", "calendar",
"date", "date",
"time", "time",
"form", "form",
"datetime", "datetime",
"datepicker", "datepicker",
"timepicker", "timepicker",
"datetimepicker", "datetimepicker",
"validation", "validation",
"ui", "ui",
"scroller", "scroller",
"picker", "picker",
"i18n", "i18n",
"input", "input",
"jquery", "jquery",
"touch" "touch"
], ],
"author": { "author": {
"name": "Chupurnov Valeriy", "name": "Chupurnov Valeriy",
"email": "chupurnov@gmail.com", "email": "chupurnov@gmail.com",
"url": "http://xdsoft.net/contacts.html" "url": "http://xdsoft.net/contacts.html"
}, },
"maintainers": [{ "maintainers": [{
"name": "Chupurnov Valeriy", "name": "Chupurnov Valeriy",
"email": "chupurnov@gmail.com", "email": "chupurnov@gmail.com",
"url": "http://xdsoft.net" "url": "http://xdsoft.net"
}], }],
"licenses": [ "licenses": [
{ {
"type": "MIT", "type": "MIT",
"url": "https://github.com/xdan/datetimepicker/blob/master/MIT-LICENSE.txt" "url": "https://github.com/xdan/datetimepicker/blob/master/MIT-LICENSE.txt"
} }
], ],
"bugs": "https://github.com/xdan/datetimepicker/issues", "bugs": "https://github.com/xdan/datetimepicker/issues",
"homepage": "http://xdsoft.net/jqplugins/datetimepicker/", "homepage": "http://xdsoft.net/jqplugins/datetimepicker/",
"docs": "http://xdsoft.net/jqplugins/datetimepicker/", "docs": "http://xdsoft.net/jqplugins/datetimepicker/",
"download": "https://github.com/xdan/datetimepicker/archive/master.zip", "download": "https://github.com/xdan/datetimepicker/archive/master.zip",
"dependencies": { "dependencies": {
"jquery": ">=1.7" "jquery": ">=1.7"
} }
} }

View File

@ -410,10 +410,10 @@
}, },
he: { //Hebrew (עברית) he: { //Hebrew (עברית)
months: [ months: [
'ינואר','פברואר','מרץ','אפריל','מאי','יוני', 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר' 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'
], ],
dayOfWeek: [ dayOfWeek: [
'א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת' 'א\'', 'ב\'', 'ג\'', 'ד\'', 'ה\'', 'ו\'', 'שבת'
] ]
} }
}, },
@ -1672,7 +1672,11 @@
event.stopPropagation(); event.stopPropagation();
}) })
.on('toggle.xdsoft', function (event) { .on('toggle.xdsoft', function (event) {
datetimepicker.is(':visible') ? datetimepicker.trigger('close.xdsoft') : datetimepicker.trigger('open.xdsoft'); if (datetimepicker.is(':visible')) {
datetimepicker.trigger('close.xdsoft');
} else {
datetimepicker.trigger('open.xdsoft');
}
}) })
.data('input', input); .data('input', input);

View File

@ -1,39 +0,0 @@
0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'publish' ]
2 info using npm@1.3.21
3 info using node@v0.10.24
4 verbose publish [ '.' ]
5 verbose cache add [ '.', null ]
6 verbose cache add name=undefined spec="." args=[".",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url slashes: null,
7 verbose parsed url auth: null,
7 verbose parsed url host: null,
7 verbose parsed url port: null,
7 verbose parsed url hostname: null,
7 verbose parsed url hash: null,
7 verbose parsed url search: null,
7 verbose parsed url query: null,
7 verbose parsed url pathname: '.',
7 verbose parsed url path: '.',
7 verbose parsed url href: '.' }
8 silly lockFile 3a52ce78- .
9 verbose lock . C:\Users\valera\AppData\Roaming\npm-cache\3a52ce78-.lock
10 silly lockFile 3a52ce78- .
11 silly lockFile 3a52ce78- .
12 error addLocal Could not install .
13 error Error: ENOENT, open 'C:\WebServers\home\analize\datetimepicker\package.json'
14 error If you need help, you may report this *entire* log,
14 error including the npm and node versions, at:
14 error <http://github.com/isaacs/npm/issues>
15 error System Windows_NT 6.1.7601
16 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "publish"
17 error cwd C:\WebServers\home\analize\datetimepicker
18 error node -v v0.10.24
19 error npm -v 1.3.21
20 error path C:\WebServers\home\analize\datetimepicker\package.json
21 error code ENOENT
22 error errno 34
23 verbose exit [ 34, true ]

View File

@ -1,41 +0,0 @@
{
"name": "datetimepicker",
"version": "2.4.0",
"title": "jQuery Date and Time picker",
"description": "jQuery plugin for date, time, or datetime manipulation in form",
"keywords": [
"jquery-plugin",
"calendar",
"date",
"time",
"form",
"datetime",
"datepicker",
"timepicker",
"datetimepicker",
"validation",
"ui",
"scroller",
"picker",
"i18n",
"input",
"jquery",
"touch"
],
"author": {
"name": "Chupurnov Valeriy",
"email": "chupurnov@gmail.com",
"url": "http://xdsoft.net/contacts.html"
},
"repository": {
"type": "git",
"url": "https://github.com/xdan/datetimepicker.git"
},
"bugs": {
"url": "https://github.com/xdan/datetimepicker/issues",
"email" : "chupurnov@gmail.com"
},
"homepage":"http://xdsoft.net/jqplugins/datetimepicker/",
"dependencies": {},
"license": "MIT"
}

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "jquery-datetimepicker",
"version": "2.4.0",
"description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one",
"main": "jquery.datetimepicker.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/xdan/datetimepicker.git"
},
"keywords": [
"jquery-plugin",
"calendar",
"date",
"time",
"datetime",
"datepicker",
"timepicker"
],
"author": "Chupurnov <chupurnov@gmail.com> (http://xdsoft.net/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/xdan/datetimepicker/issues"
},
"homepage": "https://github.com/xdan/datetimepicker"
}