Merge pull request #4312 from zeroadam/feature/L10n
Move pgettext to src
This commit is contained in:
commit
30c1cc0e8c
144 changed files with 3411 additions and 3186 deletions
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Theme settings
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
|
||||
|
@ -70,13 +70,13 @@ function quattro_form(App $a, $align, $color, $tfs, $pfs) {
|
|||
|
||||
$t = get_markup_template("theme_settings.tpl" );
|
||||
$o .= replace_macros($t, [
|
||||
'$submit' => t('Submit'),
|
||||
'$submit' => L10n::t('Submit'),
|
||||
'$baseurl' => System::baseUrl(),
|
||||
'$title' => t("Theme settings"),
|
||||
'$align' => ['quattro_align', t('Alignment'), $align, '', ['left'=>t('Left'), 'center'=>t('Center')]],
|
||||
'$color' => ['quattro_color', t('Color scheme'), $color, '', $colors],
|
||||
'$pfs' => ['quattro_pfs', t('Posts font size'), $pfs],
|
||||
'$tfs' => ['quattro_tfs', t('Textareas font size'), $tfs],
|
||||
'$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],
|
||||
]);
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue