Merge branch 'FirestormViewer:master' into FIRE-34884

master
Angeldark Raymaker 2024-12-07 11:35:26 +00:00 committed by GitHub
commit f1e8230de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 61 additions and 5 deletions

View File

@ -25220,6 +25220,17 @@ Change of this parameter will affect the layout of buttons in notification toast
<key>Value</key>
<integer>1</integer>
</map>
<key>FSShowAutoAcceptInventoryInNotifications</key>
<map>
<key>Comment</key>
<string>If enabled, auto-accepted inventory items will be shown in notifications.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>FSStatusBarShowFPS</key>
<map>
<key>Comment</key>

View File

@ -687,5 +687,19 @@
<integer>0</integer>
</map>
<key>RenderDeferredAtmospheric</key>
<map>
<key>Comment</key>
<string>Execute atmospheric shader in deferred renderer.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
<key>Backup</key>
<integer>0</integer>
</map>
</map>
</llsd>

View File

@ -405,7 +405,7 @@ void inventory_offer_handler(LLOfferInfo* info)
LLPostponedNotification::add<LLPostponedOfferNotification>(p, info->mFromID, false);
}
// <FS:Ansariel> 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");
}
// </FS:Ansariel>

View File

@ -27,6 +27,7 @@
<check_box label="Objekten erlauben, die aktuelle Spracheinstellung abzufragen" name="LanguageIsPublic"/>
<check_box label="Automatisches Akzeptieren von Inventar-Angeboten" name="Auto_Accept_New_Inventory"/>
<check_box label="Automatisch akzeptierte Inventar-Angebote im Chat in der Nähe protokollieren" name="FSLogAutoAcceptInventoryToChat"/>
<check_box label="Benachrichtung für automatisch akzeptiertes neues Inventar anzeigen" name="FSShowAutoAcceptInventoryInNotifications"/>
<check_box label="Klassische Annahme/Ablehnungs-Nachrichten für Inventar-Angebote verwenden" name="FSUseLegacyInventoryAcceptMessages" tool_tip="Falls aktiviert, werden Annahme- bzw. Ablehnungs-Nachrichten erst verschickt, wenn der entsprechende Button angeklickt wurde. Falls deaktiviert, wird automatisch eine Annahme-Nachricht verschickt, sobald das angebotene Objekt im Inventar eingetroffen ist. Diese Option hat keinen Effekt, wenn Inventar-Angebote automatisch akzeptiert werden."/>
<check_box label="Automatisch empfangene Objekte im Inventar anzeigen" name="Show_In_Inventory"/>
<check_box label="Automatisch akzeptierte Notizkarten, Landmarken und Texturen anzeigen" name="Show_New_Inventory"/>

View File

@ -155,6 +155,15 @@
name="FSLogAutoAcceptInventoryToChat"
top_pad="3"
width="350" />
<check_box
control_name="FSShowAutoAcceptInventoryInNotifications"
enabled_control="AutoAcceptNewInventory"
height="16"
label="Show new inventory notification even if auto accept is enabled"
layout="topleft"
name="FSShowAutoAcceptInventoryInNotifications"
top_pad="3"
width="350" />
<check_box
control_name="FSUseLegacyInventoryAcceptMessages"
height="16"

View File

@ -17,6 +17,7 @@
<check_box label="Afficher mes repères favoris à la connexion (dans le menu déroulant 'Démarrer :')" name="favorites_on_login_check"/>
<check_box label="Accepter automatiquement les nouveaux objets" name="Auto_Accept_New_Inventory"/>
<check_box label="Inscrire automatiquement les objets acceptés dans le chat local" name="FSLogAutoAcceptInventoryToChat"/>
<check_box label="Afficher la notification de nouvel inventaire même si l'acceptation automatique est activée" name="FSShowAutoAcceptInventoryInNotifications"/>
<check_box label="Utiliser les messages originaux d'acceptation et de refus de transfert d'objet" name="FSUseLegacyInventoryAcceptMessages" tool_tip="Si activé, le Viewer n'acceptera ou déclinera les messages qu'après avoir pressé le bouton concerné. Si désactivé, le message d'acceptation sera envoyé automatiquement dès que l'offre de transfert aura été reçue. Cette option est sans effet si les offres de transfert sont acceptées automatiquement."/>
<check_box label="Afficher automatiquement les nouveaux objets acceptés dans l'inventaire" name="Show_In_Inventory"/>
<check_box label="Afficher automatiquement les notes, textures, repères, après acceptation" name="Show_New_Inventory"/>

View File

