Restoring localizability for "RLV support will be xxx after restart" message in Preferences

meow-7.2.2
PanteraPolnocy 2013-08-28 04:13:21 +02:00
parent d002aa3335
commit b7dd400a43
1 changed files with 1 additions and 2 deletions

View File

@ -483,8 +483,7 @@ bool rlvMenuToggleEnabled()
gSavedSettings.setBOOL(RLV_SETTING_MAIN, !rlv_handler_t::isEnabled());
LLSD args;
args["MESSAGE"] =
llformat("RestrainedLove Support will be %s after you restart", (rlv_handler_t::isEnabled()) ? "disabled" : "enabled" );
args["MESSAGE"] = (rlv_handler_t::isEnabled() ? LLTrans::getString("RlvDisabled") : LLTrans::getString("RlvEnabled"));
LLNotificationsUtil::add("GenericAlert", args);
return true;