From 506c08db618d5029fca3ade7832601ce9e35397e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 31 Aug 2022 15:57:25 +0200 Subject: [PATCH 01/29] Restore notification when trying to add picks while limit is already reached --- indra/newview/llavataractions.cpp | 9 +++++++++ indra/newview/skins/default/xui/de/notifications.xml | 4 ++++ indra/newview/skins/default/xui/en/notifications.xml | 12 ++++++++++++ indra/newview/skins/default/xui/it/notifications.xml | 3 +++ indra/newview/skins/default/xui/ja/notifications.xml | 7 +++++++ indra/newview/skins/default/xui/pl/notifications.xml | 3 +++ 6 files changed, 38 insertions(+) diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 50ac64ef4d..650c580d3a 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -90,6 +90,7 @@ #include "fslslbridge.h" #include "fsradar.h" #include "fsassetblacklist.h" +#include "llagentpicksinfo.cpp" #include "llfloaterregioninfo.h" #include "llfloaterreporter.h" #include "llparcel.h" @@ -503,6 +504,14 @@ void LLAvatarActions::showPick(const LLUUID& avatar_id, const LLUUID& pick_id) // static void LLAvatarActions::createPick() { + // FIRE-7694 / BUG-932 / MAINT-1999 + if (LLAgentPicksInfo::getInstance()->isPickLimitReached()) + { + LLNotificationsUtil::add("PickLimitReached"); + return; + } + // + LLFloaterProfile* profilefloater = dynamic_cast(LLFloaterReg::showInstance("profile", LLSD().with("id", gAgent.getID()))); LLViewerRegion* region = gAgent.getRegion(); if (profilefloater && region) diff --git a/indra/newview/skins/default/xui/de/notifications.xml b/indra/newview/skins/default/xui/de/notifications.xml index 8b1b61f9db..76f2f26534 100644 --- a/indra/newview/skins/default/xui/de/notifications.xml +++ b/indra/newview/skins/default/xui/de/notifications.xml @@ -5546,6 +5546,10 @@ Welche Bezeichnung soll für die Region Bitte geben Sie einen gültigen Wert für die Zeitspanne ein! + + Neue Auswahl kann nicht erstellt werden, da bereits die maximale Anzahl an Auswahlen erstellt wurde. + + Abhängig von der Serverauslastung kann es einen Moment dauern, bis das Umschalten der Sichtbarkeit des Online-Status effektiv wird. diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 6a7fd06184..72993722ac 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -13542,6 +13542,18 @@ the region "[REGION]"? name="okbutton" yestext="OK"/> + + + fail + confirm + Can't create another pick because the maximum number of picks have been created already. + + Inserire un numero valido per la durata del blocco temporaneo chat. + + E' stato raggiunto il numero massimo di preferiti. Non se ne possono aggiungere altri. + A causa del carico sul server, la modifica collettiva dello stato di visibilità può impiegare tempo per diventare efficace. Ci vuole pazienza. diff --git a/indra/newview/skins/default/xui/ja/notifications.xml b/indra/newview/skins/default/xui/ja/notifications.xml index e83e7193f2..50d582a47d 100644 --- a/indra/newview/skins/default/xui/ja/notifications.xml +++ b/indra/newview/skins/default/xui/ja/notifications.xml @@ -5461,6 +5461,13 @@ Flickrの認証に失敗しました。もう一度試してみて下さい。 + + + fail + confirm + 既にピック数の上限に達しているため、新しいピックを追加することはできません。 + + サーバ負荷のため、多数のオンラインステータス切替が有効になるまでにはしばらく時間がかかります。このままお待ち下さい。 diff --git a/indra/newview/skins/default/xui/pl/notifications.xml b/indra/newview/skins/default/xui/pl/notifications.xml index 98ae147ba6..e3cee645f9 100644 --- a/indra/newview/skins/default/xui/pl/notifications.xml +++ b/indra/newview/skins/default/xui/pl/notifications.xml @@ -5050,6 +5050,9 @@ Czy chcesz autoryzować [APP_NAME] do przesyłania zdjęć na Flickr? Okres tymczasowego wyciszenia czatu grupowego musi być liczbą! + + Nie można utworzyć kolejnego Miejsca, ponieważ limit ich ilości został osiągnięty. + Ze względu na obciążenie serwera masowa zmiana widoczności online może zająć trochę czasu. Prosimy o cierpliwość. From 39cf52f39e3f34f59aa7607f12d4430dedcf7796 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 31 Aug 2022 17:51:02 +0200 Subject: [PATCH 02/29] Fix copy&paste accident --- indra/newview/llavataractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 650c580d3a..f17deda451 100644 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -90,7 +90,7 @@ #include "fslslbridge.h" #include "fsradar.h" #include "fsassetblacklist.h" -#include "llagentpicksinfo.cpp" +#include "llagentpicksinfo.h" #include "llfloaterregioninfo.h" #include "llfloaterreporter.h" #include "llparcel.h" From acdeeb03ffe37eae91aa17f49dba6a5b86f249df Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 31 Aug 2022 21:10:28 +0200 Subject: [PATCH 03/29] Add missing string --- .../newview/skins/default/xui/de/panel_profile_firstlife.xml | 1 + .../newview/skins/default/xui/en/panel_profile_firstlife.xml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/indra/newview/skins/default/xui/de/panel_profile_firstlife.xml b/indra/newview/skins/default/xui/de/panel_profile_firstlife.xml index 9ecee040fd..0050a7533c 100644 --- a/indra/newview/skins/default/xui/de/panel_profile_firstlife.xml +++ b/indra/newview/skins/default/xui/de/panel_profile_firstlife.xml @@ -1,5 +1,6 @@ +