mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Make string localizable
This commit is contained in:
parent
0212061dd5
commit
9847ac28fc
1 changed files with 3 additions and 3 deletions
|
@ -224,13 +224,13 @@ class _SettingsState extends State<Settings> {
|
|||
.valueOrNull,
|
||||
builder: (context, snapshot) {
|
||||
if (!snapshot.hasData) {
|
||||
return const ListTile(
|
||||
title: Text("Server"),
|
||||
return ListTile(
|
||||
title: Text(L10n.global().settingsServerVersionTitle),
|
||||
);
|
||||
} else {
|
||||
final status = snapshot.requireData!;
|
||||
return ListTile(
|
||||
title: const Text("Server"),
|
||||
title: Text(L10n.global().settingsServerVersionTitle),
|
||||
subtitle: Text(
|
||||
"${status.productName} ${status.majorVersion} (${status.versionName})"),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue