diff options
| author | Paul Guslisty <pguslisty@productengine.com> | 2010-08-24 11:15:53 +0300 |
|---|---|---|
| committer | Paul Guslisty <pguslisty@productengine.com> | 2010-08-24 11:15:53 +0300 |
| commit | 4fe662fe9ae9fe1760121b99c3f70438b79fcdca (patch) | |
| tree | 524d04eb99815276b2d46d516a5a6384ee0aaedd /indra/newview/llimview.cpp | |
| parent | c5311b1444fcb257ffcd92c17e8e556ad6eecd30 (diff) | |
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-engine
Diffstat (limited to 'indra/newview/llimview.cpp')
| -rw-r--r-- | indra/newview/llimview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index f748603bfa..6e7d8328aa 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -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; |
