aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2011-06-08 02:10:44 -0500
committerJacek Antonelli2011-06-08 02:11:40 -0500
commit25e482393f2a5070da2b93e71b9d0c1babf0bdd2 (patch)
treeb4325444970fbe641af11bb2798176dec17040b4 /linden
parentAdded "FeatureNotAvailableOnOS" notification for future use. (diff)
downloadmeta-impy-25e482393f2a5070da2b93e71b9d0c1babf0bdd2.zip
meta-impy-25e482393f2a5070da2b93e71b9d0c1babf0bdd2.tar.gz
meta-impy-25e482393f2a5070da2b93e71b9d0c1babf0bdd2.tar.bz2
meta-impy-25e482393f2a5070da2b93e71b9d0c1babf0bdd2.tar.xz
Notification: View History (in IM/Group Chat) not available on Linux.
Temporary bandaid until IMP-182 is fully fixed.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llimpanel.cpp7
-rw-r--r--linden/indra/newview/skins/default/xui/de/notifications.xml4
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/notifications.xml2
-rw-r--r--linden/indra/newview/skins/default/xui/zh/notifications.xml4
4 files changed, 17 insertions, 0 deletions
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp
index 5f6624b..4953a27 100644
--- a/linden/indra/newview/llimpanel.cpp
+++ b/linden/indra/newview/llimpanel.cpp
@@ -1921,6 +1921,12 @@ void LLFloaterIMPanel::onCommitCombo(LLUICtrl* caller, void* userdata)
1921 { 1921 {
1922 if (caller->getValue().asString() == "history_entry") 1922 if (caller->getValue().asString() == "history_entry")
1923 { 1923 {
1924#ifdef LL_LINUX
1925 LLSD args;
1926 args["[FEATURE]"] = LLNotifications::instance().getGlobalString("view history");
1927 args["[OS]"] = "Linux";
1928 LLNotifications::instance().add("FeatureNotAvailableOnOS", args, LLSD());
1929#else // LL_LINUX
1924 if (self->getOtherParticipantID().notNull()) 1930 if (self->getOtherParticipantID().notNull())
1925 { 1931 {
1926 std::string fullname = self->getTitle(); 1932 std::string fullname = self->getTitle();
@@ -1948,6 +1954,7 @@ void LLFloaterIMPanel::onCommitCombo(LLUICtrl* caller, void* userdata)
1948 //llinfos << file << " found" << llendl; 1954 //llinfos << file << " found" << llendl;
1949 } 1955 }
1950 } 1956 }
1957#endif // LL_LINUX
1951 } 1958 }
1952 // profile 1959 // profile
1953 else if (self->getIMType() == IM_PANEL_PLAIN) 1960 else if (self->getIMType() == IM_PANEL_PLAIN)
diff --git a/linden/indra/newview/skins/default/xui/de/notifications.xml b/linden/indra/newview/skins/default/xui/de/notifications.xml
index b2975df..3009515 100644
--- a/linden/indra/newview/skins/default/xui/de/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/de/notifications.xml
@@ -3011,4 +3011,8 @@ Sollte das Problem fortbestehen, finden Sie weitere Hilfestellung unter: http://
3011 <global name="PermNo"> 3011 <global name="PermNo">
3012 Nein 3012 Nein
3013 </global> 3013 </global>
3014
3015
3016 <global name="view history">Verlauf anzeigen</global>
3017
3014</notifications> 3018</notifications>
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 7f1d1a4..cb8171d 100644
--- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml
@@ -7485,6 +7485,8 @@ Sorry, [FEATURE] is not yet available on [OS].
7485 <global name="this feature">this feature</global> 7485 <global name="this feature">this feature</global>
7486 <global name="this os">this operating system</global> 7486 <global name="this os">this operating system</global>
7487 7487
7488 <global name="view history">View History</global>
7489
7488 7490
7489<!--End Imprudence notifications--> 7491<!--End Imprudence notifications-->
7490 <!-- [KITTY VIEWER] --> 7492 <!-- [KITTY VIEWER] -->
diff --git a/linden/indra/newview/skins/default/xui/zh/notifications.xml b/linden/indra/newview/skins/default/xui/zh/notifications.xml
index ec675b2..1234e02 100644
--- a/linden/indra/newview/skins/default/xui/zh/notifications.xml
+++ b/linden/indra/newview/skins/default/xui/zh/notifications.xml
@@ -3818,6 +3818,10 @@ Socks5 代理服务器 [PROXY] 拒绝了 UDP 关联请求
3818无法连接到 Socks5 代理服务器 [PROXY] 3818无法连接到 Socks5 代理服务器 [PROXY]
3819 </notification> 3819 </notification>
3820 3820
3821
3822 <global name="view history">查看对话历史</global>
3823
3824
3821<!--End Imprudence notifications--> 3825<!--End Imprudence notifications-->
3822 <!-- [KITTY VIEWER] --> 3826 <!-- [KITTY VIEWER] -->
3823 <notification 3827 <notification