Commit 550c5cdb authored by Clement CHAVANCE's avatar Clement CHAVANCE

added French translation for the transcode UI

parent 9b87b8bb
Many thanks to our translators!
French:
Clément CHAVANCE <kinder@vlmc.org>
French, Spanish:
Christophe Courtaut <kri5@vlmc.org>
......
......@@ -37,6 +37,19 @@ Transcode *Transcode::instance( QWidget *parent )
return ( Transcode::m_instance );
}
void Transcode::changeEvent( QEvent *e )
{
switch ( e->type() )
{
case QEvent::LanguageChange:
m_ui.retranslateUi( this );
break;
default:
QWidget::changeEvent( e );
break;
}
}
Transcode::Transcode( QWidget *parent )
: QDialog( parent )
{
......
......@@ -25,6 +25,7 @@
#include <QDialog>
#include <QString>
#include <QEvent>
#include "ui_transcode.h"
......@@ -35,6 +36,9 @@ class Transcode : public QDialog
public:
static Transcode *instance( QWidget* parent = 0 );
protected:
virtual void changeEvent( QEvent *e );
private:
explicit Transcode( QWidget *parent = 0 );
~Transcode() {}
......@@ -43,7 +47,7 @@ class Transcode : public QDialog
static Transcode *m_instance;
public slots:
private slots:
void on_browseFileButton_clicked();
void on_dialogButtonBox_accepted();
......
......@@ -38,32 +38,32 @@
<context>
<name>LibraryWidget</name>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="109"/>
<location filename="../src/gui/LibraryWidget.cpp" line="125"/>
<source>Open Audios</source>
<translation>Abrir un sonido</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="110"/>
<location filename="../src/gui/LibraryWidget.cpp" line="126"/>
<source>Audio Files</source>
<translation>archivo de audio</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="115"/>
<location filename="../src/gui/LibraryWidget.cpp" line="131"/>
<source>Video Files</source>
<translation>archivo de vídeo</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="120"/>
<location filename="../src/gui/LibraryWidget.cpp" line="136"/>
<source>Images Files</source>
<translation>Imágenes</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="114"/>
<location filename="../src/gui/LibraryWidget.cpp" line="130"/>
<source>Open Videos</source>
<translation>Abrir un archivo de vídeo</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="119"/>
<location filename="../src/gui/LibraryWidget.cpp" line="135"/>
<source>Open Images</source>
<translation>Abrir una imagen</translation>
</message>
......@@ -101,12 +101,14 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/gui/MainWindow.cpp" line="67"/>
<location filename="../src/gui/MainWindow.cpp" line="68"/>
<location filename="../src/gui/ui/MainWindow.ui" line="113"/>
<source>Media Library</source>
<translation type="unfinished">Biblioteca multimedia</translation>
</message>
<message>
<location filename="../src/gui/MainWindow.cpp" line="73"/>
<location filename="../src/gui/MainWindow.cpp" line="74"/>
<location filename="../src/gui/ui/MainWindow.ui" line="124"/>
<source>Preview</source>
<translation type="unfinished">Vista previa</translation>
</message>
......@@ -121,51 +123,61 @@
<translation>Archivo</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="41"/>
<location filename="../src/gui/ui/MainWindow.ui" line="42"/>
<source>Edit</source>
<translation>Edición</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="47"/>
<location filename="../src/gui/ui/MainWindow.ui" line="48"/>
<source>View</source>
<translation type="unfinished">Vista</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="52"/>
<location filename="../src/gui/ui/MainWindow.ui" line="53"/>
<source>Effects</source>
<translation>Efectos</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="57"/>
<location filename="../src/gui/ui/MainWindow.ui" line="58"/>
<source>Tools</source>
<translation type="unfinished">Herramientas</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="62"/>
<location filename="../src/gui/ui/MainWindow.ui" line="63"/>
<source>Window</source>
<translation type="unfinished">Ventana</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="67"/>
<location filename="../src/gui/ui/MainWindow.ui" line="94"/>
<location filename="../src/gui/ui/MainWindow.ui" line="70"/>
<location filename="../src/gui/ui/MainWindow.ui" line="100"/>
<source>Help</source>
<translation>Ayuda</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="84"/>
<location filename="../src/gui/ui/MainWindow.ui" line="87"/>
<source>Quit</source>
<translation>Salir</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="89"/>
<location filename="../src/gui/ui/MainWindow.ui" line="90"/>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="95"/>
<source>About</source>
<translation>A propósito de</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="99"/>
<location filename="../src/gui/ui/MainWindow.ui" line="105"/>
<source>Preferences</source>
<translation>Preferencias</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="129"/>
<source>Transcode File</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Preferences</name>
......@@ -218,10 +230,20 @@
<context>
<name>PreviewWidget</name>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="17"/>
<location filename="../src/gui/ui/PreviewWidget.ui" line="29"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="57"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="62"/>
<source>Clip</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Timeline</name>
......@@ -231,4 +253,68 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Transcode</name>
<message>
<location filename="../src/gui/Transcode.cpp" line="58"/>
<source>High Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="59"/>
<source>Medium Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="60"/>
<source>Low Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="66"/>
<source>Choose File to open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="68"/>
<location filename="../src/gui/Transcode.cpp" line="87"/>
<source>Video files (*.avi *.mkv *.ogg)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="80"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="81"/>
<source>Choose a video to transcode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="85"/>
<source>Choose File to save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="17"/>
<source>Transcode File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="25"/>
<source>Input File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="32"/>
<source>Profiles</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="44"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
......@@ -38,32 +38,32 @@
<context>
<name>LibraryWidget</name>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="109"/>
<location filename="../src/gui/LibraryWidget.cpp" line="125"/>
<source>Open Audios</source>
<translation>Ouvrir un fichier audio</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="110"/>
<location filename="../src/gui/LibraryWidget.cpp" line="126"/>
<source>Audio Files</source>
<translation>Fichiers audio</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="115"/>
<location filename="../src/gui/LibraryWidget.cpp" line="131"/>
<source>Video Files</source>
<translation>Fichiers video</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="120"/>
<location filename="../src/gui/LibraryWidget.cpp" line="136"/>
<source>Images Files</source>
<translation>Images</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="114"/>
<location filename="../src/gui/LibraryWidget.cpp" line="130"/>
<source>Open Videos</source>
<translation>Ouvrir un fichier vidéo</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="119"/>
<location filename="../src/gui/LibraryWidget.cpp" line="135"/>
<source>Open Images</source>
<translation>Ouvrir une image</translation>
</message>
......@@ -101,12 +101,14 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/gui/MainWindow.cpp" line="67"/>
<location filename="../src/gui/MainWindow.cpp" line="68"/>
<location filename="../src/gui/ui/MainWindow.ui" line="113"/>
<source>Media Library</source>
<translation>Bibliothèque de médias</translation>
</message>
<message>
<location filename="../src/gui/MainWindow.cpp" line="73"/>
<location filename="../src/gui/MainWindow.cpp" line="74"/>
<location filename="../src/gui/ui/MainWindow.ui" line="124"/>
<source>Preview</source>
<translation>Prévisualisation</translation>
</message>
......@@ -121,51 +123,61 @@
<translation>Fichier</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="41"/>
<location filename="../src/gui/ui/MainWindow.ui" line="42"/>
<source>Edit</source>
<translation>Edition</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="47"/>
<location filename="../src/gui/ui/MainWindow.ui" line="48"/>
<source>View</source>
<translation>Affichage</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="52"/>
<location filename="../src/gui/ui/MainWindow.ui" line="53"/>
<source>Effects</source>
<translation>Effets</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="57"/>
<location filename="../src/gui/ui/MainWindow.ui" line="58"/>
<source>Tools</source>
<translation>Outils</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="62"/>
<location filename="../src/gui/ui/MainWindow.ui" line="63"/>
<source>Window</source>
<translation>Fenêtre</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="67"/>
<location filename="../src/gui/ui/MainWindow.ui" line="94"/>
<location filename="../src/gui/ui/MainWindow.ui" line="70"/>
<location filename="../src/gui/ui/MainWindow.ui" line="100"/>
<source>Help</source>
<translation>Aide</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="84"/>
<location filename="../src/gui/ui/MainWindow.ui" line="87"/>
<source>Quit</source>
<translation>Quitter</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="89"/>
<location filename="../src/gui/ui/MainWindow.ui" line="90"/>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="95"/>
<source>About</source>
<translation>À Propos</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="99"/>
<location filename="../src/gui/ui/MainWindow.ui" line="105"/>
<source>Preferences</source>
<translation>Préférences</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="129"/>
<source>Transcode File</source>
<translation type="unfinished">Convertir un fichier</translation>
</message>
</context>
<context>
<name>Preferences</name>
......@@ -218,10 +230,20 @@
<context>
<name>PreviewWidget</name>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="17"/>
<location filename="../src/gui/ui/PreviewWidget.ui" line="29"/>
<source>Dialog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="57"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="62"/>
<source>Clip</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Timeline</name>
......@@ -231,4 +253,68 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Transcode</name>
<message>
<location filename="../src/gui/Transcode.cpp" line="58"/>
<source>High Quality</source>
<translation type="unfinished">Haute qualité</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="59"/>
<source>Medium Quality</source>
<translation type="unfinished">Moyenne qualité</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="60"/>
<source>Low Quality</source>
<translation type="unfinished">Basse Qualité</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="66"/>
<source>Choose File to open</source>
<translation type="unfinished">Choississez un fichier à convertir</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="68"/>
<location filename="../src/gui/Transcode.cpp" line="87"/>
<source>Video files (*.avi *.mkv *.ogg)</source>
<translation type="unfinished">Fichier vidéos (*.avi *.mkv *.ogg)</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="80"/>
<source>Warning</source>
<translation type="unfinished">Avertissement</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="81"/>
<source>Choose a video to transcode</source>
<translation type="unfinished">Choisissez un fichier à convertir</translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="85"/>
<source>Choose File to save</source>
<translation type="unfinished">Sauvegarder la conversion</translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="17"/>
<source>Transcode File</source>
<translation type="unfinished">Convertir le fichier</translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="25"/>
<source>Input File</source>
<translation type="unfinished">Fichier d&apos;origine</translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="32"/>
<source>Profiles</source>
<translation type="unfinished">Profils</translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="44"/>
<source>...</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
......@@ -38,32 +38,32 @@
<context>
<name>LibraryWidget</name>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="109"/>
<location filename="../src/gui/LibraryWidget.cpp" line="125"/>
<source>Open Audios</source>
<translation>Öppna ljud</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="110"/>
<location filename="../src/gui/LibraryWidget.cpp" line="126"/>
<source>Audio Files</source>
<translation>Ljudfiler</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="115"/>
<location filename="../src/gui/LibraryWidget.cpp" line="131"/>
<source>Video Files</source>
<translation>Videofiler</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="120"/>
<location filename="../src/gui/LibraryWidget.cpp" line="136"/>
<source>Images Files</source>
<translation>Bildfiler</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="114"/>
<location filename="../src/gui/LibraryWidget.cpp" line="130"/>
<source>Open Videos</source>
<translation>Öppna video</translation>
</message>
<message>
<location filename="../src/gui/LibraryWidget.cpp" line="119"/>
<location filename="../src/gui/LibraryWidget.cpp" line="135"/>
<source>Open Images</source>
<translation>Öppna bilder</translation>
</message>
......@@ -101,12 +101,14 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../src/gui/MainWindow.cpp" line="67"/>
<location filename="../src/gui/MainWindow.cpp" line="68"/>
<location filename="../src/gui/ui/MainWindow.ui" line="113"/>
<source>Media Library</source>
<translation>Mediabibliotek</translation>
</message>
<message>
<location filename="../src/gui/MainWindow.cpp" line="73"/>
<location filename="../src/gui/MainWindow.cpp" line="74"/>
<location filename="../src/gui/ui/MainWindow.ui" line="124"/>
<source>Preview</source>
<translation>Förhandsvisa</translation>
</message>
......@@ -121,51 +123,61 @@
<translation>Arkiv</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="41"/>
<location filename="../src/gui/ui/MainWindow.ui" line="42"/>
<source>Edit</source>
<translation>Redigera</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="47"/>
<location filename="../src/gui/ui/MainWindow.ui" line="48"/>
<source>View</source>
<translation>Visa</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="52"/>
<location filename="../src/gui/ui/MainWindow.ui" line="53"/>
<source>Effects</source>
<translation>Effekter</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="57"/>
<location filename="../src/gui/ui/MainWindow.ui" line="58"/>
<source>Tools</source>
<translation>Verktyg</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="62"/>
<location filename="../src/gui/ui/MainWindow.ui" line="63"/>
<source>Window</source>
<translation>Fönster</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="67"/>
<location filename="../src/gui/ui/MainWindow.ui" line="94"/>
<location filename="../src/gui/ui/MainWindow.ui" line="70"/>
<location filename="../src/gui/ui/MainWindow.ui" line="100"/>
<source>Help</source>
<translation>Hjälp</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="84"/>
<location filename="../src/gui/ui/MainWindow.ui" line="87"/>
<source>Quit</source>
<translation>Avsluta</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="89"/>
<location filename="../src/gui/ui/MainWindow.ui" line="90"/>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="95"/>
<source>About</source>
<translation>Om</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="99"/>
<location filename="../src/gui/ui/MainWindow.ui" line="105"/>
<source>Preferences</source>
<translation>Inställningar</translation>
</message>
<message>
<location filename="../src/gui/ui/MainWindow.ui" line="129"/>
<source>Transcode File</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Preferences</name>
......@@ -218,10 +230,20 @@
<context>
<name>PreviewWidget</name>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="17"/>
<location filename="../src/gui/ui/PreviewWidget.ui" line="29"/>
<source>Dialog</source>
<translation>Dialogruta</translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="57"/>
<source>Project</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/ui/PreviewWidget.ui" line="62"/>
<source>Clip</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Timeline</name>
......@@ -231,4 +253,68 @@
<translation>Formulär</translation>
</message>
</context>
<context>
<name>Transcode</name>
<message>
<location filename="../src/gui/Transcode.cpp" line="58"/>
<source>High Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="59"/>
<source>Medium Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="60"/>
<source>Low Quality</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="66"/>
<source>Choose File to open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="68"/>
<location filename="../src/gui/Transcode.cpp" line="87"/>
<source>Video files (*.avi *.mkv *.ogg)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="80"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="81"/>
<source>Choose a video to transcode</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/gui/Transcode.cpp" line="85"/>
<source>Choose File to save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="17"/>
<source>Transcode File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="25"/>
<source>Input File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="32"/>
<source>Profiles</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="src/gui/ui/transcode.ui" line="44"/>
<source>...</source>