From 58591377dd9f40b886ab16621a9fecd690806c22 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 10 Jan 2009 09:55:57 -0700
Subject: added shortcut and message to landmark creation
---
linden/indra/newview/llviewermenu.cpp | 11 +-
.../skins/default/xui/en-us/menu_viewer.xml | 2 +-
.../newview/skins/default/xui/en-us/strings.xml | 363 +++++++++++----------
3 files changed, 194 insertions(+), 182 deletions(-)
(limited to 'linden')
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 3bf390e..049f0d1 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -146,13 +146,14 @@
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
-#include "llpanellogin.h"
+#include "lllineeditor.h"
#include "llmenucommands.h"
#include "llmenugl.h"
#include "llmorphview.h"
#include "llmoveview.h"
#include "llmutelist.h"
#include "llnotify.h"
+#include "llpanellogin.h"
#include "llpanelobject.h"
#include "llparcel.h"
#include "llprimitive.h"
@@ -174,6 +175,7 @@
#include "lltoolpie.h"
#include "lltoolplacer.h"
#include "lltoolselectland.h"
+#include "lltrans.h"
#include "lluictrlfactory.h"
#include "lluploaddialog.h"
#include "lluserauth.h"
@@ -4874,10 +4876,17 @@ class LLWorldCreateLandmark : public view_listener_t
return true;
}
+ LLChat chat;
+
LLUUID folder_id;
folder_id = gInventory.findCategoryUUIDForType(LLAssetType::AT_LANDMARK);
std::string pos_string;
gAgent.buildLocationString(pos_string);
+
+ std::string log_message = LLTrans::getString("landmark_created") + " ";
+ log_message += pos_string;
+ chat.mText = log_message;
+ LLFloaterChat::addChat(chat, FALSE, FALSE);
create_inventory_item(gAgent.getID(), gAgent.getSessionID(),
folder_id, LLTransactionID::tnull,
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 682acb9..454fe29 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
@@ -489,7 +489,7 @@
-
diff --git a/linden/indra/newview/skins/default/xui/en-us/strings.xml b/linden/indra/newview/skins/default/xui/en-us/strings.xml
index e8c341e..ecacc78 100644
--- a/linden/indra/newview/skins/default/xui/en-us/strings.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/strings.xml
@@ -1,180 +1,183 @@
-
-
-
-
-
- Logging in. [APP_NAME] may appear frozen. Please wait.
- Authenticating
- Performing account maintenance...
- Previous login attempt failed. Logging in, attempt [NUMBER]
- Loading world...
- Initializing embedded web browser...
- Initializing multimedia...
- Verifying cache files (can take 60-90 seconds)...
- Processing Response...
- Initializing World...
- Decoding images...
- Initializing QuickTime...
- QuickTime not found - unable to initialize.
- QuickTime initialized successfully.
- Waiting for region handshake...
- Connecting to region...
- Downloading clothing...
- Network Error: Could not establish connection, please check your network connection.
-
-
-
- This region may be experiencing trouble. Please check your connection to the Internet.
-
-
-
- Person
- (no name)
- Owner:
- Public
- (Group)
- Script
- Physics
- Touch
- L$
- Drop Inventory
- Phantom
- Temporary
- (Right-click for menu)
- Free to copy
- For Sale: L$[AMOUNT]
- For Sale: [MESSAGE]
- Group Build
- No Build
- Group Build
- Not Safe
- No Fly
- Group Scripts
- No Scripts
- Land:
- Only a single item can be dragged here
-
-
-
- Retrieving...
-
- Release Notes
-
-
- Loading...
-
-
-
-
- (nobody)
-
-
- (waiting)
-
-
- (hippos)
-
-
- (none)
-
-
- No error
- Asset request: failed
- Asset request: non-existent file
- Asset request: asset not found in database
- End of file
- Cannot open file
- File not found
- File transfer timeout
- Circuit gone
- Unknown status
-
-
- (Editing Appearance)
- Away
- Busy
- Muted
-
-
- Afraid
- Angry
- Away
- Backflip
- Belly Laugh
- BigSmile
- Blow Kiss
- Bored
- Bow
- Clap
- Court Bow
- Cry
- Dance 1
- Dance 2
- Dance 3
- Dance 4
- Dance 5
- Dance 6
- Dance 7
- Dance 8
- Disdain
- Drink
- Embarrassed
- Finger Wag
- Fist Pump
- Floating Yoga
- Frown
- Impatient
- Jump For Joy
- Kiss My Butt
- Kiss
- Laugh
- Muscle Beach
- No (Unhappy)
- No
- Nya-nya-nya
- One-Two Punch
- Open Mouth
- Peace
- Point at Other
- Point at Self
- Punch Left
- Punch Right
- RPS count
- RPS paper
- RPS rock
- RPS scissors
- Repulsed
- Roundhouse Kick
- Sad
- Salute
- Shout
- Shrug
- Smile
- Smoke Idle
- Smoke Inhale
- Smoke Throw Down
- Surprise
- Sword Strike
- Tantrum
- TongueOut
- Wave
- Whisper
- Whistle
- Wink
- Wink (Hollywood)
- Worry
- Yes (Happy)
- Yes
-
- Loading...
- Offline
-
-
- whispers:
- shouts:
-
-
-
+
+
+
+
+
+ Logging in. [APP_NAME] may appear frozen. Please wait.
+ Authenticating
+ Performing account maintenance...
+ Previous login attempt failed. Logging in, attempt [NUMBER]
+ Loading world...
+ Initializing embedded web browser...
+ Initializing multimedia...
+ Verifying cache files (can take 60-90 seconds)...
+ Processing Response...
+ Initializing World...
+ Decoding images...
+ Initializing QuickTime...
+ QuickTime not found - unable to initialize.
+ QuickTime initialized successfully.
+ Waiting for region handshake...
+ Connecting to region...
+ Downloading clothing...
+ Network Error: Could not establish connection, please check your network connection.
+
+
+
+ This region may be experiencing trouble. Please check your connection to the Internet.
+
+
+
+ Person
+ (no name)
+ Owner:
+ Public
+ (Group)
+ Script
+ Physics
+ Touch
+ L$
+ Drop Inventory
+ Phantom
+ Temporary
+ (Right-click for menu)
+ Free to copy
+ For Sale: L$[AMOUNT]
+ For Sale: [MESSAGE]
+ Group Build
+ No Build
+ Group Build
+ Not Safe
+ No Fly
+ Group Scripts
+ No Scripts
+ Land:
+ Only a single item can be dragged here
+
+
+
+ Retrieving...
+
+ Release Notes
+
+
+ Loading...
+
+
+
+
+ (nobody)
+
+
+ (waiting)
+
+
+ (hippos)
+
+
+ (none)
+
+
+ No error
+ Asset request: failed
+ Asset request: non-existent file
+ Asset request: asset not found in database
+ End of file
+ Cannot open file
+ File not found
+ File transfer timeout
+ Circuit gone
+ Unknown status
+
+
+ (Editing Appearance)
+ Away
+ Busy
+ Muted
+
+
+ Afraid
+ Angry
+ Away
+ Backflip
+ Belly Laugh
+ BigSmile
+ Blow Kiss
+ Bored
+ Bow
+ Clap
+ Court Bow
+ Cry
+ Dance 1
+ Dance 2
+ Dance 3
+ Dance 4
+ Dance 5
+ Dance 6
+ Dance 7
+ Dance 8
+ Disdain
+ Drink
+ Embarrassed
+ Finger Wag
+ Fist Pump
+ Floating Yoga
+ Frown
+ Impatient
+ Jump For Joy
+ Kiss My Butt
+ Kiss
+ Laugh
+ Muscle Beach
+ No (Unhappy)
+ No
+ Nya-nya-nya
+ One-Two Punch
+ Open Mouth
+ Peace
+ Point at Other
+ Point at Self
+ Punch Left
+ Punch Right
+ RPS count
+ RPS paper
+ RPS rock
+ RPS scissors
+ Repulsed
+ Roundhouse Kick
+ Sad
+ Salute
+ Shout
+ Shrug
+ Smile
+ Smoke Idle
+ Smoke Inhale
+ Smoke Throw Down
+ Surprise
+ Sword Strike
+ Tantrum
+ TongueOut
+ Wave
+ Whisper
+ Whistle
+ Wink
+ Wink (Hollywood)
+ Worry
+ Yes (Happy)
+ Yes
+
+ Loading...
+ Offline
+
+
+ whispers:
+ shouts:
+
+
+ You created a landmark at
+
+
+
--
cgit v1.1