Localizable mesh export failure message

meow-7.2.2
Cinders 2013-04-28 22:23:14 -06:00
parent 4635851cea
commit 5febe7c70a
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,7 @@
#include "llsdserialize.h"
#include "llsdutil_math.h"
#include "llsdutil.h"
#include "lltrans.h"
#include "llversioninfo.h"
#include "llvfile.h"
#include "llviewerinventory.h"
@ -343,7 +344,7 @@ void FSExport::addPrim(LLViewerObject* object, bool root)
if (!mAborted)
{
// not a floater, so no floater_export.xml for a proper translation.
reportToNearbyChat("Mesh is not supported. Export aborted.");
reportToNearbyChat(LLTrans::getString("export_fail_no_mesh"));
mAborted = true;
}
return;

View File

@ -5094,4 +5094,6 @@ Try enclosing path to the editor with double quotes.
<string name="entering_region">entered the region.</string>
<string name="entering_region_distance">entered the region ([DISTANCE] m).</string>
<string name="leaving_region">left the region.</string>
<string name="export_fail_no_mesh">Exporting mesh is not currently supported. Export aborted.</string>
</strings>