EXT-8358 FIXED Added one more server hardcoded string to global strings in notifications.xml to make it localizable.

Added "You died and have been teleported to your home location" string. It requires localization efforts.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/776/

--HG--
branch : product-engine
meow-7.2.2
Mike Antipov 2010-07-16 17:37:27 +03:00
parent 97a43e303b
commit f3f5687416
2 changed files with 5 additions and 2 deletions

View File

@ -5106,7 +5106,7 @@ void process_alert_message(LLMessageSystem *msgsystem, void **user_data)
void process_alert_core(const std::string& message, BOOL modal)
{
// HACK -- handle callbacks for specific alerts
// HACK -- handle callbacks for specific alerts. It also is localized in notifications.xml
if ( message == "You died and have been teleported to your home location")
{
LLViewerStats::getInstance()->incStat(LLViewerStats::ST_KILLED_COUNT);

View File

@ -6402,11 +6402,14 @@ If you continue to have problems, please visit the [SUPPORT_SITE].
- Your system memory does not meet the minimum requirements.
</global>
<!-- this is alert string from server. the name needs to match entire the server string, and needs to be changed
<!-- these are alert strings from server. the name needs to match entire the server string, and needs to be changed
whenever the server string changes -->
<global name="You can only set your 'Home Location' on your land or at a mainland Infohub.">
If you own a piece of land, you can make it your home location.
Otherwise, you can look at the Map and find places marked &quot;Infohub&quot;.
</global>
<global name="You died and have been teleported to your home location">
You died and have been teleported to your home location.
</global>
</notifications>