aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llimpanel.cpp52
-rw-r--r--linden/indra/newview/llimpanel.h12
-rw-r--r--linden/indra/newview/skins/default/xui/da/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/de/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/es/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/hu/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/it/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/ja/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/ko/floater_instant_message.xml3
-rwxr-xr-xlinden/indra/newview/skins/default/xui/pl/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/ru/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/tr/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/uk/floater_instant_message.xml3
-rw-r--r--linden/indra/newview/skins/default/xui/zh/floater_instant_message.xml5
17 files changed, 95 insertions, 16 deletions
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp
index 6cf7ffb..797e997 100644
--- a/linden/indra/newview/llimpanel.cpp
+++ b/linden/indra/newview/llimpanel.cpp
@@ -59,6 +59,7 @@
59#include "llfloateractivespeakers.h" 59#include "llfloateractivespeakers.h"
60#include "llfloateravatarinfo.h" 60#include "llfloateravatarinfo.h"
61#include "llfloaterchat.h" 61#include "llfloaterchat.h"
62#include "llfloaterfriends.h"
62#include "llkeyboard.h" 63#include "llkeyboard.h"
63#include "lllineeditor.h" 64#include "lllineeditor.h"
64#include "llmenucommands.h" 65#include "llmenucommands.h"
@@ -1133,7 +1134,8 @@ LLFloaterIMPanel::LLFloaterIMPanel(
1133 mSpeakers(NULL), 1134 mSpeakers(NULL),
1134 mSpeakerPanel(NULL), 1135 mSpeakerPanel(NULL),
1135 mFirstKeystrokeTimer(), 1136 mFirstKeystrokeTimer(),
1136 mLastKeystrokeTimer() 1137 mLastKeystrokeTimer(),
1138 mIMPanelType(IM_PANEL_PLAIN)
1137{ 1139{
1138 mSessionInitialTargetIDs = ids; 1140 mSessionInitialTargetIDs = ids;
1139 init(session_label); 1141 init(session_label);
@@ -1151,27 +1153,32 @@ void LLFloaterIMPanel::init(const std::string& session_label)
1151 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this); 1153 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this);
1152 xml_filename = "floater_instant_message_group.xml"; 1154 xml_filename = "floater_instant_message_group.xml";
1153 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel); 1155 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel);
1156 mIMPanelType = IM_PANEL_GROUP;
1154 break; 1157 break;
1155 case IM_SESSION_INVITE: 1158 case IM_SESSION_INVITE:
1156 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this); 1159 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this);
1157 if (gAgent.isInGroup(mSessionUUID)) 1160 if (gAgent.isInGroup(mSessionUUID))
1158 { 1161 {
1159 xml_filename = "floater_instant_message_group.xml"; 1162 xml_filename = "floater_instant_message_group.xml";
1163 mIMPanelType = IM_PANEL_GROUP;
1160 } 1164 }
1161 else // must be invite to ad hoc IM 1165 else // must be invite to ad hoc IM
1162 { 1166 {
1163 xml_filename = "floater_instant_message_ad_hoc.xml"; 1167 xml_filename = "floater_instant_message_ad_hoc.xml";
1168 mIMPanelType = IM_PANEL_CONFERENCE;
1164 } 1169 }
1165 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel); 1170 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel);
1166 break; 1171 break;
1167 case IM_SESSION_P2P_INVITE: 1172 case IM_SESSION_P2P_INVITE:
1168 xml_filename = "floater_instant_message.xml"; 1173 xml_filename = "floater_instant_message.xml";
1169 mVoiceChannel = new LLVoiceChannelP2P(mSessionUUID, mSessionLabel, mOtherParticipantUUID); 1174 mVoiceChannel = new LLVoiceChannelP2P(mSessionUUID, mSessionLabel, mOtherParticipantUUID);
1175 mIMPanelType = IM_PANEL_PLAIN;
1170 break; 1176 break;
1171 case IM_SESSION_CONFERENCE_START: 1177 case IM_SESSION_CONFERENCE_START:
1172 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this); 1178 mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this);
1173 xml_filename = "floater_instant_message_ad_hoc.xml"; 1179 xml_filename = "floater_instant_message_ad_hoc.xml";
1174 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel); 1180 mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mSessionLabel);
1181 mIMPanelType = IM_PANEL_CONFERENCE;
1175 break; 1182 break;
1176 // just received text from another user 1183 // just received text from another user
1177 case IM_NOTHING_SPECIAL: 1184 case IM_NOTHING_SPECIAL:
@@ -1183,10 +1190,12 @@ void LLFloaterIMPanel::init(const std::string& session_label)
1183 mCallBackEnabled = LLVoiceClient::getInstance()->isSessionCallBackPossible(mSessionUUID); 1190 mCallBackEnabled = LLVoiceClient::getInstance()->isSessionCallBackPossible(mSessionUUID);
1184 1191
1185 mVoiceChannel = new LLVoiceChannelP2P(mSessionUUID, mSessionLabel, mOtherParticipantUUID); 1192 mVoiceChannel = new LLVoiceChannelP2P(mSessionUUID, mSessionLabel, mOtherParticipantUUID);
1193 mIMPanelType = IM_PANEL_PLAIN;
1186 break; 1194 break;
1187 default: 1195 default:
1188 llwarns << "Unknown session type" << llendl; 1196 llwarns << "Unknown session type" << llendl;
1189 xml_filename = "floater_instant_message.xml"; 1197 xml_filename = "floater_instant_message.xml";
1198 mIMPanelType = IM_PANEL_PLAIN;
1190 break; 1199 break;
1191 } 1200 }
1192 1201
@@ -1296,6 +1305,14 @@ BOOL LLFloaterIMPanel::postBuild()
1296 1305
1297 // Profile combobox in floater_instant_message.xml 1306 // Profile combobox in floater_instant_message.xml
1298 childSetCommitCallback("profile_callee_btn", onCommitCombo, this); 1307 childSetCommitCallback("profile_callee_btn", onCommitCombo, this);
1308 LLComboBox* comboBox = getChild<LLComboBox>("profile_callee_btn");
1309 if (LLAvatarTracker::instance().getBuddyInfo(mOtherParticipantUUID) == NULL)
1310 {
1311 comboBox->add(getString("add_friend_string"), ADD_TOP);
1312 }
1313 comboBox->setCommitCallback(onCommitCombo);
1314 comboBox->setCallbackUserData(this);
1315
1299 childSetCommitCallback("group_info_btn", onCommitCombo, this); 1316 childSetCommitCallback("group_info_btn", onCommitCombo, this);
1300 1317
1301 childSetAction("start_call_btn", onClickStartCall, this); 1318 childSetAction("start_call_btn", onClickStartCall, this);
@@ -1875,27 +1892,32 @@ void LLFloaterIMPanel::onCommitCombo(LLUICtrl* caller, void* userdata)
1875 } 1892 }
1876 } 1893 }
1877 } 1894 }
1878 else if (caller->getValue().asString() == "pay_entry") 1895 // profile
1879 { 1896 else if (self->getIMType() == IM_PANEL_PLAIN)
1880 handle_pay_by_id(self->getOtherParticipantID());
1881 }
1882 else if (caller->getValue().asString() == "teleport_entry")
1883 {
1884 handle_lure(self->getOtherParticipantID());
1885 }
1886 else
1887 { 1897 {
1888 // group 1898 if (caller->getValue().asString() == "pay_entry")
1889 if (self->getOtherParticipantID() == self->getSessionID())
1890 { 1899 {
1891 LLFloaterGroupInfo::showFromUUID(self->getSessionID()); 1900 handle_pay_by_id(self->getOtherParticipantID());
1892 } 1901 }
1893 // profile 1902 else if (caller->getValue().asString() == "teleport_entry")
1894 else 1903 {
1904 handle_lure(self->getOtherParticipantID());
1905 }
1906 else if (caller->getValue().asString() == self->getString("add_friend_string"))
1907 {
1908 std::string fullname = self->getTitle();
1909 LLPanelFriends::requestFriendshipDialog(self->getOtherParticipantID(), fullname);
1910 }
1911 else
1895 { 1912 {
1896 LLFloaterAvatarInfo::showFromDirectory(self->getOtherParticipantID()); 1913 LLFloaterAvatarInfo::showFromDirectory(self->getOtherParticipantID());
1897 } 1914 }
1898 } 1915 }
1916 // group
1917 else if (self->getIMType() == IM_PANEL_GROUP)
1918 {
1919 LLFloaterGroupInfo::showFromUUID(self->getSessionID());
1920 }
1899 } 1921 }
1900} 1922}
1901 1923
diff --git a/linden/indra/newview/llimpanel.h b/linden/indra/newview/llimpanel.h
index 5887095..ddcbdc7 100644
--- a/linden/indra/newview/llimpanel.h
+++ b/linden/indra/newview/llimpanel.h
@@ -364,6 +364,18 @@ private:
364 364
365 typedef std::map<LLUUID, LLStyleSP> styleMap; 365 typedef std::map<LLUUID, LLStyleSP> styleMap;
366 static styleMap mStyleMap; 366 static styleMap mStyleMap;
367
368 typedef enum e_im_format
369 {
370 IM_PANEL_PLAIN,
371 IM_PANEL_GROUP,
372 IM_PANEL_CONFERENCE
373 } EIMPanelType;
374
375 EIMPanelType mIMPanelType;
376
377public:
378 EIMPanelType getIMType() { return mIMPanelType; }
367}; 379};
368 380
369 381
diff --git a/linden/indra/newview/skins/default/xui/da/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/da/floater_instant_message.xml
index 9b695b5..27dbdcb 100644
--- a/linden/indra/newview/skins/default/xui/da/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/da/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Tekst chat er ikke tilgængeligt i dette opkald. 34 Tekst chat er ikke tilgængeligt i dette opkald.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Tilføj ven
38 </string>
36 <flyout_button label="Profil..." name="profile_callee_btn"/> 39 <flyout_button label="Profil..." name="profile_callee_btn"/>
37 <button label="Opkald" name="start_call_btn" pad_right="7" width="120"/> 40 <button label="Opkald" name="start_call_btn" pad_right="7" width="120"/>
38 <button halign="right" label="Afbryd" name="end_call_btn" width="120"/> 41 <button halign="right" label="Afbryd" name="end_call_btn" width="120"/>
diff --git a/linden/indra/newview/skins/default/xui/de/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/de/floater_instant_message.xml
index 1e926c4..ea822e4 100644
--- a/linden/indra/newview/skins/default/xui/de/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/de/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Für diese Verbindung ist kein Text-Chat verfügbar. 34 Für diese Verbindung ist kein Text-Chat verfügbar.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Freund hinzufügen
38 </string>
36 <flyout_button label="Profil..." name="profile_callee_btn"/> 39 <flyout_button label="Profil..." name="profile_callee_btn"/>
37 <button label="Anrufen" name="start_call_btn" pad_right="7" width="115"/> 40 <button label="Anrufen" name="start_call_btn" pad_right="7" width="115"/>
38 <button halign="right" label="Anruf beenden" name="end_call_btn" width="115"/> 41 <button halign="right" label="Anruf beenden" name="end_call_btn" width="115"/>
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
index cf2a457..5e81525 100644
--- a/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_instant_message.xml
@@ -37,6 +37,9 @@
37 <string name="unavailable_text_label"> 37 <string name="unavailable_text_label">
38 Text chat is not available for this call. 38 Text chat is not available for this call.
39 </string> 39 </string>
40 <string name="add_friend_string">
41 Add Friend
42 </string>
40 <flyout_button bottom="-40" follows="left|top" height="20" label="Profile" left="5" width="90" 43 <flyout_button bottom="-40" follows="left|top" height="20" label="Profile" left="5" width="90"
41 list_position="below" mouse_opaque="true" name="profile_callee_btn"> 44 list_position="below" mouse_opaque="true" name="profile_callee_btn">
42 <flyout_button_item value="history_entry" name="history_entry"> 45 <flyout_button_item value="history_entry" name="history_entry">
diff --git a/linden/indra/newview/skins/default/xui/es/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/es/floater_instant_message.xml
index 30b23d1..68ed9c6 100644
--- a/linden/indra/newview/skins/default/xui/es/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/es/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Para esta llamada no está disponible el chat de texto. 34 Para esta llamada no está disponible el chat de texto.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Añadir como amigo
38 </string>
36 <flyout_button label="Perfil..." name="profile_callee_btn"/> 39 <flyout_button label="Perfil..." name="profile_callee_btn"/>
37 <button label="Llamar" name="start_call_btn"/> 40 <button label="Llamar" name="start_call_btn"/>
38 <button label="Colgar" name="end_call_btn"/> 41 <button label="Colgar" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml
index 926483b..89b6cb2 100644
--- a/linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/fr/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Le chat écrit n&apos;est pas disponible pour cet appel. 34 Le chat écrit n&apos;est pas disponible pour cet appel.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Devenir amis
38 </string>
36 <flyout_button label="Profil..." name="profile_callee_btn"/> 39 <flyout_button label="Profil..." name="profile_callee_btn"/>
37 <button label="Appeler" name="start_call_btn"/> 40 <button label="Appeler" name="start_call_btn"/>
38 <button label="Raccrocher" name="end_call_btn"/> 41 <button label="Raccrocher" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/hu/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/hu/floater_instant_message.xml
index 3469323..09c7af6 100644
--- a/linden/indra/newview/skins/default/xui/hu/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/hu/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Szöveges üzenetküldés nem elérhető a jelenlegi hívás alatt. 34 Szöveges üzenetküldés nem elérhető a jelenlegi hívás alatt.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Barátokhoz ad
38 </string>
36 <flyout_button label="Adatlap" name="profile_callee_btn"/> 39 <flyout_button label="Adatlap" name="profile_callee_btn"/>
37 <button label="Hívás" name="start_call_btn"/> 40 <button label="Hívás" name="start_call_btn"/>
38 <button label="Hívás vége" name="end_call_btn"/> 41 <button label="Hívás vége" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/it/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/it/floater_instant_message.xml
index 7bdc046..511dac5 100644
--- a/linden/indra/newview/skins/default/xui/it/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/it/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 La chat di testo non è disponibile in questa chiamata. 34 La chat di testo non è disponibile in questa chiamata.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Aggiungi come amico
38 </string>
36 <flyout_button label="Profilo..." name="profile_callee_btn"/> 39 <flyout_button label="Profilo..." name="profile_callee_btn"/>
37 <button label="Chiama" name="start_call_btn"/> 40 <button label="Chiama" name="start_call_btn"/>
38 <button label="Termina" name="end_call_btn"/> 41 <button label="Termina" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/ja/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/ja/floater_instant_message.xml
index c9de54e..8bba7e3 100644
--- a/linden/indra/newview/skins/default/xui/ja/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/ja/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 このコールでは文字チャットが利用できません。 34 このコールでは文字チャットが利用できません。
35 </string> 35 </string>
36 <string name="add_friend_string">
37 フレンドに追加
38 </string>
36 <flyout_button label="プロフィール" name="profile_callee_btn" width="100"/> 39 <flyout_button label="プロフィール" name="profile_callee_btn" width="100"/>
37 <button label="コール" left_delta="105" name="start_call_btn" width="100"/> 40 <button label="コール" left_delta="105" name="start_call_btn" width="100"/>
38 <button label="呼出終了" name="end_call_btn" width="100"/> 41 <button label="呼出終了" name="end_call_btn" width="100"/>
diff --git a/linden/indra/newview/skins/default/xui/ko/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/ko/floater_instant_message.xml
index f1d0a48..68284be 100644
--- a/linden/indra/newview/skins/default/xui/ko/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/ko/floater_instant_message.xml
@@ -21,6 +21,9 @@
21 <string name="default_text_label"> 21 <string name="default_text_label">
22 메신저를 사용하려면 여기를 클릭하십시오. 22 메신저를 사용하려면 여기를 클릭하십시오.
23 </string> 23 </string>
24 <string name="add_friend_string">
25 친구 추가
26 </string>
24 <flyout_button label="프로필" name="profile_callee_btn" /> 27 <flyout_button label="프로필" name="profile_callee_btn" />
25 <button label="음성연결" name="start_call_btn" /> 28 <button label="음성연결" name="start_call_btn" />
26 <button label="연결종료" name="end_call_btn" /> 29 <button label="연결종료" name="end_call_btn" />
diff --git a/linden/indra/newview/skins/default/xui/pl/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/pl/floater_instant_message.xml
index 1d918b8..40b7c6e 100755
--- a/linden/indra/newview/skins/default/xui/pl/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/pl/floater_instant_message.xml
@@ -24,6 +24,9 @@
24 <string name="typing_start_string"> 24 <string name="typing_start_string">
25 [NAME] pisze... 25 [NAME] pisze...
26 </string> 26 </string>
27 <string name="add_friend_string">
28 Dodaj Znajomość
29 </string>
27 <string name="session_start_string"> 30 <string name="session_start_string">
28 Rozpoczęcie rozmowy z [NAME]. Proszę czekać... 31 Rozpoczęcie rozmowy z [NAME]. Proszę czekać...
29 </string> 32 </string>
diff --git a/linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml
index 983a13c..dc69246 100644
--- a/linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/pt/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Conversa por texto não está disponível para esta chamada. 34 Conversa por texto não está disponível para esta chamada.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Adicionar amigo
38 </string>
36 <flyout_button label="Perfil..." name="profile_callee_btn"/> 39 <flyout_button label="Perfil..." name="profile_callee_btn"/>
37 <button label="Chamar" name="start_call_btn"/> 40 <button label="Chamar" name="start_call_btn"/>
38 <button label="Terminar Chamada" name="end_call_btn"/> 41 <button label="Terminar Chamada" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/ru/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/ru/floater_instant_message.xml
index 7aa1c19..f0379e1 100644
--- a/linden/indra/newview/skins/default/xui/ru/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/ru/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Текстовый чат недоступен для этого вызова. 34 Текстовый чат недоступен для этого вызова.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Добавить Друга
38 </string>
36 <flyout_button label="Профиль..." name="profile_callee_btn"/> 39 <flyout_button label="Профиль..." name="profile_callee_btn"/>
37 <button label="Звонок" name="start_call_btn"/> 40 <button label="Звонок" name="start_call_btn"/>
38 <button label="Конец звонка" name="end_call_btn"/> 41 <button label="Конец звонка" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/tr/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/tr/floater_instant_message.xml
index b627271..3fcb891 100644
--- a/linden/indra/newview/skins/default/xui/tr/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/tr/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Bu arama için yazılı sohbet mevcut değil. 34 Bu arama için yazılı sohbet mevcut değil.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Arkadaş ol
38 </string>
36 <flyout_button label="Profil..." name="profile_callee_btn"/> 39 <flyout_button label="Profil..." name="profile_callee_btn"/>
37 <button label="Ara" name="start_call_btn"/> 40 <button label="Ara" name="start_call_btn"/>
38 <button label="Kapat" name="end_call_btn"/> 41 <button label="Kapat" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/uk/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/uk/floater_instant_message.xml
index 60ac3b8..a017d38 100644
--- a/linden/indra/newview/skins/default/xui/uk/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/uk/floater_instant_message.xml
@@ -33,6 +33,9 @@
33 <string name="unavailable_text_label"> 33 <string name="unavailable_text_label">
34 Текстовий чат недоступний для цього виклику. 34 Текстовий чат недоступний для цього виклику.
35 </string> 35 </string>
36 <string name="add_friend_string">
37 Додати Друга
38 </string>
36 <flyout_button label="Профіль..." name="profile_callee_btn"/> 39 <flyout_button label="Профіль..." name="profile_callee_btn"/>
37 <button label="Дзвінок" name="start_call_btn"/> 40 <button label="Дзвінок" name="start_call_btn"/>
38 <button label="Кінець дзвінка" name="end_call_btn"/> 41 <button label="Кінець дзвінка" name="end_call_btn"/>
diff --git a/linden/indra/newview/skins/default/xui/zh/floater_instant_message.xml b/linden/indra/newview/skins/default/xui/zh/floater_instant_message.xml
index ace6d8c..a59000c 100644
--- a/linden/indra/newview/skins/default/xui/zh/floater_instant_message.xml
+++ b/linden/indra/newview/skins/default/xui/zh/floater_instant_message.xml
@@ -30,7 +30,10 @@
30 <string name="unavailable_text_label"> 30 <string name="unavailable_text_label">
31 本次通话不可以文字聊天。 31 本次通话不可以文字聊天。
32 </string> 32 </string>
33 <flyout_button label="档案..." name="profile_callee_btn"/> 33 <string name="add_friend_string">
34 添加为好友
35 </string>
36 <flyout_button label="档案..." name="profile_callee_btn"/>
34 <button label="呼叫" name="start_call_btn"/> 37 <button label="呼叫" name="start_call_btn"/>
35 <button label="结束呼叫" name="end_call_btn" pad_right="10" visible="false"/> 38 <button label="结束呼叫" name="end_call_btn" pad_right="10" visible="false"/>
36 <panel name="speaker_controls"> 39 <panel name="speaker_controls">