diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 929cfdb723..03fadad0cf 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -25319,6 +25319,17 @@ Change of this parameter will affect the layout of buttons in notification toast
Value
1
+ FSShowAutoAcceptInventoryInNotifications
+
FSStatusBarShowFPS
+ RenderDeferredAtmospheric
+
+
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp
index 60bf52cfb8..7929c1e99a 100644
--- a/indra/newview/llimprocessing.cpp
+++ b/indra/newview/llimprocessing.cpp
@@ -405,7 +405,7 @@ void inventory_offer_handler(LLOfferInfo* info)
LLPostponedNotification::add(p, info->mFromID, false);
}
// FIRE-19540: Log auto-accepted inventory to nearby chat
- else if (gSavedSettings.getBOOL("FSLogAutoAcceptInventoryToChat"))
+ else if (gSavedSettings.getBOOL("FSLogAutoAcceptInventoryToChat") || gSavedSettings.getBOOL("FSShowAutoAcceptInventoryInNotifications"))
{
std::string message_type;
LLStringUtil::format_map_t chat_args;
@@ -438,7 +438,18 @@ void inventory_offer_handler(LLOfferInfo* info)
message_type = "InvOfferAutoAcceptUser";
}
- FSCommon::report_to_nearby_chat(LLTrans::getString(message_type, chat_args));
+ std::string inv_offer_message = LLTrans::getString(message_type, chat_args);
+ if (gSavedSettings.getBOOL("FSLogAutoAcceptInventoryToChat"))
+ {
+ FSCommon::report_to_nearby_chat(inv_offer_message);
+ }
+ if (gSavedSettings.getBOOL("FSShowAutoAcceptInventoryInNotifications"))
+ {
+ LLSD args;
+ args["MESSAGE"] = inv_offer_message;
+ LLNotificationsUtil::add("IMSystemMessageTip", args);
+ }
+
make_ui_sound("UISndInventoryOffer");
}
//
diff --git a/indra/newview/skins/default/xui/de/panel_preferences_privacy.xml b/indra/newview/skins/default/xui/de/panel_preferences_privacy.xml
index a7fc26560c..e71abb4db9 100644
--- a/indra/newview/skins/default/xui/de/panel_preferences_privacy.xml
+++ b/indra/newview/skins/default/xui/de/panel_preferences_privacy.xml
@@ -27,6 +27,7 @@
+
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml b/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml
index 233cc814d5..1feddaa65d 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_privacy.xml
@@ -155,6 +155,15 @@
name="FSLogAutoAcceptInventoryToChat"
top_pad="3"
width="350" />
+
+
diff --git a/indra/newview/skins/default/xui/pl/strings.xml b/indra/newview/skins/default/xui/pl/strings.xml
index d66e0b6f00..4b5676bcee 100644
--- a/indra/newview/skins/default/xui/pl/strings.xml
+++ b/indra/newview/skins/default/xui/pl/strings.xml
@@ -2836,7 +2836,7 @@ Jeśli ciągle otrzymujesz tą wiadomość, to skontaktuj się z pomocą technic
należący do nieznanego właściciela
- dał Ci
+ dał/a Ci
Odrzucono
@@ -2847,6 +2847,12 @@ Jeśli ciągle otrzymujesz tą wiadomość, to skontaktuj się z pomocą technic
od
+
+ Obiekt o nazwie [OBJECT_NAME] dał Ci [OBJECT_TYPE]: [DESC]
+
+
+ [USER_NAME] dał/a Ci [OBJECT_TYPE]: [DESC]
+
Suma
diff --git a/indra/newview/skins/default/xui/zh/notifications.xml b/indra/newview/skins/default/xui/zh/notifications.xml
index e45576402c..7af2b0733a 100644
--- a/indra/newview/skins/default/xui/zh/notifications.xml
+++ b/indra/newview/skins/default/xui/zh/notifications.xml
@@ -1781,7 +1781,7 @@ SHA1指紋:[MD5_DIGEST]
無法變更外觀,直到服裝與身形下載完畢。
-
+
您有未儲存的更改。
@@ -4000,7 +4000,7 @@ https://wiki.firestormviewer.org/fs_voice
請輸入非空名稱
-
+
你有未儲存的更改。