kopia lustrzana https://github.com/friendica/friendica
Settings: Fix "no addons" variable + update wording
rodzic
5805d21688
commit
997140a83d
|
@ -70,7 +70,7 @@ class Addons extends BaseSettings
|
|||
return Renderer::replaceMacros($tpl, [
|
||||
'$form_security_token' => BaseSettings::getFormSecurityToken('settings_addon'),
|
||||
'$title' => $this->t('Addon Settings'),
|
||||
'$no_addons_settings_configured' => $this->t('No Addon settings configured'),
|
||||
'$no_addon_settings_configured' => $this->t('None of the addons installed on this server have any settings.'),
|
||||
'$addon_settings_forms' => $addon_settings_forms,
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{{$addon_settings_form nofilter}}
|
||||
</form>
|
||||
{{foreachelse}}
|
||||
<div class="alert alert-info" role="alert">{{$no_addon_settings_configured}}</div>
|
||||
{{$no_addon_settings_configured}}
|
||||
{{/foreach}}
|
||||
</div>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue