diff options
Diffstat (limited to 'indra/newview/skins/default')
4 files changed, 340 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_autocorrect.xml b/indra/newview/skins/default/xui/en/floater_autocorrect.xml new file mode 100644 index 0000000000..ab6e65c847 --- /dev/null +++ b/indra/newview/skins/default/xui/en/floater_autocorrect.xml @@ -0,0 +1,315 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<floater + border="true" + can_close="true" + can_minimize="true" + bottom="400" + left="300" + can_resize="false" + height="500" + width="400" + name="ac_floater" + title="Autocorrect Settings"> + <check_box + bottom_delta="50" + left_delta="5" + height="16" + width="100" + enabled="true" + follows="left|top" + font="SansSerifSmall" + mouse_opaque="true" + radio_style="false" + label="Enable Autocorrect" + control_name="AutoCorrect" + name="ac_enable" + tool_tip="You must have this check box enabled to use any of these settings, it will search your writable text entry, and replace any of the search entries with their replacement"/> + <button + bottom_delta="-2" + left_delta="150" + height="22" + width="80" + enabled="true" + follows="left|top" + font="SansSerif" + mouse_opaque="true" + halign="center" + scale_image="true" + name="ac_loadlist" + label="Load List.." + tool_tip="Click this to load a previously exported list from a file."/> + <view_border + bottom_delta="10" + left_delta="100" + height="40" + width="120" + follows="left|top" + bevel_style="in" + mouse_opaque="false" + name="ac_notecard_target"/> + <text bottom_delta="-18" + left_delta="0" + height="16" + width="120" + follows="left|top" + halign="center" + font="SansSerifSmall" + mouse_opaque="true" + name="ac_notecard"> +<!-- Drop a Notecard here + to load from it.--> + </text> + <view_border + bottom="70" + left="2" + height="0" + width="396" + follows="left|top" + bevel_style="none" + border_thickness="1" + mouse_opaque="false" + name="divisor1"/> + <text + top="-355" + left_delta="0" + height="16" + width="400" + follows="left|top" + halign="center" + font="SansSerifSmall" + mouse_opaque="true" + name="ac_text1"> + List Name List Entries + </text> + <scroll_list + bottom_delta="280" + left_delta="0" + height="280" + width="199" + follows="left|top" + column_padding="0" + draw_heading="true" + multi_select="false" + name="ac_list_name" + search_column="1"> + </scroll_list> + <scroll_list + top_delta="0" + left_delta="199" + height="180" + width="198" + follows="left|top" + column_padding="0" + draw_heading="true" + multi_select="false" + name="ac_list_entry" + search_column="1"> + </scroll_list> + <view_border + bottom_delta="20" + left_delta="10" + height="16" + width="180" + follows="left|top" + bevel_style="in" + mouse_opaque="false" + name="ac_box1"/> + <text + bottom_delta="0" + left_delta="0" + height="16" + width="180" + follows="left|top" + halign="center" + font="SansSerifSmall" + mouse_opaque="true" + name="ac_text_name"> + List Name + </text> + <text + bottom_delta="20" + left_delta="-2" + height="16" + width="40" + follows="left|top" + halign="center" + font="SansSerifSmall" + mouse_opaque="true" + name="ac_text2"> + Author: + </text> + <view_border + bottom_delta="-0" + left_delta="42" + height="16" + width="140" + follows="left|top" + bevel_style="in" + mouse_opaque="false" + name="ac_box2"/> + <text + bottom_delta="0" + left_delta="0" + height="16" + width="140" + follows="left|top" + halign="center" + font="SansSerifSmall" + mouse_opaque="true" + name="ac_text_author"> + Author Name + </text> + <check_box + bottom_delta="20" + left_delta="-32" + height="16" + width="100" + enabled="true" + follows="left|top" + font="SansSerifSmall" + mouse_opaque="true" + radio_style="false" + label="Enabled, priority:" + control_name="ac_enabled" + name="ac_list_enabled" + tool_tip="Whether or not you wish to use this particular list."/> + <spinner + bottom_delta="-0" + left_delta="120" + height="16" + width="50" + follows="left|top" + decimal_digits="0" + increment="1" + min_val="0" + max_val="10" + mouse_opaque="true" + label="" + label_width="0" + name="ac_priority" + tool_tip="This number determine what order your list will be used to replace words. A higher priority means it will be used before lower priority lists."/> + <check_box + bottom_delta="20" + left_delta="-120" + height="16" + width="100" + enabled="true" + follows="left|top" + font="SansSerifSmall" + mouse_opaque="true" + radio_style="false" + label="Show Notifications" + control_name="ac_list_show" + name="ac_list_show" + tool_tip="Having this enabled will make a notification pop up every time a word is replaced."/> + <check_box + bottom_delta="20" + left_delta="-0" + height="16" + width="100" + enabled="true" + follows="left|top" + font="SansSerifSmall" + mouse_opaque="true" + radio_style="false" + label="Word Style" + control_name="ac_list_style" + name="ac_list_style" + tool_tip="Having this checked means the list is for full words that should be replaced, unchecked means that it will look within words contents as well."/> + <button + top="100" + left="5" + height="22" + width="90" + enabled="true" + follows="left|top" + font="SansSerif" + mouse_opaque="true" + halign="center" + scale_image="true" + name="ac_deletelist" + label="Delete List" + tool_tip="This will delete the entire list of words and their replacements, it is not reversible."/> + <button + bottom_delta="-0" + left_delta="95" + height="22" + width="90" + enabled="true" + follows="left|top" + font="SansSerif" + mouse_opaque="true" + halign="center" + scale_image="true" + name="ac_exportlist" + label="Export List" + tool_tip="This will save your current list to a file so you can share it with your friends or edit it."/> + <button + bottom_delta="0" + left_delta="110" + height="22" + width="90" + enabled="true" + follows="left|top" + font="SansSerif" + mouse_opaque="true" + halign="center" + scale_image="true" + name="ac_addentry" + label="Add Entry"/> + <button + bottom_delta="0" + left_delta="95" + height="22" + width="90" + enabled="true" + follows="left|top" + font="SansSerif" + mouse_opaque="true" + halign="center" + scale_image="true" + name="ac_rementry" + label="Remove Entry"/> + <text + type="string" + length="1" + follows="left|top" + height="16" + layout="topleft" + left="10" + top="450" + width="364"> + Original text: + </text> + <line_editor + follows="left|top" + height="23" + layout="topleft" + left="100" + max_length_bytes="255" + name="ac_old_text" + top_delta="-5" + right="-15" + select_on_focus="true" /> + <text + type="string" + length="1" + follows="left|top" + height="16" + layout="topleft" + left="10" + top="475" + width="364"> + New text: + </text> + <line_editor + follows="left|top" + height="23" + layout="topleft" + left="100" + max_length_bytes="255" + name="ac_new_text" + top_delta="-5" + right="-15" + select_on_focus="true" /> +</floater>
\ No newline at end of file diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 5ba566b175..ebba8ba35f 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -1836,6 +1836,11 @@ <menu_item_separator/> <menu_item_call + label="Show Autocorrect Settings"> + <menu_item_call.on_click + function="Advanced.ShowAutocorrectSettings" /> + </menu_item_call> + <menu_item_call label="Show Debug Settings" name="Debug Settings"> <menu_item_call.on_click diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index afc5b916e7..5680c6e676 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -6764,6 +6764,13 @@ One or more of your Voice Morphs will expire in less than [INTERVAL] days. </notification> <notification + icon="notifytip.tga" + name="AutoReplace" + type="notifytip"> + '[BEFORE]' has been auto replaced by '[REPLACEMENT]' + based on your [LISTNAME] list. + </notification> + <notification icon="notify.tga" name="VoiceEffectsNew" sound="UISndAlert" diff --git a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml index caf7fc85f5..f4f3c8f4d0 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml @@ -211,9 +211,20 @@ layout="topleft" left="30" name="ok_btn" - top="-40" + top="-50" width="170"> <button.commit_callback function="Pref.TranslationSettings" /> </button> -</panel>
\ No newline at end of file + <button + follows="top|left" + height="23" + layout="topleft" + top_pad="-23" + left_pad="5" + name="ac_showgui" + commit_callback.function="Pref.ShowAC" + label="AutoCorrect Settings" + width="150"> + </button> +</panel> |