diff options
Diffstat (limited to 'linden/indra/newview/llfloatertopobjects.cpp')
-rw-r--r-- | linden/indra/newview/llfloatertopobjects.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloatertopobjects.cpp b/linden/indra/newview/llfloatertopobjects.cpp index 631c92d..04f00bd 100644 --- a/linden/indra/newview/llfloatertopobjects.cpp +++ b/linden/indra/newview/llfloatertopobjects.cpp | |||
@@ -207,7 +207,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
207 | LLSD element; | 207 | LLSD element; |
208 | element["id"] = LLUUID::null; | 208 | element["id"] = LLUUID::null; |
209 | element["columns"][0]["column"] = "name"; | 209 | element["columns"][0]["column"] = "name"; |
210 | element["columns"][0]["value"] = childGetText("none_descriptor"); | 210 | element["columns"][0]["value"] = getString("none_descriptor"); |
211 | element["columns"][0]["font"] = "SANSSERIF"; | 211 | element["columns"][0]["font"] = "SANSSERIF"; |
212 | 212 | ||
213 | list->addElement(element); | 213 | list->addElement(element); |
@@ -219,19 +219,19 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data) | |||
219 | 219 | ||
220 | if (mCurrentMode == STAT_REPORT_TOP_SCRIPTS) | 220 | if (mCurrentMode == STAT_REPORT_TOP_SCRIPTS) |
221 | { | 221 | { |
222 | setTitle(childGetText("top_scripts_title")); | 222 | setTitle(getString("top_scripts_title")); |
223 | list->setColumnLabel("score", childGetText("scripts_score_label")); | 223 | list->setColumnLabel("score", getString("scripts_score_label")); |
224 | 224 | ||
225 | LLUIString format = childGetText("top_scripts_text"); | 225 | LLUIString format = getString("top_scripts_text"); |
226 | format.setArg("[COUNT]", llformat("%d", total_count)); | 226 | format.setArg("[COUNT]", llformat("%d", total_count)); |
227 | format.setArg("[TIME]", llformat("%0.1f", mtotalScore)); | 227 | format.setArg("[TIME]", llformat("%0.1f", mtotalScore)); |
228 | childSetValue("title_text", LLSD(format)); | 228 | childSetValue("title_text", LLSD(format)); |
229 | } | 229 | } |
230 | else | 230 | else |
231 | { | 231 | { |
232 | setTitle(childGetText("top_colliders_title")); | 232 | setTitle(getString("top_colliders_title")); |
233 | list->setColumnLabel("score", childGetText("colliders_score_label")); | 233 | list->setColumnLabel("score", getString("colliders_score_label")); |
234 | LLUIString format = childGetText("top_colliders_text"); | 234 | LLUIString format = getString("top_colliders_text"); |
235 | format.setArg("[COUNT]", llformat("%d", total_count)); | 235 | format.setArg("[COUNT]", llformat("%d", total_count)); |
236 | childSetValue("title_text", LLSD(format)); | 236 | childSetValue("title_text", LLSD(format)); |
237 | } | 237 | } |