chore(i18n): translate layout settings

This commit is contained in:
Elian Doran 2024-11-23 09:18:12 +02:00
parent 62d23b3643
commit 23ef2c593e
No known key found for this signature in database
2 changed files with 11 additions and 6 deletions

View File

@ -5,22 +5,22 @@ import { t } from "../../../../services/i18n.js";
const TPL = ` const TPL = `
<div class="options-section"> <div class="options-section">
<h4>Layout</h4> <h4>${t("theme.layout")}</h4>
<div class="form-group row"> <div class="form-group row">
<div> <div>
<label> <label>
<input type="radio" name="layout-orientation" value="vertical" /> <input type="radio" name="layout-orientation" value="vertical" />
<strong>Vertical</strong> <strong>${t("theme.layout-vertical-title")}</strong>
- launcher bar is on the left (default) - ${t("theme.layout-vertical-description")}
</label> </label>
</div> </div>
<div> <div>
<label> <label>
<input type="radio" name="layout-orientation" value="horizontal" /> <input type="radio" name="layout-orientation" value="horizontal" />
<strong>Horizontal</strong> <strong>${t("theme.layout-horizontal-title")}</strong>
- launcher bar is underneath the tab bar, the tab bar is now full width. - ${t("theme.layout-horizontal-description")}
</label> </label>
</div> </div>
</div> </div>

View File

@ -1061,7 +1061,12 @@
"theme_label": "Theme", "theme_label": "Theme",
"override_theme_fonts_label": "Override theme fonts", "override_theme_fonts_label": "Override theme fonts",
"light_theme": "Light", "light_theme": "Light",
"dark_theme": "Dark" "dark_theme": "Dark",
"layout": "Layout",
"layout-vertical-title": "Vertical",
"layout-horizontal-title": "Horizontal",
"layout-vertical-description": "launcher bar is on the left (default)",
"layout-horizontal-description": "launcher bar is underneath the tab bar, the tab bar is now full width."
}, },
"zoom_factor": { "zoom_factor": {
"title": "Zoom Factor (desktop build only)", "title": "Zoom Factor (desktop build only)",