fix: Locale unlocalized strings
This commit is contained in:
parent
c43c721f7f
commit
dba2d2eb98
5 changed files with 36 additions and 10 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue