Skip to content

Commit dbdf37a

Browse files
fix: add cubit guard tests and translate empty label error
1 parent 73e7a6b commit dbdf37a

28 files changed

Lines changed: 120 additions & 26 deletions

lib/features/import_mnemonic/domain/check_duplicate_mnemonic_usecase.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class CheckDuplicateMnemonicUsecase {
2424
}
2525
return const Ok(null);
2626
} catch (e, st) {
27-
log.warning('Duplicate mnemonic check failed', error: e, trace: st);
27+
log.severe(message: 'Duplicate mnemonic check failed', error: e, trace: st);
2828
return Err(ImportMnemonicUnexpectedFailure(e.toString()));
2929
}
3030
}

localization/app_ar.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12651,7 +12651,7 @@
1265112651
}
1265212652
}
1265312653
},
12654-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
12654+
"importMnemonicEmptyLabelError": "يجب توفير تسمية لاستيراد عبارة التذكر",
1265512655
"@importMnemonicEmptyLabelError": {
1265612656
"description": "Error message when user tries to import a mnemonic without a label"
1265712657
},

localization/app_as.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
}
191191
}
192192
},
193-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
193+
"importMnemonicEmptyLabelError": "মেমোনিক আমদানি কৰিবলৈ এটা লেবেল প্ৰয়োজন",
194194
"@importMnemonicEmptyLabelError": {
195195
"description": "Error message when user tries to import a mnemonic without a label"
196196
},

localization/app_bg.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9815,7 +9815,7 @@
98159815
"@allSeedViewErrorFetch": {
98169816
"description": "Error shown when seeds cannot be loaded"
98179817
},
9818-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
9818+
"importMnemonicEmptyLabelError": "За импортирането на мнемоника е необходим етикет",
98199819
"@importMnemonicEmptyLabelError": {
98209820
"description": "Error message when user tries to import a mnemonic without a label"
98219821
},

localization/app_bn.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12270,7 +12270,7 @@
1227012270
}
1227112271
}
1227212272
},
12273-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
12273+
"importMnemonicEmptyLabelError": "একটি মনেমোনিক আমদানি করতে একটি লেবেল প্রয়োজন",
1227412274
"@importMnemonicEmptyLabelError": {
1227512275
"description": "Error message when user tries to import a mnemonic without a label"
1227612276
},

localization/app_cs.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12765,7 +12765,7 @@
1276512765
}
1276612766
}
1276712767
},
12768-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
12768+
"importMnemonicEmptyLabelError": "Pro import mnemoniky je nutný štítek",
1276912769
"@importMnemonicEmptyLabelError": {
1277012770
"description": "Error message when user tries to import a mnemonic without a label"
1277112771
},

localization/app_de.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4773,7 +4773,7 @@
47734773
"@allSeedViewErrorFetch": {
47744774
"description": "Error shown when seeds cannot be loaded"
47754775
},
4776-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
4776+
"importMnemonicEmptyLabelError": "Zum Importieren einer Mnemonic ist eine Bezeichnung erforderlich",
47774777
"@importMnemonicEmptyLabelError": {
47784778
"description": "Error message when user tries to import a mnemonic without a label"
47794779
},

localization/app_el.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12765,7 +12765,7 @@
1276512765
}
1276612766
}
1276712767
},
12768-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
12768+
"importMnemonicEmptyLabelError": "Απαιτείται ετικέτα για την εισαγωγή μνημονικού",
1276912769
"@importMnemonicEmptyLabelError": {
1277012770
"description": "Error message when user tries to import a mnemonic without a label"
1277112771
},

localization/app_es.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4801,7 +4801,7 @@
48014801
"@allSeedViewErrorFetch": {
48024802
"description": "Error shown when seeds cannot be loaded"
48034803
},
4804-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
4804+
"importMnemonicEmptyLabelError": "Se requiere una etiqueta para importar un mnemónico",
48054805
"@importMnemonicEmptyLabelError": {
48064806
"description": "Error message when user tries to import a mnemonic without a label"
48074807
},

localization/app_fa.arb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12647,7 +12647,7 @@
1264712647
}
1264812648
}
1264912649
},
12650-
"importMnemonicEmptyLabelError": "A label is required to import a mnemonic",
12650+
"importMnemonicEmptyLabelError": "برای وارد کردن عبارت بازیابی، برچسب الزامی است",
1265112651
"@importMnemonicEmptyLabelError": {
1265212652
"description": "Error message when user tries to import a mnemonic without a label"
1265312653
},

0 commit comments

Comments
 (0)