@ -26,6 +26,7 @@
<check_box label="Pozwól oskryptowanym obiektom znać moje obecne ustawienie języka" name="LanguageIsPublic"/>
<check_box label="Automatycznie akceptuj nowe przedmioty" name="Auto_Accept_New_Inventory"/>
<check_box label="Pokaż w czacie w pobliżu przedmioty zaakceptowane automatycznie" name="FSLogAutoAcceptInventoryToChat" />
<check_box label="Powiadomienia o nowych przedmiotach nawet przy automatycznym akceptowaniu" name="FSShowAutoAcceptInventoryInNotifications" />
<check_box label="Klasyczne powiadomienia akceptacji/odrzucenia przedmiotu" name="FSUseLegacyInventoryAcceptMessages" tool_tip="Gdy włączysz tą opcję, to Przeglądarka będzie wysyłać powiadomienia o akceptacji/odrzuceniu przedmiotu tylko po naciśnięciu odpowiedniego przycisku. Gdy wyłączysz tą opcję, to powiadomienie będzie wysłane automatycznie zaraz po tym, gdy przedmiot zostanie zaakceptowany. Ta opcja nie ma żadnej mocy, gdy przedmioty są akceptowane automatycznie."/>
<check_box label="Automatycznie pokazuj akceptowane przedmioty" name="Show_In_Inventory"/>
<check_box label="Automatycznie pokazuj noty, tekstury i landmarki po zaakceptowaniu" name="Show_New_Inventory"/>

View File

@ -2836,7 +2836,7 @@ Jeśli ciągle otrzymujesz tą wiadomość, to skontaktuj się z pomocą technic
należący do nieznanego właściciela
</string>
<string name="InvOfferGaveYou">
dał Ci
dał/a Ci
</string>
<string name="InvOfferYouDecline">
Odrzucono
@ -2847,6 +2847,12 @@ Jeśli ciągle otrzymujesz tą wiadomość, to skontaktuj się z pomocą technic
<string name="InvOfferFrom">
od
</string>
<string name="InvOfferAutoAcceptObject">
Obiekt o nazwie [OBJECT_NAME] dał Ci [OBJECT_TYPE]: [DESC]
</string>
<string name="InvOfferAutoAcceptUser">
[USER_NAME] dał/a Ci [OBJECT_TYPE]: [DESC]
</string>
<string name="GroupMoneyTotal">
Suma
</string>

View File

@ -26,6 +26,7 @@
<check_box label="Позволить скриптовым объектам видеть мою текущую настройку языка" name="LanguageIsPublic"/>
<check_box label="Автоматически принимать новые объекты инвентаря" name="Auto_Accept_New_Inventory"/>
<check_box label="Журнал автоматически принятых объектов в общем чате" name="FSLogAutoAcceptInventoryToChat" />
<check_box label="Показывать уведомление, даже если включен автоматический прием" name="FSShowAutoAcceptInventoryInNotifications" />
<check_box label="Использовать прежние сообщения инвентаря с предложением принять / отклонить" name="FSUseLegacyInventoryAcceptMessages" tool_tip="Использовать прежние сообщения инвентаря с предложением принять / отклонить"/>
<check_box label="Автоматически показывать вновь принятые предметы в инвентаре" name="Show_In_Inventory"/>
<check_box label="Автоматически просматривать заметки, текстуры, закладки после принятия" name="Show_New_Inventory"/>

View File

@ -1781,7 +1781,7 @@ SHA1指紋[MD5_DIGEST]
<notification name="CanNotChangeAppearanceUntilLoaded">
無法變更外觀,直到服裝與身形下載完畢。
</notification>
<notification name="UnsavedWearableChanges">
<notification name="UsavedWearableChanges">
您有未儲存的更改。
<usetemplate ignoretext="放棄儲存對裝扮的更改前請確認" name="okcancelignore" notext="繼續編輯" yestext="放棄更改"/>
</notification>
@ -4000,7 +4000,7 @@ https://wiki.firestormviewer.org/fs_voice
<notification name="InvalidMaterialName">
請輸入非空名稱
</notification>
<notification name="UnsavedMaterialChanges">
<notification name="UsavedMaterialChanges">
你有未儲存的更改。
<form name="form">
<button name="discard" text="放棄更改"/>

View File

@ -17,6 +17,7 @@
<check_box label="登入時自動顯示我的收藏夾項目(在「開始」下拉式選單中)" name="favorites_on_login_check" />
<check_box label="自動接受新物件" name="Auto_Accept_New_Inventory" />
<check_box label="自動將接受的物件記錄到本地聊天中" name="FSLogAutoAcceptInventoryToChat" />
<check_box label="即使已啟用自動接受,仍會顯示新庫存通知" name="FSShowAutoAcceptInventoryInNotifications" />
<check_box label="使用原始的物件接受和拒絕訊息" name="FSUseLegacyInventoryAcceptMessages" tool_tip="如果啟用,檢視器將在按下相應按鈕後才接受或拒絕訊息。 如果禁用,一旦收到轉讓提議,接受訊息將自動傳送。這個選項對自動接受轉讓提議無效。" />
<check_box label="自動在庫存中顯示接受的新物件" name="Show_In_Inventory" />
<check_box label="自動在接受後在庫存中顯示備註、紋理、地點" name="Show_New_Inventory" />