Rename Storage Backend labels

This commit is contained in:
Philipp Holzer 2021-09-02 23:27:35 +02:00
parent 782a54cf8c
commit 687e6841bc
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
3 changed files with 6 additions and 6 deletions

View file

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

View file

@ -22,10 +22,10 @@
{{if $storage.active}} {{if $storage.active}}
<input type="submit" name="submit_save_set" value="{{$save_reload}}"/> <input type="submit" name="submit_save_set" value="{{$save_reload}}"/>
{{else}} {{else}}
<input type="submit" name="submit_save_set" value="{{$save_activate}}"/> <input type="submit" name="submit_save_set" value="{{$save_use}}"/>
{{/if}} {{/if}}
{{else}} {{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}} {{/if}}
</form> </form>
{{/foreach}} {{/foreach}}

View file

@ -36,10 +36,10 @@
{{if $storage.active}} {{if $storage.active}}
<input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/> <input type="submit" name="submit_save_set" class="btn btn-primary" value="{{$save_reload}}"/>
{{else}} {{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}} {{/if}}
{{else}} {{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}} {{/if}}
</div> </div>
</div> </div>