Missing scheduler lang strings

This commit is contained in:
Andy Miller
2018-10-07 17:20:03 -06:00
parent a5eed04307
commit 3b9dc44742
2 changed files with 9 additions and 4 deletions

View File

@@ -354,6 +354,7 @@ PLUGIN_ADMIN:
ETAG_HELP: "Sets the etag header to help identify when a page has been modified"
VARY_ACCEPT_ENCODING: "Vary accept encoding"
VARY_ACCEPT_ENCODING_HELP: "Sets the `Vary: Accept Encoding` header to help with proxy and CDN caching"
VARY_ACCEPT_ENCODING_HELP: "Sets the `Vary: Accept Encoding` header to help with proxy and CDN caching"
MARKDOWN: "Markdown"
MARKDOWN_EXTRA: "Markdown extra"
MARKDOWN_EXTRA_HELP: "Enable default support for Markdown Extra - https://michelf.ca/projects/php-markdown/extra/"
@@ -749,6 +750,10 @@ PLUGIN_ADMIN:
STRICT_TWIG_COMPAT: "Twig Compatibility"
STRICT_TWIG_COMPAT_HELP: "Enables deprecated Twig autoescape setting. When disabled, |raw filter is required to output HTML as Twig will autoescape output"
SCHEDULER: "Scheduler"
SCHEDULER_INSTALL_INSTRUCTIONS: "Install Instructions"
SCHEDULER_INSTALLED_READY: "Installed and Ready"
SCHEDULER_CRON_NA: "Cron Not Available"
SCHEDULER_NOT_ENABLED: "Not Enabled"
SCHEDULER_SETUP: "Scheduler Setup"
SCHEDULER_INSTRUCTIONS: "The <b>Grav Scheduler</b> allow you to create and schedule custom jobs. It also provides a method for Grav plugins to integrate programatically and dynamically add jobs to be run periodically."
SCHEDULER_POST_INSTRUCTIONS: "To enable the Scheduler's functionality, you must add the <b>Grav Scheduler</b> to your system's crontab file. Run the command above from the terminal to add it automatically. Once saved, refresh this page to see the status Ready."

View File

@@ -8,13 +8,13 @@
{% if cron_status == 1 %}
<div class="alert notice secondary-accent">
<div id="show-instructions" class="button button-small"><i class="fa fa-clock-o"></i> Display Instructions</div>
<i class="fa fa-check"></i> Installed and Ready
<div id="show-instructions" class="button button-small"><i class="fa fa-clock-o"></i> {{ "PLUGIN_ADMIN.SCHEDULER_INSTALL_INSTRUCTIONS"|tu }}</div>
<i class="fa fa-check"></i> {{ "PLUGIN_ADMIN.SCHEDULER_INSTALLED_READY"|tu }}
</div>
{% elseif cron_status == 2 %}
<div class="alert warning"> Cron Not Available</div>
<div class="alert warning"> {{ "PLUGIN_ADMIN.SCHEDULER_CRON_NA"|tu }}</div>
{% else %}
<div class="alert warning"> Not Enabled</div>
<div class="alert warning"> {{ "PLUGIN_ADMIN.SCHEDULER_NOT_ENABLED"|tu }}</div>
{% endif %}
<div id="cron-install" class="form-border overlay {{ cron_status == 1 ? 'hide' : ''}}">