From: Laurent Mazet Date: Wed, 10 Jun 2020 05:33:56 +0000 (+0200) Subject: add an alert message when no new word found X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=2553449b83dc69a4697247612943dae8f1d7d6b8;p=trivabble.git add an alert message when no new word found --- diff --git a/l10n/po/fr/trivabble.po b/l10n/po/fr/trivabble.po index a837efc..ebebaf0 100644 --- a/l10n/po/fr/trivabble.po +++ b/l10n/po/fr/trivabble.po @@ -174,3 +174,6 @@ msgstr "Orthographe incorrecte pour {0} parmi {1}" msgid "All words are correct: {0}" msgstr "Tous les mots sont corrects : {0}" + +msgid "No new word found" +msgstr "Aucun nouveau mot trouvé" diff --git a/l10n/pot/trivabble.pot b/l10n/pot/trivabble.pot index 85310f6..1eed9ad 100644 --- a/l10n/pot/trivabble.pot +++ b/l10n/pot/trivabble.pot @@ -180,3 +180,6 @@ msgstr "" msgid "All words are correct: {0}" msgstr "" + +msgid "No new word found" +msgstr "" diff --git a/public/trivabble.js b/public/trivabble.js index fdd2d19..e2405c3 100644 --- a/public/trivabble.js +++ b/public/trivabble.js @@ -1566,6 +1566,8 @@ myAlert(format(_("Incorrect speeling for {0} from {1}"), badWords, words)); } else if (words.length > 0) { myAlert(format(_("All words are correct: {0}"), words)); + } else { + myAlert(_("No new word found")); } }