mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
Merge pull request 'fix(assets): Fix broken strings for network domain elements' (#142) from assets-fix into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/142 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
f703e2c055
|
@ -353,7 +353,7 @@ class ServerInstallationRepository {
|
|||
BrandAlert(
|
||||
title: e.response!.data['errors'][0]['code'] == 1038
|
||||
? 'modals.you_cant_use_this_api'.tr()
|
||||
: 'domain.states.error'.tr(),
|
||||
: 'domain.error'.tr(),
|
||||
contentText: 'modals.delete_server_volume'.tr(),
|
||||
actions: [
|
||||
ActionButton(
|
||||
|
|
|
@ -28,7 +28,7 @@ class _DnsDetailsPageState extends State<DnsDetailsPage> {
|
|||
bool isError = false;
|
||||
switch (dnsState) {
|
||||
case DnsRecordsStatus.uninitialized:
|
||||
description = 'domain.states.uninitialized'.tr();
|
||||
description = 'domain.uninitialized'.tr();
|
||||
icon = const Icon(
|
||||
Icons.refresh,
|
||||
size: 24.0,
|
||||
|
@ -36,7 +36,7 @@ class _DnsDetailsPageState extends State<DnsDetailsPage> {
|
|||
isError = false;
|
||||
break;
|
||||
case DnsRecordsStatus.refreshing:
|
||||
description = 'domain.states.refreshing'.tr();
|
||||
description = 'domain.refreshing'.tr();
|
||||
icon = const Icon(
|
||||
Icons.refresh,
|
||||
size: 24.0,
|
||||
|
@ -44,7 +44,7 @@ class _DnsDetailsPageState extends State<DnsDetailsPage> {
|
|||
isError = false;
|
||||
break;
|
||||
case DnsRecordsStatus.good:
|
||||
description = 'domain.states.ok'.tr();
|
||||
description = 'domain.ok'.tr();
|
||||
icon = const Icon(
|
||||
Icons.check_circle_outline,
|
||||
size: 24.0,
|
||||
|
@ -52,8 +52,8 @@ class _DnsDetailsPageState extends State<DnsDetailsPage> {
|
|||
isError = false;
|
||||
break;
|
||||
case DnsRecordsStatus.error:
|
||||
description = 'domain.states.error'.tr();
|
||||
subtitle = 'domain.states.error_subtitle'.tr();
|
||||
description = 'domain.error'.tr();
|
||||
subtitle = 'domain.error_subtitle'.tr();
|
||||
icon = const Icon(
|
||||
Icons.error_outline,
|
||||
size: 24.0,
|
||||
|
|
Loading…
Reference in a new issue