Skip to content

Commit

Permalink
Update GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
TianZerL committed Jan 14, 2021
1 parent 2ce0eb4 commit f2ad479
Show file tree
Hide file tree
Showing 6 changed files with 278 additions and 274 deletions.
7 changes: 2 additions & 5 deletions GUI/include/mainwindow.h
Expand Up @@ -152,6 +152,8 @@ private slots:

void on_actionSet_FFmpeg_path_triggered();

void on_actionSet_FFmpeg_path_hovered();

void on_pushButtonClearText_clicked();

void on_spinBoxFontSize_valueChanged(int arg1);
Expand All @@ -174,8 +176,6 @@ private slots:

void on_pushButtonListGPUs_clicked();

void on_spinBoxPlatformID_valueChanged(int arg1);

void on_pushButtonOutputPathOpen_clicked();

void on_pushButtonReleaseGPU_clicked();
Expand Down Expand Up @@ -207,9 +207,6 @@ private slots:

Anime4KCPP::ACCreator acCreator;

std::vector<int> OpenCLDevices;
int OpenCLPlatforms;

QHash<QString, Language> languageSelector;
QHash<QString, Anime4KCPP::CODEC> codecSelector;

Expand Down
128 changes: 64 additions & 64 deletions GUI/src/Anime4KCPP_GUI_fr_FR.ts
Expand Up @@ -267,8 +267,8 @@
<message>
<location filename="mainwindow.ui" line="368"/>
<location filename="../../Build/GUI/Anime4KCPP_GUI_autogen/include_Release/ui_mainwindow.h" line="1135"/>
<location filename="mainwindow.cpp" line="796"/>
<location filename="mainwindow.cpp" line="1144"/>
<location filename="mainwindow.cpp" line="801"/>
<location filename="mainwindow.cpp" line="1149"/>
<source>image</source>
<translation>image</translation>
</message>
Expand All @@ -294,8 +294,8 @@
<message>
<location filename="mainwindow.ui" line="410"/>
<location filename="../../Build/GUI/Anime4KCPP_GUI_autogen/include_Release/ui_mainwindow.h" line="1143"/>
<location filename="mainwindow.cpp" line="797"/>
<location filename="mainwindow.cpp" line="1145"/>
<location filename="mainwindow.cpp" line="802"/>
<location filename="mainwindow.cpp" line="1150"/>
<source>video</source>
<translation>Vidéo</translation>
</message>
Expand Down Expand Up @@ -586,7 +586,7 @@
<message>
<location filename="mainwindow.ui" line="1258"/>
<location filename="../../Build/GUI/Anime4KCPP_GUI_autogen/include_Release/ui_mainwindow.h" line="1060"/>
<location filename="mainwindow.cpp" line="1898"/>
<location filename="mainwindow.cpp" line="1908"/>
<source>Benchmark</source>
<translation>Performance Test</translation>
</message>
Expand Down Expand Up @@ -873,7 +873,7 @@
<message>
<location filename="mainwindow.ui" line="1209"/>
<location filename="../../Build/GUI/Anime4KCPP_GUI_autogen/include_Release/ui_mainwindow.h" line="1052"/>
<location filename="mainwindow.cpp" line="1382"/>
<location filename="mainwindow.cpp" line="1387"/>
<source>About</source>
<translation>À propos de</translation>
</message>
Expand Down Expand Up @@ -933,34 +933,34 @@
<translation type="vanished">État</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="106"/>
<location filename="mainwindow.cpp" line="2016"/>
<location filename="mainwindow.cpp" line="105"/>
<location filename="mainwindow.cpp" line="2029"/>
<source>Confirm</source>
<translation>Confirmer</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="107"/>
<location filename="mainwindow.cpp" line="106"/>
<source>Do you really want to exit?</source>
<translation>Voulez-vous vraiment sortir?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="166"/>
<location filename="mainwindow.cpp" line="831"/>
<location filename="mainwindow.cpp" line="898"/>
<location filename="mainwindow.cpp" line="1763"/>
<location filename="mainwindow.cpp" line="165"/>
<location filename="mainwindow.cpp" line="836"/>
<location filename="mainwindow.cpp" line="903"/>
<location filename="mainwindow.cpp" line="1773"/>
<source>ready</source>
<translation>Prêt</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="429"/>
<location filename="mainwindow.cpp" line="435"/>
<location filename="mainwindow.cpp" line="441"/>
<location filename="mainwindow.cpp" line="447"/>
<location filename="mainwindow.cpp" line="453"/>
<location filename="mainwindow.cpp" line="459"/>
<location filename="mainwindow.cpp" line="465"/>
<location filename="mainwindow.cpp" line="471"/>
<location filename="mainwindow.cpp" line="481"/>
<location filename="mainwindow.cpp" line="428"/>
<location filename="mainwindow.cpp" line="434"/>
<location filename="mainwindow.cpp" line="440"/>
<location filename="mainwindow.cpp" line="446"/>
<location filename="mainwindow.cpp" line="452"/>
<location filename="mainwindow.cpp" line="458"/>
<location filename="mainwindow.cpp" line="464"/>
<location filename="mainwindow.cpp" line="470"/>
<location filename="mainwindow.cpp" line="480"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
Expand All @@ -969,36 +969,36 @@
<translation type="vanished">Seuls les noms de fichiers anglais sont pris en charge.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="442"/>
<location filename="mainwindow.cpp" line="441"/>
<source>Dir does not exists</source>
<translation>Le dossier n’existe pas.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="448"/>
<location filename="mainwindow.cpp" line="447"/>
<source>File type error, only image support</source>
<translation>Erreur de type de fichier, prise en charge de l’image uniquement</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="460"/>
<location filename="mainwindow.cpp" line="459"/>
<source>Invalid url, please check your input</source>
<translation>Pour les URL non prises en charge, veuillez vérifier votre saisie.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="466"/>
<location filename="mainwindow.cpp" line="465"/>
<source>Error image format, please check your input</source>
<translation>Mauvais format d&apos;image, veuillez vérifier votre saisie!</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="472"/>
<location filename="mainwindow.cpp" line="471"/>
<source>CUDA is not supported</source>
<translation>Cuda n&apos;est pas pris en charge</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="513"/>
<location filename="mainwindow.cpp" line="1834"/>
<location filename="mainwindow.cpp" line="1849"/>
<location filename="mainwindow.cpp" line="1875"/>
<location filename="mainwindow.cpp" line="1921"/>
<location filename="mainwindow.cpp" line="512"/>
<location filename="mainwindow.cpp" line="1844"/>
<location filename="mainwindow.cpp" line="1859"/>
<location filename="mainwindow.cpp" line="1885"/>
<location filename="mainwindow.cpp" line="1942"/>
<source>Warning</source>
<translation>Warning</translation>
</message>
Expand All @@ -1007,77 +1007,77 @@
<translation type="vanished">Aucun FFmpeg trouvé.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="513"/>
<location filename="mainwindow.cpp" line="512"/>
<source>FFmpeg not found</source>
<translation>Aucun FFmpeg trouvé.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="735"/>
<location filename="mainwindow.cpp" line="740"/>
<source>done</source>
<translation>Fait</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="745"/>
<location filename="mainwindow.cpp" line="750"/>
<source>error</source>
<translation>Erreur</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="754"/>
<location filename="mainwindow.cpp" line="1156"/>
<location filename="mainwindow.cpp" line="1499"/>
<location filename="mainwindow.cpp" line="1859"/>
<location filename="mainwindow.cpp" line="1927"/>
<location filename="mainwindow.cpp" line="1961"/>
<location filename="mainwindow.cpp" line="759"/>
<location filename="mainwindow.cpp" line="1161"/>
<location filename="mainwindow.cpp" line="1509"/>
<location filename="mainwindow.cpp" line="1869"/>
<location filename="mainwindow.cpp" line="1949"/>
<location filename="mainwindow.cpp" line="1974"/>
<source>Notice</source>
<translation>Attention</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="856"/>
<location filename="mainwindow.cpp" line="861"/>
<source>Web Video</source>
<translation>Entrée vidéo Web</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="857"/>
<location filename="mainwindow.cpp" line="862"/>
<source>Please input the url of web video</source>
<translation>Veuillez entrer l&apos;URL de la vidéo web.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1157"/>
<location filename="mainwindow.cpp" line="1162"/>
<source>You are using GPU acceleration but still enabledpreprocessing or postprocessing, which is not GPU acceletation yet, and may slow down processing for GPU (usually still faster than CPU), close them?</source>
<oldsource>You are using GPU acceleration but still enablepreprocessing or postprocessing, which is not GPU acceletation yet,and may slow down processing for GPU(usually still faster than CPU), close them?</oldsource>
<translation>Vous utilisez le mode d’accélération GPU, mais avez toujours le prétraitement ou le postprocessage activé, ce qui peut ralentir le traitement GPU (généralement encore plus rapide que le processeur), les désactiver?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1407"/>
<location filename="mainwindow.cpp" line="1418"/>
<location filename="mainwindow.cpp" line="1429"/>
<location filename="mainwindow.cpp" line="1440"/>
<location filename="mainwindow.cpp" line="1412"/>
<location filename="mainwindow.cpp" line="1423"/>
<location filename="mainwindow.cpp" line="1434"/>
<location filename="mainwindow.cpp" line="1445"/>
<source>Chinese translation file</source>
<translation>Fichiers de traduction en chinois</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1456"/>
<location filename="mainwindow.cpp" line="1459"/>
<location filename="mainwindow.cpp" line="1461"/>
<location filename="mainwindow.cpp" line="1464"/>
<source>FFmpeg path</source>
<translation>Chemin FFmpeg</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1460"/>
<location filename="mainwindow.cpp" line="1465"/>
<source>Please input the FFmpeg path</source>
<translation>Veuillez saisir le chemin FFmpeg</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1500"/>
<location filename="mainwindow.cpp" line="1510"/>
<source>Log has been copied to the clipboard</source>
<translation>Journal copié dans le presse-papiers</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1733"/>
<location filename="mainwindow.cpp" line="1743"/>
<source>please select a folder</source>
<translation>Veuillez sélectionner un dossier</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1900"/>
<location filename="mainwindow.cpp" line="1910"/>
<source>Benchmark result:</source>
<translation>Résultats des tests de performance:</translation>
</message>
Expand All @@ -1090,7 +1090,7 @@
<translation type="vanished">L’accélération GPU pour ACNet n’est pas prise en charge.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2017"/>
<location filename="mainwindow.cpp" line="2030"/>
<source>Do you really want to stop all tasks?</source>
<translation>Confirmer que toutes les missions sont suspendues ?</translation>
</message>
Expand All @@ -1100,18 +1100,18 @@
<translation type="vanished">Essayez-vous d’activer l’accélération GPU, est-ce encore une fonctionnalité expérimentale, vérifier la compatibilité et initialiser?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1876"/>
<location filename="mainwindow.cpp" line="1922"/>
<location filename="mainwindow.cpp" line="1886"/>
<location filename="mainwindow.cpp" line="1943"/>
<source>Unsupport GPU acceleration in this platform</source>
<translation>L’accélération GPU n’est pas prise en charge sur cette plate-forme.</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1962"/>
<location filename="mainwindow.cpp" line="1975"/>
<source>Successfully release GPU</source>
<translation>Sortie réussie du GPU</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="436"/>
<location filename="mainwindow.cpp" line="435"/>
<source>File does not exists</source>
<translation>Le fichier n’existe pas.</translation>
</message>
Expand All @@ -1120,25 +1120,25 @@
<translation type="vanished">Erreur de type de fichier, seules les images sont prises en charge</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="454"/>
<location filename="mainwindow.cpp" line="453"/>
<source>File type error, you can add it manually</source>
<translation>Erreur de type de fichier, vous pouvez l&apos;ajouter manuellement</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="430"/>
<location filename="mainwindow.cpp" line="429"/>
<source>Processing list empty</source>
<translation>La liste de traitement est vide.</translation>
</message>
<message>
<location filename="mainwindow.ui" line="49"/>
<location filename="../../Build/GUI/Anime4KCPP_GUI_autogen/include_Release/ui_mainwindow.h" line="1071"/>
<location filename="mainwindow.cpp" line="795"/>
<location filename="mainwindow.cpp" line="1143"/>
<location filename="mainwindow.cpp" line="800"/>
<location filename="mainwindow.cpp" line="1148"/>
<source>pick files</source>
<translation>sélectionner des fichiers</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="846"/>
<location filename="mainwindow.cpp" line="851"/>
<source>output directory</source>
<translation>Dossiers de sortie</translation>
</message>
Expand Down

0 comments on commit f2ad479

Please sign in to comment.