From: terencehill Date: Thu, 27 Aug 2015 15:52:46 +0000 (+0200) Subject: Revert "Improve a quickmenu setting" as changes of this setting aren't applied immedi... X-Git-Tag: xonotic-v0.8.2~1987^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ce1322cb3f5b609f003728eec9b5ead50799896;p=xonotic%2Fxonotic-data.pk3dir.git Revert "Improve a quickmenu setting" as changes of this setting aren't applied immediately This reverts commit 93c49cf4265dd4ec35272b1c6b2e3f2a7363893e. --- diff --git a/qcsrc/client/quickmenu.qc b/qcsrc/client/quickmenu.qc index b2e1d5b14..8237fd2f8 100644 --- a/qcsrc/client/quickmenu.qc +++ b/qcsrc/client/quickmenu.qc @@ -762,8 +762,6 @@ void QuickMenu_Default(string target_submenu) QuickMenu_Buffer_Size = QUICKMENU_BUFFER_MAXENTRIES; // forbids load of next entries until target_submenu QUICKMENU_SMENU(CTX(_("QMCMD^Chat")), "Chat") - if(prvm_language != "en") - QUICKMENU_ENTRY(CTX(_("QMCMD^Send untranslated")), "toggle hud_panel_quickmenu_translatecommands 0 1") QUICKMENU_ENTRY_TC(CTX(_("QMCMD^nice one")), "say %s", ":-) / nice one", CTX(_("QMCMD^:-) / nice one"))) QUICKMENU_ENTRY_TC(CTX(_("QMCMD^good game")), "say %s", "good game", CTX(_("QMCMD^good game"))) QUICKMENU_ENTRY_TC(CTX(_("QMCMD^hi / good luck")), "say %s", "hi / good luck and have fun", CTX(_("QMCMD^hi / good luck and have fun"))) @@ -827,6 +825,8 @@ void QuickMenu_Default(string target_submenu) } QUICKMENU_ENTRY(CTX(_("QMCMD^Fullscreen")), "toggle vid_fullscreen; vid_restart") + if(prvm_language != "en") + QUICKMENU_ENTRY(CTX(_("QMCMD^Translate chat messages")), "toggle hud_panel_quickmenu_translatecommands") QUICKMENU_SMENU(CTX(_("QMCMD^Settings")), "Settings") QUICKMENU_SMENU(CTX(_("QMCMD^Call a vote")), "Call a vote")