Fix translation bug

This commit is contained in:
problematicconsumer
2023-10-03 12:15:46 +03:30
parent 81658a1c86
commit e8b529e354
4 changed files with 5 additions and 8 deletions

View File

@@ -57,8 +57,7 @@
"fromClipboard": "Add From Clipboard",
"scanQr": "Scan QR code",
"manually": "Manual Entry",
"addingProfileMsg": "Adding Profile",
"invalidUrlMsg": "Invalid URL"
"addingProfileMsg": "Adding Profile"
},
"update": {
"buttonTxt": "Update",
@@ -250,4 +249,4 @@
"connectionError": "Connection error"
}
}
}
}

View File

@@ -57,8 +57,7 @@
"fromClipboard": "افزودن از کلیپ‌بورد",
"scanQr": "اسکن QR کد",
"manually": "افزودن دستی",
"addingProfileMsg": "در حال افزودن پروفایل",
"invalidUrlMsg": "لینک نامعتبر"
"addingProfileMsg": "در حال افزودن پروفایل"
},
"update": {
"buttonTxt": "بروزرسانی",
@@ -250,4 +249,4 @@
"connectionError": "خطای اتصال"
}
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@ class AddProfileModal extends HookConsumerWidget {
mutationTriggered.value = false;
if (err case ProfileInvalidUrlFailure()) {
CustomToast.error(
t.profile.add.invalidUrlMsg,
t.failure.profiles.invalidUrl,
).show(context);
} else {
CustomAlertDialog.fromErr(t.presentError(err)).show(context);