From e595ea43be6745b2d1cf8b258d87548b7a19c2e7 Mon Sep 17 00:00:00 2001 From: Vadim Savchuk Date: Wed, 7 Jul 2010 21:27:04 +0300 Subject: EXT-8170 FIXED Fixed clothing context menu localization in Edit Outfit. - Localized the "New Shoes" string. I'm sceptical about this fix. Let's see if the translation team accepts it. If not, I'll add a bunch of new translatable strings like "Create new shoes", "Create new pants", etc. - Translated the "Replace" item of clothing context menu (took translation from the body part context menu). Reviewed by Nyx at https://codereview.productengine.com/secondlife/r/710/ --HG-- branch : product-engine --- indra/newview/llcofwearables.cpp | 2 +- indra/newview/skins/default/xui/de/menu_cof_clothing.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp index d83706de52..8fdbdd08bf 100644 --- a/indra/newview/llcofwearables.cpp +++ b/indra/newview/llcofwearables.cpp @@ -80,7 +80,7 @@ protected: // Set proper label for the "Create new " menu item. LLStringUtil::format_map_t args; - args["[WEARABLE_TYPE]"] = LLWearableType::getTypeDefaultNewName(w_type); + args["[WEARABLE_TYPE]"] = LLTrans::getString(LLWearableType::getTypeDefaultNewName(w_type)); std::string new_label = LLTrans::getString("CreateNewWearable", args); menu_item->setLabel(new_label); } diff --git a/indra/newview/skins/default/xui/de/menu_cof_clothing.xml b/indra/newview/skins/default/xui/de/menu_cof_clothing.xml index 5cf31791ba..7fced273a7 100644 --- a/indra/newview/skins/default/xui/de/menu_cof_clothing.xml +++ b/indra/newview/skins/default/xui/de/menu_cof_clothing.xml @@ -1,6 +1,7 @@ + -- cgit v1.2.3