carrier 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +27 -0
- data/LICENSE.txt +20 -0
- data/MIT-LICENSE +20 -0
- data/README.textile +111 -0
- data/Rakefile +48 -0
- data/VERSION +1 -0
- data/app/assets/images/.gitkeep +0 -0
- data/app/assets/javascripts/autocomplete.js +4 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery-ui-i18n.js +1379 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-af.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-az.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-da.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-de.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-el.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-es.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-et.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-he.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-id.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-is.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-it.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-no.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-th.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/app/assets/javascripts/autocomplete/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/app/assets/javascripts/autocomplete/jquery.ui.autocomplete.min.js +32 -0
- data/app/assets/javascripts/autocomplete/jquery.ui.core.min.js +17 -0
- data/app/assets/javascripts/autocomplete/jquery.ui.position.min.js +16 -0
- data/app/assets/javascripts/autocomplete/jquery.ui.widget.min.js +15 -0
- data/app/assets/javascripts/carrier.js +8 -0
- data/app/assets/javascripts/jquery.min.js +16 -0
- data/app/assets/javascripts/rails.js +169 -0
- data/app/assets/javascripts/rich-multiselect/jquery-ui.min.js +405 -0
- data/app/assets/javascripts/rich-multiselect/locale/ui-multiselect-de.js +11 -0
- data/app/assets/javascripts/rich-multiselect/locale/ui-multiselect-en.js +11 -0
- data/app/assets/javascripts/rich-multiselect/locale/ui-multiselect-es.js +11 -0
- data/app/assets/javascripts/rich-multiselect/locale/ui-multiselect-fr.js +11 -0
- data/app/assets/javascripts/rich-multiselect/locale/ui-multiselect-it.js +13 -0
- data/app/assets/javascripts/rich-multiselect/plugins/localisation/jquery.localisation-min.js +7 -0
- data/app/assets/javascripts/rich-multiselect/plugins/localisation/jquery.localisation-pack.js +7 -0
- data/app/assets/javascripts/rich-multiselect/plugins/localisation/jquery.localisation.js +99 -0
- data/app/assets/javascripts/rich-multiselect/plugins/scrollTo/README.txt +37 -0
- data/app/assets/javascripts/rich-multiselect/plugins/scrollTo/changes.txt +82 -0
- data/app/assets/javascripts/rich-multiselect/plugins/scrollTo/jquery.scrollTo-min.js +11 -0
- data/app/assets/javascripts/rich-multiselect/plugins/scrollTo/jquery.scrollTo.js +207 -0
- data/app/assets/javascripts/rich-multiselect/ui.multiselect.js +339 -0
- data/app/assets/stylesheets/carrier.css +227 -0
- data/app/assets/stylesheets/carrier_rich.css +48 -0
- data/app/assets/stylesheets/carrier_simple.css +15 -0
- data/app/assets/stylesheets/rich-multiselect/ui.multiselect.css +30 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_55_fbf9ee_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_75_cccccc_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_75_dadada_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_75_e6e6e6_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-bg_flat_95_fef1ec_40x100.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/ui-lightness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/ui-lightness/jquery-ui-1.8.14.custom.css +342 -0
- data/app/controllers/carrier/application_controller.rb +5 -0
- data/app/controllers/carrier/chains_controller.rb +16 -0
- data/app/controllers/carrier/messages_controller.rb +59 -0
- data/app/helpers/carrier/application_helper.rb +26 -0
- data/app/helpers/carrier/post_helper.rb +4 -0
- data/app/models/carrier/chain.rb +59 -0
- data/app/models/carrier/message.rb +118 -0
- data/app/models/carrier/message/scopes.rb +51 -0
- data/app/models/carrier/message/subject.rb +25 -0
- data/app/models/carrier/message/validations.rb +7 -0
- data/app/validators/recipients/exclude_self.rb +10 -0
- data/app/validators/recipients/recipients_validator.rb +10 -0
- data/app/views/carrier/chains/archive.js.erb +1 -0
- data/app/views/carrier/chains/unarchive.js.erb +1 -0
- data/app/views/carrier/messages/_archive_chain.html.erb +6 -0
- data/app/views/carrier/messages/_form.html.erb +30 -0
- data/app/views/carrier/messages/_head.html.erb +8 -0
- data/app/views/carrier/messages/_index_message.html.erb +13 -0
- data/app/views/carrier/messages/_message_collapsed.html.erb +12 -0
- data/app/views/carrier/messages/_message_expanded.html.erb +10 -0
- data/app/views/carrier/messages/_nav_messages.html.erb +15 -0
- data/app/views/carrier/messages/_reply.html.erb +19 -0
- data/app/views/carrier/messages/as_sent.html.erb +36 -0
- data/app/views/carrier/messages/collapsed.js.erb +1 -0
- data/app/views/carrier/messages/create.js.erb +1 -0
- data/app/views/carrier/messages/expanded.js.erb +1 -0
- data/app/views/carrier/messages/index.html.erb +9 -0
- data/app/views/carrier/messages/new.html.erb +7 -0
- data/app/views/carrier/messages/new.js.erb +1 -0
- data/app/views/carrier/messages/reply.js.erb +6 -0
- data/app/views/carrier/messages/rich/_multiselect.html.erb +18 -0
- data/app/views/carrier/messages/rich/_recipients.html.erb +6 -0
- data/app/views/carrier/messages/show.html.erb +35 -0
- data/app/views/carrier/messages/simple/_autocomplete.html.erb +45 -0
- data/app/views/carrier/messages/simple/_autocomplete_includes.html.erb +7 -0
- data/app/views/carrier/messages/simple/_recipients.html.erb +3 -0
- data/app/views/layouts/carrier/application.html.erb +16 -0
- data/app/views/partials/_error_messages_for.html.erb +9 -0
- data/carrier.gemspec +331 -0
- data/config/locales/carrier.en.yml +48 -0
- data/config/locales/carrier.ru.yml +48 -0
- data/config/routes.rb +24 -0
- data/db/migrate/001_create_messages.rb +26 -0
- data/db/migrate/002_create_chains.rb +34 -0
- data/db/migrate/003_create_read_marks +16 -0
- data/lib/carrier.rb +22 -0
- data/lib/carrier/configuration.rb +35 -0
- data/lib/carrier/configuration/models.rb +31 -0
- data/lib/carrier/configuration/ui.rb +28 -0
- data/lib/carrier/rails.rb +5 -0
- data/lib/carrier/rails/engine.rb +50 -0
- data/lib/carrier/rails/helpers.rb +30 -0
- data/lib/tasks/carrier_tasks.rake +4 -0
- data/script/rails +6 -0
- data/spec/carrier/app/controllers/application_controller_spec.rb +1 -0
- data/spec/carrier/app/models/message_scopes_spec.rb +25 -0
- data/spec/carrier/app/models/message_spec.rb +38 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +9 -0
- data/spec/dummy/app/assets/javascripts/default.js +2 -0
- data/spec/dummy/app/assets/javascripts/jquery.js +16 -0
- data/spec/dummy/app/assets/javascripts/jquery_ujs.js +169 -0
- data/spec/dummy/app/assets/javascripts/posts.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/assets/stylesheets/default.css +4 -0
- data/spec/dummy/app/assets/stylesheets/posts.css +4 -0
- data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/default_controller.rb +5 -0
- data/spec/dummy/app/controllers/posts_controller.rb +83 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/default_helper.rb +2 -0
- data/spec/dummy/app/helpers/posts_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/post.rb +2 -0
- data/spec/dummy/app/models/user.rb +15 -0
- data/spec/dummy/app/views/default/index.html.erb +4 -0
- data/spec/dummy/app/views/devise/confirmations/new.html.erb +12 -0
- data/spec/dummy/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/spec/dummy/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/spec/dummy/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/spec/dummy/app/views/devise/passwords/edit.html.erb +16 -0
- data/spec/dummy/app/views/devise/passwords/new.html.erb +12 -0
- data/spec/dummy/app/views/devise/registrations/edit.html.erb +25 -0
- data/spec/dummy/app/views/devise/registrations/new.html.erb +18 -0
- data/spec/dummy/app/views/devise/sessions/new.html.erb +17 -0
- data/spec/dummy/app/views/devise/shared/_links.erb +25 -0
- data/spec/dummy/app/views/devise/unlocks/new.html.erb +12 -0
- data/spec/dummy/app/views/layouts/application.html.erb +16 -0
- data/spec/dummy/app/views/posts/_form.html.erb +17 -0
- data/spec/dummy/app/views/posts/edit.html.erb +6 -0
- data/spec/dummy/app/views/posts/index.html.erb +21 -0
- data/spec/dummy/app/views/posts/new.html.erb +5 -0
- data/spec/dummy/app/views/posts/show.html.erb +5 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +51 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +26 -0
- data/spec/dummy/config/database_mysql.yml +29 -0
- data/spec/dummy/config/database_pgsql.yml +35 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +24 -0
- data/spec/dummy/config/environments/production.rb +52 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/carrier.rb +3 -0
- data/spec/dummy/config/initializers/devise.rb +204 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
- data/spec/dummy/config/locales/devise.en.yml +53 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +15 -0
- data/spec/dummy/db/migrate/007_devise_create_users.rb +29 -0
- data/spec/dummy/db/migrate/20110130210000_create_read_marks.rb +16 -0
- data/spec/dummy/db/migrate/20110814064637_create_posts.rb +8 -0
- data/spec/dummy/db/migrate/20110814164228_create_messages.rb +26 -0
- data/spec/dummy/db/migrate/20110814164229_create_chains.rb +34 -0
- data/spec/dummy/db/schema.rb +79 -0
- data/spec/dummy/db/seeds.rb +26 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/test/fixtures/posts.yml +11 -0
- data/spec/dummy/test/fixtures/users.yml +11 -0
- data/spec/dummy/test/functional/default_controller_test.rb +9 -0
- data/spec/dummy/test/functional/posts_controller_test.rb +49 -0
- data/spec/dummy/test/unit/helpers/default_helper_test.rb +4 -0
- data/spec/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
- data/spec/dummy/test/unit/post_test.rb +7 -0
- data/spec/dummy/test/unit/user_test.rb +7 -0
- data/spec/dummy_spec_helper.rb +70 -0
- data/spec/integration/carrier_spec.rb +71 -0
- data/spec/requests/main_spec.rb +31 -0
- data/spec/support/controller_macros.rb +10 -0
- data/spec/support/factories.rb +47 -0
- data/spec/support/rspec_helpers.rb +22 -0
- data/test/helper.rb +18 -0
- data/test/test_carrier.rb +7 -0
- metadata +450 -0
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--format nested --color
|
data/Gemfile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'require_all'
|
4
|
+
gem 'kaminari'
|
5
|
+
gem 'unread'
|
6
|
+
gem 'sugar-high'
|
7
|
+
gem 'sweetloader'
|
8
|
+
|
9
|
+
group :development, :test do
|
10
|
+
gem 'rails', '>=3.1.0'
|
11
|
+
gem 'unicorn'
|
12
|
+
gem 'mysql2'
|
13
|
+
gem 'devise'
|
14
|
+
gem 'rake-kit'
|
15
|
+
gem 'cutter'
|
16
|
+
gem "jeweler", ">= 1.6.4"
|
17
|
+
gem "rspec-rails", '>= 2.5'
|
18
|
+
end
|
19
|
+
|
20
|
+
group :test do
|
21
|
+
gem 'capybara'
|
22
|
+
gem 'factory_girl'
|
23
|
+
gem 'spork'
|
24
|
+
gem "launchy"
|
25
|
+
gem 'shoulda'
|
26
|
+
end
|
27
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 stanislaw
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2011 YOURNAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.textile
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
h1. Carrier
|
2
|
+
|
3
|
+
Carrier is result of extracting simple messaging functionality from one working Rails app.
|
4
|
+
|
5
|
+
h2. Installiation
|
6
|
+
|
7
|
+
Insert into Gemfile
|
8
|
+
|
9
|
+
@gem 'carrier'@
|
10
|
+
|
11
|
+
Run bundler to bundle gems in the app
|
12
|
+
|
13
|
+
@$ bundle update@
|
14
|
+
|
15
|
+
Since Carrier is a Rails 3.1 mountable app, you need to define mount point like:
|
16
|
+
|
17
|
+
<pre>
|
18
|
+
# config/routes.rb
|
19
|
+
mount Carrier::Engine => "/carrier"
|
20
|
+
</pre>
|
21
|
+
|
22
|
+
Install Carrier's migrations and run them:
|
23
|
+
|
24
|
+
<pre>
|
25
|
+
rake carrier:install:migrations
|
26
|
+
rake db:migrate
|
27
|
+
</pre>
|
28
|
+
|
29
|
+
Carrier uses "Unread":https://github.com/ledermann/unread to manage read/unread status of messages. So add this into your User model:
|
30
|
+
|
31
|
+
<pre>
|
32
|
+
# app/models/user.rb
|
33
|
+
class User < ActiveRecord::Base
|
34
|
+
# ...
|
35
|
+
acts_as_reader
|
36
|
+
# ...
|
37
|
+
end
|
38
|
+
</pre>
|
39
|
+
|
40
|
+
Carrier works only for authenticated users expecting #current_user method somehow defined.
|
41
|
+
Carrier's controllers namespaces are isolated, so to provide authentication procedure yielding #current_user (before_filter is most common way) add it to Carrier::ApplicationController like:
|
42
|
+
|
43
|
+
<pre>
|
44
|
+
# your app's root/app/controllers/carrier/application_controller.rb
|
45
|
+
module Carrier
|
46
|
+
class ApplicationController < ActionController::Base
|
47
|
+
before_filter :authenticate_user! # If using Devise
|
48
|
+
end
|
49
|
+
end
|
50
|
+
</pre>
|
51
|
+
|
52
|
+
This ensures that Carrier will be aware of current authenticated user.
|
53
|
+
|
54
|
+
Point your browser to your_apps's url/carrier, fx:
|
55
|
+
|
56
|
+
@http://localhost/carrier@
|
57
|
+
|
58
|
+
and you are on the go!
|
59
|
+
|
60
|
+
h2. Prerequisites
|
61
|
+
|
62
|
+
* Rails 3.1
|
63
|
+
|
64
|
+
* Carrier has been tested with Devise as authentication system. Any other solution providing #current_user should be just fine too.
|
65
|
+
|
66
|
+
* Carrier has been tested to work with MySQL and PostgreSQL.
|
67
|
+
It doesn't work with SQLite3, because sqlite3 doesn't serialize fields (maybe this is the issue of current gem environment only). Scope's queries are using the most basic Arel features so it should be easy to use any other ORM.
|
68
|
+
|
69
|
+
h2. Design overview
|
70
|
+
|
71
|
+
The Carrier design is very simple:
|
72
|
+
|
73
|
+
It has messages and chains (Message model, and Chain model). Message model has chain_id i.e. messages are simply grouped in chains. Chains are non-threaded, each chain is just a linear sequence of messages.
|
74
|
+
|
75
|
+
All queries to messages and their chains are being done using scopes with joins and includes so performance is expected to be fast (review it and advice how accomplish it even better!).
|
76
|
+
|
77
|
+
Carrier doesn't support deletion of messages yet. Instead it supports archivation of chains (Chain has #archived_for field to store serialized array of user's ids).
|
78
|
+
|
79
|
+
h2. Configuration
|
80
|
+
|
81
|
+
Carrier's templates are written in I18n way. Carrier has two locales _:en_ and _:ru_ pre-written. If you change locale in config/application.rb Carrier will try to find corresponding rules from locale's yml files
|
82
|
+
|
83
|
+
More coming...
|
84
|
+
|
85
|
+
h2. Quick try
|
86
|
+
|
87
|
+
Try dummy app located in spec/ folder. Clone repo, then:
|
88
|
+
|
89
|
+
<pre>
|
90
|
+
# edit Gemfile:
|
91
|
+
gem 'mysql' or gem 'pg'
|
92
|
+
bundle
|
93
|
+
cd spec/dummy
|
94
|
+
rake reset_db # shortcut for rake db:drop => create => migrate => seed
|
95
|
+
rails s
|
96
|
+
http://localhost/carrier
|
97
|
+
</pre>
|
98
|
+
|
99
|
+
h2. TODO
|
100
|
+
|
101
|
+
* Deletion along with archivation
|
102
|
+
* ORM's support
|
103
|
+
* More and better tests
|
104
|
+
|
105
|
+
h2. Contributors
|
106
|
+
|
107
|
+
* Stanislaw Pankevich
|
108
|
+
|
109
|
+
h2. Copyright
|
110
|
+
|
111
|
+
Copyright (c) 2011 Stanislaw Pankevich. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
|
8
|
+
require 'rake'
|
9
|
+
|
10
|
+
require 'jeweler'
|
11
|
+
Jeweler::Tasks.new do |gem|
|
12
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
13
|
+
gem.name = "carrier"
|
14
|
+
gem.homepage = "http://github.com/stanislaw/carrier"
|
15
|
+
gem.license = "MIT"
|
16
|
+
gem.summary = %Q{Raw github-like messaging system to reuse across Rails apps}
|
17
|
+
gem.description = %Q{Raw github-like messaging system to reuse across Rails apps. Acts as Rails 3.1 mountable engine. Fast and robust.}
|
18
|
+
gem.email = "s.pankevich@gmail.com"
|
19
|
+
gem.authors = ["stanislaw"]
|
20
|
+
# dependencies defined in Gemfile
|
21
|
+
end
|
22
|
+
Jeweler::RubygemsDotOrgTasks.new
|
23
|
+
|
24
|
+
|
25
|
+
require 'rake/rdoctask'
|
26
|
+
|
27
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
28
|
+
rdoc.rdoc_dir = 'rdoc'
|
29
|
+
rdoc.title = 'Carrier'
|
30
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
31
|
+
rdoc.rdoc_files.include('README.rdoc')
|
32
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
33
|
+
end
|
34
|
+
|
35
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
36
|
+
load 'rails/tasks/engine.rake'
|
37
|
+
|
38
|
+
require 'rake/testtask'
|
39
|
+
|
40
|
+
Rake::TestTask.new(:test) do |t|
|
41
|
+
t.libs << 'lib'
|
42
|
+
t.libs << 'test'
|
43
|
+
t.pattern = 'test/**/*_test.rb'
|
44
|
+
t.verbose = false
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
task :default => :test
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.6
|
File without changes
|
@@ -0,0 +1,1379 @@
|
|
1
|
+
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Renier Pretorius. */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['af'] = {
|
5
|
+
closeText: 'Selekteer',
|
6
|
+
prevText: 'Vorige',
|
7
|
+
nextText: 'Volgende',
|
8
|
+
currentText: 'Vandag',
|
9
|
+
monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
|
10
|
+
'Julie','Augustus','September','Oktober','November','Desember'],
|
11
|
+
monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
|
12
|
+
'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
|
13
|
+
dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
|
14
|
+
dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
|
15
|
+
dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
|
16
|
+
weekHeader: 'Wk',
|
17
|
+
dateFormat: 'dd/mm/yy',
|
18
|
+
firstDay: 1,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
$.datepicker.setDefaults($.datepicker.regional['af']);
|
23
|
+
});
|
24
|
+
/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/
|
25
|
+
/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
|
26
|
+
|
27
|
+
jQuery(function($){
|
28
|
+
$.datepicker.regional['ar-DZ'] = {
|
29
|
+
closeText: 'إغلاق',
|
30
|
+
prevText: '<السابق',
|
31
|
+
nextText: 'التالي>',
|
32
|
+
currentText: 'اليوم',
|
33
|
+
monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان',
|
34
|
+
'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'],
|
35
|
+
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
36
|
+
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
37
|
+
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
38
|
+
dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
39
|
+
weekHeader: 'أسبوع',
|
40
|
+
dateFormat: 'dd/mm/yy',
|
41
|
+
firstDay: 6,
|
42
|
+
isRTL: true,
|
43
|
+
showMonthAfterYear: false,
|
44
|
+
yearSuffix: ''};
|
45
|
+
$.datepicker.setDefaults($.datepicker.regional['ar-DZ']);
|
46
|
+
});
|
47
|
+
/* Arabic Translation for jQuery UI date picker plugin. */
|
48
|
+
/* Khaled Alhourani -- me@khaledalhourani.com */
|
49
|
+
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
|
50
|
+
jQuery(function($){
|
51
|
+
$.datepicker.regional['ar'] = {
|
52
|
+
closeText: 'إغلاق',
|
53
|
+
prevText: '<السابق',
|
54
|
+
nextText: 'التالي>',
|
55
|
+
currentText: 'اليوم',
|
56
|
+
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
|
57
|
+
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
58
|
+
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
59
|
+
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
60
|
+
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
61
|
+
dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
62
|
+
weekHeader: 'أسبوع',
|
63
|
+
dateFormat: 'dd/mm/yy',
|
64
|
+
firstDay: 6,
|
65
|
+
isRTL: true,
|
66
|
+
showMonthAfterYear: false,
|
67
|
+
yearSuffix: ''};
|
68
|
+
$.datepicker.setDefaults($.datepicker.regional['ar']);
|
69
|
+
});/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
70
|
+
/* Written by Jamil Najafov (necefov33@gmail.com). */
|
71
|
+
jQuery(function($) {
|
72
|
+
$.datepicker.regional['az'] = {
|
73
|
+
closeText: 'Bağla',
|
74
|
+
prevText: '<Geri',
|
75
|
+
nextText: 'İrəli>',
|
76
|
+
currentText: 'Bugün',
|
77
|
+
monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
|
78
|
+
'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
|
79
|
+
monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
|
80
|
+
'İyul','Avq','Sen','Okt','Noy','Dek'],
|
81
|
+
dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
|
82
|
+
dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
|
83
|
+
dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
|
84
|
+
weekHeader: 'Hf',
|
85
|
+
dateFormat: 'dd.mm.yy',
|
86
|
+
firstDay: 1,
|
87
|
+
isRTL: false,
|
88
|
+
showMonthAfterYear: false,
|
89
|
+
yearSuffix: ''};
|
90
|
+
$.datepicker.setDefaults($.datepicker.regional['az']);
|
91
|
+
});/* Bulgarian initialisation for the jQuery UI date picker plugin. */
|
92
|
+
/* Written by Stoyan Kyosev (http://svest.org). */
|
93
|
+
jQuery(function($){
|
94
|
+
$.datepicker.regional['bg'] = {
|
95
|
+
closeText: 'затвори',
|
96
|
+
prevText: '<назад',
|
97
|
+
nextText: 'напред>',
|
98
|
+
nextBigText: '>>',
|
99
|
+
currentText: 'днес',
|
100
|
+
monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
|
101
|
+
'Юли','Август','Септември','Октомври','Ноември','Декември'],
|
102
|
+
monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
|
103
|
+
'Юли','Авг','Сеп','Окт','Нов','Дек'],
|
104
|
+
dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
|
105
|
+
dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
|
106
|
+
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
|
107
|
+
weekHeader: 'Wk',
|
108
|
+
dateFormat: 'dd.mm.yy',
|
109
|
+
firstDay: 1,
|
110
|
+
isRTL: false,
|
111
|
+
showMonthAfterYear: false,
|
112
|
+
yearSuffix: ''};
|
113
|
+
$.datepicker.setDefaults($.datepicker.regional['bg']);
|
114
|
+
});
|
115
|
+
/* Bosnian i18n for the jQuery UI date picker plugin. */
|
116
|
+
/* Written by Kenan Konjo. */
|
117
|
+
jQuery(function($){
|
118
|
+
$.datepicker.regional['bs'] = {
|
119
|
+
closeText: 'Zatvori',
|
120
|
+
prevText: '<',
|
121
|
+
nextText: '>',
|
122
|
+
currentText: 'Danas',
|
123
|
+
monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
|
124
|
+
'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
|
125
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
126
|
+
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
127
|
+
dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
|
128
|
+
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
|
129
|
+
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
|
130
|
+
weekHeader: 'Wk',
|
131
|
+
dateFormat: 'dd.mm.yy',
|
132
|
+
firstDay: 1,
|
133
|
+
isRTL: false,
|
134
|
+
showMonthAfterYear: false,
|
135
|
+
yearSuffix: ''};
|
136
|
+
$.datepicker.setDefaults($.datepicker.regional['bs']);
|
137
|
+
});/* Inicialització en català per a l'extenció 'calendar' per jQuery. */
|
138
|
+
/* Writers: (joan.leon@gmail.com). */
|
139
|
+
jQuery(function($){
|
140
|
+
$.datepicker.regional['ca'] = {
|
141
|
+
closeText: 'Tancar',
|
142
|
+
prevText: '<Ant',
|
143
|
+
nextText: 'Seg>',
|
144
|
+
currentText: 'Avui',
|
145
|
+
monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny',
|
146
|
+
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
|
147
|
+
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
|
148
|
+
'Jul','Ago','Set','Oct','Nov','Des'],
|
149
|
+
dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
|
150
|
+
dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
|
151
|
+
dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
|
152
|
+
weekHeader: 'Sm',
|
153
|
+
dateFormat: 'dd/mm/yy',
|
154
|
+
firstDay: 1,
|
155
|
+
isRTL: false,
|
156
|
+
showMonthAfterYear: false,
|
157
|
+
yearSuffix: ''};
|
158
|
+
$.datepicker.setDefaults($.datepicker.regional['ca']);
|
159
|
+
});/* Czech initialisation for the jQuery UI date picker plugin. */
|
160
|
+
/* Written by Tomas Muller (tomas@tomas-muller.net). */
|
161
|
+
jQuery(function($){
|
162
|
+
$.datepicker.regional['cs'] = {
|
163
|
+
closeText: 'Zavřít',
|
164
|
+
prevText: '<Dříve',
|
165
|
+
nextText: 'Později>',
|
166
|
+
currentText: 'Nyní',
|
167
|
+
monthNames: ['leden','únor','březen','duben','květen','červen',
|
168
|
+
'červenec','srpen','září','říjen','listopad','prosinec'],
|
169
|
+
monthNamesShort: ['led','úno','bře','dub','kvě','čer',
|
170
|
+
'čvc','srp','zář','říj','lis','pro'],
|
171
|
+
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
172
|
+
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
173
|
+
dayNamesMin: ['ne','po','út','st','čt','pá','so'],
|
174
|
+
weekHeader: 'Týd',
|
175
|
+
dateFormat: 'dd.mm.yy',
|
176
|
+
firstDay: 1,
|
177
|
+
isRTL: false,
|
178
|
+
showMonthAfterYear: false,
|
179
|
+
yearSuffix: ''};
|
180
|
+
$.datepicker.setDefaults($.datepicker.regional['cs']);
|
181
|
+
});
|
182
|
+
/* Danish initialisation for the jQuery UI date picker plugin. */
|
183
|
+
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
184
|
+
jQuery(function($){
|
185
|
+
$.datepicker.regional['da'] = {
|
186
|
+
closeText: 'Luk',
|
187
|
+
prevText: '<Forrige',
|
188
|
+
nextText: 'Næste>',
|
189
|
+
currentText: 'Idag',
|
190
|
+
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
191
|
+
'Juli','August','September','Oktober','November','December'],
|
192
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
193
|
+
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
194
|
+
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
195
|
+
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
196
|
+
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
197
|
+
weekHeader: 'Uge',
|
198
|
+
dateFormat: 'dd-mm-yy',
|
199
|
+
firstDay: 1,
|
200
|
+
isRTL: false,
|
201
|
+
showMonthAfterYear: false,
|
202
|
+
yearSuffix: ''};
|
203
|
+
$.datepicker.setDefaults($.datepicker.regional['da']);
|
204
|
+
});
|
205
|
+
/* German initialisation for the jQuery UI date picker plugin. */
|
206
|
+
/* Written by Milian Wolff (mail@milianw.de). */
|
207
|
+
jQuery(function($){
|
208
|
+
$.datepicker.regional['de'] = {
|
209
|
+
closeText: 'schließen',
|
210
|
+
prevText: '<zurück',
|
211
|
+
nextText: 'Vor>',
|
212
|
+
currentText: 'heute',
|
213
|
+
monthNames: ['Januar','Februar','März','April','Mai','Juni',
|
214
|
+
'Juli','August','September','Oktober','November','Dezember'],
|
215
|
+
monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
|
216
|
+
'Jul','Aug','Sep','Okt','Nov','Dez'],
|
217
|
+
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
|
218
|
+
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
219
|
+
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
|
220
|
+
weekHeader: 'Wo',
|
221
|
+
dateFormat: 'dd.mm.yy',
|
222
|
+
firstDay: 1,
|
223
|
+
isRTL: false,
|
224
|
+
showMonthAfterYear: false,
|
225
|
+
yearSuffix: ''};
|
226
|
+
$.datepicker.setDefaults($.datepicker.regional['de']);
|
227
|
+
});
|
228
|
+
/* Greek (el) initialisation for the jQuery UI date picker plugin. */
|
229
|
+
/* Written by Alex Cicovic (http://www.alexcicovic.com) */
|
230
|
+
jQuery(function($){
|
231
|
+
$.datepicker.regional['el'] = {
|
232
|
+
closeText: 'Κλείσιμο',
|
233
|
+
prevText: 'Προηγούμενος',
|
234
|
+
nextText: 'Επόμενος',
|
235
|
+
currentText: 'Τρέχων Μήνας',
|
236
|
+
monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
|
237
|
+
'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
|
238
|
+
monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
|
239
|
+
'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
|
240
|
+
dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
|
241
|
+
dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
|
242
|
+
dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
|
243
|
+
weekHeader: 'Εβδ',
|
244
|
+
dateFormat: 'dd/mm/yy',
|
245
|
+
firstDay: 1,
|
246
|
+
isRTL: false,
|
247
|
+
showMonthAfterYear: false,
|
248
|
+
yearSuffix: ''};
|
249
|
+
$.datepicker.setDefaults($.datepicker.regional['el']);
|
250
|
+
});/* English/Australia initialisation for the jQuery UI date picker plugin. */
|
251
|
+
/* Based on the en-GB initialisation. */
|
252
|
+
jQuery(function($){
|
253
|
+
$.datepicker.regional['en-AU'] = {
|
254
|
+
closeText: 'Done',
|
255
|
+
prevText: 'Prev',
|
256
|
+
nextText: 'Next',
|
257
|
+
currentText: 'Today',
|
258
|
+
monthNames: ['January','February','March','April','May','June',
|
259
|
+
'July','August','September','October','November','December'],
|
260
|
+
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
261
|
+
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
262
|
+
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
263
|
+
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
264
|
+
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
|
265
|
+
weekHeader: 'Wk',
|
266
|
+
dateFormat: 'dd/mm/yy',
|
267
|
+
firstDay: 1,
|
268
|
+
isRTL: false,
|
269
|
+
showMonthAfterYear: false,
|
270
|
+
yearSuffix: ''};
|
271
|
+
$.datepicker.setDefaults($.datepicker.regional['en-AU']);
|
272
|
+
});
|
273
|
+
/* English/UK initialisation for the jQuery UI date picker plugin. */
|
274
|
+
/* Written by Stuart. */
|
275
|
+
jQuery(function($){
|
276
|
+
$.datepicker.regional['en-GB'] = {
|
277
|
+
closeText: 'Done',
|
278
|
+
prevText: 'Prev',
|
279
|
+
nextText: 'Next',
|
280
|
+
currentText: 'Today',
|
281
|
+
monthNames: ['January','February','March','April','May','June',
|
282
|
+
'July','August','September','October','November','December'],
|
283
|
+
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
284
|
+
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
285
|
+
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
286
|
+
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
287
|
+
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
|
288
|
+
weekHeader: 'Wk',
|
289
|
+
dateFormat: 'dd/mm/yy',
|
290
|
+
firstDay: 1,
|
291
|
+
isRTL: false,
|
292
|
+
showMonthAfterYear: false,
|
293
|
+
yearSuffix: ''};
|
294
|
+
$.datepicker.setDefaults($.datepicker.regional['en-GB']);
|
295
|
+
});
|
296
|
+
/* English/New Zealand initialisation for the jQuery UI date picker plugin. */
|
297
|
+
/* Based on the en-GB initialisation. */
|
298
|
+
jQuery(function($){
|
299
|
+
$.datepicker.regional['en-NZ'] = {
|
300
|
+
closeText: 'Done',
|
301
|
+
prevText: 'Prev',
|
302
|
+
nextText: 'Next',
|
303
|
+
currentText: 'Today',
|
304
|
+
monthNames: ['January','February','March','April','May','June',
|
305
|
+
'July','August','September','October','November','December'],
|
306
|
+
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
307
|
+
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
308
|
+
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
309
|
+
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
310
|
+
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
|
311
|
+
weekHeader: 'Wk',
|
312
|
+
dateFormat: 'dd/mm/yy',
|
313
|
+
firstDay: 1,
|
314
|
+
isRTL: false,
|
315
|
+
showMonthAfterYear: false,
|
316
|
+
yearSuffix: ''};
|
317
|
+
$.datepicker.setDefaults($.datepicker.regional['en-NZ']);
|
318
|
+
});
|
319
|
+
/* Esperanto initialisation for the jQuery UI date picker plugin. */
|
320
|
+
/* Written by Olivier M. (olivierweb@ifrance.com). */
|
321
|
+
jQuery(function($){
|
322
|
+
$.datepicker.regional['eo'] = {
|
323
|
+
closeText: 'Fermi',
|
324
|
+
prevText: '<Anta',
|
325
|
+
nextText: 'Sekv>',
|
326
|
+
currentText: 'Nuna',
|
327
|
+
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
|
328
|
+
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
|
329
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
330
|
+
'Jul','Aŭg','Sep','Okt','Nov','Dec'],
|
331
|
+
dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
|
332
|
+
dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
|
333
|
+
dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
|
334
|
+
weekHeader: 'Sb',
|
335
|
+
dateFormat: 'dd/mm/yy',
|
336
|
+
firstDay: 0,
|
337
|
+
isRTL: false,
|
338
|
+
showMonthAfterYear: false,
|
339
|
+
yearSuffix: ''};
|
340
|
+
$.datepicker.setDefaults($.datepicker.regional['eo']);
|
341
|
+
});
|
342
|
+
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
|
343
|
+
/* Traducido por Vester (xvester@gmail.com). */
|
344
|
+
jQuery(function($){
|
345
|
+
$.datepicker.regional['es'] = {
|
346
|
+
closeText: 'Cerrar',
|
347
|
+
prevText: '<Ant',
|
348
|
+
nextText: 'Sig>',
|
349
|
+
currentText: 'Hoy',
|
350
|
+
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
|
351
|
+
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
|
352
|
+
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
|
353
|
+
'Jul','Ago','Sep','Oct','Nov','Dic'],
|
354
|
+
dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
|
355
|
+
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
|
356
|
+
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
|
357
|
+
weekHeader: 'Sm',
|
358
|
+
dateFormat: 'dd/mm/yy',
|
359
|
+
firstDay: 1,
|
360
|
+
isRTL: false,
|
361
|
+
showMonthAfterYear: false,
|
362
|
+
yearSuffix: ''};
|
363
|
+
$.datepicker.setDefaults($.datepicker.regional['es']);
|
364
|
+
});/* Estonian initialisation for the jQuery UI date picker plugin. */
|
365
|
+
/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
|
366
|
+
jQuery(function($){
|
367
|
+
$.datepicker.regional['et'] = {
|
368
|
+
closeText: 'Sulge',
|
369
|
+
prevText: 'Eelnev',
|
370
|
+
nextText: 'Järgnev',
|
371
|
+
currentText: 'Täna',
|
372
|
+
monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
|
373
|
+
'Juuli','August','September','Oktoober','November','Detsember'],
|
374
|
+
monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
|
375
|
+
'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
|
376
|
+
dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
|
377
|
+
dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
|
378
|
+
dayNamesMin: ['P','E','T','K','N','R','L'],
|
379
|
+
weekHeader: 'Sm',
|
380
|
+
dateFormat: 'dd.mm.yy',
|
381
|
+
firstDay: 1,
|
382
|
+
isRTL: false,
|
383
|
+
showMonthAfterYear: false,
|
384
|
+
yearSuffix: ''};
|
385
|
+
$.datepicker.setDefaults($.datepicker.regional['et']);
|
386
|
+
}); /* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */
|
387
|
+
/* Karrikas-ek itzulia (karrikas@karrikas.com) */
|
388
|
+
jQuery(function($){
|
389
|
+
$.datepicker.regional['eu'] = {
|
390
|
+
closeText: 'Egina',
|
391
|
+
prevText: '<Aur',
|
392
|
+
nextText: 'Hur>',
|
393
|
+
currentText: 'Gaur',
|
394
|
+
monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
|
395
|
+
'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],
|
396
|
+
monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka',
|
397
|
+
'Uzt','Abu','Ira','Urr','Aza','Abe'],
|
398
|
+
dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],
|
399
|
+
dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],
|
400
|
+
dayNamesMin: ['Ig','As','As','As','Os','Os','La'],
|
401
|
+
weekHeader: 'Wk',
|
402
|
+
dateFormat: 'yy/mm/dd',
|
403
|
+
firstDay: 1,
|
404
|
+
isRTL: false,
|
405
|
+
showMonthAfterYear: false,
|
406
|
+
yearSuffix: ''};
|
407
|
+
$.datepicker.setDefaults($.datepicker.regional['eu']);
|
408
|
+
});/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
|
409
|
+
/* Javad Mowlanezhad -- jmowla@gmail.com */
|
410
|
+
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
|
411
|
+
jQuery(function($) {
|
412
|
+
$.datepicker.regional['fa'] = {
|
413
|
+
closeText: 'بستن',
|
414
|
+
prevText: '<قبلي',
|
415
|
+
nextText: 'بعدي>',
|
416
|
+
currentText: 'امروز',
|
417
|
+
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
|
418
|
+
'مهر','آبان','آذر','دي','بهمن','اسفند'],
|
419
|
+
monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
|
420
|
+
dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
|
421
|
+
dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
|
422
|
+
dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
|
423
|
+
weekHeader: 'هف',
|
424
|
+
dateFormat: 'yy/mm/dd',
|
425
|
+
firstDay: 6,
|
426
|
+
isRTL: true,
|
427
|
+
showMonthAfterYear: false,
|
428
|
+
yearSuffix: ''};
|
429
|
+
$.datepicker.setDefaults($.datepicker.regional['fa']);
|
430
|
+
});/* Finnish initialisation for the jQuery UI date picker plugin. */
|
431
|
+
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */
|
432
|
+
jQuery(function($){
|
433
|
+
$.datepicker.regional['fi'] = {
|
434
|
+
closeText: 'Sulje',
|
435
|
+
prevText: '«Edellinen',
|
436
|
+
nextText: 'Seuraava»',
|
437
|
+
currentText: 'Tänään',
|
438
|
+
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
|
439
|
+
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
|
440
|
+
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
|
441
|
+
'Heinä','Elo','Syys','Loka','Marras','Joulu'],
|
442
|
+
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
|
443
|
+
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
|
444
|
+
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
|
445
|
+
weekHeader: 'Vk',
|
446
|
+
dateFormat: 'dd.mm.yy',
|
447
|
+
firstDay: 1,
|
448
|
+
isRTL: false,
|
449
|
+
showMonthAfterYear: false,
|
450
|
+
yearSuffix: ''};
|
451
|
+
$.datepicker.setDefaults($.datepicker.regional['fi']);
|
452
|
+
});
|
453
|
+
/* Faroese initialisation for the jQuery UI date picker plugin */
|
454
|
+
/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
|
455
|
+
jQuery(function($){
|
456
|
+
$.datepicker.regional['fo'] = {
|
457
|
+
closeText: 'Lat aftur',
|
458
|
+
prevText: '<Fyrra',
|
459
|
+
nextText: 'Næsta>',
|
460
|
+
currentText: 'Í dag',
|
461
|
+
monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
|
462
|
+
'Juli','August','September','Oktober','November','Desember'],
|
463
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
|
464
|
+
'Jul','Aug','Sep','Okt','Nov','Des'],
|
465
|
+
dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
|
466
|
+
dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
|
467
|
+
dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
|
468
|
+
weekHeader: 'Vk',
|
469
|
+
dateFormat: 'dd-mm-yy',
|
470
|
+
firstDay: 0,
|
471
|
+
isRTL: false,
|
472
|
+
showMonthAfterYear: false,
|
473
|
+
yearSuffix: ''};
|
474
|
+
$.datepicker.setDefaults($.datepicker.regional['fo']);
|
475
|
+
});
|
476
|
+
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
|
477
|
+
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
|
478
|
+
jQuery(function($){
|
479
|
+
$.datepicker.regional['fr-CH'] = {
|
480
|
+
closeText: 'Fermer',
|
481
|
+
prevText: '<Préc',
|
482
|
+
nextText: 'Suiv>',
|
483
|
+
currentText: 'Courant',
|
484
|
+
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
|
485
|
+
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
|
486
|
+
monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
|
487
|
+
'Jul','Aoû','Sep','Oct','Nov','Déc'],
|
488
|
+
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
489
|
+
dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
|
490
|
+
dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
|
491
|
+
weekHeader: 'Sm',
|
492
|
+
dateFormat: 'dd.mm.yy',
|
493
|
+
firstDay: 1,
|
494
|
+
isRTL: false,
|
495
|
+
showMonthAfterYear: false,
|
496
|
+
yearSuffix: ''};
|
497
|
+
$.datepicker.setDefaults($.datepicker.regional['fr-CH']);
|
498
|
+
});/* French initialisation for the jQuery UI date picker plugin. */
|
499
|
+
/* Written by Keith Wood (kbwood{at}iinet.com.au),
|
500
|
+
Stéphane Nahmani (sholby@sholby.net),
|
501
|
+
Stéphane Raimbault <stephane.raimbault@gmail.com> */
|
502
|
+
jQuery(function($){
|
503
|
+
$.datepicker.regional['fr'] = {
|
504
|
+
closeText: 'Fermer',
|
505
|
+
prevText: 'Précédent',
|
506
|
+
nextText: 'Suivant',
|
507
|
+
currentText: 'Aujourd\'hui',
|
508
|
+
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
|
509
|
+
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
|
510
|
+
monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin',
|
511
|
+
'Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
|
512
|
+
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
513
|
+
dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'],
|
514
|
+
dayNamesMin: ['D','L','M','M','J','V','S'],
|
515
|
+
weekHeader: 'Sem.',
|
516
|
+
dateFormat: 'dd/mm/yy',
|
517
|
+
firstDay: 1,
|
518
|
+
isRTL: false,
|
519
|
+
showMonthAfterYear: false,
|
520
|
+
yearSuffix: ''};
|
521
|
+
$.datepicker.setDefaults($.datepicker.regional['fr']);
|
522
|
+
});
|
523
|
+
/* Galician localization for 'UI date picker' jQuery extension. */
|
524
|
+
/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
|
525
|
+
jQuery(function($){
|
526
|
+
$.datepicker.regional['gl'] = {
|
527
|
+
closeText: 'Pechar',
|
528
|
+
prevText: '<Ant',
|
529
|
+
nextText: 'Seg>',
|
530
|
+
currentText: 'Hoxe',
|
531
|
+
monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
|
532
|
+
'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
|
533
|
+
monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
|
534
|
+
'Xul','Ago','Set','Out','Nov','Dec'],
|
535
|
+
dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],
|
536
|
+
dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],
|
537
|
+
dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'],
|
538
|
+
weekHeader: 'Sm',
|
539
|
+
dateFormat: 'dd/mm/yy',
|
540
|
+
firstDay: 1,
|
541
|
+
isRTL: false,
|
542
|
+
showMonthAfterYear: false,
|
543
|
+
yearSuffix: ''};
|
544
|
+
$.datepicker.setDefaults($.datepicker.regional['gl']);
|
545
|
+
});/* Hebrew initialisation for the UI Datepicker extension. */
|
546
|
+
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
547
|
+
jQuery(function($){
|
548
|
+
$.datepicker.regional['he'] = {
|
549
|
+
closeText: 'סגור',
|
550
|
+
prevText: '<הקודם',
|
551
|
+
nextText: 'הבא>',
|
552
|
+
currentText: 'היום',
|
553
|
+
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
|
554
|
+
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
|
555
|
+
monthNamesShort: ['1','2','3','4','5','6',
|
556
|
+
'7','8','9','10','11','12'],
|
557
|
+
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
|
558
|
+
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
559
|
+
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
560
|
+
weekHeader: 'Wk',
|
561
|
+
dateFormat: 'dd/mm/yy',
|
562
|
+
firstDay: 0,
|
563
|
+
isRTL: true,
|
564
|
+
showMonthAfterYear: false,
|
565
|
+
yearSuffix: ''};
|
566
|
+
$.datepicker.setDefaults($.datepicker.regional['he']);
|
567
|
+
});
|
568
|
+
/* Croatian i18n for the jQuery UI date picker plugin. */
|
569
|
+
/* Written by Vjekoslav Nesek. */
|
570
|
+
jQuery(function($){
|
571
|
+
$.datepicker.regional['hr'] = {
|
572
|
+
closeText: 'Zatvori',
|
573
|
+
prevText: '<',
|
574
|
+
nextText: '>',
|
575
|
+
currentText: 'Danas',
|
576
|
+
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
|
577
|
+
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
|
578
|
+
monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
|
579
|
+
'Srp','Kol','Ruj','Lis','Stu','Pro'],
|
580
|
+
dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
|
581
|
+
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
|
582
|
+
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
|
583
|
+
weekHeader: 'Tje',
|
584
|
+
dateFormat: 'dd.mm.yy.',
|
585
|
+
firstDay: 1,
|
586
|
+
isRTL: false,
|
587
|
+
showMonthAfterYear: false,
|
588
|
+
yearSuffix: ''};
|
589
|
+
$.datepicker.setDefaults($.datepicker.regional['hr']);
|
590
|
+
});/* Hungarian initialisation for the jQuery UI date picker plugin. */
|
591
|
+
/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
|
592
|
+
jQuery(function($){
|
593
|
+
$.datepicker.regional['hu'] = {
|
594
|
+
closeText: 'bezárás',
|
595
|
+
prevText: '« vissza',
|
596
|
+
nextText: 'előre »',
|
597
|
+
currentText: 'ma',
|
598
|
+
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
599
|
+
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
|
600
|
+
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
601
|
+
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
|
602
|
+
dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
|
603
|
+
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
|
604
|
+
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
605
|
+
weekHeader: 'Hé',
|
606
|
+
dateFormat: 'yy-mm-dd',
|
607
|
+
firstDay: 1,
|
608
|
+
isRTL: false,
|
609
|
+
showMonthAfterYear: true,
|
610
|
+
yearSuffix: ''};
|
611
|
+
$.datepicker.setDefaults($.datepicker.regional['hu']);
|
612
|
+
});
|
613
|
+
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
|
614
|
+
/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
|
615
|
+
jQuery(function($){
|
616
|
+
$.datepicker.regional['hy'] = {
|
617
|
+
closeText: 'Փակել',
|
618
|
+
prevText: '<Նախ.',
|
619
|
+
nextText: 'Հաջ.>',
|
620
|
+
currentText: 'Այսօր',
|
621
|
+
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
|
622
|
+
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
|
623
|
+
monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
|
624
|
+
'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
|
625
|
+
dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
|
626
|
+
dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
627
|
+
dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
|
628
|
+
weekHeader: 'ՇԲՏ',
|
629
|
+
dateFormat: 'dd.mm.yy',
|
630
|
+
firstDay: 1,
|
631
|
+
isRTL: false,
|
632
|
+
showMonthAfterYear: false,
|
633
|
+
yearSuffix: ''};
|
634
|
+
$.datepicker.setDefaults($.datepicker.regional['hy']);
|
635
|
+
});/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
636
|
+
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
637
|
+
jQuery(function($){
|
638
|
+
$.datepicker.regional['id'] = {
|
639
|
+
closeText: 'Tutup',
|
640
|
+
prevText: '<mundur',
|
641
|
+
nextText: 'maju>',
|
642
|
+
currentText: 'hari ini',
|
643
|
+
monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
|
644
|
+
'Juli','Agustus','September','Oktober','Nopember','Desember'],
|
645
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
|
646
|
+
'Jul','Agus','Sep','Okt','Nop','Des'],
|
647
|
+
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
|
648
|
+
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
|
649
|
+
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
|
650
|
+
weekHeader: 'Mg',
|
651
|
+
dateFormat: 'dd/mm/yy',
|
652
|
+
firstDay: 0,
|
653
|
+
isRTL: false,
|
654
|
+
showMonthAfterYear: false,
|
655
|
+
yearSuffix: ''};
|
656
|
+
$.datepicker.setDefaults($.datepicker.regional['id']);
|
657
|
+
});/* Icelandic initialisation for the jQuery UI date picker plugin. */
|
658
|
+
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
|
659
|
+
jQuery(function($){
|
660
|
+
$.datepicker.regional['is'] = {
|
661
|
+
closeText: 'Loka',
|
662
|
+
prevText: '< Fyrri',
|
663
|
+
nextText: 'Næsti >',
|
664
|
+
currentText: 'Í dag',
|
665
|
+
monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
|
666
|
+
'Júlí','Ágúst','September','Október','Nóvember','Desember'],
|
667
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
|
668
|
+
'Júl','Ágú','Sep','Okt','Nóv','Des'],
|
669
|
+
dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
|
670
|
+
dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
|
671
|
+
dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
|
672
|
+
weekHeader: 'Vika',
|
673
|
+
dateFormat: 'dd/mm/yy',
|
674
|
+
firstDay: 0,
|
675
|
+
isRTL: false,
|
676
|
+
showMonthAfterYear: false,
|
677
|
+
yearSuffix: ''};
|
678
|
+
$.datepicker.setDefaults($.datepicker.regional['is']);
|
679
|
+
});/* Italian initialisation for the jQuery UI date picker plugin. */
|
680
|
+
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
|
681
|
+
jQuery(function($){
|
682
|
+
$.datepicker.regional['it'] = {
|
683
|
+
closeText: 'Chiudi',
|
684
|
+
prevText: '<Prec',
|
685
|
+
nextText: 'Succ>',
|
686
|
+
currentText: 'Oggi',
|
687
|
+
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
|
688
|
+
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
|
689
|
+
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
|
690
|
+
'Lug','Ago','Set','Ott','Nov','Dic'],
|
691
|
+
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
|
692
|
+
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
693
|
+
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
|
694
|
+
weekHeader: 'Sm',
|
695
|
+
dateFormat: 'dd/mm/yy',
|
696
|
+
firstDay: 1,
|
697
|
+
isRTL: false,
|
698
|
+
showMonthAfterYear: false,
|
699
|
+
yearSuffix: ''};
|
700
|
+
$.datepicker.setDefaults($.datepicker.regional['it']);
|
701
|
+
});
|
702
|
+
/* Japanese initialisation for the jQuery UI date picker plugin. */
|
703
|
+
/* Written by Kentaro SATO (kentaro@ranvis.com). */
|
704
|
+
jQuery(function($){
|
705
|
+
$.datepicker.regional['ja'] = {
|
706
|
+
closeText: '閉じる',
|
707
|
+
prevText: '<前',
|
708
|
+
nextText: '次>',
|
709
|
+
currentText: '今日',
|
710
|
+
monthNames: ['1月','2月','3月','4月','5月','6月',
|
711
|
+
'7月','8月','9月','10月','11月','12月'],
|
712
|
+
monthNamesShort: ['1月','2月','3月','4月','5月','6月',
|
713
|
+
'7月','8月','9月','10月','11月','12月'],
|
714
|
+
dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
|
715
|
+
dayNamesShort: ['日','月','火','水','木','金','土'],
|
716
|
+
dayNamesMin: ['日','月','火','水','木','金','土'],
|
717
|
+
weekHeader: '週',
|
718
|
+
dateFormat: 'yy/mm/dd',
|
719
|
+
firstDay: 0,
|
720
|
+
isRTL: false,
|
721
|
+
showMonthAfterYear: true,
|
722
|
+
yearSuffix: '年'};
|
723
|
+
$.datepicker.setDefaults($.datepicker.regional['ja']);
|
724
|
+
});/* Korean initialisation for the jQuery calendar extension. */
|
725
|
+
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
|
726
|
+
jQuery(function($){
|
727
|
+
$.datepicker.regional['ko'] = {
|
728
|
+
closeText: '닫기',
|
729
|
+
prevText: '이전달',
|
730
|
+
nextText: '다음달',
|
731
|
+
currentText: '오늘',
|
732
|
+
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
|
733
|
+
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
|
734
|
+
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
|
735
|
+
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
|
736
|
+
dayNames: ['일','월','화','수','목','금','토'],
|
737
|
+
dayNamesShort: ['일','월','화','수','목','금','토'],
|
738
|
+
dayNamesMin: ['일','월','화','수','목','금','토'],
|
739
|
+
weekHeader: 'Wk',
|
740
|
+
dateFormat: 'yy-mm-dd',
|
741
|
+
firstDay: 0,
|
742
|
+
isRTL: false,
|
743
|
+
showMonthAfterYear: false,
|
744
|
+
yearSuffix: '년'};
|
745
|
+
$.datepicker.setDefaults($.datepicker.regional['ko']);
|
746
|
+
});/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
747
|
+
/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
|
748
|
+
jQuery(function($){
|
749
|
+
$.datepicker.regional['kz'] = {
|
750
|
+
closeText: 'Жабу',
|
751
|
+
prevText: '<Алдыңғы',
|
752
|
+
nextText: 'Келесі>',
|
753
|
+
currentText: 'Бүгін',
|
754
|
+
monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
|
755
|
+
'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
|
756
|
+
monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
|
757
|
+
'Шіл','Там','Қыр','Қаз','Қар','Жел'],
|
758
|
+
dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
|
759
|
+
dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
|
760
|
+
dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
|
761
|
+
weekHeader: 'Не',
|
762
|
+
dateFormat: 'dd.mm.yy',
|
763
|
+
firstDay: 1,
|
764
|
+
isRTL: false,
|
765
|
+
showMonthAfterYear: false,
|
766
|
+
yearSuffix: ''};
|
767
|
+
$.datepicker.setDefaults($.datepicker.regional['kz']);
|
768
|
+
});
|
769
|
+
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
770
|
+
/* @author Arturas Paleicikas <arturas@avalon.lt> */
|
771
|
+
jQuery(function($){
|
772
|
+
$.datepicker.regional['lt'] = {
|
773
|
+
closeText: 'Uždaryti',
|
774
|
+
prevText: '<Atgal',
|
775
|
+
nextText: 'Pirmyn>',
|
776
|
+
currentText: 'Šiandien',
|
777
|
+
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
|
778
|
+
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
|
779
|
+
monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
|
780
|
+
'Lie','Rugp','Rugs','Spa','Lap','Gru'],
|
781
|
+
dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
|
782
|
+
dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
|
783
|
+
dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
|
784
|
+
weekHeader: 'Wk',
|
785
|
+
dateFormat: 'yy-mm-dd',
|
786
|
+
firstDay: 1,
|
787
|
+
isRTL: false,
|
788
|
+
showMonthAfterYear: false,
|
789
|
+
yearSuffix: ''};
|
790
|
+
$.datepicker.setDefaults($.datepicker.regional['lt']);
|
791
|
+
});/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
792
|
+
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
|
793
|
+
jQuery(function($){
|
794
|
+
$.datepicker.regional['lv'] = {
|
795
|
+
closeText: 'Aizvērt',
|
796
|
+
prevText: 'Iepr',
|
797
|
+
nextText: 'Nāka',
|
798
|
+
currentText: 'Šodien',
|
799
|
+
monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
|
800
|
+
'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
|
801
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
|
802
|
+
'Jūl','Aug','Sep','Okt','Nov','Dec'],
|
803
|
+
dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
|
804
|
+
dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
|
805
|
+
dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
|
806
|
+
weekHeader: 'Nav',
|
807
|
+
dateFormat: 'dd-mm-yy',
|
808
|
+
firstDay: 1,
|
809
|
+
isRTL: false,
|
810
|
+
showMonthAfterYear: false,
|
811
|
+
yearSuffix: ''};
|
812
|
+
$.datepicker.setDefaults($.datepicker.regional['lv']);
|
813
|
+
});/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
814
|
+
/* Written by Saji Nediyanchath (saji89@gmail.com). */
|
815
|
+
jQuery(function($){
|
816
|
+
$.datepicker.regional['ml'] = {
|
817
|
+
closeText: 'ശരി',
|
818
|
+
prevText: 'മുന്നത്തെ',
|
819
|
+
nextText: 'അടുത്തത് ',
|
820
|
+
currentText: 'ഇന്ന്',
|
821
|
+
monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്',
|
822
|
+
'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'],
|
823
|
+
monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്', 'ഏപ്രി', 'മേയ്', 'ജൂണ്',
|
824
|
+
'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'],
|
825
|
+
dayNames: ['ഞായര്', 'തിങ്കള്', 'ചൊവ്വ', 'ബുധന്', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
|
826
|
+
dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
|
827
|
+
dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],
|
828
|
+
weekHeader: 'ആ',
|
829
|
+
dateFormat: 'dd/mm/yy',
|
830
|
+
firstDay: 1,
|
831
|
+
isRTL: false,
|
832
|
+
showMonthAfterYear: false,
|
833
|
+
yearSuffix: ''};
|
834
|
+
$.datepicker.setDefaults($.datepicker.regional['ml']);
|
835
|
+
});
|
836
|
+
/* Malaysian initialisation for the jQuery UI date picker plugin. */
|
837
|
+
/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
|
838
|
+
jQuery(function($){
|
839
|
+
$.datepicker.regional['ms'] = {
|
840
|
+
closeText: 'Tutup',
|
841
|
+
prevText: '<Sebelum',
|
842
|
+
nextText: 'Selepas>',
|
843
|
+
currentText: 'hari ini',
|
844
|
+
monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
|
845
|
+
'Julai','Ogos','September','Oktober','November','Disember'],
|
846
|
+
monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
|
847
|
+
'Jul','Ogo','Sep','Okt','Nov','Dis'],
|
848
|
+
dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
|
849
|
+
dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'],
|
850
|
+
dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
|
851
|
+
weekHeader: 'Mg',
|
852
|
+
dateFormat: 'dd/mm/yy',
|
853
|
+
firstDay: 0,
|
854
|
+
isRTL: false,
|
855
|
+
showMonthAfterYear: false,
|
856
|
+
yearSuffix: ''};
|
857
|
+
$.datepicker.setDefaults($.datepicker.regional['ms']);
|
858
|
+
});/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
859
|
+
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
|
860
|
+
jQuery(function($){
|
861
|
+
$.datepicker.regional.nl = {
|
862
|
+
closeText: 'Sluiten',
|
863
|
+
prevText: '←',
|
864
|
+
nextText: '→',
|
865
|
+
currentText: 'Vandaag',
|
866
|
+
monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
|
867
|
+
'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
|
868
|
+
monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
|
869
|
+
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
|
870
|
+
dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
871
|
+
dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
|
872
|
+
dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
873
|
+
weekHeader: 'Wk',
|
874
|
+
dateFormat: 'dd-mm-yy',
|
875
|
+
firstDay: 1,
|
876
|
+
isRTL: false,
|
877
|
+
showMonthAfterYear: false,
|
878
|
+
yearSuffix: ''};
|
879
|
+
$.datepicker.setDefaults($.datepicker.regional.nl);
|
880
|
+
});/* Norwegian initialisation for the jQuery UI date picker plugin. */
|
881
|
+
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
|
882
|
+
|
883
|
+
jQuery(function($){
|
884
|
+
$.datepicker.regional['no'] = {
|
885
|
+
closeText: 'Lukk',
|
886
|
+
prevText: '«Forrige',
|
887
|
+
nextText: 'Neste»',
|
888
|
+
currentText: 'I dag',
|
889
|
+
monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
|
890
|
+
monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
|
891
|
+
dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
|
892
|
+
dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
|
893
|
+
dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
|
894
|
+
weekHeader: 'Uke',
|
895
|
+
dateFormat: 'dd.mm.yy',
|
896
|
+
firstDay: 1,
|
897
|
+
isRTL: false,
|
898
|
+
showMonthAfterYear: false,
|
899
|
+
yearSuffix: ''
|
900
|
+
};
|
901
|
+
$.datepicker.setDefaults($.datepicker.regional['no']);
|
902
|
+
});
|
903
|
+
/* Polish initialisation for the jQuery UI date picker plugin. */
|
904
|
+
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
|
905
|
+
jQuery(function($){
|
906
|
+
$.datepicker.regional['pl'] = {
|
907
|
+
closeText: 'Zamknij',
|
908
|
+
prevText: '<Poprzedni',
|
909
|
+
nextText: 'Następny>',
|
910
|
+
currentText: 'Dziś',
|
911
|
+
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
|
912
|
+
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
|
913
|
+
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
|
914
|
+
'Lip','Sie','Wrz','Pa','Lis','Gru'],
|
915
|
+
dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
|
916
|
+
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
|
917
|
+
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
|
918
|
+
weekHeader: 'Tydz',
|
919
|
+
dateFormat: 'dd.mm.yy',
|
920
|
+
firstDay: 1,
|
921
|
+
isRTL: false,
|
922
|
+
showMonthAfterYear: false,
|
923
|
+
yearSuffix: ''};
|
924
|
+
$.datepicker.setDefaults($.datepicker.regional['pl']);
|
925
|
+
});
|
926
|
+
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
927
|
+
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
928
|
+
jQuery(function($){
|
929
|
+
$.datepicker.regional['pt-BR'] = {
|
930
|
+
closeText: 'Fechar',
|
931
|
+
prevText: '<Anterior',
|
932
|
+
nextText: 'Próximo>',
|
933
|
+
currentText: 'Hoje',
|
934
|
+
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
|
935
|
+
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
|
936
|
+
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
|
937
|
+
'Jul','Ago','Set','Out','Nov','Dez'],
|
938
|
+
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
|
939
|
+
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
940
|
+
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
941
|
+
weekHeader: 'Sm',
|
942
|
+
dateFormat: 'dd/mm/yy',
|
943
|
+
firstDay: 0,
|
944
|
+
isRTL: false,
|
945
|
+
showMonthAfterYear: false,
|
946
|
+
yearSuffix: ''};
|
947
|
+
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
948
|
+
});/* Portuguese initialisation for the jQuery UI date picker plugin. */
|
949
|
+
jQuery(function($){
|
950
|
+
$.datepicker.regional['pt'] = {
|
951
|
+
closeText: 'Fechar',
|
952
|
+
prevText: '<Anterior',
|
953
|
+
nextText: 'Seguinte',
|
954
|
+
currentText: 'Hoje',
|
955
|
+
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
|
956
|
+
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
|
957
|
+
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
|
958
|
+
'Jul','Ago','Set','Out','Nov','Dez'],
|
959
|
+
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
|
960
|
+
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
961
|
+
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
|
962
|
+
weekHeader: 'Sem',
|
963
|
+
dateFormat: 'dd/mm/yy',
|
964
|
+
firstDay: 0,
|
965
|
+
isRTL: false,
|
966
|
+
showMonthAfterYear: false,
|
967
|
+
yearSuffix: ''};
|
968
|
+
$.datepicker.setDefaults($.datepicker.regional['pt']);
|
969
|
+
});/* Romansh initialisation for the jQuery UI date picker plugin. */
|
970
|
+
/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */
|
971
|
+
jQuery(function($){
|
972
|
+
$.datepicker.regional['rm'] = {
|
973
|
+
closeText: 'Serrar',
|
974
|
+
prevText: '<Suandant',
|
975
|
+
nextText: 'Precedent>',
|
976
|
+
currentText: 'Actual',
|
977
|
+
monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'],
|
978
|
+
monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'],
|
979
|
+
dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
|
980
|
+
dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
|
981
|
+
dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
|
982
|
+
weekHeader: 'emna',
|
983
|
+
dateFormat: 'dd/mm/yy',
|
984
|
+
firstDay: 1,
|
985
|
+
isRTL: false,
|
986
|
+
showMonthAfterYear: false,
|
987
|
+
yearSuffix: ''};
|
988
|
+
$.datepicker.setDefaults($.datepicker.regional['rm']);
|
989
|
+
});
|
990
|
+
/* Romanian initialisation for the jQuery UI date picker plugin.
|
991
|
+
*
|
992
|
+
* Written by Edmond L. (ll_edmond@walla.com)
|
993
|
+
* and Ionut G. Stan (ionut.g.stan@gmail.com)
|
994
|
+
*/
|
995
|
+
jQuery(function($){
|
996
|
+
$.datepicker.regional['ro'] = {
|
997
|
+
closeText: 'Închide',
|
998
|
+
prevText: '« Luna precedentă',
|
999
|
+
nextText: 'Luna următoare »',
|
1000
|
+
currentText: 'Azi',
|
1001
|
+
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
|
1002
|
+
'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
|
1003
|
+
monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
|
1004
|
+
'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
1005
|
+
dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
|
1006
|
+
dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
|
1007
|
+
dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
|
1008
|
+
weekHeader: 'Săpt',
|
1009
|
+
dateFormat: 'dd.mm.yy',
|
1010
|
+
firstDay: 1,
|
1011
|
+
isRTL: false,
|
1012
|
+
showMonthAfterYear: false,
|
1013
|
+
yearSuffix: ''};
|
1014
|
+
$.datepicker.setDefaults($.datepicker.regional['ro']);
|
1015
|
+
});
|
1016
|
+
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
1017
|
+
/* Written by Andrew Stromnov (stromnov@gmail.com). */
|
1018
|
+
jQuery(function($){
|
1019
|
+
$.datepicker.regional['ru'] = {
|
1020
|
+
closeText: 'Закрыть',
|
1021
|
+
prevText: '<Пред',
|
1022
|
+
nextText: 'След>',
|
1023
|
+
currentText: 'Сегодня',
|
1024
|
+
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
|
1025
|
+
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
|
1026
|
+
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
|
1027
|
+
'Июл','Авг','Сен','Окт','Ноя','Дек'],
|
1028
|
+
dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
|
1029
|
+
dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
|
1030
|
+
dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
|
1031
|
+
weekHeader: 'Нед',
|
1032
|
+
dateFormat: 'dd.mm.yy',
|
1033
|
+
firstDay: 1,
|
1034
|
+
isRTL: false,
|
1035
|
+
showMonthAfterYear: false,
|
1036
|
+
yearSuffix: ''};
|
1037
|
+
$.datepicker.setDefaults($.datepicker.regional['ru']);
|
1038
|
+
});/* Slovak initialisation for the jQuery UI date picker plugin. */
|
1039
|
+
/* Written by Vojtech Rinik (vojto@hmm.sk). */
|
1040
|
+
jQuery(function($){
|
1041
|
+
$.datepicker.regional['sk'] = {
|
1042
|
+
closeText: 'Zavrieť',
|
1043
|
+
prevText: '<Predchádzajúci',
|
1044
|
+
nextText: 'Nasledujúci>',
|
1045
|
+
currentText: 'Dnes',
|
1046
|
+
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
|
1047
|
+
'Júl','August','September','Október','November','December'],
|
1048
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
|
1049
|
+
'Júl','Aug','Sep','Okt','Nov','Dec'],
|
1050
|
+
dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
|
1051
|
+
dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
|
1052
|
+
dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
|
1053
|
+
weekHeader: 'Ty',
|
1054
|
+
dateFormat: 'dd.mm.yy',
|
1055
|
+
firstDay: 1,
|
1056
|
+
isRTL: false,
|
1057
|
+
showMonthAfterYear: false,
|
1058
|
+
yearSuffix: ''};
|
1059
|
+
$.datepicker.setDefaults($.datepicker.regional['sk']);
|
1060
|
+
});
|
1061
|
+
/* Slovenian initialisation for the jQuery UI date picker plugin. */
|
1062
|
+
/* Written by Jaka Jancar (jaka@kubje.org). */
|
1063
|
+
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
|
1064
|
+
jQuery(function($){
|
1065
|
+
$.datepicker.regional['sl'] = {
|
1066
|
+
closeText: 'Zapri',
|
1067
|
+
prevText: '<Prejšnji',
|
1068
|
+
nextText: 'Naslednji>',
|
1069
|
+
currentText: 'Trenutni',
|
1070
|
+
monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
|
1071
|
+
'Julij','Avgust','September','Oktober','November','December'],
|
1072
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
1073
|
+
'Jul','Avg','Sep','Okt','Nov','Dec'],
|
1074
|
+
dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
|
1075
|
+
dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
|
1076
|
+
dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
|
1077
|
+
weekHeader: 'Teden',
|
1078
|
+
dateFormat: 'dd.mm.yy',
|
1079
|
+
firstDay: 1,
|
1080
|
+
isRTL: false,
|
1081
|
+
showMonthAfterYear: false,
|
1082
|
+
yearSuffix: ''};
|
1083
|
+
$.datepicker.setDefaults($.datepicker.regional['sl']);
|
1084
|
+
});
|
1085
|
+
/* Albanian initialisation for the jQuery UI date picker plugin. */
|
1086
|
+
/* Written by Flakron Bytyqi (flakron@gmail.com). */
|
1087
|
+
jQuery(function($){
|
1088
|
+
$.datepicker.regional['sq'] = {
|
1089
|
+
closeText: 'mbylle',
|
1090
|
+
prevText: '<mbrapa',
|
1091
|
+
nextText: 'Përpara>',
|
1092
|
+
currentText: 'sot',
|
1093
|
+
monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
|
1094
|
+
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
|
1095
|
+
monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
|
1096
|
+
'Kor','Gus','Sht','Tet','Nën','Dhj'],
|
1097
|
+
dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
|
1098
|
+
dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
1099
|
+
dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
|
1100
|
+
weekHeader: 'Ja',
|
1101
|
+
dateFormat: 'dd.mm.yy',
|
1102
|
+
firstDay: 1,
|
1103
|
+
isRTL: false,
|
1104
|
+
showMonthAfterYear: false,
|
1105
|
+
yearSuffix: ''};
|
1106
|
+
$.datepicker.setDefaults($.datepicker.regional['sq']);
|
1107
|
+
});
|
1108
|
+
/* Serbian i18n for the jQuery UI date picker plugin. */
|
1109
|
+
/* Written by Dejan Dimić. */
|
1110
|
+
jQuery(function($){
|
1111
|
+
$.datepicker.regional['sr-SR'] = {
|
1112
|
+
closeText: 'Zatvori',
|
1113
|
+
prevText: '<',
|
1114
|
+
nextText: '>',
|
1115
|
+
currentText: 'Danas',
|
1116
|
+
monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
|
1117
|
+
'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
|
1118
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
1119
|
+
'Jul','Avg','Sep','Okt','Nov','Dec'],
|
1120
|
+
dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
|
1121
|
+
dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
|
1122
|
+
dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
|
1123
|
+
weekHeader: 'Sed',
|
1124
|
+
dateFormat: 'dd/mm/yy',
|
1125
|
+
firstDay: 1,
|
1126
|
+
isRTL: false,
|
1127
|
+
showMonthAfterYear: false,
|
1128
|
+
yearSuffix: ''};
|
1129
|
+
$.datepicker.setDefaults($.datepicker.regional['sr-SR']);
|
1130
|
+
});
|
1131
|
+
/* Serbian i18n for the jQuery UI date picker plugin. */
|
1132
|
+
/* Written by Dejan Dimić. */
|
1133
|
+
jQuery(function($){
|
1134
|
+
$.datepicker.regional['sr'] = {
|
1135
|
+
closeText: 'Затвори',
|
1136
|
+
prevText: '<',
|
1137
|
+
nextText: '>',
|
1138
|
+
currentText: 'Данас',
|
1139
|
+
monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
|
1140
|
+
'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
|
1141
|
+
monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
|
1142
|
+
'Јул','Авг','Сеп','Окт','Нов','Дец'],
|
1143
|
+
dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
|
1144
|
+
dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
|
1145
|
+
dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
|
1146
|
+
weekHeader: 'Сед',
|
1147
|
+
dateFormat: 'dd/mm/yy',
|
1148
|
+
firstDay: 1,
|
1149
|
+
isRTL: false,
|
1150
|
+
showMonthAfterYear: false,
|
1151
|
+
yearSuffix: ''};
|
1152
|
+
$.datepicker.setDefaults($.datepicker.regional['sr']);
|
1153
|
+
});
|
1154
|
+
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
1155
|
+
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
1156
|
+
jQuery(function($){
|
1157
|
+
$.datepicker.regional['sv'] = {
|
1158
|
+
closeText: 'Stäng',
|
1159
|
+
prevText: '«Förra',
|
1160
|
+
nextText: 'Nästa»',
|
1161
|
+
currentText: 'Idag',
|
1162
|
+
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
|
1163
|
+
'Juli','Augusti','September','Oktober','November','December'],
|
1164
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
1165
|
+
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
1166
|
+
dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
|
1167
|
+
dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
|
1168
|
+
dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
|
1169
|
+
weekHeader: 'Ve',
|
1170
|
+
dateFormat: 'yy-mm-dd',
|
1171
|
+
firstDay: 1,
|
1172
|
+
isRTL: false,
|
1173
|
+
showMonthAfterYear: false,
|
1174
|
+
yearSuffix: ''};
|
1175
|
+
$.datepicker.setDefaults($.datepicker.regional['sv']);
|
1176
|
+
});
|
1177
|
+
/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
1178
|
+
/* Written by S A Sureshkumar (saskumar@live.com). */
|
1179
|
+
jQuery(function($){
|
1180
|
+
$.datepicker.regional['ta'] = {
|
1181
|
+
closeText: 'மூடு',
|
1182
|
+
prevText: 'முன்னையது',
|
1183
|
+
nextText: 'அடுத்தது',
|
1184
|
+
currentText: 'இன்று',
|
1185
|
+
monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி',
|
1186
|
+
'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'],
|
1187
|
+
monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி',
|
1188
|
+
'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'],
|
1189
|
+
dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'],
|
1190
|
+
dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],
|
1191
|
+
dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'],
|
1192
|
+
weekHeader: 'Не',
|
1193
|
+
dateFormat: 'dd/mm/yy',
|
1194
|
+
firstDay: 1,
|
1195
|
+
isRTL: false,
|
1196
|
+
showMonthAfterYear: false,
|
1197
|
+
yearSuffix: ''};
|
1198
|
+
$.datepicker.setDefaults($.datepicker.regional['ta']);
|
1199
|
+
});
|
1200
|
+
/* Thai initialisation for the jQuery UI date picker plugin. */
|
1201
|
+
/* Written by pipo (pipo@sixhead.com). */
|
1202
|
+
jQuery(function($){
|
1203
|
+
$.datepicker.regional['th'] = {
|
1204
|
+
closeText: 'ปิด',
|
1205
|
+
prevText: '« ย้อน',
|
1206
|
+
nextText: 'ถัดไป »',
|
1207
|
+
currentText: 'วันนี้',
|
1208
|
+
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
|
1209
|
+
'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
|
1210
|
+
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
|
1211
|
+
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
|
1212
|
+
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
|
1213
|
+
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
1214
|
+
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
|
1215
|
+
weekHeader: 'Wk',
|
1216
|
+
dateFormat: 'dd/mm/yy',
|
1217
|
+
firstDay: 0,
|
1218
|
+
isRTL: false,
|
1219
|
+
showMonthAfterYear: false,
|
1220
|
+
yearSuffix: ''};
|
1221
|
+
$.datepicker.setDefaults($.datepicker.regional['th']);
|
1222
|
+
});/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
1223
|
+
/* Written by Abdurahmon Saidov (saidovab@gmail.com). */
|
1224
|
+
jQuery(function($){
|
1225
|
+
$.datepicker.regional['tj'] = {
|
1226
|
+
closeText: 'Идома',
|
1227
|
+
prevText: '<Қафо',
|
1228
|
+
nextText: 'Пеш>',
|
1229
|
+
currentText: 'Имрӯз',
|
1230
|
+
monthNames: ['Январ','Феврал','Март','Апрел','Май','Июн',
|
1231
|
+
'Июл','Август','Сентябр','Октябр','Ноябр','Декабр'],
|
1232
|
+
monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
|
1233
|
+
'Июл','Авг','Сен','Окт','Ноя','Дек'],
|
1234
|
+
dayNames: ['якшанбе','душанбе','сешанбе','чоршанбе','панҷшанбе','ҷумъа','шанбе'],
|
1235
|
+
dayNamesShort: ['якш','душ','сеш','чор','пан','ҷум','шан'],
|
1236
|
+
dayNamesMin: ['Як','Дш','Сш','Чш','Пш','Ҷм','Шн'],
|
1237
|
+
weekHeader: 'Хф',
|
1238
|
+
dateFormat: 'dd.mm.yy',
|
1239
|
+
firstDay: 1,
|
1240
|
+
isRTL: false,
|
1241
|
+
showMonthAfterYear: false,
|
1242
|
+
yearSuffix: ''};
|
1243
|
+
$.datepicker.setDefaults($.datepicker.regional['tj']);
|
1244
|
+
});/* Turkish initialisation for the jQuery UI date picker plugin. */
|
1245
|
+
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
1246
|
+
jQuery(function($){
|
1247
|
+
$.datepicker.regional['tr'] = {
|
1248
|
+
closeText: 'kapat',
|
1249
|
+
prevText: '<geri',
|
1250
|
+
nextText: 'ileri>',
|
1251
|
+
currentText: 'bugün',
|
1252
|
+
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
|
1253
|
+
'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
|
1254
|
+
monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
|
1255
|
+
'Tem','Ağu','Eyl','Eki','Kas','Ara'],
|
1256
|
+
dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
|
1257
|
+
dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
1258
|
+
dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
|
1259
|
+
weekHeader: 'Hf',
|
1260
|
+
dateFormat: 'dd.mm.yy',
|
1261
|
+
firstDay: 1,
|
1262
|
+
isRTL: false,
|
1263
|
+
showMonthAfterYear: false,
|
1264
|
+
yearSuffix: ''};
|
1265
|
+
$.datepicker.setDefaults($.datepicker.regional['tr']);
|
1266
|
+
});/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */
|
1267
|
+
/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */
|
1268
|
+
jQuery(function($){
|
1269
|
+
$.datepicker.regional['uk'] = {
|
1270
|
+
closeText: 'Закрити',
|
1271
|
+
prevText: '<',
|
1272
|
+
nextText: '>',
|
1273
|
+
currentText: 'Сьогодні',
|
1274
|
+
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
|
1275
|
+
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
|
1276
|
+
monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
|
1277
|
+
'Лип','Сер','Вер','Жов','Лис','Гру'],
|
1278
|
+
dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'],
|
1279
|
+
dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
|
1280
|
+
dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
|
1281
|
+
weekHeader: 'Не',
|
1282
|
+
dateFormat: 'dd/mm/yy',
|
1283
|
+
firstDay: 1,
|
1284
|
+
isRTL: false,
|
1285
|
+
showMonthAfterYear: false,
|
1286
|
+
yearSuffix: ''};
|
1287
|
+
$.datepicker.setDefaults($.datepicker.regional['uk']);
|
1288
|
+
});/* Vietnamese initialisation for the jQuery UI date picker plugin. */
|
1289
|
+
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
|
1290
|
+
jQuery(function($){
|
1291
|
+
$.datepicker.regional['vi'] = {
|
1292
|
+
closeText: 'Đóng',
|
1293
|
+
prevText: '<Trước',
|
1294
|
+
nextText: 'Tiếp>',
|
1295
|
+
currentText: 'Hôm nay',
|
1296
|
+
monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
|
1297
|
+
'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
|
1298
|
+
monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
|
1299
|
+
'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
|
1300
|
+
dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
|
1301
|
+
dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
|
1302
|
+
dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
|
1303
|
+
weekHeader: 'Tu',
|
1304
|
+
dateFormat: 'dd/mm/yy',
|
1305
|
+
firstDay: 0,
|
1306
|
+
isRTL: false,
|
1307
|
+
showMonthAfterYear: false,
|
1308
|
+
yearSuffix: ''};
|
1309
|
+
$.datepicker.setDefaults($.datepicker.regional['vi']);
|
1310
|
+
});
|
1311
|
+
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
1312
|
+
/* Written by Cloudream (cloudream@gmail.com). */
|
1313
|
+
jQuery(function($){
|
1314
|
+
$.datepicker.regional['zh-CN'] = {
|
1315
|
+
closeText: '关闭',
|
1316
|
+
prevText: '<上月',
|
1317
|
+
nextText: '下月>',
|
1318
|
+
currentText: '今天',
|
1319
|
+
monthNames: ['一月','二月','三月','四月','五月','六月',
|
1320
|
+
'七月','八月','九月','十月','十一月','十二月'],
|
1321
|
+
monthNamesShort: ['一','二','三','四','五','六',
|
1322
|
+
'七','八','九','十','十一','十二'],
|
1323
|
+
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
1324
|
+
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
1325
|
+
dayNamesMin: ['日','一','二','三','四','五','六'],
|
1326
|
+
weekHeader: '周',
|
1327
|
+
dateFormat: 'yy-mm-dd',
|
1328
|
+
firstDay: 1,
|
1329
|
+
isRTL: false,
|
1330
|
+
showMonthAfterYear: true,
|
1331
|
+
yearSuffix: '年'};
|
1332
|
+
$.datepicker.setDefaults($.datepicker.regional['zh-CN']);
|
1333
|
+
});
|
1334
|
+
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
1335
|
+
/* Written by SCCY (samuelcychan@gmail.com). */
|
1336
|
+
jQuery(function($){
|
1337
|
+
$.datepicker.regional['zh-HK'] = {
|
1338
|
+
closeText: '關閉',
|
1339
|
+
prevText: '<上月',
|
1340
|
+
nextText: '下月>',
|
1341
|
+
currentText: '今天',
|
1342
|
+
monthNames: ['一月','二月','三月','四月','五月','六月',
|
1343
|
+
'七月','八月','九月','十月','十一月','十二月'],
|
1344
|
+
monthNamesShort: ['一','二','三','四','五','六',
|
1345
|
+
'七','八','九','十','十一','十二'],
|
1346
|
+
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
1347
|
+
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
1348
|
+
dayNamesMin: ['日','一','二','三','四','五','六'],
|
1349
|
+
weekHeader: '周',
|
1350
|
+
dateFormat: 'dd-mm-yy',
|
1351
|
+
firstDay: 0,
|
1352
|
+
isRTL: false,
|
1353
|
+
showMonthAfterYear: true,
|
1354
|
+
yearSuffix: '年'};
|
1355
|
+
$.datepicker.setDefaults($.datepicker.regional['zh-HK']);
|
1356
|
+
});
|
1357
|
+
/* Chinese initialisation for the jQuery UI date picker plugin. */
|
1358
|
+
/* Written by Ressol (ressol@gmail.com). */
|
1359
|
+
jQuery(function($){
|
1360
|
+
$.datepicker.regional['zh-TW'] = {
|
1361
|
+
closeText: '關閉',
|
1362
|
+
prevText: '<上月',
|
1363
|
+
nextText: '下月>',
|
1364
|
+
currentText: '今天',
|
1365
|
+
monthNames: ['一月','二月','三月','四月','五月','六月',
|
1366
|
+
'七月','八月','九月','十月','十一月','十二月'],
|
1367
|
+
monthNamesShort: ['一','二','三','四','五','六',
|
1368
|
+
'七','八','九','十','十一','十二'],
|
1369
|
+
dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
|
1370
|
+
dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
|
1371
|
+
dayNamesMin: ['日','一','二','三','四','五','六'],
|
1372
|
+
weekHeader: '周',
|
1373
|
+
dateFormat: 'yy/mm/dd',
|
1374
|
+
firstDay: 1,
|
1375
|
+
isRTL: false,
|
1376
|
+
showMonthAfterYear: true,
|
1377
|
+
yearSuffix: '年'};
|
1378
|
+
$.datepicker.setDefaults($.datepicker.regional['zh-TW']);
|
1379
|
+
});
|