open-webui/src/lib/i18n/locales
davecrab 7762fa5ddf
feat: Add adjustable text size setting to interface (#19186)
* Add adjustable text size setting to interface

Introduces a user-configurable text size (scale) setting, accessible via a slider in the interface settings. Updates CSS and Sidebar chat item components to respect the new --app-text-scale variable, and persists the setting in the store. Adds related i18n strings and ensures the text scale is applied globally and clamped to allowed values.

* Refactor text scale logic into utility module

Moved all text scale related constants and functions from components and stores into a new utility module (src/lib/utils/text-scale.ts). Updated imports and usage in Interface.svelte and index.ts to use the new module, improving code organization and reusability.

* Adjust sidebar chat scaling without extra classes

keep sidebar markup using existing Tailwind utility classes so chat items render identically pre-feature
move all text-scale sizing into app.css under the #sidebar-chat-item selectors
change the root font-size multiplier to use 1rem instead of an explicit 16px so browser/user preferences propagate

* Update Switch.svelte

Adjust toggles from fixed pixel to rem to scale with the text size

* Update Interface.svelte

Updated label from 'Text Scale' to 'UI Scale'.
Added padding around slider

* Update app.css

Added comments
2025-11-19 00:55:52 -05:00
..
ar chore: format 2025-11-13 20:01:21 -05:00
ar-BH chore: format 2025-11-13 20:01:21 -05:00
bg-BG chore: format 2025-11-13 20:01:21 -05:00
bn-BD chore: format 2025-11-13 20:01:21 -05:00
bo-TB chore: format 2025-11-13 20:01:21 -05:00
bs-BA chore: format 2025-11-13 20:01:21 -05:00
ca-ES chore: format 2025-11-13 20:01:21 -05:00
ceb-PH chore: format 2025-11-13 20:01:21 -05:00
cs-CZ chore: format 2025-11-13 20:01:21 -05:00
da-DK chore: format 2025-11-13 20:01:21 -05:00
de-DE Update translation.json (#19213) 2025-11-16 13:27:08 -05:00
dg-DG chore: format 2025-11-13 20:01:21 -05:00
el-GR chore: format 2025-11-13 20:01:21 -05:00
en-GB chore: format 2025-11-13 20:01:21 -05:00
en-US feat: Add adjustable text size setting to interface (#19186) 2025-11-19 00:55:52 -05:00
es-ES chore: format 2025-11-13 20:01:21 -05:00
et-EE chore: format 2025-11-13 20:01:21 -05:00
eu-ES chore: format 2025-11-13 20:01:21 -05:00
fa-IR chore: format 2025-11-13 20:01:21 -05:00
fi-FI chore: format 2025-11-13 20:01:21 -05:00
fr-CA chore: format 2025-11-13 20:01:21 -05:00
fr-FR chore: format 2025-11-13 20:01:21 -05:00
gl-ES chore: format 2025-11-13 20:01:21 -05:00
he-IL chore: format 2025-11-13 20:01:21 -05:00
hi-IN chore: format 2025-11-13 20:01:21 -05:00
hr-HR chore: format 2025-11-13 20:01:21 -05:00
hu-HU chore: format 2025-11-13 20:01:21 -05:00
id-ID chore: format 2025-11-13 20:01:21 -05:00
ie-GA chore: format 2025-11-13 20:01:21 -05:00
it-IT chore: format 2025-11-13 20:01:21 -05:00
ja-JP chore: format 2025-11-13 20:01:21 -05:00
ka-GE chore: format 2025-11-13 20:01:21 -05:00
kab-DZ chore: format 2025-11-13 20:01:21 -05:00
ko-KR chore: format 2025-11-13 20:01:21 -05:00
lt-LT chore: format 2025-11-13 20:01:21 -05:00
ms-MY chore: format 2025-11-13 20:01:21 -05:00
nb-NO chore: format 2025-11-13 20:01:21 -05:00
nl-NL chore: format 2025-11-13 20:01:21 -05:00
pa-IN chore: format 2025-11-13 20:01:21 -05:00
pl-PL chore: format 2025-11-13 20:01:21 -05:00
pt-BR chore: format 2025-11-13 20:01:21 -05:00
pt-PT chore: format 2025-11-13 20:01:21 -05:00
ro-RO chore: format 2025-11-13 20:01:21 -05:00
ru-RU chore: format 2025-11-13 20:01:21 -05:00
sk-SK chore: format 2025-11-13 20:01:21 -05:00
sr-RS chore: format 2025-11-13 20:01:21 -05:00
sv-SE chore: format 2025-11-13 20:01:21 -05:00
th-TH chore: format 2025-11-13 20:01:21 -05:00
tk-TM chore: format 2025-11-13 20:01:21 -05:00
tr-TR chore: format 2025-11-13 20:01:21 -05:00
ug-CN chore: format 2025-11-13 20:01:21 -05:00
uk-UA chore: format 2025-11-13 20:01:21 -05:00
ur-PK chore: format 2025-11-13 20:01:21 -05:00
uz-Cyrl-UZ chore: format 2025-11-13 20:01:21 -05:00
uz-Latn-Uz chore: format 2025-11-13 20:01:21 -05:00
vi-VN chore: format 2025-11-13 20:01:21 -05:00
zh-CN chore: format 2025-11-13 20:01:21 -05:00
zh-TW chore: format 2025-11-13 20:01:21 -05:00
languages.json add bosnian to languages.json 2025-09-28 09:23:33 +02:00