From 1ce1e7f9a121cad473c84fced770837da9e6e55c Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Tue, 20 Apr 2010 11:11:33 +0300 Subject: Fixed EXT-6542(normal) - [HARD CODED] - Land-Info, Medien: none/none needs to be localized Added "DefaultMimeType" string to strings.xml to make "none/none" mime type localizable. Replaced all occurrences of "none/none" string with call to static method. Reviewed by Vadim Savchuk - https://codereview.productengine.com/secondlife/r/265/ --HG-- branch : product-engine --- indra/newview/llmimetypes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llmimetypes.h') diff --git a/indra/newview/llmimetypes.h b/indra/newview/llmimetypes.h index b217ce7a81..3461769ff3 100644 --- a/indra/newview/llmimetypes.h +++ b/indra/newview/llmimetypes.h @@ -66,6 +66,10 @@ public: static std::string findDefaultMimeType(const std::string& widget_type); // Canonical mime type associated with this widget set + static const std::string& getDefaultMimeType(); + + static const std::string& getDefaultMimeTypeTranslation(); + static bool findAllowResize(const std::string& mime_type); // accessor for flag to enable/disable media size edit fields -- cgit v1.2.3