diff --git a/indra/newview/llfloaterspellchecksettings.cpp b/indra/newview/llfloaterspellchecksettings.cpp index 22eaa566feaf980b4f7446f82f5aba2870847ada..d7fbc94631b8ab0678d44c7a09f604c6c67d816a 100644 --- a/indra/newview/llfloaterspellchecksettings.cpp +++ b/indra/newview/llfloaterspellchecksettings.cpp @@ -310,6 +310,10 @@ void LLFloaterSpellCheckerImport::onBtnOK() } else { + LLSD args = LLSD::emptyMap(); + args["DIC_NAME"] = dict_dic; + LLNotificationsUtil::add("SpellingDictIsSecondary", args); + imported = true; } } diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index c04e33fe8e5f2beb29d71e19577e2c055825ac8c..79e02727e9d3afb7bf2840a98e97a80af54165ce 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -2396,6 +2396,17 @@ Would you be my friend? <tag>fail</tag> </notification> + <notification + icon="alertmodal.tga" + name="SpellingDictIsSecondary" + type="alertmodal"> +The dictionary [DIC_NAME] does not appear to have an "aff" file; this means that it is a "secondary" dictionary. +It can be used as an additional dictionary, but not as your Main dictionary. + +See https://wiki.secondlife.com/wiki/Adding_Spelling_Dictionaries + <tag>confirm</tag> + </notification> + <notification icon="alertmodal.tga" name="SpellingDictImportFailed"