EXT-8672 FIXED ([HARD CODED] ALL LANGS The word \"Saved\" is hard coded, in the long timestamp displayed in IM when user is offline)
- Created a string with a time stamp parameter and added it to the strings.xml Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/872/ --HG-- branch : product-enginemeow-7.2.2
parent
c5311b1444
commit
4fe662fe9a
|
|
@ -3067,7 +3067,9 @@ public:
|
|||
std::string saved;
|
||||
if(offline == IM_OFFLINE)
|
||||
{
|
||||
saved = llformat("(Saved %s) ", formatted_time(timestamp).c_str());
|
||||
LLStringUtil::format_map_t args;
|
||||
args["[LONG_TIMESTAMP]"] = formatted_time(timestamp);
|
||||
saved = LLTrans::getString("Saved_message", args);
|
||||
}
|
||||
std::string buffer = saved + message;
|
||||
|
||||
|
|
|
|||
|
|
@ -2183,7 +2183,9 @@ void process_improved_im(LLMessageSystem *msg, void **user_data)
|
|||
std::string saved;
|
||||
if(offline == IM_OFFLINE)
|
||||
{
|
||||
saved = llformat("(Saved %s) ", formatted_time(timestamp).c_str());
|
||||
LLStringUtil::format_map_t args;
|
||||
args["[LONG_TIMESTAMP]"] = formatted_time(timestamp);
|
||||
saved = LLTrans::getString("Saved_message", args);
|
||||
}
|
||||
buffer = saved + message;
|
||||
|
||||
|
|
|
|||
|
|
@ -3002,6 +3002,7 @@ If you continue to receive this message, contact the [SUPPORT_SITE].
|
|||
<string name="IM_default_text_label">Click here to instant message.</string>
|
||||
<string name="IM_to_label">To</string>
|
||||
<string name="IM_moderator_label">(Moderator)</string>
|
||||
<string name="Saved_message">(Saved [LONG_TIMESTAMP])</string>
|
||||
|
||||
<!-- voice calls -->
|
||||
<string name="answered_call">Your call has been answered</string>
|
||||
|
|
|
|||
Loading…
Reference in New Issue