Allow localizaton of more base plugin strings (bug 5120, r=asherkin).

This commit is contained in:
Nicholas Hastings
2013-04-08 08:00:13 -04:00
parent a963427967
commit c0d1aaa8a0
12 changed files with 105 additions and 22 deletions
+7
View File
@@ -335,3 +335,10 @@ public OnAdminMenuReady(Handle:topmenu)
}
}
AddTranslatedMenuItem(Handle:menu, const String:opt[], const String:phrase[], client)
{
decl String:buffer[128];
Format(buffer, sizeof(buffer), "%T", phrase, client);
AddMenuItem(menu, opt, buffer);
}