Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdiskmark for openSUSE:Factory 
checked in at 2023-04-16 16:07:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdiskmark (Old)
 and      /work/SRC/openSUSE:Factory/.kdiskmark.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdiskmark"

Sun Apr 16 16:07:24 2023 rev:9 rq:1079716 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdiskmark/kdiskmark.changes      2022-09-23 
14:15:41.218046076 +0200
+++ /work/SRC/openSUSE:Factory/.kdiskmark.new.19717/kdiskmark.changes   
2023-04-16 16:07:41.601030724 +0200
@@ -1,0 +2,8 @@
+Sat Apr 15 21:17:46 UTC 2023 - Dmitry Sidorov <jonma...@gmail.com>
+
+- Update to version 3.1.3
+  * Benchmark file name is randomly generated
+  * Fixed the device list template when changing the locale
+  * Japanese localization
+
+-------------------------------------------------------------------

Old:
----
  KDiskMark-3.1.2.tar.gz

New:
----
  KDiskMark-3.1.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdiskmark.spec ++++++
--- /var/tmp/diff_new_pack.oTV0dA/_old  2023-04-16 16:07:42.097033584 +0200
+++ /var/tmp/diff_new_pack.oTV0dA/_new  2023-04-16 16:07:42.101033606 +0200
@@ -19,7 +19,7 @@
 
 %define _singleapplication_version 3.3.4
 Name:           kdiskmark
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 Summary:        A simple open-source disk benchmark tool for Linux distros
 License:        GPL-3.0-only

++++++ KDiskMark-3.1.2.tar.gz -> KDiskMark-3.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/.github/workflows/main.yml 
new/KDiskMark-3.1.3/.github/workflows/main.yml
--- old/KDiskMark-3.1.2/.github/workflows/main.yml      2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/.github/workflows/main.yml      2023-04-15 
15:34:29.000000000 +0200
@@ -19,9 +19,9 @@
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-18.04]
+        os: [ubuntu-20.04]
         include:
-          - os: ubuntu-18.04
+          - os: ubuntu-20.04
             CXXFLAGS: '-Wall -Wextra -pedantic -Werror'
     steps:
     - name: Clone repo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/.github/workflows/release.yml 
new/KDiskMark-3.1.3/.github/workflows/release.yml
--- old/KDiskMark-3.1.2/.github/workflows/release.yml   2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/.github/workflows/release.yml   2023-04-15 
15:34:29.000000000 +0200
@@ -27,10 +27,10 @@
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-18.04]
+        os: [ubuntu-20.04]
         arch: [amd64]
         include:
-          - os: ubuntu-18.04
+          - os: ubuntu-20.04
             cmake-defines: '-D CPACK_GENERATOR="DEB;RPM;7Z" -D 
CMAKE_BUILD_TYPE=Release'
             upload-files: 'build/*.deb;build/*.rpm;build/*.7z'
     steps:
@@ -65,13 +65,13 @@
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [ubuntu-18.04]
+        os: [ubuntu-20.04]
         arch: [amd64]
         include:
-          - os: ubuntu-18.04
-            bundled-fio: '3.32'
+          - os: ubuntu-20.04
+            bundled-fio: '3.34'
             cmake-defines: '-D CMAKE_BUILD_TYPE=Release'
-            upload-files: 'build/*.AppImage'
+            upload-files: 'build/{*.AppImage,*.AppImage.zsync}'
     steps:
     - name: Clone repo
       uses: actions/checkout@v2.2.0
@@ -104,8 +104,9 @@
 
     - name: Build
       run: |
-        SOURCE_NAME=$(awk -F/ '{print $NF}' <<<"${{ github.repository 
}}")-$(awk -F/ '{print $NF}' <<<"${{ github.ref }}")
-        APPIMAGE_NAME=$SOURCE_NAME-fio-${{ matrix.bundled-fio 
}}-x86_64.AppImage
+        REPO_NAME=$(awk -F/ '{print $NF}' <<<"${{ github.repository }}")
+        APP_VERSION=$(awk -F/ '{print $NF}' <<<"${{ github.ref }}")
+        APPIMAGE_NAME=$REPO_NAME-$APP_VERSION-fio-${{ matrix.bundled-fio 
}}-x86_64.AppImage
         mkdir build
         cd build
         mkdir appdir
@@ -121,8 +122,9 @@
         cp -a /usr/share/icons/breeze appdir/usr/share/icons/
         sudo mkdir /opt/Qt/5.15.1/gcc_64/plugins/styles/
         sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/breeze.so 
