Skip to content
Snippets Groups Projects
Commit 3f7ed8b8 authored by Oz Linden's avatar Oz Linden
Browse files

STORM-1883: add alert when a secondary dictionary is imported

parent bdb0f4f4
No related branches found
No related tags found
No related merge requests found
......@@ -310,6 +310,10 @@ void LLFloaterSpellCheckerImport::onBtnOK()
}
else
{
LLSD args = LLSD::emptyMap();
args["DIC_NAME"] = dict_dic;
LLNotificationsUtil::add("SpellingDictIsSecondary", args);
imported = true;
}
}
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment