mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 03:36:38 +00:00
playername → player name
Patch By: Gallaecio Differential Revision: https://code.wildfiregames.com/D1537 This was SVN commit r22123.
This commit is contained in:
@@ -176,7 +176,7 @@ function colorizeHotkey(text, hotkey)
|
||||
*/
|
||||
function colorizeAutocompleteHotkey(string)
|
||||
{
|
||||
return sprintf(string || translate("Press %(hotkey)s to autocomplete playernames."), {
|
||||
return sprintf(string || translate("Press %(hotkey)s to autocomplete player names."), {
|
||||
"hotkey":
|
||||
setStringTags("\\[" + translateWithContext("hotkey", "Tab") + "]", g_HotkeyTags)
|
||||
});
|
||||
|
||||
@@ -997,7 +997,7 @@ var g_MiscControls = {
|
||||
},
|
||||
},
|
||||
"chatInput": {
|
||||
"tooltip": () => colorizeAutocompleteHotkey(translate("Press %(hotkey)s to autocomplete playernames or settings.")),
|
||||
"tooltip": () => colorizeAutocompleteHotkey(translate("Press %(hotkey)s to autocomplete player names or settings.")),
|
||||
},
|
||||
"cheatWarningText": {
|
||||
"hidden": () => !g_IsNetworked || !g_GameAttributes.settings.CheatsEnabled,
|
||||
|
||||
@@ -190,7 +190,7 @@ function sanitizeGameAttributes(attribs)
|
||||
function initHotkeyTooltips()
|
||||
{
|
||||
Engine.GetGUIObjectByName("playersFilter").tooltip =
|
||||
translate("Filter replays by typing one or more, partial or complete playernames.") +
|
||||
translate("Filter replays by typing one or more, partial or complete player names.") +
|
||||
" " + colorizeAutocompleteHotkey();
|
||||
|
||||
Engine.GetGUIObjectByName("deleteReplayButton").tooltip = deleteTooltip();
|
||||
|
||||
Reference in New Issue
Block a user