From 11f36ceab1fe5e75e46d8506dd14d05a90a6cced Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 28 Oct 2009 16:40:57 +0000 Subject: DEV-41929: Move boilerplate About text to floater_about.xml. Simplify C++ construction code to call new getInfo() method, then assemble a sequence of optional text sections. Convert LLSD block returned by getInfo() to LLStringUtil::format_map_t as expected by two-arg LLPanel::getString() method. --- .../newview/skins/default/xui/en/floater_about.xml | 104 ++++++++++----------- 1 file changed, 47 insertions(+), 57 deletions(-) (limited to 'indra/newview/skins/default') diff --git a/indra/newview/skins/default/xui/en/floater_about.xml b/indra/newview/skins/default/xui/en/floater_about.xml index b194b533af..5cd11ba292 100644 --- a/indra/newview/skins/default/xui/en/floater_about.xml +++ b/indra/newview/skins/default/xui/en/floater_about.xml @@ -7,66 +7,56 @@ save_rect="true" title="About [APP_NAME]" width="470"> - - You are at [POSITION] - - - in [REGION] located at - - - CPU: - - - Memory: [MEM] MB - - - OS Version: - - - Graphics Card Vendor: - - - Graphics Card: - - - OpenGL Version: - - - libcurl Version: - - - J2C Decoder Version: - - - Audio Driver Version: - - - (none) - - - LLMozLib Version: - - Qt Webkit Version: 4.5.2 + name="AboutHeader"> +[APP_NAME] [VIEWER_VERSION_0].[VIEWER_VERSION_1].[VIEWER_VERSION_2] ([VIEWER_VERSION_3]) [BUILD_DATE] [BUILD_TIME] ([CHANNEL]) +[[VIEWER_RELEASE_NOTES_URL] [ReleaseNotes]] + + + +Built with [COMPILER] version [COMPILER_VERSION] + + + +You are at [POSITION_0,number,1], [POSITION_1,number,1], [POSITION_2,number,1] in [REGION] located at [HOSTNAME] ([HOSTIP]) +[SERVER_VERSION] +[[SERVER_RELEASE_NOTES_URL] [ReleaseNotes]] + + + + +CPU: [CPU] +Memory: [MEMORY_MB] MB +OS Version: [OS_VERSION] +Graphics Card Vendor: [GRAPHICS_CARD_VENDOR] +Graphics Card: [GRAPHICS_CARD] + + +Windows Graphics Driver Version: [GRAPHICS_DRIVER_VERSION] + + +OpenGL Version: [OPENGL_VERSION] + +libcurl Version: [LIBCURL_VERSION] +J2C Decoder Version: [J2C_VERSION] +Audio Driver Version: [AUDIO_DRIVER_VERSION] +Qt Webkit Version: [QT_WEBKIT_VERSION] + + + (none) - Packets Lost: [LOST]/[IN] ([PCT]%) - + name="AboutTraffic"> +Packets Lost: [PACKETS_LOST,number,0]/[PACKETS_IN,number,0] ([PACKETS_PCT,number,1]%) +