mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-08-07 15:49:20 +02:00
Fixed translations for cron
This commit is contained in:
@@ -38,31 +38,31 @@ export default class CronField {
|
||||
},
|
||||
texts: {
|
||||
en: {
|
||||
empty: translations.GRAV_CORE['GRAV.CRON.EVERY'],
|
||||
empty_minutes: translations.GRAV_CORE['GRAV.CRON.EVERY'],
|
||||
empty_time_hours: translations.GRAV_CORE['GRAV.CRON.EVERY_HOUR'],
|
||||
empty_time_minutes: translations.GRAV_CORE['GRAV.CRON.EVERY_MINUTE'],
|
||||
empty_day_of_week: translations.GRAV_CORE['GRAV.CRON.EVERY_DAY_OF_WEEK'],
|
||||
empty_day_of_month: translations.GRAV_CORE['GRAV.CRON.EVERY_DAY_OF_MONTH'],
|
||||
empty_month: translations.GRAV_CORE['GRAV.CRON.EVERY_MONTH'],
|
||||
empty: translations.GRAV_CORE['CRON.EVERY'],
|
||||
empty_minutes: translations.GRAV_CORE['CRON.EVERY'],
|
||||
empty_time_hours: translations.GRAV_CORE['CRON.EVERY_HOUR'],
|
||||
empty_time_minutes: translations.GRAV_CORE['CRON.EVERY_MINUTE'],
|
||||
empty_day_of_week: translations.GRAV_CORE['CRON.EVERY_DAY_OF_WEEK'],
|
||||
empty_day_of_month: translations.GRAV_CORE['CRON.EVERY_DAY_OF_MONTH'],
|
||||
empty_month: translations.GRAV_CORE['CRON.EVERY_MONTH'],
|
||||
name_minute: translations.GRAV_CORE['NICETIME.MINUTE'],
|
||||
name_hour: translations.GRAV_CORE['NICETIME.HOUR'],
|
||||
name_day: translations.GRAV_CORE['NICETIME.DAY'],
|
||||
name_week: translations.GRAV_CORE['NICETIME.WEEK'],
|
||||
name_month: translations.GRAV_CORE['NICETIME.MONTH'],
|
||||
name_year: translations.GRAV_CORE['NICETIME.YEAR'],
|
||||
text_period: translations.GRAV_CORE['GRAV.CRON.TEXT_PERIOD'],
|
||||
text_mins: translations.GRAV_CORE['GRAV.CRON.TEXT_MINS'],
|
||||
text_time: translations.GRAV_CORE['GRAV.CRON.TEXT_TIME'],
|
||||
text_dow: translations.GRAV_CORE['GRAV.CRON.TEXT_DOW'],
|
||||
text_month: translations.GRAV_CORE['GRAV.CRON.TEXT_MONTH'],
|
||||
text_dom: translations.GRAV_CORE['GRAV.CRON.TEXT_DOM'],
|
||||
error1: translations.GRAV_CORE['GRAV.CRON.ERROR1'],
|
||||
error2: translations.GRAV_CORE['GRAV.CRON.ERROR2'],
|
||||
error3: translations.GRAV_CORE['GRAV.CRON.ERROR3'],
|
||||
error4: translations.GRAV_CORE['GRAV.CRON.ERROR4'],
|
||||
weekdays: translations.GRAV_CORE['GRAV.DAYS_OF_THE_WEEK'],
|
||||
months: translations.GRAV_CORE['GRAV.MONTHS_OF_THE_YEAR']
|
||||
text_period: translations.GRAV_CORE['CRON.TEXT_PERIOD'],
|
||||
text_mins: translations.GRAV_CORE['CRON.TEXT_MINS'],
|
||||
text_time: translations.GRAV_CORE['CRON.TEXT_TIME'],
|
||||
text_dow: translations.GRAV_CORE['CRON.TEXT_DOW'],
|
||||
text_month: translations.GRAV_CORE['CRON.TEXT_MONTH'],
|
||||
text_dom: translations.GRAV_CORE['CRON.TEXT_DOM'],
|
||||
error1: translations.GRAV_CORE['CRON.ERROR1'],
|
||||
error2: translations.GRAV_CORE['CRON.ERROR2'],
|
||||
error3: translations.GRAV_CORE['CRON.ERROR3'],
|
||||
error4: translations.GRAV_CORE['CRON.ERROR4'],
|
||||
weekdays: translations.GRAV_CORE['DAYS_OF_THE_WEEK'],
|
||||
months: translations.GRAV_CORE['MONTHS_OF_THE_YEAR']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
20
themes/grav/js/admin.min.js
vendored
20
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -12,7 +12,6 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for job in jobs %}
|
||||
{{ dump(job) }}
|
||||
{% set job_status = attribute(data.status,job.id) %}
|
||||
{% set job_enabled = job_status is defined and job_status == 'disabled' ? 0 : 1 %}
|
||||
{% set job_id = job.id %}
|
||||
|
||||
Reference in New Issue
Block a user