We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052a2fb commit a8ddb46Copy full SHA for a8ddb46
src/main.ts
@@ -300,11 +300,11 @@ function main(): void {
300
if (word === "") {
301
showMessage(NO_WORD_MESSAGE);
302
} else if (currentDictionary.isError()) {
303
- showMessage(WORD_ALREADY_IMPORTED_MESSAGE);
+ showMessage(DICTIONARY_ERROR_MESSAGE_ON_IMPORT);
304
} else if (
305
currentDictionary.unwrap()[0].has(word)
306
) {
307
- showMessage(DICTIONARY_ERROR_MESSAGE_ON_IMPORT);
+ showMessage(WORD_ALREADY_IMPORTED_MESSAGE);
308
} else {
309
const definitions = dictionary.get(word)?.source;
310
if (definitions != null) {
0 commit comments