summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-22 18:25:57 -0400
committerOz Linden <oz@lindenlab.com>2011-04-22 18:25:57 -0400
commitc3df5f5d675abd107e1f0b4e3fb262226978ddb5 (patch)
treeb89e53c972d8db034d74e1dbc55bf27ab82d3b88 /indra/newview/skins
parent391bef0df021dd3a56c262087ba977ab9f2bb662 (diff)
parent95847fc2061e9b71a4d2ce078b525c047fc4ad36 (diff)
merge up latest viewer-development
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/floater_day_cycle_options.xml27
-rw-r--r--indra/newview/skins/default/xui/en/floater_env_settings.xml10
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml18
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml85
-rw-r--r--indra/newview/skins/default/xui/en/panel_region_terrain.xml91
-rw-r--r--indra/newview/skins/default/xui/en/strings.xml6
6 files changed, 205 insertions, 32 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_day_cycle_options.xml b/indra/newview/skins/default/xui/en/floater_day_cycle_options.xml
index 65e2462ef8..b54dc87d24 100644
--- a/indra/newview/skins/default/xui/en/floater_day_cycle_options.xml
+++ b/indra/newview/skins/default/xui/en/floater_day_cycle_options.xml
@@ -362,7 +362,7 @@
label_width="35"
layout="topleft"
left_delta="20"
- max_val="100"
+ max_val="23"
name="WLCurKeyHour"
top_pad="4"
width="74" />
@@ -420,31 +420,8 @@
height="16"
layout="topleft"
left_pad="15"
- name="DayCycleText"
- top="114"
- width="120">
- Snap:
- </text>
- <combo_box
- enabled="false"
- height="18"
- label="5 min"
- layout="topleft"
- left_delta="0"
- name="WLSnapOptions"
- top_pad="7"
- width="70" />
- <text
- type="string"
- length="1"
- border_visible="true"
- follows="left|top|right"
- font="SansSerif"
- height="16"
- layout="topleft"
- left_delta="0"
name="DayCycleText2"
- top_pad="17"
+ top_delta="71"
width="120">
Length of Cycle:
</text>
diff --git a/indra/newview/skins/default/xui/en/floater_env_settings.xml b/indra/newview/skins/default/xui/en/floater_env_settings.xml
index 8df5e232d9..e6cf433c8d 100644
--- a/indra/newview/skins/default/xui/en/floater_env_settings.xml
+++ b/indra/newview/skins/default/xui/en/floater_env_settings.xml
@@ -141,7 +141,15 @@
layout="topleft"
left="10"
name="EnvUseEstateTimeButton"
- top="120"
+ top_pad="20"
+ width="137" />
+ <button
+ follows="left|top"
+ height="23"
+ label="Use Local Time"
+ left_pad="5"
+ name="EnvUseLocalTimeButton"
+ top_delta="0"
width="137" />
<button
follows="left|top"
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index a5115b0faa..afb78097d8 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -470,7 +470,7 @@
<menu_item_separator/>
- <menu
+ <menu
create_jump_keys="true"
label="Sun"
name="Environment Settings"
@@ -523,6 +523,22 @@
parameter="editor" />
</menu_item_call>
</menu>
+ <menu
+ create_jump_keys="true"
+ label="Edit My Environment"
+ name="Environment"
+ tear_off="true">
+ <menu_item_check
+ label="Use Region Settings"
+ name="Use Region Settings">
+ <on_check
+ function="World.CheckEnvironment"
+ parameter="use_region_settings" />
+ <on_click
+ function="World.Environment"
+ parameter="use_region_settings" />
+ </menu_item_check>
+ </menu>
</menu>
<menu
create_jump_keys="true"
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index 3fb3717e68..ed0c0d674d 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -4857,6 +4857,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..fb94423a5c 100644
--- a/indra/newview/skins/default/xui/en/panel_region_terrain.xml
+++ b/indra/newview/skins/default/xui/en/panel_region_terrain.xml
@@ -2,7 +2,7 @@
<panel
border="true"
follows="top|left"
- height="320"
+ height="400"
help_topic="panel_region_terrain_tab"
label="Terrain"
layout="topleft"
@@ -123,15 +123,96 @@
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
+ enabled="false"
+ follows="left|top"
+ height="20"
+ label="Apply Local to Region"
+ left_delta="0"
+ top_pad="3"
+ name="WLCurrentApply"
+ 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="330"
width="170" />
<button
follows="left|top"
@@ -141,7 +222,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"
@@ -151,6 +232,6 @@
left="10"
name="bake_terrain_btn"
tool_tip="Set current terrain as mid-point for raise/lower limits"
- top="283"
+ top_pad="3"
width="100" />
</panel>
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 27295150c5..9b1a19d2b2 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -2262,6 +2262,12 @@ Requests name of an avatar. When data is available the dataserver event will be
<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>