summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-03-31 18:24:01 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-03-31 18:24:01 +0300
commit5476999e9dfeca48009b43e4fcc0967be5540572 (patch)
treec7900f3a68289bcf889597fa9e5e7e906ca0be2b /indra/newview/skins/default/xui
parent9a9339d8a478976019b8a3afda6b0f57ab6a3fd2 (diff)
STORM-1126 WIP Windlight Estate Settings integration: pass 3
Added missing (lost in merge) buttons, notifications and strings.
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml85
-rw-r--r--indra/newview/skins/default/xui/en/panel_region_terrain.xml78
-rw-r--r--indra/newview/skins/default/xui/en/strings.xml6
3 files changed, 166 insertions, 3 deletions
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index e1aecda151..499c110651 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -4283,6 +4283,91 @@ This day cycle file references a missing sky file: [SKY].
<notification
icon="alertmodal.tga"
+ name="WLRegionApplyFail"
+ type="alertmodal">
+Sorry, the settings couldn't be applied to the region. Leaving the region and then returning may help rectify the problem. The reason given was: [FAIL_REASON]
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="EnvLockedUsingRegion"
+ type="alertmodal">
+You cannot load environment presets while you are using the region's environment settings. To manually configure your environment setings, select the Environment Editor and uncheck "Use Region Environment Settings."
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="EnvEditExternalCancel"
+ type="alertmodal">
+Warning: an update to the environment settings you were just editing was received, either because settings you recently committed have just been applied or because someone else with editing permissions updated the region's environment settings. In order to avoid overwriting this update, your changes have been cancelled; concurrent edits are not permitted. Please try again.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ functor="GenericAlertYesCancel"
+ icon="alertmodal.tga"
+ name="EnvEditUnsavedChangesCancel"
+ type="alertmodal">
+Warning: you have un-applied changes to the following environment settings: [SCOPE]. Are you sure you want to cancel them?
+ <usetemplate
+ name="okcancelbuttons"
+ yestext="Cancel Changes"
+ notext="Resume Editing"/>
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="EnvOtherScopeAlreadyOpen"
+ type="alertmodal">
+You cannot modify your local environment settings and region environment settings at the same time. Close the environment settings windows currently open and try again.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="EnvCannotDeleteLastDayCycleKey"
+ type="alertmodal">
+Unable to delete the last key in this day cycle because you cannot have an empty day cycle. You should modify the last remaining key instead of attempting to delete it and then to create a new one.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="DayCycleTooManyKeyframes"
+ type="alertmodal">
+You cannot add any more keyframes to this day cycle. The maximum number of keyframes for day cycles of [SCOPE] scope is [MAX].
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ functor="GenericAcknowledge"
+ icon="alertmodal.tga"
+ name="EnvUpdateRate"
+ type="alertmodal">
+ You may only update region environmental settings every [WAIT] seconds. Wait at least that long and then try again.
+ <usetemplate
+ name="okbutton"
+ yestext="OK"/>
+ </notification>
+
+ <notification
+ icon="alertmodal.tga"
name="PPSaveEffectAlert"
type="alertmodal">
PostProcess Effect exists. Do you still wish overwrite it?
diff --git a/indra/newview/skins/default/xui/en/panel_region_terrain.xml b/indra/newview/skins/default/xui/en/panel_region_terrain.xml
index 5093c52129..e6022d467a 100644
--- a/indra/newview/skins/default/xui/en/panel_region_terrain.xml
+++ b/indra/newview/skins/default/xui/en/panel_region_terrain.xml
@@ -123,15 +123,87 @@
left="8"
top="30"
width="460" />
+ <text
+ follows="left|top"
+ height="20"
+ left="190"
+ name="wl_settings_label"
+ top_pad="10"
+ width="280">
+ WindLight environment settings for region:
+ </text>
+ <text
+ follows="left|top"
+ height="60"
+ left="190"
+ name="wl_settings_unavailable"
+ top_pad="0"
+ visible="false"
+ width="400">
+Not supported by this region, or you do not
+have permission to change the region's settings.
+See &apos;?&apos; for details.
+ </text>
+ <button
+ follows="left|top"
+ height="20"
+ label="Use Estate Time"
+ left="190"
+ name="EnvUseEstateTimeButton"
+ top_delta="0"
+ width="110" />
+ <button
+ follows="left|top"
+ height="20"
+ label="Advanced Sky"
+ left_delta="0"
+ name="EnvAdvancedSkyButton"
+ top_pad="3"
+ width="110" />
+ <button
+ follows="left|top"
+ height="20"
+ label="Advanced Water"
+ left_delta="0"
+ name="EnvAdvancedWaterButton"
+ top_pad="3"
+ width="110" />
+ <button
+ enabled="false"
+ follows="left|top"
+ height="20"
+ label="Apply Changes to Region"
+ left="-170"
+ top_delta="-46"
+ name="WLRegionApply"
+ width="160" />
+ <button
+ enabled="false"
+ follows="left|top"
+ height="20"
+ label="Cancel Changes"
+ left_delta="0"
+ name="WLRegionCancel"
+ top_pad="3"
+ width="160" />
+ <button
+ enabled="false"
+ follows="left|top"
+ height="20"
+ label="Revert Region to Default"
+ left_delta="0"
+ name="WLRegionDefault"
+ top_pad="3"
+ width="160" />
<button
follows="left|top"
height="20"
label="Download RAW terrain..."
layout="topleft"
- left_delta="2"
+ left="10"
name="download_raw_btn"
tool_tip="Available only to estate owners, not managers"
- top_pad="60"
+ top="240"
width="170" />
<button
follows="left|top"
@@ -141,7 +213,7 @@
left="10"
name="upload_raw_btn"
tool_tip="Available only to estate owners, not managers"
- top="243"
+ top_pad="0"
width="170" />
<button
follows="left|top"
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 6b3fd9ff9e..3ed4f09421 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -2219,6 +2219,12 @@ Clears (deletes) the media and all params from the given face.
<string name="GroupOwned">Group Owned</string>
<string name="Public">Public</string>
+ <!-- Environment settings -->
+ <string name="LocalSettings">Local Settings</string>
+ <string name="RegionSettings">Region Settings</string>
+ <string name="Local">Local</string>
+ <string name="Region">Region</string>
+
<!-- panel classified -->
<string name="ClassifiedClicksTxt">Clicks: [TELEPORT] teleport, [MAP] map, [PROFILE] profile</string>
<string name="ClassifiedUpdateAfterPublish">(will update after publish)</string>