Skip to content

Commit

Permalink
add more translation
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 28, 2024
1 parent 02626b5 commit 86e4ea3
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Moonglade.Web/Pages/Settings/Image.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
var settings = BlogConfig.ImageSettings;
}

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

Expand Down Expand Up @@ -88,7 +88,7 @@
<div class="col">
<label asp-for="@settings.IsWatermarkEnabled" class="form-check-label"></label>
<div class="form-text">
Watermark will be placed at the right bottom corner of the image
@SharedLocalizer["Watermark will be placed at the right bottom corner of the image"]
</div>
</div>
<div class="col-md-5 text-end">
Expand All @@ -106,7 +106,7 @@
<div class="col">
<label asp-for="@settings.KeepOriginImage" class="form-check-label"></label>
<div class="form-text">
Also save the origin image as a backup while adding watermark
@SharedLocalizer["Save the origin image as a backup while adding watermark"]
</div>
</div>
<div class="col-5 text-end">
Expand Down Expand Up @@ -136,7 +136,7 @@
<div class="col">
<label asp-for="@settings.WatermarkSkipPixel"></label>
<div class="form-text">
Add watermark only when image pixcel (HxW) is greater than this value.
@SharedLocalizer["Add watermark only when image pixcel (HxW) is greater than this value."]
</div>
</div>
<div class="col-5">
Expand All @@ -151,7 +151,7 @@
<div class="col">
<label>Alpha</label>
<div class="form-text">
Transparency value (0-255).
@SharedLocalizer["Transparency value (0-255)."]
</div>
</div>
<div class="col-5">
Expand Down
18 changes: 18 additions & 0 deletions src/Moonglade.Web/Resources/Program.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -957,4 +957,22 @@
<data name="Show post outline as side navigation" xml:space="preserve">
<value>Die Artikelgliederung wird in der seitlichen Navigationsleiste angezeigt</value>
</data>
<data name="Watermark will be placed at the right bottom corner of the image" xml:space="preserve">
<value>Das Wasserzeichen wird in der unteren rechten Ecke des Bildes platziert</value>
</data>
<data name="Save the origin image as a backup while adding watermark" xml:space="preserve">
<value>Speichern Sie das Originalbild als Backup, wenn Sie ein Wasserzeichen hinzufügen</value>
</data>
<data name="CDN endpoint" xml:space="preserve">
<value>CDN Endpunkt</value>
</data>
<data name="Add watermark only when image pixcel (HxW) is greater than this value." xml:space="preserve">
<value>Wasserzeichen werden nur hinzugefügt, wenn die Bildpixel (HxB) größer als dieser Wert sind.</value>
</data>
<data name="Transparency value (0-255)." xml:space="preserve">
<value>Transparenzwert (0-255)</value>
</data>
<data name="Watermark skip pixel threshold" xml:space="preserve">
<value>Überspringen des Schwellenwerts für Wasserzeichenpixel</value>
</data>
</root>
18 changes: 18 additions & 0 deletions src/Moonglade.Web/Resources/Program.ja-JP.resx
Original file line number Diff line number Diff line change
Expand Up @@ -957,4 +957,22 @@
<data name="Show post outline as side navigation" xml:space="preserve">
<value>記事の概要は、サイドナビゲーションバーに表示されます</value>
</data>
<data name="Watermark will be placed at the right bottom corner of the image" xml:space="preserve">
<value>透かしは画像の右下隅に配置されます</value>
</data>
<data name="Save the origin image as a backup while adding watermark" xml:space="preserve">
<value>透かしを追加するときは、元の画像をバックアップとして保存します</value>
</data>
<data name="CDN endpoint" xml:space="preserve">
<value>CDN端末</value>
</data>
<data name="Add watermark only when image pixcel (HxW) is greater than this value." xml:space="preserve">
<value>ウォーターマークは、画像のピクセル (HxW) がこの値より大きい場合にのみ追加されます。</value>
</data>
<data name="Transparency value (0-255)." xml:space="preserve">
<value>透明度の値 (0-255)</value>
</data>
<data name="Watermark skip pixel threshold" xml:space="preserve">
<value>ウォーターマークのピクセルしきい値をスキップする</value>
</data>
</root>
18 changes: 18 additions & 0 deletions src/Moonglade.Web/Resources/Program.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -948,12 +948,30 @@
<data name="Third party" xml:space="preserve">
<value>三方</value>
</data>
<data name="Add watermark only when image pixcel (HxW) is greater than this value." xml:space="preserve">
<value>仅当图像像素 (HxW) 大于此值时添加水印</value>
</data>
<data name="CDN endpoint" xml:space="preserve">
<value>CDN 终端</value>
</data>
<data name="Post title alignment" xml:space="preserve">
<value>文章标题对齐方式</value>
</data>
<data name="Save the origin image as a backup while adding watermark" xml:space="preserve">
<value>添加水印时将原始图像保存为备份</value>
</data>
<data name="Show post outline as side navigation" xml:space="preserve">
<value>在侧边导航栏显示文章大纲</value>
</data>
<data name="Transparency value (0-255)." xml:space="preserve">
<value>透明度值 (0-255)</value>
</data>
<data name="Watermark skip pixel threshold" xml:space="preserve">
<value>跳过水印像素阈值</value>
</data>
<data name="Watermark will be placed at the right bottom corner of the image" xml:space="preserve">
<value>水印将放置在图像的右下角</value>
</data>
<data name="Word count in abstract" xml:space="preserve">
<value>摘要字数</value>
</data>
Expand Down
18 changes: 18 additions & 0 deletions src/Moonglade.Web/Resources/Program.zh-Hant.resx
Original file line number Diff line number Diff line change
Expand Up @@ -960,4 +960,22 @@
<data name="Show post outline as side navigation" xml:space="preserve">
<value>在側邊導航欄顯示文章大綱</value>
</data>
<data name="Watermark will be placed at the right bottom corner of the image" xml:space="preserve">
<value>浮浮水印將放置在圖像的右下角</value>
</data>
<data name="Save the origin image as a backup while adding watermark" xml:space="preserve">
<value>添加浮浮浮水印時將原始影像保存為備份</value>
</data>
<data name="CDN endpoint" xml:space="preserve">
<value>CDN 終端</value>
</data>
<data name="Add watermark only when image pixcel (HxW) is greater than this value." xml:space="preserve">
<value>僅當圖像圖元 (HxW) 大於此值時添加浮浮水印。</value>
</data>
<data name="Transparency value (0-255)." xml:space="preserve">
<value>透明度值 (0-255)</value>
</data>
<data name="Watermark skip pixel threshold" xml:space="preserve">
<value>跳過浮浮浮水印圖元閾值</value>
</data>
</root>

0 comments on commit 86e4ea3

Please sign in to comment.