From b8f1accfb06676ef20878de16c8602a426bed75e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 17 Nov 2025 13:38:16 +0100 Subject: [PATCH] Update German translation --- indra/newview/llpanelcontents.cpp | 6 ++---- .../skins/default/xui/de/panel_preferences_firestorm.xml | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/indra/newview/llpanelcontents.cpp b/indra/newview/llpanelcontents.cpp index a593e7b375..227216705e 100644 --- a/indra/newview/llpanelcontents.cpp +++ b/indra/newview/llpanelcontents.cpp @@ -285,11 +285,9 @@ void LLPanelContents::onClickNewScript(void *userdata) // FIRE-36059 Optional custom script template for New Script button if (gSavedPerAccountSettings.getBOOL("FSBuildPrefs_UseCustomScript")) { - LLUUID custom_script_id(gSavedPerAccountSettings.getString("FSBuildPrefs_CustomScriptItem")); - if (custom_script_id.notNull()) + if (LLUUID custom_script_id(gSavedPerAccountSettings.getString("FSBuildPrefs_CustomScriptItem")); custom_script_id.notNull()) { - LLInventoryItem* custom_script = dynamic_cast(gInventory.getObject(custom_script_id)); - if (custom_script && custom_script->getType() == LLAssetType::AT_LSL_TEXT) + if (auto custom_script = gInventory.getItem(custom_script_id); custom_script && custom_script->getType() == LLAssetType::AT_LSL_TEXT) { LLToolDragAndDrop::dropScript(object, custom_script, true, LLToolDragAndDrop::SOURCE_AGENT, gAgentID); return; diff --git a/indra/newview/skins/default/xui/de/panel_preferences_firestorm.xml b/indra/newview/skins/default/xui/de/panel_preferences_firestorm.xml index 9a1e5e9b16..da6630ad03 100644 --- a/indra/newview/skins/default/xui/de/panel_preferences_firestorm.xml +++ b/indra/newview/skins/default/xui/de/panel_preferences_firestorm.xml @@ -172,9 +172,9 @@ Aktuell gesetzt: [ITEM] - - - Drop a script here. + + + Skript hier ablegen. Aktuell gesetzt: [SCRIPT]