Skip to content

Commit

Permalink
update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 28, 2024
1 parent f05c652 commit c4e68ba
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/Moonglade.Web/Pages/Admin/Post.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ViewBag.Title = "Posts";
}

@section scripts{
@section scripts {
<script type="module">
import * as utils from '/js/app/utils.module.js'
Expand All @@ -32,7 +32,7 @@
</script>
}

@section admintoolbar{
@section admintoolbar {
<partial name="_PostManageHeader" />
}

Expand All @@ -41,7 +41,7 @@
<div>
<form method="post">
<div class="d-flex search-box mb-3">
<input type="search" aria-label="Search" asp-for="SearchTerm" class="form-control" placeholder="Search" />
<input type="search" aria-label="Search" asp-for="SearchTerm" class="form-control" placeholder="@SharedLocalizer["Search"]" />
<button class="btn btn-light btn-search my-sm-0" type="submit"><i class="bi-search text-dark"></i></button>
</div>
</form>
Expand Down Expand Up @@ -71,7 +71,7 @@
{
<i class="bi-star-fill text-warning"></i>
}

@if (item.IsOutdated)
{
<span class="badge rounded-pill text-bg-secondary ms-2">Outdated</span>
Expand All @@ -97,9 +97,9 @@
</div>
}

@Html.PagedListPager(Model.PostSegments, page => $"?pageIndex={page}&searchTerm={Model.SearchTerm}", new ()
{
UlElementClasses = new[] {"pagination mt-4"}
})
@Html.PagedListPager(Model.PostSegments, page => $"?pageIndex={page}&searchTerm={Model.SearchTerm}", new()
{
UlElementClasses = new[] { "pagination mt-4" }
})
}
</div>
2 changes: 1 addition & 1 deletion src/Moonglade.Web/Pages/Admin/Tags.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
}

<div>
<input id="tagFilter" type="text" class="form-control mb-3" maxlength="32" placeholder="Filter..">
<input id="tagFilter" type="text" class="form-control mb-3" maxlength="32" placeholder="@SharedLocalizer["Filter"]">

<ul class="list-unstyled ul-tag-mgr">
@foreach (var tag in tags.OrderBy(model => model.DisplayName))
Expand Down
3 changes: 3 additions & 0 deletions src/Moonglade.Web/Resources/Program.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1008,4 +1008,7 @@
<data name="Client IP Address" xml:space="preserve">
<value>Client-IP-Adresse</value>
</data>
<data name="Filter" xml:space="preserve">
<value>sieben</value>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Moonglade.Web/Resources/Program.ja-JP.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1008,4 +1008,7 @@
<data name="Client IP Address" xml:space="preserve">
<value>クライアント IP アドレス</value>
</data>
<data name="Filter" xml:space="preserve">
<value>篩に掛ける</value>
</data>
</root>
3 changes: 3 additions & 0 deletions src/Moonglade.Web/Resources/Program.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,9 @@
<data name="Enable Webmention" xml:space="preserve">
<value>启用 Webmention</value>
</data>
<data name="Filter" xml:space="preserve">
<value>筛选</value>
</data>
<data name="Foot JavaScript" xml:space="preserve">
<value>尾部 JavaScript</value>
</data>
Expand Down
3 changes: 3 additions & 0 deletions src/Moonglade.Web/Resources/Program.zh-Hant.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1011,4 +1011,7 @@
<data name="Client IP Address" xml:space="preserve">
<value>用戶端IP位址</value>
</data>
<data name="Filter" xml:space="preserve">
<value>篩選</value>
</data>
</root>

0 comments on commit c4e68ba

Please sign in to comment.