From 634d2f02b54eae5eddb410b8eb41bb04d3a98744 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 11 Mar 2023 19:25:27 +0000 Subject: translateable strings --- view/theme/redbasic/php/config.php | 3 +++ view/theme/redbasic/tpl/theme_settings.tpl | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index ef1cb7a11..b4cb281b9 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -100,6 +100,9 @@ class RedbasicConfig { '$theme' => \App::$channel['channel_theme'], '$expert' => $expert, '$title' => t("Theme settings"), + '$dark' => t('Dark style'), + '$light' => t('Light style'), + '$common' => t('Common settings'), '$dark_mode' => array('redbasic_dark_mode',t('Default to dark mode'),$arr['dark_mode'], '', array(t('No'),t('Yes'))), '$navbar_dark_mode' => array('redbasic_navbar_dark_mode',t('Always use light icons for navbar'),$arr['navbar_dark_mode'], t('Enable this option if you use a dark navbar color in light mode'), array(t('No'),t('Yes'))), '$narrow_navbar' => array('redbasic_narrow_navbar',t('Narrow navbar'),$arr['narrow_navbar'], '', array(t('No'),t('Yes'))), diff --git a/view/theme/redbasic/tpl/theme_settings.tpl b/view/theme/redbasic/tpl/theme_settings.tpl index 6e4fe55ed..6bf1666ed 100644 --- a/view/theme/redbasic/tpl/theme_settings.tpl +++ b/view/theme/redbasic/tpl/theme_settings.tpl @@ -5,7 +5,7 @@ {{include file="field_checkbox.tpl" field=$advanced_theming}} {{if $expert}} -

Light

+

{{$light}}

{{include file="field_checkbox.tpl" field=$navbar_dark_mode}} {{include file="field_colorinput.tpl" field=$nav_bg}} {{include file="field_colorinput.tpl" field=$bgcolor}} @@ -13,14 +13,14 @@ {{include file="field_colorinput.tpl" field=$link_color}} {{include file="field_colorinput.tpl" field=$link_hover_color}} -

Dark

+

{{$dark}}

{{include file="field_colorinput.tpl" field=$nav_bg_dark}} {{include file="field_colorinput.tpl" field=$bgcolor_dark}} {{include file="field_colorinput.tpl" field=$background_image_dark}} {{include file="field_colorinput.tpl" field=$link_color_dark}} {{include file="field_colorinput.tpl" field=$link_hover_color_dark}} -

Common

+

{{$common}}

{{include file="field_input.tpl" field=$radius}} {{include file="field_input.tpl" field=$top_photo}} {{include file="field_input.tpl" field=$reply_photo}} -- cgit v1.2.3