diff options
author | Armin Weatherwax | 2011-01-24 18:46:25 +0100 |
---|---|---|
committer | Armin Weatherwax | 2011-01-24 20:20:36 +0100 |
commit | cf573d4143491abe627b69dd7e6b0e0349109913 (patch) | |
tree | ea5ad4d7988bfbc7b6a7b7eb4f125f57f2bc7094 /linden/indra/newview/skins/default | |
parent | re-enable statistics packet for SL, firstuse warn about it (diff) | |
download | meta-impy-cf573d4143491abe627b69dd7e6b0e0349109913.zip meta-impy-cf573d4143491abe627b69dd7e6b0e0349109913.tar.gz meta-impy-cf573d4143491abe627b69dd7e6b0e0349109913.tar.bz2 meta-impy-cf573d4143491abe627b69dd7e6b0e0349109913.tar.xz |
Henri Beauchamp: Display Names support v4
Diffstat (limited to 'linden/indra/newview/skins/default')
5 files changed, 137 insertions, 6 deletions
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_display_name.xml b/linden/indra/newview/skins/default/xui/en-us/floater_display_name.xml new file mode 100644 index 0000000..5875efb --- /dev/null +++ b/linden/indra/newview/skins/default/xui/en-us/floater_display_name.xml | |||
@@ -0,0 +1,42 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" standalone="yes" ?> | ||
2 | <floater name="Display Name" title="CHANGE DISPLAY NAME" | ||
3 | can_minimize="true" can_close="true" can_resize="false" | ||
4 | enabled="true" mouse_opaque="true" | ||
5 | height="235" width="440"> | ||
6 | <text name="info_text1" font="SansSerif" wrap="true" | ||
7 | height="18" width="380" left="42" bottom_delta="-48" follows="left|top"> | ||
8 | The name you give to your avatar is called your Display Name. | ||
9 | </text> | ||
10 | <text name="info_text2" font="SansSerif" wrap="true" | ||
11 | height="18" width="300" left="120" bottom_delta="-18" follows="left|top"> | ||
12 | You can change it once a week. | ||
13 | </text> | ||
14 | <text name="now_ok_text" font="SansSerif" | ||
15 | height="18" width="320" left="105" bottom_delta="-25" follows="left|top"> | ||
16 | You can change it now if you so wish. | ||
17 | </text> | ||
18 | <text name="lockout_text" font="SansSerif" visible="false" | ||
19 | height="18" width="380" left="20" bottom_delta="0" follows="left|top"> | ||
20 | You cannot change it before: [TIME]. | ||
21 | </text> | ||
22 | <text name="set_name_label" font="SansSerif" | ||
23 | height="20" width="380" left="20" bottom_delta="-25" follows="left|top"> | ||
24 | New Display Name: | ||
25 | </text> | ||
26 | <line_editor name="display_name_editor" max_length="31" | ||
27 | height="20" width="360" left="40" bottom_delta="-20" follows="left|top" /> | ||
28 | <text name="name_confirm_label" font="SansSerif" | ||
29 | height="20" width="380" left="20" bottom_delta="-32" follows="left|top"> | ||
30 | Type your new name again to confirm: | ||
31 | </text> | ||
32 | <line_editor name="display_name_confirm" max_length="31" | ||
33 | height="20" width="360" left="40" bottom_delta="-20" follows="left|top" /> | ||
34 | <button name="save_btn" label="Save" font="SansSerif" | ||
35 | tool_tip="Save your new Display Name" | ||
36 | height="20" width="120" left="30" bottom_delta="-32"/> | ||
37 | <button name="reset_btn" label="Reset" font="SansSerif" | ||
38 | tool_tip="Make Display Name the same as Username" | ||
39 | height="20" width="120" left_delta="130" bottom_delta="0"/> | ||
40 | <button name="cancel_btn" label="Cancel" font="SansSerif" | ||
41 | height="20" width="120" left_delta="130" bottom_delta="0"/> | ||
42 | </floater> | ||
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_new_im.xml b/linden/indra/newview/skins/default/xui/en-us/floater_new_im.xml index c93b890..5d766be 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_new_im.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_new_im.xml | |||
@@ -8,7 +8,7 @@ | |||
8 | column_padding="5" draw_border="true" draw_heading="false" | 8 | column_padding="5" draw_border="true" draw_heading="false" |
9 | draw_stripes="true" enabled="true" follows="left|top|right|bottom" | 9 | draw_stripes="true" enabled="true" follows="left|top|right|bottom" |
10 | height="290" left="6" mouse_opaque="true" multi_select="false" | 10 | height="290" left="6" mouse_opaque="true" multi_select="false" |
11 | name="user_list" width="421" /> | 11 | name="user_list" use_display_names="true" width="421" /> |
12 | <button bottom="-271" enabled="true" follows="right|bottom" font="SansSerif" | 12 | <button bottom="-271" enabled="true" follows="right|bottom" font="SansSerif" |
13 | halign="center" height="20" label="Start" label_selected="Start" left="435" | 13 | halign="center" height="20" label="Start" label_selected="Start" left="435" |
14 | mouse_opaque="true" name="start_btn" scale_image="true" sound_flags="0" | 14 | mouse_opaque="true" name="start_btn" scale_image="true" sound_flags="0" |
@@ -17,9 +17,6 @@ | |||
17 | halign="center" height="20" label="Close" label_selected="Close" left="435" | 17 | halign="center" height="20" label="Close" label_selected="Close" left="435" |
18 | mouse_opaque="true" name="close_btn" scale_image="true" sound_flags="0" | 18 | mouse_opaque="true" name="close_btn" scale_image="true" sound_flags="0" |
19 | width="60" /> | 19 | width="60" /> |
20 | <string name="name_format"> | ||
21 | [FIRST] [LAST] | ||
22 | </string> | ||
23 | <string name="online_descriptor"> | 20 | <string name="online_descriptor"> |
24 | (online) | 21 | (online) |
25 | </string> | 22 | </string> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index feeff0c..f737a7e 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -259,6 +259,11 @@ | |||
259 | userdata="appearance" /> | 259 | userdata="appearance" /> |
260 | <on_enable function="Edit.EnableCustomizeAvatar" /> | 260 | <on_enable function="Edit.EnableCustomizeAvatar" /> |
261 | </menu_item_call> | 261 | </menu_item_call> |
262 | <menu_item_call bottom="-362" enabled="true" height="19" label="Display Name..." left="0" | ||
263 | mouse_opaque="true" name="Display Name..." width="153"> | ||
264 | <on_click function="ShowFloater" userdata="displayname" /> | ||
265 | <on_enable function="Edit.EnableDisplayName" /> | ||
266 | </menu_item_call> | ||
262 | <menu_item_separator /> | 267 | <menu_item_separator /> |
263 | <menu_item_check name="Friends" label="Friends" | 268 | <menu_item_check name="Friends" label="Friends" |
264 | shortcut="control|shift|F"> | 269 | shortcut="control|shift|F"> |
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml index 63e85c4..d02f1b3 100644 --- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml +++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml | |||
@@ -5237,6 +5237,88 @@ The string [STRING_NAME] is missing from strings.xml | |||
5237 | </notification> | 5237 | </notification> |
5238 | 5238 | ||
5239 | <notification | 5239 | <notification |
5240 | icon="alertmodal.tga" | ||
5241 | name="SetDisplayNameSuccess" | ||
5242 | type="alert"> | ||
5243 | Hi [DISPLAY_NAME]! | ||
5244 | |||
5245 | Just like in real life, it takes a while for everyone to learn about a new name. Please allow several days for your name to update in objects, scripts, search, etc. | ||
5246 | </notification> | ||
5247 | |||
5248 | <notification | ||
5249 | icon="alertmodal.tga" | ||
5250 | name="SetDisplayNameBlocked" | ||
5251 | type="alert"> | ||
5252 | Sorry, you cannot change your display name. If you feel this is in error, please contact support. | ||
5253 | </notification> | ||
5254 | |||
5255 | <notification | ||
5256 | icon="alertmodal.tga" | ||
5257 | name="SetDisplayNameFailedLength" | ||
5258 | type="alertmodal"> | ||
5259 | Sorry, that name is too long. Display names can have a maximum of [LENGTH] characters. | ||
5260 | |||
5261 | Please try a shorter name. | ||
5262 | </notification> | ||
5263 | |||
5264 | <notification | ||
5265 | icon="alertmodal.tga" | ||
5266 | name="SetDisplayNameFailedGeneric" | ||
5267 | type="alertmodal"> | ||
5268 | Sorry, we could not set your display name. Please try again later. | ||
5269 | </notification> | ||
5270 | |||
5271 | <notification | ||
5272 | icon="alertmodal.tga" | ||
5273 | name="SetDisplayNameMismatch" | ||
5274 | type="alertmodal"> | ||
5275 | The display names you entered do not match. Please re-enter. | ||
5276 | </notification> | ||
5277 | |||
5278 | <!-- *NOTE: This should never happen --> | ||
5279 | <notification | ||
5280 | icon="alertmodal.tga" | ||
5281 | name="AgentDisplayNameUpdateThresholdExceeded" | ||
5282 | type="alertmodal"> | ||
5283 | Sorry, you have to wait longer before you can change your display name. | ||
5284 | |||
5285 | See http://wiki.secondlife.com/wiki/Setting_your_display_name | ||
5286 | |||
5287 | Please try again later. | ||
5288 | </notification> | ||
5289 | |||
5290 | <notification | ||
5291 | icon="alertmodal.tga" | ||
5292 | name="AgentDisplayNameSetBlocked" | ||
5293 | type="alertmodal"> | ||
5294 | Sorry, we could not set your requested name because it contains a banned word. | ||
5295 | |||
5296 | Please try a different name. | ||
5297 | </notification> | ||
5298 | |||
5299 | <notification | ||
5300 | icon="alertmodal.tga" | ||
5301 | name="AgentDisplayNameSetInvalidUnicode" | ||
5302 | type="alertmodal"> | ||
5303 | The display name you wish to set contains invalid characters. | ||
5304 | </notification> | ||
5305 | |||
5306 | <notification | ||
5307 | icon="alertmodal.tga" | ||
5308 | name="AgentDisplayNameSetOnlyPunctuation" | ||
5309 | type="alertmodal"> | ||
5310 | Your display name must contain letters other than punctuation. | ||
5311 | </notification> | ||
5312 | |||
5313 | |||
5314 | <notification | ||
5315 | icon="notifytip.tga" | ||
5316 | name="DisplayNameUpdate" | ||
5317 | type="notifytip"> | ||
5318 | [OLD_NAME] ([SLID]) is now known as [NEW_NAME]. | ||
5319 | </notification> | ||
5320 | |||
5321 | <notification | ||
5240 | icon="notifytip.tga" | 5322 | icon="notifytip.tga" |
5241 | name="Cancelled" | 5323 | name="Cancelled" |
5242 | type="notifytip"> | 5324 | type="notifytip"> |
@@ -6874,7 +6956,7 @@ GRAVITY -- -9.8 | |||
6874 | 6956 | ||
6875 | * -- Multiplication | 6957 | * -- Multiplication |
6876 | \ -- Division | 6958 | \ -- Division |
6877 | + -- Addition | 6959 | -- Addition |
6878 | - -- Subtraction | 6960 | - -- Subtraction |
6879 | 6961 | ||
6880 | For information about this feature, click "More Info". | 6962 | For information about this feature, click "More Info". |
@@ -6903,7 +6985,7 @@ GLOW -- Glow | |||
6903 | 6985 | ||
6904 | * -- Multiplication | 6986 | * -- Multiplication |
6905 | \ -- Division | 6987 | \ -- Division |
6906 | + -- Addition | 6988 | -- Addition |
6907 | - -- Subtraction | 6989 | - -- Subtraction |
6908 | 6990 | ||
6909 | For information about this feature, click "More Info". | 6991 | For information about this feature, click "More Info". |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_avatar.xml b/linden/indra/newview/skins/default/xui/en-us/panel_avatar.xml index 0df65e7..f459e6a 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_avatar.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_avatar.xml | |||
@@ -127,6 +127,11 @@ | |||
127 | font="SansSerifSmall" height="16" is_unicode="false" left="12" | 127 | font="SansSerifSmall" height="16" is_unicode="false" left="12" |
128 | max_length="254" mouse_opaque="false" name="name" | 128 | max_length="254" mouse_opaque="false" name="name" |
129 | width="155" /> | 129 | width="155" /> |
130 | <name_editor bevel_style="in" border_style="line" visible="false" | ||
131 | border_thickness="1" bottom="-24" enabled="false" follows="left|top" | ||
132 | font="SansSerifSmall" height="16" is_unicode="false" left_delta="0" | ||
133 | max_length="254" mouse_opaque="false" name="complete_name" | ||
134 | width="155" /> | ||
130 | <button bottom_delta="0" font="SansSerif" halign="center" height="20" | 135 | <button bottom_delta="0" font="SansSerif" halign="center" height="20" |
131 | label="Copy Key" label_selected="Copy Key" | 136 | label="Copy Key" label_selected="Copy Key" |
132 | left_delta="157" mouse_opaque="true" name="btn_copy_uuid" width="80" /> | 137 | left_delta="157" mouse_opaque="true" name="btn_copy_uuid" width="80" /> |