/opt/Qt/5.15.1/gcc_64/plugins/styles/
-        ../3rd-party/linuxdeployqt-continuous-x86_64.AppImage 
appdir/usr/share/applications/*.desktop -appimage 
-qmake=/opt/Qt/5.15.1/gcc_64/bin/qmake -extra-plugins=styles/breeze.so
-        mv *.AppImage $APPIMAGE_NAME
+        export VERSION=$APP_VERSION-fio-${{ matrix.bundled-fio }}
+        ../3rd-party/linuxdeployqt-continuous-x86_64.AppImage 
appdir/usr/share/applications/*.desktop -appimage 
-qmake=/opt/Qt/5.15.1/gcc_64/bin/qmake \
+          -extra-plugins=styles/breeze.so 
-updateinformation="gh-releases-zsync|${{ github.repository_owner 
}}|$REPO_NAME|latest|*.zsync"
 
     - name: Upload
       uses: AButler/upload-release-assets@v2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/CMakeLists.txt 
new/KDiskMark-3.1.3/CMakeLists.txt
--- old/KDiskMark-3.1.2/CMakeLists.txt  2022-09-16 11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/CMakeLists.txt  2023-04-15 15:34:29.000000000 +0200
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.5)
 
-project(kdiskmark VERSION 3.1.2 LANGUAGES CXX)
+project(kdiskmark VERSION 3.1.3 LANGUAGES CXX)
 
 set(CMAKE_PROJECT_HOMEPAGE_URL "https://github.com/JonMagon/KDiskMark";)
 set(CMAKE_PROJECT_DESCRIPTION "A simple open source disk benchmark tool for 
Linux distros")
@@ -70,6 +70,7 @@
     data/translations/${PROJECT_NAME}_hi_IN.ts
     data/translations/${PROJECT_NAME}_hu_HU.ts
     data/translations/${PROJECT_NAME}_it_IT.ts
+    data/translations/${PROJECT_NAME}_ja_JP.ts
     data/translations/${PROJECT_NAME}_pl_PL.ts
     data/translations/${PROJECT_NAME}_pt_BR.ts
     data/translations/${PROJECT_NAME}_ru_RU.ts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/README.md 
new/KDiskMark-3.1.3/README.md
--- old/KDiskMark-3.1.2/README.md       2022-09-16 11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/README.md       2023-04-15 15:34:29.000000000 +0200
@@ -56,7 +56,7 @@
 * [SingleApplication](https://github.com/itay-grudev/SingleApplication) 
prevents launch of multiple application instances.
 
 ## Installation
-Binaries are available on the 
[Releases](https://github.com/JonMagon/KDiskMark/releases/latest) page. 
+Binaries are available on the 
[Releases](https://github.com/JonMagon/KDiskMark/releases/latest) page.
 
 ### Install from the Snap Store
 [![Get it from the Snap 
Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/kdiskmark)
@@ -65,6 +65,12 @@
 sudo snap connect kdiskmark:removable-media # external storages
 ````
 
+### Install from the Flathub repository
+[<img src="https://flathub.org/assets/badges/flathub-badge-i-en.png"; 
height="56">](https://flathub.org/apps/details/io.github.jonmagon.kdiskmark)
+```bash
+flatpak install flathub io.github.jonmagon.kdiskmark
+````
+
 ### Ubuntu based distros
 ```bash
 sudo add-apt-repository ppa:jonmagon/kdiskmark
@@ -121,6 +127,7 @@
 * Hindi
 * Hungarian
 * Italian
+* Japanese
 * Polish
 * Portuguese (Brazilian)
 * Russian
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/KDiskMark-3.1.2/data/dev.jonmagon.kdiskmark.helper.policy 
new/KDiskMark-3.1.3/data/dev.jonmagon.kdiskmark.helper.policy
--- old/KDiskMark-3.1.2/data/dev.jonmagon.kdiskmark.helper.policy       
2022-09-16 11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/dev.jonmagon.kdiskmark.helper.policy       
2023-04-15 15:34:29.000000000 +0200
@@ -12,6 +12,7 @@
       <message xml:lang="de">Legitimation ist zum Benchmarking 
erforderlich</message>
       <message xml:lang="fr">Autorisation est requise pour mesurer la 
performance des disques</message>
       <message xml:lang="hu">Hitelesítés szükséges a lemezek 
teljesítményértékeléséhez</message>
+      <message xml:lang="ja">特権的な KDiskMark 
の実行ヘルパー</message>
       <message xml:lang="pl">Wymagane jest uwierzytelnienie, aby przetestować 
dysk</message>
       <message xml:lang="ru">Требуется авторизация для 
тестирования дисков</message>
       <message xml:lang="sv">Kör KDiskMark-hjälpare med förhöjda 
rättigheter</message>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/icons/flags/JP.svg 
new/KDiskMark-3.1.3/data/icons/flags/JP.svg
--- old/KDiskMark-3.1.2/data/icons/flags/JP.svg 1970-01-01 01:00:00.000000000 
+0100
+++ new/KDiskMark-3.1.3/data/icons/flags/JP.svg 2023-04-15 15:34:29.000000000 
+0200
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="21px" height="15px" viewBox="0 0 21 15" version="1.1" 
xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";>
+    <!-- Generator: sketchtool 46 (44423) - 
http://www.bohemiancoding.com/sketch -->
+    <title>JP</title>
+    <desc>Created with sketchtool.</desc>
+    <defs>
+        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" 
id="linearGradient-1">
+            <stop stop-color="#FFFFFF" offset="0%"/>
+            <stop stop-color="#F0F0F0" offset="100%"/>
+        </linearGradient>
+        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" 
id="linearGradient-2">
+            <stop stop-color="#D81441" offset="0%"/>
+            <stop stop-color="#BB0831" offset="100%"/>
+        </linearGradient>
+    </defs>
+    <g id="Symbols" stroke="none" stroke-width="1" fill="none" 
fill-rule="evenodd">
+        <g id="JP">
+            <rect id="FlagBackground" fill="url(#linearGradient-1)" x="0" 
y="0" width="21" height="15"/>
+            <circle id="Oval-9" fill="url(#linearGradient-2)" cx="10.5" 
cy="7.5" r="4.5"/>
+        </g>
+    </g>
+</svg>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/icons/flags/flags.qrc 
new/KDiskMark-3.1.3/data/icons/flags/flags.qrc
--- old/KDiskMark-3.1.2/data/icons/flags/flags.qrc      2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/icons/flags/flags.qrc      2023-04-15 
15:34:29.000000000 +0200
@@ -8,6 +8,7 @@
         <file>HU.svg</file>
         <file>IN.svg</file>
         <file>IT.svg</file>
+        <file>JP.svg</file>
         <file>MX.svg</file>
         <file>PL.svg</file>
         <file>RU.svg</file>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/kdiskmark.desktop 
new/KDiskMark-3.1.3/data/kdiskmark.desktop
--- old/KDiskMark-3.1.2/data/kdiskmark.desktop  2022-09-16 11:12:03.000000000 
+0200
+++ new/KDiskMark-3.1.3/data/kdiskmark.desktop  2023-04-15 15:34:29.000000000 
+0200
@@ -8,6 +8,7 @@
 Comment[fr]=Un outil pour mesurer la performance des disques physiques
 Comment[hu]=Lemezek teljesítményét mérő alkalmazás
 Comment[it]=Uno strumento per misurare le prestazioni di dischi e memorie 
fisiche
+Comment[ja]=ディスクドライブのベンチマークツール
 Comment[pl]=Narzędzie do testowania wydajności dysków
 Comment[pt_BR]=Uma ferramenta de benchmark de discos
 Comment[ru]=Тестирование производительности 
накопителей
@@ -20,6 +21,7 @@
 Keywords[fr]=benchmark;disque;performance;
 Keywords[hu]=benchmark;teljesítmény;mérés;lemez;meghajtó;
 Keywords[it]=benchmark;disco;prestazioni;
+Keywords[ja]=ベンチマーク;ディスク;
 Keywords[pl]=benchmark;pomiar;wydajność;dysk;napęd;
 Keywords[pt_BR]=benchmark;disco;
 
Keywords[ru]=производительность;диск;накопитель;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark.ts  2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark.ts  2023-04-15 
15:34:29.000000000 +0200
@@ -376,12 +376,6 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation type="unfinished"></translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_cs_CZ.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_cs_CZ.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_cs_CZ.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_cs_CZ.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Potvrzení</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Touto akci budou přepsána data v %1.
-Chcete pokračovat?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Test se nezdařil</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_de_DE.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_de_DE.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_de_DE.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_de_DE.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Bestätigung</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Diese Aktion wird alle Datei in %1 zerstören.
-Wollen Sie fortfahren?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Aktion fehlgeschlagen</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_es_MX.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_es_MX.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_es_MX.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_es_MX.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Confirmación</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Esta acción destruye los datos en %1
-¿Deseas continuar?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Benchmark Falló</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_fr_FR.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_fr_FR.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_fr_FR.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_fr_FR.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Confirmation</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Cette action détruit les données en %1
-Vous voulez continuer ?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Échec de l&apos;évaluation comparative</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_hi_IN.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_hi_IN.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_hi_IN.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_hi_IN.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>पुष्टिकरण</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>इस कार्य से %1 का डेटा 
नष्ट हो जाएगा
-क्या आप जारी रखना चाहते 
हैं?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>मानदंड प्रक्रिया 
विफल</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_hu_HU.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_hu_HU.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_hu_HU.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_hu_HU.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -377,13 +377,6 @@
         <translation>Jóváhagyás</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>A művelet adattömböt fog létrehozni a(z) %1 fájlban.
-Folytatod?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Mérés sikertelen</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_it_IT.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_it_IT.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_it_IT.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_it_IT.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Conferma</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Quest&apos;azione cancellerà i dati in %1
-Vuoi continuare?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Benchmark non riuscito</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_ja_JP.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_ja_JP.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_ja_JP.ts    1970-01-01 
01:00:00.000000000 +0100
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_ja_JP.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -0,0 +1,568 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ja_JP" sourcelanguage="en">
+<context>
+    <name>About</name>
+    <message>
+        <location filename="../../src/about.ui" line="17"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="133"/>
+        <source>About KDiskMark</source>
+        <translation>KDiskMark について</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="62"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="135"/>
+        <source>Version:</source>
+        <translation>バージョン:</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="88"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="136"/>
+        <source>License:</source>
+        <translation>ライセンス:</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="114"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="137"/>
+        <source>Author:</source>
+        <translation>作者:</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="146"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="138"/>
+        <source>E-mail:</source>
+        <translation>E-mail:</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="178"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="139"/>
+        <source>Flexible I/O Tester:</source>
+        <translation>柔軟な I/O テスター:</translation>
+    </message>
+    <message>
+        <location filename="../../src/about.ui" line="204"/>
+        <location filename="../../build/kdiskmark_autogen/include/ui_about.h" 
line="140"/>
+        <source>Application Icon:</source>
+        <translation>アプリアイコン:</translation>
+    </message>
+</context>
+<context>
+    <name>Benchmark</name>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="240"/>
+        <source>Preparing...</source>
+        <translation>準備中...</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="258"/>
+        <source>Sequential Read %1/%2</source>
+        <translation>Sequential Read %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="262"/>
+        <source>Random Read %1/%2</source>
+        <translation>Random Read %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="268"/>
+        <source>Sequential Write %1/%2</source>
+        <translation>Sequential Write %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="272"/>
+        <source>Random Write %1/%2</source>
+        <translation>Random Write %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="278"/>
+        <source>Sequential Mix %1/%2</source>
+        <translation>Sequential Mix %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="282"/>
+        <source>Random Mix %1/%2</source>
+        <translation>Random Mix %1/%2</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="289"/>
+        <source>Interval Time %1/%2 sec</source>
+        <translation>インターバル %1/%2 sec</translation>
+    </message>
+    <message>
+        <location filename="../../src/benchmark.cpp" line="377"/>
+        <source>Could not obtain administrator privileges.</source>
+        <translation>管理者
権限を取得できませんでした。</translation>
+    </message>
+</context>
+<context>
+    <name>MainWindow</name>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="30"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="659"/>
+        <location filename="../../src/mainwindow.cpp" line="895"/>
+        <source>All</source>
+        <translation>All</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="221"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="662"/>
+        <location filename="../../src/mainwindow.cpp" line="423"/>
+        <location filename="../../src/mainwindow.cpp" line="427"/>
+        <source>MB/s</source>
+        <translation>MB/s</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="226"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="663"/>
+        <source>GB/s</source>
+        <translation>GB/s</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="231"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="664"/>
+        <location filename="../../src/mainwindow.cpp" line="429"/>
+        <location filename="../../src/mainwindow.cpp" line="430"/>
+        <source>IOPS</source>
+        <translation>IOPS</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="236"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="665"/>
+        <location filename="../../src/mainwindow.cpp" line="432"/>
+        <location filename="../../src/mainwindow.cpp" line="433"/>
+        <source>μs</source>
+        <translation>μs</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="352"/>
+        <location filename="../../src/mainwindow.ui" line="934"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="668"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="671"/>
+        <location filename="../../src/mainwindow.cpp" line="534"/>
+        <source>Read</source>
+        <translation>Read</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="521"/>
+        <location filename="../../src/mainwindow.ui" line="953"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="669"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="672"/>
+        <location filename="../../src/mainwindow.cpp" line="537"/>
+        <source>Write</source>
+        <translation>Write</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="687"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="670"/>
+        <location filename="../../src/mainwindow.cpp" line="540"/>
+        <source>Mix</source>
+        <translation>Mix</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1018"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="673"/>
+        <source>File</source>
+        <translation>ファイル</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1026"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="674"/>
+        <source>Settings</source>
+        <translation>設定</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1030"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="675"/>
+        <source>Test Data</source>
+        <translation>テストデータ</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1047"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="676"/>
+        <source>Profile</source>
+        <translation>プロファイル</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1063"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="677"/>
+        <source>Help</source>
+        <translation>ヘルプ</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1067"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="678"/>
+        <source>Language</source>
+        <translation>言語</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1075"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="679"/>
+        <source>Theme</source>
+        <translation>テーマ</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1091"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="634"/>
+        <source>About KDiskMark</source>
+        <translation>KDiskMark について</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1096"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="635"/>
+        <source>Queues &amp;&amp; Threads</source>
+        <translation>キュー数 &amp;&amp; スレッド数</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1101"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="636"/>
+        <source>Copy</source>
+        <translation>コピー</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1106"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="637"/>
+        <source>Save</source>
+        <translation>保存</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1111"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="638"/>
+        <source>Exit</source>
+        <translation>終了</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1122"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="639"/>
+        <source>Default</source>
+        <translation>デフォルト</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1130"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="640"/>
+        <source>Peak Performance</source>
+        <translation>ピーク性能</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1138"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="641"/>
+        <source>Real World Performance</source>
+        <translation>現実性能</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1146"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="642"/>
+        <source>Default [+Mix]</source>
+        <translation>デフォルト [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1154"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="643"/>
+        <source>Peak Performance [+Mix]</source>
+        <translation>ピーク性能 [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1162"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="644"/>
+        <source>Real World Performance [+Mix]</source>
+        <translation>現実性能 [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1173"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="645"/>
+        <source>Flush Pagecache</source>
+        <translation>ページキャッシュをフラッシュ</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1181"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="646"/>
+        <source>Demo</source>
+        <translation>デモ</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1192"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="647"/>
+        <source>Read and Write [+Mix]</source>
+        <translation>Read and Write [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1200"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="648"/>
+        <source>Read [+Mix]</source>
+        <translation>Read [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1208"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="649"/>
+        <source>Write [+Mix]</source>
+        <translation>Write [+Mix]</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1219"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="650"/>
+        <source>Random</source>
+        <translation>ランダム</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1227"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="651"/>
+        <source>Fill with zeros</source>
+        <translation>All 0x00 (0Fill)</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1238"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="652"/>
+        <source>Standard Preset</source>
+        <translation>標準プリセット</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1246"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="653"/>
+        <source>NVMe SSD</source>
+        <translation>NVMe SSD</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1257"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="654"/>
+        <source>Use Fusion</source>
+        <translation>Fusion</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1265"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="655"/>
+        <source>Stylesheet Light</source>
+        <translation>明るいスタイルシート</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1273"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="656"/>
+        <source>Stylesheet Dark</source>
+        <translation>暗いスタイルシート</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1281"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="657"/>
+        <source>Do not apply</source>
+        <translation>適用しない</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.ui" line="1292"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_mainwindow.h" line="658"/>
+        <source>Use O_DIRECT</source>
+        <translation>O_DIRECT を使用</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="53"/>
+        <source>The device is encrypted. Performance may drop.</source>
+        
<translation>デバイスが暗号化されています。性能が低下するå
 ´åˆãŒã‚ります。</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="256"/>
+        <location filename="../../src/mainwindow.cpp" line="315"/>
+        <source>Add a directory</source>
+        <translation>ディレクトリを追加</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="345"/>
+        <location filename="../../src/mainwindow.cpp" line="439"/>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>MiB</source>
+        <translation>MiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="349"/>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>GiB</source>
+        <translation>GiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="439"/>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>KiB</source>
+        <translation>KiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>Bytes</source>
+        <translation>Bytes</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>TiB</source>
+        <translation>TiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="507"/>
+        <source>PiB</source>
+        <translation>PiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="870"/>
+        <location filename="../../src/mainwindow.cpp" line="871"/>
+        <location filename="../../src/mainwindow.cpp" line="872"/>
+        <location filename="../../src/mainwindow.cpp" line="873"/>
+        <location filename="../../src/mainwindow.cpp" line="874"/>
+        <source>Stop</source>
+        <translation>Stop</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="922"/>
+        <source>Stopping...</source>
+        <translation>Stopping...</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="932"/>
+        <source>Not available</source>
+        <translation>利用できません</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="932"/>
+        <source>Directory is not specified.</source>
+        
<translation>ディレクトリが指定されていません。</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="935"/>
+        <source>Confirmation</source>
+        <translation>確認</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="948"/>
+        <source>Benchmark Failed</source>
+        <translation>ベンチマーク失敗</translation>
+    </message>
+</context>
+<context>
+    <name>QObject</name>
+    <message>
+        <location filename="../../src/global.cpp" line="25"/>
+        <source>&lt;h2&gt;%1 %2 
%3&lt;br/&gt;Queues=%4&lt;br/&gt;Threads=%5%6&lt;/h2&gt;</source>
+        <translation>&lt;h2&gt;%1 %2 
%3&lt;br/&gt;Queues=%4&lt;br/&gt;Threads=%5%6&lt;/h2&gt;</translation>
+    </message>
+    <message>
+        <location filename="../../src/global.cpp" line="26"/>
+        <source>Sequential</source>
+        <translation>Sequential</translation>
+    </message>
+    <message>
+        <location filename="../../src/global.cpp" line="26"/>
+        <source>Random</source>
+        <translation>Random</translation>
+    </message>
+    <message>
+        <location filename="../../src/global.cpp" line="28"/>
+        <source>MiB</source>
+        <translation>MiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/global.cpp" line="28"/>
+        <source>KiB</source>
+        <translation>KiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/global.cpp" line="34"/>
+        <source>&lt;h1&gt;%1 MB/s&lt;br/&gt;%2 GB/s&lt;br/&gt;%3 
IOPS&lt;br/&gt;%4 μs&lt;/h1&gt;</source>
+        <translation>&lt;h1&gt;%1 MB/s&lt;br/&gt;%2 GB/s&lt;br/&gt;%3 
IOPS&lt;br/&gt;%4 μs&lt;/h1&gt;</translation>
+    </message>
+    <message>
+        <location filename="../../src/mainwindow.cpp" line="193"/>
+        <source>No FIO was found. Please install FIO before using 
KDiskMark.</source>
+        <translation>FIO が見つかりませんでした。KDiskMark 
を使用する前に FIO をインストールしてくだ
さい。</translation>
+    </message>
+</context>
+<context>
+    <name>Settings</name>
+    <message>
+        <location filename="../../src/settings.ui" line="14"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="237"/>
+        <source>Settings</source>
+        <translation>設定</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="149"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="238"/>
+        <source>Block Size</source>
+        <translation>ブロックサイズ</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="165"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="239"/>
+        <source>Queues</source>
+        <translation>キュー数</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="181"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="240"/>
+        <source>Threads</source>
+        <translation>スレッド数</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="257"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="241"/>
+        <source>Profile: Default</source>
+        <translation>プロファイル: デフォルト</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="280"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="242"/>
+        <source>Type</source>
+        <translation>タイプ</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="335"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="243"/>
+        <source>Profile: Peak Performance</source>
+        <translation>プロファイル: ピーク性能</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="446"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="244"/>
+        <source>Profile: Demo</source>
+        <translation>プロファイル: デモ</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="508"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="245"/>
+        <source>Measuring time</source>
+        <translation>測定時間</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.ui" line="530"/>
+        <location 
filename="../../build/kdiskmark_autogen/include/ui_settings.h" line="246"/>
+        <source>Interval time</source>
+        <translation>測定間隔</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.cpp" line="18"/>
+        <location filename="../../src/settings.cpp" line="23"/>
+        <source>sec</source>
+        <translation>sec</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.cpp" line="19"/>
+        <location filename="../../src/settings.cpp" line="24"/>
+        <source>min</source>
+        <translation>min</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.cpp" line="59"/>
+        <location filename="../../src/settings.cpp" line="60"/>
+        <location filename="../../src/settings.cpp" line="61"/>
+        <location filename="../../src/settings.cpp" line="62"/>
+        <location filename="../../src/settings.cpp" line="64"/>
+        <location filename="../../src/settings.cpp" line="65"/>
+        <location filename="../../src/settings.cpp" line="67"/>
+        <source>KiB</source>
+        <translation>KiB</translation>
+    </message>
+    <message>
+        <location filename="../../src/settings.cpp" line="71"/>
+        <location filename="../../src/settings.cpp" line="72"/>
+        <location filename="../../src/settings.cpp" line="73"/>
+        <location filename="../../src/settings.cpp" line="74"/>
+        <location filename="../../src/settings.cpp" line="76"/>
+        <location filename="../../src/settings.cpp" line="77"/>
+        <location filename="../../src/settings.cpp" line="79"/>
+        <source>MiB</source>
+        <translation>MiB</translation>
+    </message>
+</context>
+</TS>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_pl_PL.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_pl_PL.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_pl_PL.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_pl_PL.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Potwierdź</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Ta czynność kasuje dane w %1
-Czy chcesz kontynuować?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Testowanie nie powiodło się</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_pt_BR.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_pt_BR.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_pt_BR.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_pt_BR.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Confirmação</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Esta ação destruirá os dados em %1
-Você deseja continuar?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Falha no benchmark</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_ru_RU.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_ru_RU.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_ru_RU.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_ru_RU.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Подтверждение</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Данное действие уничтожит 
данные в %1
-Вы хотите продолжить?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Тестирование провалено</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_sk_SK.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_sk_SK.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_sk_SK.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_sk_SK.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Potvrdenie</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Touto akciu budú prepísané údaje v %1
-Chcete pokračovať?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Test sa nepodaril</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_sv_SE.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_sv_SE.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_sv_SE.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_sv_SE.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Bekräftelse</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Denna åtgärd förstör data i %1
-Vill du fortsätta?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Prestandamätning misslyckades</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_tr_TR.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_tr_TR.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_tr_TR.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_tr_TR.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Onay</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Bu eylem %1 de bulunan verili bozacaktır.
-               Devam etmek istiyor musunuz?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Benchmark Başarısız oldu</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_uk_UA.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_uk_UA.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_uk_UA.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_uk_UA.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>Підтвердження</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>Ця дія знищить дані на %1
-Ви хочете продовжити?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>Тестування невадале</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/data/translations/kdiskmark_zh_CN.ts 
new/KDiskMark-3.1.3/data/translations/kdiskmark_zh_CN.ts
--- old/KDiskMark-3.1.2/data/translations/kdiskmark_zh_CN.ts    2022-09-16 
11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/data/translations/kdiskmark_zh_CN.ts    2023-04-15 
15:34:29.000000000 +0200
@@ -376,13 +376,6 @@
         <translation>确认</translation>
     </message>
     <message>
-        <location filename="../../src/mainwindow.cpp" line="936"/>
-        <source>This action destroys the data in %1
-Do you want to continue?</source>
-        <translation>这个动作将会摧毁 %1 中的数据
-是否确认继续?</translation>
-    </message>
-    <message>
         <location filename="../../src/mainwindow.cpp" line="948"/>
         <source>Benchmark Failed</source>
         <translation>基准测试失败</translation>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/src/benchmark.cpp 
new/KDiskMark-3.1.3/src/benchmark.cpp
--- old/KDiskMark-3.1.2/src/benchmark.cpp       2022-09-16 11:12:03.000000000 
+0200
+++ new/KDiskMark-3.1.3/src/benchmark.cpp       2023-04-15 15:34:29.000000000 
+0200
@@ -36,15 +36,7 @@
 
 QString Benchmark::getBenchmarkFile()
 {
-    if (m_dir.isNull())
-        return QString();
-
-    if (m_dir.endsWith("/")) {
-        return m_dir + ".kdiskmark.tmp";
-    }
-    else {
-        return m_dir + "/.kdiskmark.tmp";
-    }
+    return m_dir;
 }
 
 void Benchmark::startTest(int blockSize, int queueDepth, int threads, const 
QString &rw, const QString &statusMessage)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/src/helper.cpp 
new/KDiskMark-3.1.3/src/helper.cpp
--- old/KDiskMark-3.1.2/src/helper.cpp  2022-09-16 11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/src/helper.cpp  2023-04-15 15:34:29.000000000 +0200
@@ -128,26 +128,21 @@
     return {};
 }
 
-bool Helper::testFilePath(const QString &benchmarkFile)
+bool Helper::testFilePath(const QString &benchmarkPath)
 {
 #if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
-    if (QFileInfo(benchmarkFile).isSymbolicLink()) {
+    if (QFileInfo(benchmarkPath).isSymbolicLink()) {
 #else
     // detects *.lnk on Windows, but there's not Windows version, whatever
-    if (QFileInfo(benchmarkFile).isSymLink()) {
+    if (QFileInfo(benchmarkPath).isSymLink()) {
 #endif
         qWarning("The path should not be symbolic link.");
         return false;
     }
 
-    if (!benchmarkFile.endsWith("/.kdiskmark.tmp")) {
-        qWarning("The path must end with /.kdiskmark.tmp");
-        return false;
-    }
-
     // Actually superfluous because of above, makes the check more obvious
     // Just in case something changes in the backend
-    if (benchmarkFile.startsWith("/dev")) {
+    if (benchmarkPath.startsWith("/dev")) {
         qWarning("Cannot specify a raw device.");
         return false;
     }
@@ -155,7 +150,7 @@
     return true;
 }
 
-QVariantMap Helper::prepareBenchmarkFile(const QString &benchmarkFile, int 
fileSize, bool fillZeros)
+QVariantMap Helper::prepareBenchmarkFile(const QString &benchmarkPath, int 
fileSize, bool fillZeros)
 {
     if (!isCallerAuthorized()) {
         return {};
@@ -163,21 +158,25 @@
 
     // If benchmarking has been done, but removeBenchmarkFile has not been 
called,
     // and benchmarking on a new file is called, then reject the request. The 
*previous* file must be removed first.
-    if (!m_benchmarkFile.isEmpty()) {
+    if (!m_benchmarkFile.fileName().isNull()) {
         return {{"success", false}, {"error", "A new benchmark session should 
be started."}};
     }
 
-    if (!testFilePath(benchmarkFile)) {
+    if (!testFilePath(benchmarkPath)) {
         return {{"success", false}, {"error", "The path to the file is 
incorrect."}};
     }
 
-    m_benchmarkFile = benchmarkFile;
+    
m_benchmarkFile.setFileTemplate(QStringLiteral("%1/%2").arg(benchmarkPath).arg("kdiskmark-XXXXXX.tmp"));
+
+    if (!m_benchmarkFile.open()) {
+        return {{"success", false}, {"error", "An error occurred while 
creating the benchmark file."}};
+    }
 
     m_process = new QProcess();
     m_process->start("fio", QStringList()
                      << QStringLiteral("--output-format=json")
                      << QStringLiteral("--create_only=1")
-                     << QStringLiteral("--filename=%1").arg(m_benchmarkFile)
+                     << 
QStringLiteral("--filename=%1").arg(m_benchmarkFile.fileName())
                      << QStringLiteral("--size=%1m").arg(fileSize)
                      << QStringLiteral("--zero_buffers=%1").arg(fillZeros)
                      << QStringLiteral("--name=prepare"));
@@ -197,7 +196,7 @@
         return {};
     }
 
-    if (m_benchmarkFile.isEmpty() || !QFile(m_benchmarkFile).exists()) {
+    if (m_benchmarkFile.fileName().isNull() || 
!QFile(m_benchmarkFile.fileName()).exists()) {
         return {{"success", false}, {"error", "The benchmark file was not 
pre-created."}};
     }
 
@@ -210,7 +209,7 @@
                      << QStringLiteral("--end_fsync=1")
                      << QStringLiteral("--direct=%1").arg(cacheBypass)
                      << 
QStringLiteral("--rwmixread=%1").arg(randomReadPercentage)
-                     << QStringLiteral("--filename=%1").arg(m_benchmarkFile)
+                     << 
QStringLiteral("--filename=%1").arg(m_benchmarkFile.fileName())
                      << QStringLiteral("--name=%1").arg(rw)
                      << QStringLiteral("--size=%1m").arg(fileSize)
                      << QStringLiteral("--zero_buffers=%1").arg(fillZeros)
@@ -234,7 +233,7 @@
         return {};
     }
 
-    if (m_benchmarkFile.isEmpty()) {
+    if (m_benchmarkFile.fileName().isNull() || 
!QFile(m_benchmarkFile.fileName()).exists()) {
         return {{"success", false}, {"error", "A benchmark file must first be 
created."}};
     }
 
@@ -257,11 +256,13 @@
         return {};
     }
 
-    if (m_benchmarkFile.isEmpty() || !QFile(m_benchmarkFile).exists()) {
+    if (m_benchmarkFile.fileName().isNull() || 
!QFile(m_benchmarkFile.fileName()).exists()) {
         return {{"success", false}, {"error", "Cannot remove the benchmark 
file, because it doesn't exist."}};
     }
 
-    return {{"success", QFile(m_benchmarkFile).remove()}};
+    m_benchmarkFile.close();
+
+    return {{"success", m_benchmarkFile.remove()}};
 }
 
 QVariantMap Helper::stopCurrentTask()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/src/helper.h 
new/KDiskMark-3.1.3/src/helper.h
--- old/KDiskMark-3.1.2/src/helper.h    2022-09-16 11:12:03.000000000 +0200
+++ new/KDiskMark-3.1.3/src/helper.h    2023-04-15 15:34:29.000000000 +0200
@@ -2,6 +2,7 @@
 #include <QDBusContext>
 #include <QEventLoop>
 #include <QProcess>
+#include <QTemporaryFile>
 
 #include <memory>
 
@@ -19,7 +20,7 @@
 public slots:
     Q_SCRIPTABLE QVariantMap initSession();
     Q_SCRIPTABLE QVariantMap endSession();
-    Q_SCRIPTABLE QVariantMap prepareBenchmarkFile(const QString 
&benchmarkFile, int fileSize, bool fillZeros);
+    Q_SCRIPTABLE QVariantMap prepareBenchmarkFile(const QString 
&benchmarkPath, int fileSize, bool fillZeros);
     Q_SCRIPTABLE QVariantMap startBenchmarkTest(int measuringTime, int 
fileSize, int randomReadPercentage, bool fillZeros, bool cacheBypass,
                                                 int blockSize, int queueDepth, 
int threads, const QString &rw);
     Q_SCRIPTABLE QVariantMap flushPageCache();
@@ -43,7 +44,7 @@
 public:
     QVariantMap initSession();
     QVariantMap endSession();
-    QVariantMap prepareBenchmarkFile(const QString &benchmarkFile, int 
fileSize, bool fillZeros);
+    QVariantMap prepareBenchmarkFile(const QString &benchmarkPath, int 
fileSize, bool fillZeros);
     QVariantMap startBenchmarkTest(int measuringTime, int fileSize, int 
randomReadPercentage, bool fillZeros, bool cacheBypass,
                                    int blockSize, int queueDepth, int threads, 
const QString &rw);
     QVariantMap flushPageCache();
@@ -52,7 +53,7 @@
 
 private:
     bool isCallerAuthorized();
-    bool testFilePath(const QString &benchmarkFile);
+    bool testFilePath(const QString &benchmarkPath);
 
 signals:
     void taskFinished(bool, QString, QString);
@@ -62,5 +63,5 @@
     QDBusServiceWatcher *m_serviceWatcher = nullptr;
 
     QProcess *m_process;
-    QString m_benchmarkFile = QStringLiteral();
+    QTemporaryFile m_benchmarkFile;
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/src/mainwindow.cpp 
new/KDiskMark-3.1.3/src/mainwindow.cpp
--- old/KDiskMark-3.1.2/src/mainwindow.cpp      2022-09-16 11:12:03.000000000 
+0200
+++ new/KDiskMark-3.1.3/src/mainwindow.cpp      2023-04-15 15:34:29.000000000 
+0200
@@ -30,7 +30,7 @@
 
     QVector<QLocale> locales = { QLocale::English, QLocale::Czech, 
QLocale::German,
                                  QLocale(QLocale::Spanish, QLocale::Mexico),
-                                 QLocale::French, QLocale::Italian, 
QLocale::Hungarian,
+                                 QLocale::French, QLocale::Italian, 
QLocale::Hungarian, QLocale::Japanese,
                                  QLocale::Polish, QLocale(QLocale::Portuguese, 
QLocale::Brazil),
                                  QLocale::Slovak, QLocale::Swedish, 
QLocale::Turkish, QLocale::Russian,
                                  QLocale::Ukrainian, QLocale::Chinese, 
QLocale::Hindi };
@@ -178,15 +178,6 @@
     connect(m_benchmark, &Benchmark::resultReady, this, 
&MainWindow::handleResults);
     connect(m_benchmark, &Benchmark::failed, this, 
&MainWindow::benchmarkFailed);
 
-    // About button
-    connect(ui->actionAbout, &QAction::triggered, this, 
&MainWindow::showAbout);
-
-    // Settings
-    connect(ui->actionQueues_Threads, &QAction::triggered, this, 
&MainWindow::showSettings);
-
-    connect(ui->actionCopy, &QAction::triggered, this, 
&MainWindow::copyBenchmarkResult);
-    connect(ui->actionSave, &QAction::triggered, this, 
&MainWindow::saveBenchmarkResult);
-
     QTimer::singleShot(0, [&] {
         if (!m_benchmark->isFIODetected()) {
             QMessageBox::critical(this, "KDiskMark",
@@ -245,7 +236,7 @@
 
                 storage.formatedSize = formatSize(storage.bytesOccupied, 
storage.bytesTotal);
 
-                ui->comboBox_Storages->setItemText(i, QStringLiteral("%1 %2 
(%3)").arg(storage.path)
+                ui->comboBox_Storages->setItemText(i, QStringLiteral("%1 %2% 
(%3)").arg(storage.path)
                                                    .arg(storage.bytesOccupied 
* 100 / storage.bytesTotal)
                                                    .arg(storage.formatedSize));
 
@@ -645,13 +636,13 @@
     return output.join("\n");
 }
 
-void MainWindow::copyBenchmarkResult()
+void MainWindow::on_actionCopy_triggered()
 {
     QClipboard *clipboard = QApplication::clipboard();
     clipboard->setText(getTextBenchmarkResult());
 }
 
-void MainWindow::saveBenchmarkResult()
+void MainWindow::on_actionSave_triggered()
 {
     QString fileName =
             QFileDialog::getSaveFileName(this, QString(),
@@ -897,14 +888,14 @@
     }
 }
 
-void MainWindow::showAbout()
+void MainWindow::on_actionAbout_triggered()
 {
     About about(m_benchmark->getFIOVersion());
     about.setFixedSize(about.size());
     about.exec();
 }
 
-void MainWindow::showSettings()
+void MainWindow::on_actionQueues_Threads_triggered()
 {
     Settings settings;
     settings.setFixedSize(settings.size());
@@ -931,13 +922,7 @@
         if (m_benchmark->getBenchmarkFile().isNull()) {
             QMessageBox::critical(this, tr("Not available"), tr("Directory is 
not specified."));
         }
-        else if (QMessageBox::Yes ==
-                QMessageBox::warning(this, tr("Confirmation"),
-                                     tr("This action destroys the data in 
%1\nDo you want to continue?")
-                                     .arg(m_benchmark->getBenchmarkFile()
-                                          .replace("/", QChar(0x2060) + 
QString("/") + QChar(0x2060))
-                                          .replace("-", QChar(0x2060) + 
QString("-") + QChar(0x2060))),
-                                     QMessageBox::Yes | QMessageBox::No)) {
+        else {
             bodyFunc();
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/KDiskMark-3.1.2/src/mainwindow.h 
new/KDiskMark-3.1.3/src/mainwindow.h
--- old/KDiskMark-3.1.2/src/mainwindow.h        2022-09-16 11:12:03.000000000 
+0200
+++ new/KDiskMark-3.1.3/src/mainwindow.h        2023-04-15 15:34:29.000000000 
+0200
@@ -33,9 +33,9 @@
 
     void on_pushButton_All_clicked();
 
-    void showAbout();
+    void on_actionAbout_triggered();
 
-    void showSettings();
+    void on_actionQueues_Threads_triggered();
 
     void on_comboBox_Storages_currentIndexChanged(int index);
 
@@ -43,9 +43,9 @@
 
     void on_comboBox_ComparisonUnit_currentIndexChanged(int index);
 
-    void copyBenchmarkResult();
+    void on_actionCopy_triggered();
 
-    void saveBenchmarkResult();
+    void on_actionSave_triggered();
 
     void on_comboBox_MixRatio_currentIndexChanged(int index);
 

Reply via email to