1
0
Fork 0

Move L10n::t() calls to DI::l10n()->t() calls

This commit is contained in:
Philipp Holzer 2020-01-18 20:52:34 +01:00
commit 5dfee31108
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
175 changed files with 2841 additions and 2841 deletions

View file

@ -70,12 +70,12 @@ function quattro_form(App $a, $align, $color, $tfs, $pfs) {
$t = Renderer::getMarkupTemplate("theme_settings.tpl" );
$o = Renderer::replaceMacros($t, [
'$submit' => L10n::t('Submit'),
'$title' => L10n::t("Theme settings"),
'$align' => ['quattro_align', L10n::t('Alignment'), $align, '', ['left' => L10n::t('Left'), 'center' => L10n::t('Center')]],
'$color' => ['quattro_color', L10n::t('Color scheme'), $color, '', $colors],
'$pfs' => ['quattro_pfs', L10n::t('Posts font size'), $pfs],
'$tfs' => ['quattro_tfs', L10n::t('Textareas font size'), $tfs],
'$submit' => DI::l10n()->t('Submit'),
'$title' => DI::l10n()->t("Theme settings"),
'$align' => ['quattro_align', DI::l10n()->t('Alignment'), $align, '', ['left' => DI::l10n()->t('Left'), 'center' => DI::l10n()->t('Center')]],
'$color' => ['quattro_color', DI::l10n()->t('Color scheme'), $color, '', $colors],
'$pfs' => ['quattro_pfs', DI::l10n()->t('Posts font size'), $pfs],
'$tfs' => ['quattro_tfs', DI::l10n()->t('Textareas font size'), $tfs],
]);
return $o;
}