Update english translation file

This commit is contained in:
Spiros
2025-05-29 22:30:06 +03:00
parent 931b0353da
commit a9f8e658ef
2 changed files with 41 additions and 6 deletions

View File

@@ -67,9 +67,9 @@ You can translate QDiskInfo to your language very easily using [Crowdin](https:/
LC_ALL=de_DE.UTF-8 ./QDiskInfo
```
to force the app to use the language of your choice.<br>
<br>If changes were made to the original strings and your Qt version is <6.7 you can use the `lupdate` command to update the .ts files, for example to update the German translation file you would run
<br>If changes were made to the original strings and your Qt version is <6.7 you can use the `lupdate` command to update the .ts files, for example to update the German translation file from the project's root you would run
```sh
lupdate src/ -ts translations/qdiskinfo_de_DE.ts -noobsolete
lupdate . -ts translations/qdiskinfo_de_DE.ts -noobsolete
```
For Qt >=6.7 this is done automatically when running `make`.

View File

@@ -1,6 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>GridView</name>
<message>
<source>Grid View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search for a disk...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
@@ -91,10 +102,6 @@
<source>Disk</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Save JSON</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
@@ -335,6 +342,34 @@
<source>Binary data saved successfully.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Save (JSON)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ctrl+T</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Grid View</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Save (Image)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Save Image</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>PNG Files (*.png)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&amp;Save JSON</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>