This commit is contained in:
zel
2025-02-07 16:16:10 +08:00
parent 83aade6ac7
commit e38d4d76a2
24 changed files with 119 additions and 159 deletions

View File

@@ -640,7 +640,7 @@ namespace TightWiki.Controllers
SessionState.SetPageId(page.Id);
model.SuccessMessage = "The page was saved.";
model.SuccessMessage = "保存成功";
if (string.IsNullOrWhiteSpace(originalNavigation) == false)
{
@@ -736,7 +736,7 @@ namespace TightWiki.Controllers
}
else
{
return NotFound($"[{fileNavigation}] was not found on the page [{pageNavigation}].");
return NotFound($"[{fileNavigation}] 无法在页面 [ {pageNavigation} ] 中找到.");
}
}
@@ -802,7 +802,7 @@ namespace TightWiki.Controllers
}
else
{
return NotFound($"[{fileNavigation}] was not found on the page [{pageNavigation}].");
return NotFound($"[{fileNavigation}] 无法在页面 [{pageNavigation}] 中找到.");
}
}
@@ -830,7 +830,7 @@ namespace TightWiki.Controllers
else
{
HttpContext.Response.StatusCode = 404;
return NotFound($"[{fileNavigation}] was not found on the page [{pageNavigation}].");
return NotFound($"[{fileNavigation}] 无法在页面 [{pageNavigation}] 中找到.");
}
}