Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
parent
af88c2daa3
commit
5dfee31108
175 changed files with 2841 additions and 2841 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue