aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-11 19:25:27 +0000
committerMario <mario@mariovavti.com>2023-03-11 19:25:27 +0000
commit634d2f02b54eae5eddb410b8eb41bb04d3a98744 (patch)
tree1f0e9fc6035ab8dc016664230f7177f20cf7ad71 /view/theme
parentd7aee292d3b549e6c7453da7cb93b63ccdc1a5b1 (diff)
downloadvolse-hubzilla-634d2f02b54eae5eddb410b8eb41bb04d3a98744.tar.gz
volse-hubzilla-634d2f02b54eae5eddb410b8eb41bb04d3a98744.tar.bz2
volse-hubzilla-634d2f02b54eae5eddb410b8eb41bb04d3a98744.zip
translateable strings
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/php/config.php3
-rw-r--r--view/theme/redbasic/tpl/theme_settings.tpl6
2 files changed, 6 insertions, 3 deletions
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}}
- <h3>Light</h3>
+ <h3>{{$light}}</h3>
{{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}}
- <h3>Dark</h3>
+ <h3>{{$dark}}</h3>
{{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}}
- <h3>Common</h3>
+ <h3>{{$common}}</h3>
{{include file="field_input.tpl" field=$radius}}
{{include file="field_input.tpl" field=$top_photo}}
{{include file="field_input.tpl" field=$reply_photo}}