i18n: Clear up UI strings (#188)

* Rename "Protected mode" to "Prevent Closing"

* Use Title Case for action text

* Rephrase some settings labels

* Grammar fixes in aboutdialog

* Rename rotate right and left to clockwise and counterclockwise

* Rename go to next frame

* Ran lupdate

* Revert "Ran lupdate"

This reverts commit 60d994361f080f4c6e797fe9378283ab75fd9823.

* Migrate translations to the new source strings

* Rename Copy Image to Copy as Raster Image

* Revert back to built-in instead of custom

* Rename Prevent Closing to Lock Mode

* Clarify Lock Mode behavior

* Mark lock mode description translations as unfinished
This commit is contained in:
Tech-Tac authored and GitHub committed 2026-10-03 09:36:13 +08:00
1 parent 0ed8aaf7c2
commit 4c359ec56f
24 files changed
+1326 -1328

No files matched your search

+35 -35
View File
@@ -10,12 +10,12 @@
</message>
<message>
<location filename="../aboutdialog.cpp" line="32"/>
<source>Launch application with image file path as argument to load the file.</source>
<source>Launch the application using an image file path as an argument to load the file.</source>
<translation>Khởi chạy ứng dụng với đường dẫn tệp hình ảnh làm đối số để tải tệp.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="33"/>
<source>Drag and drop image file onto the window is also supported.</source>
<source>Dragging and dropping an image file onto the window is also supported.</source>
<translation>Kéo và thả tệp hình ảnh vào cửa sổ cũng được hỗ trợ.</translation>
</message>
<message>
@@ -25,18 +25,18 @@
</message>
<message>
<location filename="../aboutdialog.cpp" line="35"/>
<source>Context menu option explanation:</source>
<source>Context menu options explanation:</source>
<translation>Giải thích tùy chọn menu ngữ cảnh:</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="42"/>
<source>Make window stay on top of all other windows.</source>
<source>Make the window stay on top of all other windows.</source>
<translation>Đặt cửa sổ ở trên cùng của tất cả các cửa sổ khác.</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="45"/>
<source>Avoid close window accidentally. (eg. by double clicking the window)</source>
<translation>Tránh vô tình đóng cửa sổ. (ví dụ: bằng cách nhấp đúp vào cửa sổ)</translation>
<source>Prevent accidentally switching the image or closing the window.</source>
<translation type="unfinished">Tránh vô tình đóng cửa sổ. (ví dụ: bằng cách nhấp đúp vào cửa sổ)</translation>
</message>
<message>
<location filename="../aboutdialog.cpp" line="48"/>
@@ -175,8 +175,8 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
<context>
<name>GraphicsScene</name>
<message>
<location filename="../mainwindow.cpp" line="305"/>
<location filename="../graphicsscene.cpp" line="102"/>
<location filename="../mainwindow.cpp" line="305"/>
<source>Drag image here</source>
<translation>Kéo hình ảnh vào đây</translation>
</message>
@@ -269,7 +269,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="108"/>
<source>Copy P&amp;ixmap</source>
<source>Copy as Raster &amp;Image</source>
<translation>Sao chép P&amp;ixmap</translation>
</message>
<message>
@@ -283,27 +283,27 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
<translation>Thuộc tính</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="112"/>
<location filename="../aboutdialog.cpp" line="41"/>
<source>Stay on top</source>
<location filename="../actionmanager.cpp" line="112"/>
<source>Stay on Top</source>
<translation>Luôn trên đầu</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="113"/>
<location filename="../aboutdialog.cpp" line="44"/>
<source>Protected mode</source>
<location filename="../actionmanager.cpp" line="113"/>
<source>Lock Mode</source>
<translation>Chế độ bảo vệ</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="114"/>
<location filename="../aboutdialog.cpp" line="47"/>
<source>Keep transformation</source>
<location filename="../actionmanager.cpp" line="114"/>
<source>Keep Transformation</source>
<comment>The &apos;transformation&apos; means the flip/rotation status that currently applied to the image view</comment>
<translation>Giữ sự chuyển đổi</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="92"/>
<source>Zoom in</source>
<source>Zoom In</source>
<translation>Phóng to</translation>
</message>
<message>
@@ -313,7 +313,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="93"/>
<source>Zoom out</source>
<source>Zoom Out</source>
<translation>Thu nhỏ</translation>
</message>
<message>
@@ -323,7 +323,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="102"/>
<source>Animation Go to Next Frame</source>
<source>Next Animation Frame</source>
<translation>Hoạt hình Chuyển đến khung tiếp theo</translation>
</message>
<message>
@@ -333,17 +333,17 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="105"/>
<source>Fit to view</source>
<source>Fit to View</source>
<translation>Phù hợp để xem</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="106"/>
<source>Fit to width</source>
<source>Fit to Width</source>
<translation>Vừa với chiều rộng</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="107"/>
<source>Fit long image</source>
<source>Fit Long Image</source>
<translation>Vừa với hình ảnh dài</translation>
</message>
<message>
@@ -363,37 +363,37 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="90"/>
<source>Actual size</source>
<source>Actual Size</source>
<translation>Kích thước thực tế</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="91"/>
<source>Toggle maximize</source>
<source>Toggle Maximize</source>
<translation>Chuyển đổi tối đa hóa</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="95"/>
<source>Rotate right</source>
<source>Rotate Clockwise</source>
<translation>Xoay phải</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="96"/>
<source>Rotate left</source>
<source>Rotate Counterclockwise</source>
<translation>Xoay trái</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="98"/>
<source>Previous image</source>
<source>Previous Image</source>
<translation>Hình ảnh trước đó</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="99"/>
<source>Next image</source>
<source>Next Image</source>
<translation>Hình ảnh tiếp theo</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="892"/>
<location filename="../actionmanager.cpp" line="111"/>
<location filename="../mainwindow.cpp" line="892"/>
<source>Move to Trash</source>
<translation>Chuyển vào Thùng rác</translation>
</message>
@@ -415,7 +415,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../actionmanager.cpp" line="125"/>
<source>Show in directory</source>
<source>Show in Directory</source>
<translation>Hiển thị trong thư mục</translation>
</message>
<message>
@@ -776,7 +776,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="75"/>
<source>Please check if shortcuts are duplicated with existing shortcuts.</source>
<source>Please check if these shortcuts are assigned to other actions.</source>
<translation>Vui lòng kiểm tra xem các phím tắt có bị trùng lặp với các phím tắt hiện có hay không.</translation>
</message>
<message>
@@ -811,7 +811,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="94"/>
<source>Auto size</source>
<source>Auto</source>
<translation>Kích thước tự động</translation>
</message>
<message>
@@ -850,12 +850,12 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="126"/>
<source>Stay on top when start-up</source>
<source>Stay on top by default</source>
<translation>Luôn dẫn đầu khi khởi nghiệp</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="127"/>
<source>Use built-in close window animation</source>
<source>Use built-in window closing animation</source>
<translation>Sử dụng hoạt ảnh đóng cửa sổ tích hợp</translation>
</message>
<message>
@@ -870,7 +870,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="130"/>
<source>Use light-color checkerboard</source>
<source>Use light-colored checkerboard</source>
<translation>Sử dụng bàn cờ màu sáng</translation>
</message>
<message>
@@ -880,7 +880,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="132"/>
<source>Auto long image mode</source>
<source>Automatically fit long images</source>
<translation>Chế độ hình ảnh dài tự động</translation>
</message>
<message>
@@ -900,7 +900,7 @@ Loc Huynh &lt;https://github.com/hthienloc&gt;</translation>
</message>
<message>
<location filename="../settingsdialog.cpp" line="136"/>
<source>Default window size</source>
<source>Default window state</source>
<translation>Kích thước cửa sổ mặc định</translation>
</message>
<message>