diff options
author | prep linden <prep@lindenlab.com> | 2011-03-16 17:10:06 -0400 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2011-03-16 17:10:06 -0400 |
commit | 4b54ec7965cd874af4d0eef381d0bc9fe06cff04 (patch) | |
tree | dd967a4263907ad7de733622cff8f886da1ac7de /indra/linux_updater | |
parent | aaaddfe08942ff15bbe0c6549dc82dda95ce3ba1 (diff) | |
parent | 037a83cd47e016f70092bccfdb2c13e759c6ff0a (diff) |
merge
Diffstat (limited to 'indra/linux_updater')
-rw-r--r-- | indra/linux_updater/linux_updater.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/linux_updater/linux_updater.cpp b/indra/linux_updater/linux_updater.cpp index d909516bf8..a81de0223c 100644 --- a/indra/linux_updater/linux_updater.cpp +++ b/indra/linux_updater/linux_updater.cpp @@ -88,9 +88,16 @@ bool translate_init(std::string comma_delim_path_list, std::vector<std::string> paths; LLStringUtil::getTokens(comma_delim_path_list, paths, ","); // split over ',' + for(std::vector<std::string>::iterator it = paths.begin(), end_it = paths.end(); + it != end_it; + ++it) + { + (*it) = gDirUtilp->findSkinnedFilename(*it, base_xml_name); + } + // suck the translation xml files into memory LLXMLNodePtr root; - bool success = LLXMLNode::getLayeredXMLNode(base_xml_name, root, paths); + bool success = LLXMLNode::getLayeredXMLNode(root, paths); if (!success) { // couldn't load string table XML |