diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-05-19 15:26:05 +0300 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-05-19 15:26:05 +0300 |
commit | 08a6474909325ef4c3aa0373a3e5d0a6021ef2cd (patch) | |
tree | db88973480e706abe15dcbe554ff989195aa8a49 /indra/newview/llfloaterland.cpp | |
parent | 7f4680c8c22804e6506375e4cedd1daf7d721670 (diff) |
EXT-7320 FIXED Moved date time stamp template to localized xml.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/406/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r-- | indra/newview/llfloaterland.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index 256796aa80..abdb55ec17 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -646,9 +646,12 @@ void LLPanelLandGeneral::refresh() } // Display claim date - // *TODO:Localize (Time format may need Translating) time_t claim_date = parcel->getClaimDate(); - mTextClaimDate->setText(formatted_time(claim_date)); + std::string claim_date_str = getString("time_stamp_template"); + LLSD substitution; + substitution["datetime"] = (S32) claim_date; + LLStringUtil::format (claim_date_str, substitution); + mTextClaimDate->setText(claim_date_str); mTextClaimDate->setEnabled(is_leased); BOOL enable_auction = (gAgent.getGodLevel() >= GOD_LIAISON) |