汉化部分
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3>Account Email Verification</h3>
|
||||
<h3>帐户电子邮件验证</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
|
||||
@@ -19,8 +19,8 @@
|
||||
}
|
||||
|
||||
<p>
|
||||
Already a member? <a href="@GlobalConfiguration.BasePath/Account/Login">Login</a>.<br />
|
||||
Forgot your password? @Html.ActionLink("Reset it.", "Forgot", "Account").<br />
|
||||
已有账号? <a href="@GlobalConfiguration.BasePath/Account/Login">登录</a>.<br />
|
||||
忘记密码? @Html.ActionLink("Reset it.", "Forgot", "Account").<br />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19,18 +19,18 @@
|
||||
{
|
||||
<div class="card border-danger mb-3">
|
||||
<div class="card-header bg-danger text-white">
|
||||
<strong>Delete account "@Model.AccountName"?</strong>
|
||||
<strong>删除账号 "@Model.AccountName"?</strong>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
Deleting "@Model.AccountName" will permanently remove the account. All pages created or modified by this user will be attributed to a stand-in account.
|
||||
<strong>You will not be able to revert this action. </strong>
|
||||
账号 "@Model.AccountName" 将永远删除。此用户创建或修改的所有页面都将归属于一个代理帐户.
|
||||
<strong>您将无法恢复此操作。</strong>
|
||||
<br /><br />
|
||||
|
||||
Are you sure you want to continue with this deletion?<br /><br />
|
||||
确认继续吗?<br /><br />
|
||||
|
||||
@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
|
||||
{
|
||||
<div class="form-group"><button type="submit" class="btn btn-danger rounded-0" name="IsActionConfirmed" value="true">Yes</button> <button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false">No</button></div>
|
||||
<div class="form-group"><button type="submit" class="btn btn-danger rounded-0" name="IsActionConfirmed" value="true">是</button> <button type="submit" class="btn btn-success rounded-0" name="IsActionConfirmed" value="false">否</button></div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
|
||||
<div class="card border-danger mb-3">
|
||||
<div class="card-header bg-danger text-white">
|
||||
<strong>Account Deleted!</strong>
|
||||
<strong>账号已删除!</strong>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
The account has been deleted and all content that was created or modified by this account has been attributed to an anonymized profile..<br /><br />
|
||||
该帐户已被删除,此帐户创建或修改的所有内容均已归因于匿名配置文件。<br /><br />
|
||||
|
||||
<br /><br />
|
||||
@if (TightWiki.Models.GlobalConfiguration.AllowSignup == true)
|
||||
{
|
||||
@:Not a member? <a href="@GlobalConfiguration.BasePath/Identity/Account/Register">Register as a new user</a>.<br />
|
||||
@:没有账号? <a href="@GlobalConfiguration.BasePath/Identity/Account/Register">注册新账号</a>。<br />
|
||||
}
|
||||
Already a member? <a href="@GlobalConfiguration.BasePath/Identity/Account/Login">Login</a>.<br />
|
||||
已有账号? <a href="@GlobalConfiguration.BasePath/Identity/Account/Login">登录</a>。<br />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
}
|
||||
|
||||
<h3>
|
||||
Profile
|
||||
简介
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
@* <p>
|
||||
This is your profile, do with it what you may.<br /><br />
|
||||
</p>
|
||||
</p> *@
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
|
||||
{
|
||||
@@ -31,7 +31,7 @@
|
||||
@Html.HiddenFor(m => m.AccountProfile.Navigation)
|
||||
|
||||
<div class="form-group row mb-1">
|
||||
<label for="Avatar" class="col-sm-2 col-form-label"><strong>Avatar</strong></label>
|
||||
<label for="Avatar" class="col-sm-2 col-form-label"><strong>头像</strong></label>
|
||||
<div class="col-sm-10">
|
||||
@if (@Model.AccountProfile.Navigation != "")
|
||||
{
|
||||
@@ -110,7 +110,7 @@
|
||||
<label for="Theme" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.AccountProfile.Theme)</strong></label>
|
||||
<div class="col-sm-10">
|
||||
<select name="AccountProfile.Theme" id="AccountProfile.Theme" class="form-control">
|
||||
<option value="">System Default</option>
|
||||
<option value="">默认主题</option>
|
||||
@foreach (var item in Model.Themes)
|
||||
{
|
||||
<option value="@item.Name" selected=@(Model.AccountProfile.Theme == item.Name ? "selected" : null)>
|
||||
@@ -130,7 +130,7 @@
|
||||
<label for="Country" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.AccountProfile.Country)</strong></label>
|
||||
<div class="col-sm-10">
|
||||
<select name="AccountProfile.Country" id="AccountProfile.Country" class="form-control">
|
||||
<option value="" style="color:#ccc !important;">Select a country</option>
|
||||
<option value="" style="color:#ccc !important;">选择一个国家</option>
|
||||
@foreach (var item in Model.Countries)
|
||||
{
|
||||
<option value="@item.Value" selected=@(Model.AccountProfile.Country == item.Value ? "selected" : null)>
|
||||
@@ -150,7 +150,7 @@
|
||||
<label for="Language" class="col-sm-2 col-form-label"><strong>@Html.LabelFor(m => m.AccountProfile.Language)</strong></label>
|
||||
<div class="col-sm-10">
|
||||
<select name="AccountProfile.Language" id="AccountProfile.Language" class="form-control">
|
||||
<option value="" style="color:#ccc !important;">Select a language</option>
|
||||
<option value="" style="color:#ccc !important;">选择一种语言</option>
|
||||
@foreach (var item in Model.Languages)
|
||||
{
|
||||
<option value="@item.Value" selected=@(Model.AccountProfile.Language == item.Value ? "selected" : null)>
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
<div class="form-group row mb-1">
|
||||
<div class="col-sm-10 offset-sm-2">
|
||||
<button type="submit" class="btn btn-primary rounded-0">Save!</button>
|
||||
<button type="submit" class="btn btn-primary rounded-0">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user