lang strings

This commit is contained in:
Andy Miller
2021-05-05 13:42:03 -06:00
parent 75bc7a66cc
commit 6e5839ded6
3 changed files with 7 additions and 4 deletions

View File

@@ -1109,3 +1109,6 @@ PLUGIN_ADMIN:
IMAGES_CLS_RETINA_SCALE: "Retina Scale Factor"
IMAGES_CLS_RETINA_SCALE_HELP: "Will take the calculated size and divide by scale factor to display a higher resolution image at a smaller pixel size for better handling of HiDPI resolutions"
AUTOREGENERATE_FOLDER_SLUG: "Auto-regenerate based on page title"
ENABLE: Enable
PLUGINS_MUST_BE_ENABLED: "Plugin must be enabled to configure"
ACTIVATION_REQUIRED: "Activation required to configure"

View File

@@ -45,11 +45,11 @@
<form>
<div class="form-field grid">
<div class="form-label block size-1-3">
<label>Plugin must be enabled to configure</label>
<label>{{ "PLUGIN_ADMIN.PLUGINS_MUST_BE_ENABLED"|tu }}</label>
</div>
<div class="form-data block size-2-3">
<a class="button" href="{{ uri.addNonce(base_url_relative ~ '/plugins/' ~ plugin.slug ~ '/task' ~ config.system.param_sep ~ 'enable', 'admin-form', 'admin-nonce') ~ '/redirect:true' }}">
<i class="fa fa-power-off" aria-hidden="true"></i> Enable <strong>{{ plugin.name }}</strong>
<i class="fa fa-power-off" aria-hidden="true"></i> {{ "PLUGIN_ADMIN.ENABLE"|tu }} <strong>{{ plugin.name }}</strong>
</a>
</div>
</div>

View File

@@ -129,11 +129,11 @@
<form>
<div class="form-field grid">
<div class="form-label block size-1-3">
<label>Activation required to configure</label>
<label>{{ "PLUGIN_ADMIN.ACTIVATION_REQUIRED"|tu }}</label>
</div>
<div class="form-data block size-2-3">
<a class="button gpm-actions" data-remodal-target="theme-switch-warn" href="{{ uri.addNonce(base_url_relative ~ '/themes/' ~ theme.slug ~ '/task' ~ config.system.param_sep ~ 'activate', 'admin-form', 'admin-nonce') }}">
<i class="fa fa-power-off" aria-hidden="true"></i> {{ "PLUGIN_ADMIN.ACTIVATE"|tu }}
<i class="fa fa-power-off" aria-hidden="true"></i> {{ "PLUGIN_ADMIN.ACTIVATE"|tu }} <strong>{{ theme.name }}</strong>
</a>
</div>
</div>