fix: Locale unlocalized strings

This commit is contained in:
Christian Kußowski 2026-01-12 10:29:33 +01:00
commit dba2d2eb98
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 36 additions and 10 deletions

View file

@ -134,7 +134,7 @@ class HomeserverPickerView extends StatelessWidget {
hintStyle: TextStyle(
color: theme.colorScheme.surfaceTint,
),
labelText: 'Sign in with:',
labelText: L10n.of(context).signInWith,
errorText: controller.error,
errorMaxLines: 4,
suffixIcon: IconButton(

View file

@ -157,7 +157,7 @@ class SettingsHomeserverView extends StatelessWidget {
subtitle: Text(data.version),
),
ListTile(
title: const Text('Federation Base URL'),
title: Text(L10n.of(context).federationBaseUrl),
subtitle: Linkify(
text: data.federationBaseUrl.toString(),
textScaleFactor: MediaQuery.textScalerOf(
@ -210,7 +210,7 @@ class SettingsHomeserverView extends StatelessWidget {
children: [
ListTile(
title: Text(
'Client-Well-Known Information:',
L10n.of(context).clientWellKnownInformation,
style: TextStyle(
color: theme.colorScheme.secondary,
fontWeight: FontWeight.bold,
@ -218,7 +218,7 @@ class SettingsHomeserverView extends StatelessWidget {
),
),
ListTile(
title: const Text('Base URL'),
title: Text(L10n.of(context).baseUrl),
subtitle: Linkify(
text: wellKnown.mHomeserver.baseUrl.toString(),
textScaleFactor: MediaQuery.textScalerOf(
@ -234,7 +234,7 @@ class SettingsHomeserverView extends StatelessWidget {
),
if (identityServer != null)
ListTile(
title: const Text('Identity Server:'),
title: Text(L10n.of(context).identityServer),
subtitle: Linkify(
text: identityServer.baseUrl.toString(),
textScaleFactor: MediaQuery.textScalerOf(