]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make 2 strings translatable
authorterencehill <piuntn@gmail.com>
Fri, 16 Sep 2022 14:39:55 +0000 (16:39 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 16 Sep 2022 14:39:55 +0000 (16:39 +0200)
qcsrc/client/hud/panel/quickmenu.qc

index a6ea8e20aadcb49dfdf7a1c9db2a238606e41525..e75b5fbf9188055579da4ea99162925e0f7e5b3f 100644 (file)
@@ -874,10 +874,9 @@ void QuickMenu_Default(string target_submenu)
 
        if (autocvar__hud_panel_quickmenu_file_from_server != "")
        {
-       // TODO make it translatable
-       string entry_name = "Server's custom quickmenu";
+       string entry_name = _("Server's custom quickmenu");
        if (autocvar__hud_panel_quickmenu_file_from_server == "wpeditor.txt")
-               entry_name = "Waypoint editor quickmenu";
+               entry_name = _("Waypoint editor quickmenu");
        QUICKMENU_ENTRY(entry_name, "quickmenu; wait; quickmenu \"\" \"\" $_hud_panel_quickmenu_file_from_server")
        }