summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-12 18:05:51 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-04-12 18:05:51 +0300
commit105416600e27a3d8a850617520ce86ca215222a1 (patch)
tree5cbb4e1b8ddc81099331ac897b4a814af46f8905
parent4bab66a4b8982ca6cd0685f9f5ec6ce210d658cf (diff)
SL-15107 Fix some typos in llsetkeybinddialog
-rw-r--r--indra/newview/llsetkeybinddialog.cpp10
-rw-r--r--indra/newview/llsetkeybinddialog.h2
-rw-r--r--indra/newview/skins/default/xui/en/floater_select_key.xml2
3 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llsetkeybinddialog.cpp b/indra/newview/llsetkeybinddialog.cpp
index 4b36822e9a..74844a80e8 100644
--- a/indra/newview/llsetkeybinddialog.cpp
+++ b/indra/newview/llsetkeybinddialog.cpp
@@ -96,7 +96,7 @@ BOOL LLSetKeyBindDialog::postBuild()
getChild<LLUICtrl>("Cancel")->setFocus(TRUE);
pCheckBox = getChild<LLCheckBoxCtrl>("apply_all");
- pDesription = getChild<LLTextBase>("descritption");
+ pDescription = getChild<LLTextBase>("description");
gFocusMgr.setKeystrokesOnly(TRUE);
@@ -160,8 +160,8 @@ void LLSetKeyBindDialog::setParent(LLKeyBindResponderInterface* parent, LLView*
}
input += getString("keyboard");
}
- pDesription->setText(getString("basic_description"));
- pDesription->setTextArg("[INPUT]", input);
+ pDescription->setText(getString("basic_description"));
+ pDescription->setTextArg("[INPUT]", input);
}
// static
@@ -257,8 +257,8 @@ bool LLSetKeyBindDialog::recordAndHandleKey(KEY key, MASK mask, BOOL down)
if (LLKeyConflictHandler::isReservedByMenu(key, mask))
{
- pDesription->setText(getString("reserved_by_menu"));
- pDesription->setTextArg("[KEYSTR]", LLKeyboard::stringFromAccelerator(mask,key));
+ pDescription->setText(getString("reserved_by_menu"));
+ pDescription->setTextArg("[KEYSTR]", LLKeyboard::stringFromAccelerator(mask,key));
mLastMaskKey = 0;
return true;
}
diff --git a/indra/newview/llsetkeybinddialog.h b/indra/newview/llsetkeybinddialog.h
index a34b952233..461965720a 100644
--- a/indra/newview/llsetkeybinddialog.h
+++ b/indra/newview/llsetkeybinddialog.h
@@ -83,7 +83,7 @@ private:
void setKeyBind(EMouseClickType click, KEY key, MASK mask, bool all_modes);
LLKeyBindResponderInterface *pParent;
LLCheckBoxCtrl *pCheckBox;
- LLTextBase *pDesription;
+ LLTextBase *pDescription;
U32 mKeyFilterMask;
Updater *pUpdater;
diff --git a/indra/newview/skins/default/xui/en/floater_select_key.xml b/indra/newview/skins/default/xui/en/floater_select_key.xml
index 48d9eee4cd..998948fca1 100644
--- a/indra/newview/skins/default/xui/en/floater_select_key.xml
+++ b/indra/newview/skins/default/xui/en/floater_select_key.xml
@@ -33,7 +33,7 @@ Combination [KEYSTR] is reserved by menu.
height="30"
layout="topleft"
left="30"
- name="descritption"
+ name="description"
top="25"
word_wrap="true"
width="212">