sidekiq 3.5.4 → 5.2.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sidekiq might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.circleci/config.yml +61 -0
- data/{Contributing.md → .github/contributing.md} +0 -0
- data/.github/issue_template.md +11 -0
- data/.gitignore +3 -0
- data/.travis.yml +5 -10
- data/4.0-Upgrade.md +53 -0
- data/5.0-Upgrade.md +56 -0
- data/COMM-LICENSE +13 -11
- data/Changes.md +376 -1
- data/Ent-Changes.md +201 -2
- data/Gemfile +14 -18
- data/LICENSE +1 -1
- data/Pro-3.0-Upgrade.md +44 -0
- data/Pro-4.0-Upgrade.md +35 -0
- data/Pro-Changes.md +307 -2
- data/README.md +34 -22
- data/Rakefile +3 -3
- data/bin/sidekiq +0 -1
- data/bin/sidekiqctl +13 -86
- data/bin/sidekiqload +23 -27
- data/code_of_conduct.md +50 -0
- data/lib/generators/sidekiq/templates/worker_spec.rb.erb +3 -3
- data/lib/generators/sidekiq/templates/worker_test.rb.erb +6 -6
- data/lib/sidekiq.rb +72 -25
- data/lib/sidekiq/api.rb +206 -73
- data/lib/sidekiq/cli.rb +145 -101
- data/lib/sidekiq/client.rb +42 -36
- data/lib/sidekiq/core_ext.rb +1 -105
- data/lib/sidekiq/ctl.rb +221 -0
- data/lib/sidekiq/delay.rb +42 -0
- data/lib/sidekiq/exception_handler.rb +4 -5
- data/lib/sidekiq/extensions/action_mailer.rb +1 -0
- data/lib/sidekiq/extensions/active_record.rb +1 -0
- data/lib/sidekiq/extensions/class_methods.rb +1 -0
- data/lib/sidekiq/extensions/generic_proxy.rb +8 -1
- data/lib/sidekiq/fetch.rb +36 -111
- data/lib/sidekiq/job_logger.rb +25 -0
- data/lib/sidekiq/job_retry.rb +262 -0
- data/lib/sidekiq/launcher.rb +129 -55
- data/lib/sidekiq/logging.rb +21 -3
- data/lib/sidekiq/manager.rb +83 -182
- data/lib/sidekiq/middleware/chain.rb +1 -0
- data/lib/sidekiq/middleware/i18n.rb +1 -0
- data/lib/sidekiq/middleware/server/active_record.rb +10 -0
- data/lib/sidekiq/paginator.rb +1 -0
- data/lib/sidekiq/processor.rb +221 -103
- data/lib/sidekiq/rails.rb +47 -27
- data/lib/sidekiq/redis_connection.rb +74 -7
- data/lib/sidekiq/scheduled.rb +87 -28
- data/lib/sidekiq/testing.rb +150 -19
- data/lib/sidekiq/testing/inline.rb +1 -0
- data/lib/sidekiq/util.rb +15 -17
- data/lib/sidekiq/version.rb +2 -1
- data/lib/sidekiq/web.rb +120 -184
- data/lib/sidekiq/web/action.rb +89 -0
- data/lib/sidekiq/web/application.rb +353 -0
- data/lib/sidekiq/{web_helpers.rb → web/helpers.rb} +123 -47
- data/lib/sidekiq/web/router.rb +100 -0
- data/lib/sidekiq/worker.rb +135 -18
- data/sidekiq.gemspec +8 -14
- data/web/assets/images/{status-sd8051fd480.png → status.png} +0 -0
- data/web/assets/javascripts/application.js +24 -20
- data/web/assets/javascripts/dashboard.js +33 -18
- data/web/assets/stylesheets/application-rtl.css +246 -0
- data/web/assets/stylesheets/application.css +401 -7
- data/web/assets/stylesheets/bootstrap-rtl.min.css +9 -0
- data/web/assets/stylesheets/bootstrap.css +4 -8
- data/web/locales/ar.yml +81 -0
- data/web/locales/cs.yml +11 -1
- data/web/locales/de.yml +1 -1
- data/web/locales/en.yml +4 -0
- data/web/locales/es.yml +4 -3
- data/web/locales/fa.yml +80 -0
- data/web/locales/fr.yml +21 -12
- data/web/locales/he.yml +79 -0
- data/web/locales/ja.yml +24 -13
- data/web/locales/ru.yml +3 -0
- data/web/locales/ur.yml +80 -0
- data/web/views/_footer.erb +7 -9
- data/web/views/_job_info.erb +5 -1
- data/web/views/_nav.erb +5 -19
- data/web/views/_paging.erb +1 -1
- data/web/views/busy.erb +18 -9
- data/web/views/dashboard.erb +5 -5
- data/web/views/dead.erb +1 -1
- data/web/views/layout.erb +13 -5
- data/web/views/morgue.erb +16 -12
- data/web/views/queue.erb +12 -11
- data/web/views/queues.erb +5 -3
- data/web/views/retries.erb +19 -13
- data/web/views/retry.erb +2 -2
- data/web/views/scheduled.erb +4 -4
- data/web/views/scheduled_job_info.erb +1 -1
- metadata +45 -227
- data/lib/sidekiq/actor.rb +0 -39
- data/lib/sidekiq/middleware/server/logging.rb +0 -40
- data/lib/sidekiq/middleware/server/retry_jobs.rb +0 -206
- data/test/config.yml +0 -9
- data/test/env_based_config.yml +0 -11
- data/test/fake_env.rb +0 -0
- data/test/fixtures/en.yml +0 -2
- data/test/helper.rb +0 -49
- data/test/test_api.rb +0 -493
- data/test/test_cli.rb +0 -335
- data/test/test_client.rb +0 -194
- data/test/test_exception_handler.rb +0 -55
- data/test/test_extensions.rb +0 -126
- data/test/test_fetch.rb +0 -104
- data/test/test_logging.rb +0 -34
- data/test/test_manager.rb +0 -168
- data/test/test_middleware.rb +0 -159
- data/test/test_processor.rb +0 -237
- data/test/test_rails.rb +0 -21
- data/test/test_redis_connection.rb +0 -126
- data/test/test_retry.rb +0 -325
- data/test/test_scheduled.rb +0 -114
- data/test/test_scheduling.rb +0 -49
- data/test/test_sidekiq.rb +0 -99
- data/test/test_testing.rb +0 -142
- data/test/test_testing_fake.rb +0 -268
- data/test/test_testing_inline.rb +0 -93
- data/test/test_util.rb +0 -16
- data/test/test_web.rb +0 -608
- data/test/test_web_helpers.rb +0 -53
- data/web/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/web/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/web/assets/images/status/active.png +0 -0
- data/web/assets/images/status/idle.png +0 -0
- data/web/assets/javascripts/locales/README.md +0 -27
- data/web/assets/javascripts/locales/jquery.timeago.ar.js +0 -96
- data/web/assets/javascripts/locales/jquery.timeago.bg.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.bs.js +0 -49
- data/web/assets/javascripts/locales/jquery.timeago.ca.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.cs.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.cy.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.da.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.de.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.el.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.en-short.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.en.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.es.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.et.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.fa.js +0 -22
- data/web/assets/javascripts/locales/jquery.timeago.fi.js +0 -28
- data/web/assets/javascripts/locales/jquery.timeago.fr-short.js +0 -16
- data/web/assets/javascripts/locales/jquery.timeago.fr.js +0 -17
- data/web/assets/javascripts/locales/jquery.timeago.he.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.hr.js +0 -49
- data/web/assets/javascripts/locales/jquery.timeago.hu.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.hy.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.id.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.it.js +0 -16
- data/web/assets/javascripts/locales/jquery.timeago.ja.js +0 -19
- data/web/assets/javascripts/locales/jquery.timeago.ko.js +0 -17
- data/web/assets/javascripts/locales/jquery.timeago.lt.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.mk.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.nl.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.no.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.pl.js +0 -31
- data/web/assets/javascripts/locales/jquery.timeago.pt-br.js +0 -16
- data/web/assets/javascripts/locales/jquery.timeago.pt.js +0 -16
- data/web/assets/javascripts/locales/jquery.timeago.ro.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.rs.js +0 -49
- data/web/assets/javascripts/locales/jquery.timeago.ru.js +0 -34
- data/web/assets/javascripts/locales/jquery.timeago.sk.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.sl.js +0 -44
- data/web/assets/javascripts/locales/jquery.timeago.sv.js +0 -18
- data/web/assets/javascripts/locales/jquery.timeago.th.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.tr.js +0 -16
- data/web/assets/javascripts/locales/jquery.timeago.uk.js +0 -34
- data/web/assets/javascripts/locales/jquery.timeago.uz.js +0 -19
- data/web/assets/javascripts/locales/jquery.timeago.zh-cn.js +0 -20
- data/web/assets/javascripts/locales/jquery.timeago.zh-tw.js +0 -20
- data/web/views/_poll_js.erb +0 -5
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
// Persian
|
3
|
-
// Use DIR attribute for RTL text in Persian Language for ABBR tag .
|
4
|
-
// By MB.seifollahi@gmail.com
|
5
|
-
jQuery.timeago.settings.strings = {
|
6
|
-
prefixAgo: null,
|
7
|
-
prefixFromNow: null,
|
8
|
-
suffixAgo: "پیش",
|
9
|
-
suffixFromNow: "از حال",
|
10
|
-
seconds: "کمتر از یک دقیقه",
|
11
|
-
minute: "حدود یک دقیقه",
|
12
|
-
minutes: "%d دقیقه",
|
13
|
-
hour: "حدود یک ساعت",
|
14
|
-
hours: "حدود %d ساعت",
|
15
|
-
day: "یک روز",
|
16
|
-
days: "%d روز",
|
17
|
-
month: "حدود یک ماه",
|
18
|
-
months: "%d ماه",
|
19
|
-
year: "حدود یک سال",
|
20
|
-
years: "%d سال",
|
21
|
-
wordSeparator: " "
|
22
|
-
};
|
@@ -1,28 +0,0 @@
|
|
1
|
-
// Finnish
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: null,
|
4
|
-
prefixFromNow: null,
|
5
|
-
suffixAgo: "sitten",
|
6
|
-
suffixFromNow: "tulevaisuudessa",
|
7
|
-
seconds: "alle minuutti",
|
8
|
-
minute: "minuutti",
|
9
|
-
minutes: "%d minuuttia",
|
10
|
-
hour: "tunti",
|
11
|
-
hours: "%d tuntia",
|
12
|
-
day: "päivä",
|
13
|
-
days: "%d päivää",
|
14
|
-
month: "kuukausi",
|
15
|
-
months: "%d kuukautta",
|
16
|
-
year: "vuosi",
|
17
|
-
years: "%d vuotta"
|
18
|
-
};
|
19
|
-
|
20
|
-
// The above is not a great localization because one would usually
|
21
|
-
// write "2 days ago" in Finnish as "2 päivää sitten", however
|
22
|
-
// one would write "2 days into the future" as "2:n päivän päästä"
|
23
|
-
// which cannot be achieved with localization support this simple.
|
24
|
-
// This is because Finnish has word suffixes (attached directly
|
25
|
-
// to the end of the word). The word "day" is "päivä" in Finnish.
|
26
|
-
// As workaround, the above localizations will say
|
27
|
-
// "2 päivää tulevaisuudessa" which is understandable but
|
28
|
-
// not as fluent.
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// French shortened
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: "il y a",
|
4
|
-
prefixFromNow: "d'ici",
|
5
|
-
seconds: "moins d'une minute",
|
6
|
-
minute: "une minute",
|
7
|
-
minutes: "%d minutes",
|
8
|
-
hour: "une heure",
|
9
|
-
hours: "%d heures",
|
10
|
-
day: "un jour",
|
11
|
-
days: "%d jours",
|
12
|
-
month: "un mois",
|
13
|
-
months: "%d mois",
|
14
|
-
year: "un an",
|
15
|
-
years: "%d ans"
|
16
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
// French
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
// environ ~= about, it's optional
|
4
|
-
prefixAgo: "il y a",
|
5
|
-
prefixFromNow: "d'ici",
|
6
|
-
seconds: "moins d'une minute",
|
7
|
-
minute: "environ une minute",
|
8
|
-
minutes: "environ %d minutes",
|
9
|
-
hour: "environ une heure",
|
10
|
-
hours: "environ %d heures",
|
11
|
-
day: "environ un jour",
|
12
|
-
days: "environ %d jours",
|
13
|
-
month: "environ un mois",
|
14
|
-
months: "environ %d mois",
|
15
|
-
year: "un an",
|
16
|
-
years: "%d ans"
|
17
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Hebrew
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: "לפני",
|
4
|
-
prefixFromNow: "מעכשיו",
|
5
|
-
suffixAgo: "",
|
6
|
-
suffixFromNow: "",
|
7
|
-
seconds: "פחות מדקה",
|
8
|
-
minute: "דקה",
|
9
|
-
minutes: "%d דקות",
|
10
|
-
hour: "שעה",
|
11
|
-
hours: "%d שעות",
|
12
|
-
day: "יום",
|
13
|
-
days: "%d ימים",
|
14
|
-
month: "חודש",
|
15
|
-
months: "%d חודשים",
|
16
|
-
year: "שנה",
|
17
|
-
years: "%d שנים"
|
18
|
-
};
|
@@ -1,49 +0,0 @@
|
|
1
|
-
// Croatian
|
2
|
-
(function () {
|
3
|
-
var numpf;
|
4
|
-
|
5
|
-
numpf = function (n, f, s, t) {
|
6
|
-
var n10;
|
7
|
-
n10 = n % 10;
|
8
|
-
if (n10 === 1 && (n === 1 || n > 20)) {
|
9
|
-
return f;
|
10
|
-
} else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
|
11
|
-
return s;
|
12
|
-
} else {
|
13
|
-
return t;
|
14
|
-
}
|
15
|
-
};
|
16
|
-
|
17
|
-
jQuery.timeago.settings.strings = {
|
18
|
-
prefixAgo: "prije",
|
19
|
-
prefixFromNow: "za",
|
20
|
-
suffixAgo: null,
|
21
|
-
suffixFromNow: null,
|
22
|
-
second: "sekundu",
|
23
|
-
seconds: function (value) {
|
24
|
-
return numpf(value, "%d sekundu", "%d sekunde", "%d sekundi");
|
25
|
-
},
|
26
|
-
minute: "oko minutu",
|
27
|
-
minutes: function (value) {
|
28
|
-
return numpf(value, "%d minutu", "%d minute", "%d minuta");
|
29
|
-
},
|
30
|
-
hour: "oko jedan sat",
|
31
|
-
hours: function (value) {
|
32
|
-
return numpf(value, "%d sat", "%d sata", "%d sati");
|
33
|
-
},
|
34
|
-
day: "jedan dan",
|
35
|
-
days: function (value) {
|
36
|
-
return numpf(value, "%d dan", "%d dana", "%d dana");
|
37
|
-
},
|
38
|
-
month: "mjesec dana",
|
39
|
-
months: function (value) {
|
40
|
-
return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci");
|
41
|
-
},
|
42
|
-
year: "prije godinu dana",
|
43
|
-
years: function (value) {
|
44
|
-
return numpf(value, "%d godinu", "%d godine", "%d godina");
|
45
|
-
},
|
46
|
-
wordSeparator: " "
|
47
|
-
};
|
48
|
-
|
49
|
-
}).call(this);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Hungarian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: null,
|
4
|
-
prefixFromNow: null,
|
5
|
-
suffixAgo: null,
|
6
|
-
suffixFromNow: null,
|
7
|
-
seconds: "kevesebb mint egy perce",
|
8
|
-
minute: "körülbelül egy perce",
|
9
|
-
minutes: "%d perce",
|
10
|
-
hour: "körülbelül egy órája",
|
11
|
-
hours: "körülbelül %d órája",
|
12
|
-
day: "körülbelül egy napja",
|
13
|
-
days: "%d napja",
|
14
|
-
month: "körülbelül egy hónapja",
|
15
|
-
months: "%d hónapja",
|
16
|
-
year: "körülbelül egy éve",
|
17
|
-
years: "%d éve"
|
18
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Armenian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: null,
|
4
|
-
prefixFromNow: null,
|
5
|
-
suffixAgo: "առաջ",
|
6
|
-
suffixFromNow: "հետո",
|
7
|
-
seconds: "վայրկյաններ",
|
8
|
-
minute: "մեկ րոպե",
|
9
|
-
minutes: "%d րոպե",
|
10
|
-
hour: "մեկ ժամ",
|
11
|
-
hours: "%d ժամ",
|
12
|
-
day: "մեկ օր",
|
13
|
-
days: "%d օր",
|
14
|
-
month: "մեկ ամիս",
|
15
|
-
months: "%d ամիս",
|
16
|
-
year: "մեկ տարի",
|
17
|
-
years: "%d տարի"
|
18
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Indonesian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: null,
|
4
|
-
prefixFromNow: null,
|
5
|
-
suffixAgo: "yang lalu",
|
6
|
-
suffixFromNow: "dari sekarang",
|
7
|
-
seconds: "kurang dari semenit",
|
8
|
-
minute: "sekitar satu menit",
|
9
|
-
minutes: "%d menit",
|
10
|
-
hour: "sekitar sejam",
|
11
|
-
hours: "sekitar %d jam",
|
12
|
-
day: "sehari",
|
13
|
-
days: "%d hari",
|
14
|
-
month: "sekitar sebulan",
|
15
|
-
months: "%d bulan",
|
16
|
-
year: "sekitar setahun",
|
17
|
-
years: "%d tahun"
|
18
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// Italian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
suffixAgo: "fa",
|
4
|
-
suffixFromNow: "da ora",
|
5
|
-
seconds: "meno di un minuto",
|
6
|
-
minute: "circa un minuto",
|
7
|
-
minutes: "%d minuti",
|
8
|
-
hour: "circa un'ora",
|
9
|
-
hours: "circa %d ore",
|
10
|
-
day: "un giorno",
|
11
|
-
days: "%d giorni",
|
12
|
-
month: "circa un mese",
|
13
|
-
months: "%d mesi",
|
14
|
-
year: "circa un anno",
|
15
|
-
years: "%d anni"
|
16
|
-
};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
// Japanese
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: "",
|
4
|
-
prefixFromNow: "今から",
|
5
|
-
suffixAgo: "前",
|
6
|
-
suffixFromNow: "後",
|
7
|
-
seconds: "1 分未満",
|
8
|
-
minute: "約 1 分",
|
9
|
-
minutes: "%d 分",
|
10
|
-
hour: "約 1 時間",
|
11
|
-
hours: "約 %d 時間",
|
12
|
-
day: "約 1 日",
|
13
|
-
days: "約 %d 日",
|
14
|
-
month: "約 1 月",
|
15
|
-
months: "約 %d 月",
|
16
|
-
year: "約 1 年",
|
17
|
-
years: "約 %d 年",
|
18
|
-
wordSeparator: ""
|
19
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
// Korean
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
suffixAgo: "전",
|
4
|
-
suffixFromNow: "후",
|
5
|
-
seconds: "1분 이내",
|
6
|
-
minute: "1분",
|
7
|
-
minutes: "%d분",
|
8
|
-
hour: "1시간",
|
9
|
-
hours: "%d시간",
|
10
|
-
day: "하루",
|
11
|
-
days: "%d일",
|
12
|
-
month: "한 달",
|
13
|
-
months: "%d달",
|
14
|
-
year: "1년",
|
15
|
-
years: "%d년",
|
16
|
-
wordSeparator: " "
|
17
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
//Lithuanian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: "prieš",
|
4
|
-
prefixFromNow: null,
|
5
|
-
suffixAgo: null,
|
6
|
-
suffixFromNow: "nuo dabar",
|
7
|
-
seconds: "%d sek.",
|
8
|
-
minute: "min.",
|
9
|
-
minutes: "%d min.",
|
10
|
-
hour: "val.",
|
11
|
-
hours: "%d val.",
|
12
|
-
day: "1 d.",
|
13
|
-
days: "%d d.",
|
14
|
-
month: "mėn.",
|
15
|
-
months: "%d mėn.",
|
16
|
-
year: "metus",
|
17
|
-
years: "%d metus",
|
18
|
-
wordSeparator: " ",
|
19
|
-
numbers: []
|
20
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
// Macedonian
|
2
|
-
(function() {
|
3
|
-
jQuery.timeago.settings.strings={
|
4
|
-
prefixAgo: "пред",
|
5
|
-
prefixFromNow: "за",
|
6
|
-
suffixAgo: null,
|
7
|
-
suffixFromNow: null,
|
8
|
-
seconds: "%d секунди",
|
9
|
-
minute: "%d минута",
|
10
|
-
minutes: "%d минути",
|
11
|
-
hour: "%d час",
|
12
|
-
hours: "%d часа",
|
13
|
-
day: "%d ден",
|
14
|
-
days: "%d денови" ,
|
15
|
-
month: "%d месец",
|
16
|
-
months: "%d месеци",
|
17
|
-
year: "%d година",
|
18
|
-
years: "%d години"
|
19
|
-
}
|
20
|
-
})();
|
@@ -1,20 +0,0 @@
|
|
1
|
-
// Dutch
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: null,
|
4
|
-
prefixFromNow: "",
|
5
|
-
suffixAgo: "geleden",
|
6
|
-
suffixFromNow: "van nu",
|
7
|
-
seconds: "minder dan een minuut",
|
8
|
-
minute: "ongeveer een minuut",
|
9
|
-
minutes: "%d minuten",
|
10
|
-
hour: "ongeveer een uur",
|
11
|
-
hours: "ongeveer %d uur",
|
12
|
-
day: "een dag",
|
13
|
-
days: "%d dagen",
|
14
|
-
month: "ongeveer een maand",
|
15
|
-
months: "%d maanden",
|
16
|
-
year: "ongeveer een jaar",
|
17
|
-
years: "%d jaar",
|
18
|
-
wordSeparator: " ",
|
19
|
-
numbers: []
|
20
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Norwegian
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
prefixAgo: "for",
|
4
|
-
prefixFromNow: "om",
|
5
|
-
suffixAgo: "siden",
|
6
|
-
suffixFromNow: "",
|
7
|
-
seconds: "mindre enn et minutt",
|
8
|
-
minute: "ca. et minutt",
|
9
|
-
minutes: "%d minutter",
|
10
|
-
hour: "ca. en time",
|
11
|
-
hours: "ca. %d timer",
|
12
|
-
day: "en dag",
|
13
|
-
days: "%d dager",
|
14
|
-
month: "ca. en måned",
|
15
|
-
months: "%d måneder",
|
16
|
-
year: "ca. et år",
|
17
|
-
years: "%d år"
|
18
|
-
};
|
@@ -1,31 +0,0 @@
|
|
1
|
-
// Polish
|
2
|
-
(function() {
|
3
|
-
function numpf(n, s, t) {
|
4
|
-
// s - 2-4, 22-24, 32-34 ...
|
5
|
-
// t - 5-21, 25-31, ...
|
6
|
-
var n10 = n % 10;
|
7
|
-
if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
|
8
|
-
return s;
|
9
|
-
} else {
|
10
|
-
return t;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
jQuery.timeago.settings.strings = {
|
15
|
-
prefixAgo: null,
|
16
|
-
prefixFromNow: "za",
|
17
|
-
suffixAgo: "temu",
|
18
|
-
suffixFromNow: null,
|
19
|
-
seconds: "mniej niż minutę",
|
20
|
-
minute: "minutę",
|
21
|
-
minutes: function(value) { return numpf(value, "%d minuty", "%d minut"); },
|
22
|
-
hour: "godzinę",
|
23
|
-
hours: function(value) { return numpf(value, "%d godziny", "%d godzin"); },
|
24
|
-
day: "dzień",
|
25
|
-
days: "%d dni",
|
26
|
-
month: "miesiąc",
|
27
|
-
months: function(value) { return numpf(value, "%d miesiące", "%d miesięcy"); },
|
28
|
-
year: "rok",
|
29
|
-
years: function(value) { return numpf(value, "%d lata", "%d lat"); }
|
30
|
-
};
|
31
|
-
})();
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// Brasilian Portuguese
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
suffixAgo: "atrás",
|
4
|
-
suffixFromNow: "a partir de agora",
|
5
|
-
seconds: "menos de um minuto",
|
6
|
-
minute: "cerca de um minuto",
|
7
|
-
minutes: "%d minutos",
|
8
|
-
hour: "cerca de uma hora",
|
9
|
-
hours: "cerca de %d horas",
|
10
|
-
day: "um dia",
|
11
|
-
days: "%d dias",
|
12
|
-
month: "cerca de um mês",
|
13
|
-
months: "%d meses",
|
14
|
-
year: "cerca de um ano",
|
15
|
-
years: "%d anos"
|
16
|
-
};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
// Portuguese
|
2
|
-
jQuery.timeago.settings.strings = {
|
3
|
-
suffixAgo: "atrás",
|
4
|
-
suffixFromNow: "a partir de agora",
|
5
|
-
seconds: "menos de um minuto",
|
6
|
-
minute: "cerca de um minuto",
|
7
|
-
minutes: "%d minutos",
|
8
|
-
hour: "cerca de uma hora",
|
9
|
-
hours: "cerca de %d horas",
|
10
|
-
day: "um dia",
|
11
|
-
days: "%d dias",
|
12
|
-
month: "cerca de um mês",
|
13
|
-
months: "%d meses",
|
14
|
-
year: "cerca de um ano",
|
15
|
-
years: "%d anos"
|
16
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// Romanian
|
2
|
-
$.timeago.settings.strings = {
|
3
|
-
prefixAgo: "acum",
|
4
|
-
prefixFromNow: "in timp de",
|
5
|
-
suffixAgo: "",
|
6
|
-
suffixFromNow: "",
|
7
|
-
seconds: "mai putin de un minut",
|
8
|
-
minute: "un minut",
|
9
|
-
minutes: "%d minute",
|
10
|
-
hour: "o ora",
|
11
|
-
hours: "%d ore",
|
12
|
-
day: "o zi",
|
13
|
-
days: "%d zile",
|
14
|
-
month: "o luna",
|
15
|
-
months: "%d luni",
|
16
|
-
year: "un an",
|
17
|
-
years: "%d ani"
|
18
|
-
};
|