mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add translation for webfront
discord link has been genericized to social link
This commit is contained in:
@ -13,7 +13,7 @@ namespace WebfrontCore.Controllers
|
||||
public IActionResult Index()
|
||||
{
|
||||
ViewBag.Description = "IW4MAdmin is a complete server administration tool for IW4x.";
|
||||
ViewBag.Title = "Server Overview";
|
||||
ViewBag.Title = Localization["WEBFRONT_HOME_TITLE"];
|
||||
ViewBag.Keywords = "IW4MAdmin, server, administration, IW4x, MW2, Modern Warfare 2";
|
||||
|
||||
return View();
|
||||
@ -21,8 +21,8 @@ namespace WebfrontCore.Controllers
|
||||
|
||||
public IActionResult Error()
|
||||
{
|
||||
ViewBag.Description = "IW4MAdmin encountered an error";
|
||||
ViewBag.Title = "Error!";
|
||||
ViewBag.Description = Localization["WEBFRONT_ERROR_DESC"];
|
||||
ViewBag.Title = Localization["WEBFRONT_ERROR_TITLE"];
|
||||
return View();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user