Merge pull request #10658 from nupplaphil/feat/storage_naming

Rename Storage Backend labels
This commit is contained in:
Hypolite Petovan 2021-09-02 19:55:15 -04:00 committed by GitHub
commit 4140a59332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -133,8 +133,8 @@ class Storage extends BaseAdmin
'$label_config' => DI::l10n()->t('Storage Configuration'),
'$page' => DI::l10n()->t('Storage'),
'$save' => DI::l10n()->t('Save'),
'$save_activate' => DI::l10n()->t('Save & Activate'),
'$activate' => DI::l10n()->t('Activate'),
'$save_use' => DI::l10n()->t('Save & Use storage backend'),
'$use' => DI::l10n()->t('Use storage backend'),
'$save_reload' => DI::l10n()->t('Save & Reload'),
'$noconfig' => DI::l10n()->t('This backend doesn\'t have custom settings'),
'$baseurl' => DI::baseUrl()->get(true),

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 2021.09-rc\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-01 18:36+0000\n"
"POT-Creation-Date: 2021-09-02 23:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -6536,11 +6536,11 @@ msgid "Storage"
msgstr ""
#: src/Module/Admin/Storage.php:136
msgid "Save & Activate"
msgid "Save & Use storage backend"
msgstr ""
#: src/Module/Admin/Storage.php:137
msgid "Activate"
msgid "Use storage backend"
msgstr ""
#: src/Module/Admin/Storage.php:138

View File

@ -22,10 +22,10 @@
{{if $storage.active}}
<input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
{{else}}
<input type="submit" name="submit_save_set" value="{{$save_activate}}"/>
<input type="submit" name="submit_save_set" value="{{$save_use}}"/>
{{/if}}
{{else}}
<br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$activate}}"/>
<br /><input type="submit" name="submit_save_set" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
{{/if}}
</form>
{{/foreach}}

View File

@ -36,10 +36,10 @@
{{if $storage.active}}
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/>
{{else}}
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_activate}}"/>
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_use}}"/>
{{/if}}
{{else}}
<input type="submit" name="submit_save_set" class="btn btn-primary" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$activate}}"/>
<input type="submit" name="submit_save_set" class="btn btn-primary" {{if $storage.active}}disabled="disabled"{{/if}} value="{{$use}}"/>
{{/if}}
</div>
</div>