web/TransferSettings: friendlier error messages

This commit is contained in:
wukko
2024-07-31 14:57:34 +06:00
parent 585ebd9cb4
commit e7587a2ec6
3 changed files with 22 additions and 19 deletions

5
web/i18n/en/error.json Normal file
View File

@@ -0,0 +1,5 @@
{
"import.no_data": "there's nothing to load from the file. are you sure it's the right one?",
"import.invalid": "your file doesn't have valid cobalt settings to import. are you sure it's the right one?",
"import.unknown": "couldn't load data from the file. it may be corrupted or of wrong format. here's the error i got:\n{{ value }}"
}