From 3f7ed8b888b5725912e38f19e36c4c5e1583ea7c Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Fri, 15 Jun 2012 12:36:03 -0400 Subject: STORM-1883: add alert when a secondary dictionary is imported --- indra/newview/llfloaterspellchecksettings.cpp | 4 ++++ indra/newview/skins/default/xui/en/notifications.xml | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/indra/newview/llfloaterspellchecksettings.cpp b/indra/newview/llfloaterspellchecksettings.cpp index 22eaa566fe..d7fbc94631 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 c04e33fe8e..79e02727e9 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? fail + +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 + confirm + +