rename wrongly named files

This commit is contained in:
Houston4444 2022-01-17 12:28:15 +01:00
parent 4683d0f79e
commit 7ab684532b
5 changed files with 130 additions and 478 deletions

View File

@ -107,7 +107,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1556"/>
<location filename="../src/cadence.py" line="1561"/>
<source>JACK Status</source>
<translation type="unfinished"></translation>
</message>
@ -147,12 +147,12 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1083"/>
<location filename="../src/cadence.py" line="1088"/>
<source>Start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1084"/>
<location filename="../src/cadence.py" line="1089"/>
<source>Stop</source>
<translation type="unfinished"></translation>
</message>
@ -192,7 +192,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1446"/>
<location filename="../src/cadence.py" line="1451"/>
<source>No bridge in use</source>
<translation type="unfinished"></translation>
</message>
@ -252,7 +252,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1085"/>
<location filename="../src/cadence.py" line="1090"/>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
@ -262,7 +262,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1109"/>
<location filename="../src/cadence.py" line="1114"/>
<source>Tools</source>
<translation type="unfinished"></translation>
</message>
@ -302,7 +302,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1114"/>
<location filename="../src/cadence.py" line="1119"/>
<source>Logs</source>
<translation type="unfinished"></translation>
</message>
@ -312,7 +312,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1117"/>
<location filename="../src/cadence.py" line="1122"/>
<source>Render</source>
<translation type="unfinished"></translation>
</message>
@ -322,7 +322,7 @@ Do you want to change as soon as JACK stops?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1118"/>
<location filename="../src/cadence.py" line="1123"/>
<source>XY-Controller</source>
<translation type="unfinished"></translation>
</message>
@ -522,237 +522,237 @@ Default is off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="895"/>
<location filename="../src/cadence.py" line="900"/>
<source>PulseAudio is not installed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1071"/>
<location filename="../src/cadence.py" line="1076"/>
<source>Start JACK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1072"/>
<location filename="../src/cadence.py" line="1077"/>
<source>Stop JACK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1073"/>
<location filename="../src/cadence.py" line="1078"/>
<source>Configure JACK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1076"/>
<location filename="../src/cadence.py" line="1081"/>
<source>ALSA Audio Bridge</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1079"/>
<location filename="../src/cadence.py" line="1084"/>
<source>ALSA MIDI Bridge</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1082"/>
<location filename="../src/cadence.py" line="1087"/>
<source>PulseAudio Bridge</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1115"/>
<location filename="../src/cadence.py" line="1120"/>
<source>Meter (Inputs)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1116"/>
<location filename="../src/cadence.py" line="1121"/>
<source>Meter (Output)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1352"/>
<location filename="../src/cadence.py" line="1357"/>
<source>Yes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1355"/>
<location filename="../src/cadence.py" line="1360"/>
<source>No</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1268"/>
<location filename="../src/cadence.py" line="1273"/>
<source>Unavailable</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1270"/>
<location filename="../src/cadence.py" line="1275"/>
<source>Unknown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1273"/>
<location filename="../src/cadence.py" line="1278"/>
<source>-- jackdbus is not available --</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1295"/>
<location filename="../src/cadence.py" line="1300"/>
<source>ALSA MIDI Bridge is not installed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1348"/>
<location filename="../src/cadence.py" line="1353"/>
<source>Started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="2390"/>
<location filename="../src/cadence.py" line="2395"/>
<source>%i samples</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1397"/>
<location filename="../src/cadence.py" line="1402"/>
<source>Stopped</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1426"/>
<location filename="../src/cadence.py" line="1431"/>
<source>ALSA MIDI Bridge is running, ports are exported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1428"/>
<location filename="../src/cadence.py" line="1433"/>
<source>ALSA MIDI Bridge is running</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1436"/>
<location filename="../src/cadence.py" line="1441"/>
<source>ALSA MIDI Bridge is stopped</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1460"/>
<location filename="../src/cadence.py" line="1465"/>
<source>Using Cadence snd-aloop daemon, started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1470"/>
<location filename="../src/cadence.py" line="1475"/>
<source>Using Cadence snd-aloop daemon, stopped</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1482"/>
<location filename="../src/cadence.py" line="1487"/>
<source>Using JACK plugin bridge (Always on)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1491"/>
<location filename="../src/cadence.py" line="1496"/>
<source>Using PulseAudio plugin bridge (Always on)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1884"/>
<location filename="../src/cadence.py" line="1889"/>
<source>Custom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1501"/>
<location filename="../src/cadence.py" line="1506"/>
<source>Using custom asoundrc, not managed by Cadence</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1517"/>
<location filename="../src/cadence.py" line="1522"/>
<source>PulseAudio is started and bridged to JACK with %s inputs/%s outputs</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1527"/>
<location filename="../src/cadence.py" line="1532"/>
<source>PulseAudio is started but not bridged</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1534"/>
<location filename="../src/cadence.py" line="1539"/>
<source>PulseAudio is not started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1557"/>
<location filename="../src/cadence.py" line="1562"/>
<source>Realtime</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1558"/>
<location filename="../src/cadence.py" line="1563"/>
<source>DSP Load</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1559"/>
<location filename="../src/cadence.py" line="1564"/>
<source>Xruns</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1560"/>
<location filename="../src/cadence.py" line="1565"/>
<source>Buffer Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1561"/>
<location filename="../src/cadence.py" line="1566"/>
<source>Sample Rate</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1562"/>
<location filename="../src/cadence.py" line="1567"/>
<source>Block Latency</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>Warning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1710"/>
<location filename="../src/cadence.py" line="1715"/>
<source>Failed to start JACK, please check the logs for more information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1719"/>
<location filename="../src/cadence.py" line="1724"/>
<source>Failed to stop JACK, please check the logs for more information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1724"/>
<location filename="../src/cadence.py" line="1729"/>
<source>This will force kill all JACK applications!&lt;br&gt;Make sure to save your projects before continue.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1724"/>
<location filename="../src/cadence.py" line="1729"/>
<source>Are you sure you want to force the restart of JACK?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1749"/>
<location filename="../src/cadence.py" line="1754"/>
<source>Failed to switch JACK master, please check the logs for more information.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>You&apos;re using a custom ~/.asoundrc file not managed by Cadence.&lt;br/&gt;By choosing to use a Cadence ALSA-Audio bridge, &lt;b&gt;the file will be replaced&lt;/b&gt;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>Are you sure you want to do this?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1819"/>
<location filename="../src/cadence.py" line="1824"/>
<source>Cadence::AlsaBridgeChanged(%i) - invalid index</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="2218"/>
<location filename="../src/cadence.py" line="2223"/>
<source>Add Path</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="2247"/>
<location filename="../src/cadence.py" line="2252"/>
<source>Change Path</source>
<translation type="unfinished"></translation>
</message>
@ -801,12 +801,12 @@ Default is off</source>
<context>
<name>CadenceSystemCheck_kernel</name>
<message>
<location filename="../src/cadence.py" line="475"/>
<location filename="../src/cadence.py" line="478"/>
<source>Current kernel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="494"/>
<location filename="../src/cadence.py" line="497"/>
<source>Vanilla</source>
<translation type="unfinished"></translation>
</message>
@ -3544,22 +3544,22 @@ Please start it first, then re-run Claudia-Launcher again.</source>
<context>
<name>ForceWaitDialog</name>
<message>
<location filename="../src/cadence.py" line="620"/>
<location filename="../src/cadence.py" line="625"/>
<source>Info</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="620"/>
<location filename="../src/cadence.py" line="625"/>
<source>JACK was re-started sucessfully</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="622"/>
<location filename="../src/cadence.py" line="627"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="622"/>
<location filename="../src/cadence.py" line="627"/>
<source>Could not start JACK!</source>
<translation type="unfinished"></translation>
</message>

View File

@ -109,7 +109,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Test du nom :</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1556"/>
<location filename="../src/cadence.py" line="1561"/>
<source>JACK Status</source>
<translation>Statut JACK</translation>
</message>
@ -149,12 +149,12 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Latence de bloc :</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1083"/>
<location filename="../src/cadence.py" line="1088"/>
<source>Start</source>
<translation>Démarrer</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1084"/>
<location filename="../src/cadence.py" line="1089"/>
<source>Stop</source>
<translation>Arrêter</translation>
</message>
@ -195,7 +195,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Audio ALSA</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1446"/>
<location filename="../src/cadence.py" line="1451"/>
<source>No bridge in use</source>
<translation>Pas de pont en utilisation</translation>
</message>
@ -255,7 +255,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>État de PulseAudio</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1085"/>
<location filename="../src/cadence.py" line="1090"/>
<source>Channels</source>
<translation>Canaux</translation>
</message>
@ -265,7 +265,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Démarrage automatique à la connexion</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1109"/>
<location filename="../src/cadence.py" line="1114"/>
<source>Tools</source>
<translation>Outils</translation>
</message>
@ -305,7 +305,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Mesureur de pic numérique, auto-connecté à toutes les entrées et sorties du système</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1114"/>
<location filename="../src/cadence.py" line="1119"/>
<source>Logs</source>
<translation>Journaux</translation>
</message>
@ -315,7 +315,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Affiche les journaux de JACK, A2J et LADISH</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1117"/>
<location filename="../src/cadence.py" line="1122"/>
<source>Render</source>
<translation>Rendu</translation>
</message>
@ -325,7 +325,7 @@ Voulez-vous le modifier dès que JACK s&apos;arrêtera ?</translation>
<translation>Faire un rendu d&apos;un projet JACK</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1118"/>
<location filename="../src/cadence.py" line="1123"/>
<source>XY-Controller</source>
<translation>Contrôleur XY</translation>
</message>
@ -530,237 +530,237 @@ Désenclenché par défaut</translation>
<translation>Taille du tampon préferrée :</translation>
</message>
<message>
<location filename="../src/cadence.py" line="895"/>
<location filename="../src/cadence.py" line="900"/>
<source>PulseAudio is not installed</source>
<translation>PulseAudio n&apos;est pas installé</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1071"/>
<location filename="../src/cadence.py" line="1076"/>
<source>Start JACK</source>
<translation>Démarrer JACK</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1072"/>
<location filename="../src/cadence.py" line="1077"/>
<source>Stop JACK</source>
<translation>Arrêter JACK</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1073"/>
<location filename="../src/cadence.py" line="1078"/>
<source>Configure JACK</source>
<translation>Configurer JACK</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1076"/>
<location filename="../src/cadence.py" line="1081"/>
<source>ALSA Audio Bridge</source>
<translation>Pont ALSA Audio</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1079"/>
<location filename="../src/cadence.py" line="1084"/>
<source>ALSA MIDI Bridge</source>
<translation>Pont ALSA MIDI</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1082"/>
<location filename="../src/cadence.py" line="1087"/>
<source>PulseAudio Bridge</source>
<translation>Pont PulseAudio</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1115"/>
<location filename="../src/cadence.py" line="1120"/>
<source>Meter (Inputs)</source>
<translation>Vu-mètre (entrée)</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1116"/>
<location filename="../src/cadence.py" line="1121"/>
<source>Meter (Output)</source>
<translation>Vu-mètre (sortie)</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1352"/>
<location filename="../src/cadence.py" line="1357"/>
<source>Yes</source>
<translation>Oui</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1355"/>
<location filename="../src/cadence.py" line="1360"/>
<source>No</source>
<translation>Non</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1268"/>
<location filename="../src/cadence.py" line="1273"/>
<source>Unavailable</source>
<translation>Indisponible</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1270"/>
<location filename="../src/cadence.py" line="1275"/>
<source>Unknown</source>
<translation>Inconnu</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1273"/>
<location filename="../src/cadence.py" line="1278"/>
<source>-- jackdbus is not available --</source>
<translation>-- jackdbus n&apos;est pas disponible</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1295"/>
<location filename="../src/cadence.py" line="1300"/>
<source>ALSA MIDI Bridge is not installed</source>
<translation>Le pont ALSA MIDI (a2j) n&apos;est pas installé</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1348"/>
<location filename="../src/cadence.py" line="1353"/>
<source>Started</source>
<translation>Démarré</translation>
</message>
<message>
<location filename="../src/cadence.py" line="2390"/>
<location filename="../src/cadence.py" line="2395"/>
<source>%i samples</source>
<translation type="unfinished">%i échantillons</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1397"/>
<location filename="../src/cadence.py" line="1402"/>
<source>Stopped</source>
<translation>Arrêté</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1426"/>
<location filename="../src/cadence.py" line="1431"/>
<source>ALSA MIDI Bridge is running, ports are exported</source>
<translation>Le pont ALSA MIDI est démarré, les ports sont exportés</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1428"/>
<location filename="../src/cadence.py" line="1433"/>
<source>ALSA MIDI Bridge is running</source>
<translation>Le pont ALSA MIDI est démarré</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1436"/>
<location filename="../src/cadence.py" line="1441"/>
<source>ALSA MIDI Bridge is stopped</source>
<translation>Le pont ALSA MIDI est arrêté</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1460"/>
<location filename="../src/cadence.py" line="1465"/>
<source>Using Cadence snd-aloop daemon, started</source>
<translation>Utilisation du démon snd-aloop Cadence, démarré</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1470"/>
<location filename="../src/cadence.py" line="1475"/>
<source>Using Cadence snd-aloop daemon, stopped</source>
<translation>Utilisation du démon snd-aloop Cadence, arrêté</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1482"/>
<location filename="../src/cadence.py" line="1487"/>
<source>Using JACK plugin bridge (Always on)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/cadence.py" line="1491"/>
<location filename="../src/cadence.py" line="1496"/>
<source>Using PulseAudio plugin bridge (Always on)</source>
<translation>Utilisation du pont de plugin PulseAudio (toujours activé)</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1884"/>
<location filename="../src/cadence.py" line="1889"/>
<source>Custom</source>
<translation>Personnalisé</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1501"/>
<location filename="../src/cadence.py" line="1506"/>
<source>Using custom asoundrc, not managed by Cadence</source>
<translation>Utilisation d&apos;un asoundrc personnalisé, non géré par Cadence</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1517"/>
<location filename="../src/cadence.py" line="1522"/>
<source>PulseAudio is started and bridged to JACK with %s inputs/%s outputs</source>
<translation>PulseAudio est démarré et est ponté à JACK avec %s entrées/%s sorties</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1527"/>
<location filename="../src/cadence.py" line="1532"/>
<source>PulseAudio is started but not bridged</source>
<translation>PulseAudio est démarré mais non-ponté</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1534"/>
<location filename="../src/cadence.py" line="1539"/>
<source>PulseAudio is not started</source>
<translation>PulseAudio n&apos;est pas démarré</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1557"/>
<location filename="../src/cadence.py" line="1562"/>
<source>Realtime</source>
<translation>Temps réel</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1558"/>
<location filename="../src/cadence.py" line="1563"/>
<source>DSP Load</source>
<translation>Charge DSP</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1559"/>
<location filename="../src/cadence.py" line="1564"/>
<source>Xruns</source>
<translation>Décrochages</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1560"/>
<location filename="../src/cadence.py" line="1565"/>
<source>Buffer Size</source>
<translation>Taille du tampon</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1561"/>
<location filename="../src/cadence.py" line="1566"/>
<source>Sample Rate</source>
<translation>Fréquence d&apos;échantillonage</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1562"/>
<location filename="../src/cadence.py" line="1567"/>
<source>Block Latency</source>
<translation>Latence de bloc</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>Warning</source>
<translation>Attention</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1710"/>
<location filename="../src/cadence.py" line="1715"/>
<source>Failed to start JACK, please check the logs for more information.</source>
<translation>N&apos;a pas pu démarrer JACK, veuillez vérifier les journaux pour davantage d&apos;informations.</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1719"/>
<location filename="../src/cadence.py" line="1724"/>
<source>Failed to stop JACK, please check the logs for more information.</source>
<translation>N&apos;a pas pu arrêter JACK, veuillez vérifier les journaux pour davantage d&apos;informations.</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1724"/>
<location filename="../src/cadence.py" line="1729"/>
<source>This will force kill all JACK applications!&lt;br&gt;Make sure to save your projects before continue.</source>
<translation>Ceci forcera à tuer toutes les applications JACK !&lt;br&gt;Assurez-vous d&apos;avoir sauvegardé vos projets avant de continuer.</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1724"/>
<location filename="../src/cadence.py" line="1729"/>
<source>Are you sure you want to force the restart of JACK?</source>
<translation>Étes-vous certain de vouloir forcer un redémarrage de JACK ?</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1749"/>
<location filename="../src/cadence.py" line="1754"/>
<source>Failed to switch JACK master, please check the logs for more information.</source>
<translation>&apos;a pas pu modifier JACK à-la-volée, veuillez vérifier les journaux pour davantage d&apos;informations.</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>You&apos;re using a custom ~/.asoundrc file not managed by Cadence.&lt;br/&gt;By choosing to use a Cadence ALSA-Audio bridge, &lt;b&gt;the file will be replaced&lt;/b&gt;.</source>
<translation>Vous utilisez actuellement un fichier ~/.asoundrc personnalisé non-géré par Cadence.&lt;br/&gt;En choisissant d&apos;utiliser le pont ALSA-Audio Cadence, &lt;b&gt;le fichier sera remplacé&lt;/b&gt;.</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1780"/>
<location filename="../src/cadence.py" line="1785"/>
<source>Are you sure you want to do this?</source>
<translation>Êtes-vous certain de vouloir faire ceci ?</translation>
</message>
<message>
<location filename="../src/cadence.py" line="1819"/>
<location filename="../src/cadence.py" line="1824"/>
<source>Cadence::AlsaBridgeChanged(%i) - invalid index</source>
<translation>Cadence::AlsaBridgeChanged(%i) - index invalide</translation>
</message>
<message>
<location filename="../src/cadence.py" line="2218"/>
<location filename="../src/cadence.py" line="2223"/>
<source>Add Path</source>
<translation>Ajouter un emplacement</translation>
</message>
<message>
<location filename="../src/cadence.py" line="2247"/>
<location filename="../src/cadence.py" line="2252"/>
<source>Change Path</source>
<translation>Modifier un emplacement</translation>
</message>
@ -788,7 +788,7 @@ Désenclenché par défaut</translation>
<message>
<location filename="../src/cadence.py" line="439"/>
<source>User in audio group</source>
<translation>Utilisateur dans le groupe audio</translation>
<translation type="unfinished">Utilisateur dans le groupe audio </translation>
</message>
<message>
<location filename="../src/cadence.py" line="446"/>
@ -809,12 +809,12 @@ Désenclenché par défaut</translation>
<context>
<name>CadenceSystemCheck_kernel</name>
<message>
<location filename="../src/cadence.py" line="475"/>
<location filename="../src/cadence.py" line="478"/>
<source>Current kernel</source>
<translation>Noyau utilisé</translation>
<translation type="unfinished">Noyau utilisé </translation>
</message>
<message>
<location filename="../src/cadence.py" line="494"/>
<location filename="../src/cadence.py" line="497"/>
<source>Vanilla</source>
<translation type="unfinished"></translation>
</message>
@ -2432,7 +2432,7 @@ Veuillez le démarrer en premier lieu, puis relancer à nouveau Claudia-Launcher
<message>
<location filename="../resources/ui/claudia_launcher.ui" line="2068"/>
<source>#</source>
<translation type="unfinished"></translation>
<translation type="unfinished">#</translation>
</message>
<message>
<location filename="../resources/ui/claudia_launcher.ui" line="2095"/>
@ -3561,22 +3561,22 @@ Veuillez le démarrer en premier lieu, puis relancer à nouveau Claudia-Launcher
<context>
<name>ForceWaitDialog</name>
<message>
<location filename="../src/cadence.py" line="620"/>
<location filename="../src/cadence.py" line="625"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
<location filename="../src/cadence.py" line="620"/>
<location filename="../src/cadence.py" line="625"/>
<source>JACK was re-started sucessfully</source>
<translation>JACK a é redémarré avec succès</translation>
</message>
<message>
<location filename="../src/cadence.py" line="622"/>
<location filename="../src/cadence.py" line="627"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
<location filename="../src/cadence.py" line="622"/>
<location filename="../src/cadence.py" line="627"/>
<source>Could not start JACK!</source>
<translation>Impossible de démarrer JACK !</translation>
</message>
@ -4333,7 +4333,7 @@ Il n&apos;est pas possible de configurer JACK à ce stade.</translation>
<message>
<location filename="../resources/ui/render.ui" line="52"/>
<source>...</source>
<translation type="unfinished"></translation>
<translation type="unfinished">...</translation>
</message>
<message>
<location filename="../resources/ui/render.ui" line="59"/>

View File

@ -34,7 +34,7 @@ TRANSLATIONS += cadence_en.ts
TRANSLATIONS += cadence_fr.ts
"
echo "$contents" > "$locale_root/raysession.pro"
echo "$contents" > "$locale_root/cadence.pro"
pylupdate5 "$locale_root/raysession.pro"
pylupdate5 "$locale_root/cadence.pro"

View File

@ -1,348 +0,0 @@
From 888ab07e42f37b650db7fe0dba866cf13854ce18 Mon Sep 17 00:00:00 2001
From: JP Cimalando <jp-dev@inbox.ru>
Date: Fri, 22 Mar 2019 15:17:16 +0100
Subject: [PATCH] Build, install and load translation files
---
.gitignore | 3 +++
Makefile | 30 +++++++++++++++++++++++--
src/cadence.py | 2 ++
src/catarina.py | 2 ++
src/catia.py | 2 ++
src/claudia.py | 2 ++
src/claudia_launcher.py | 2 ++
src/jacksettings.py | 2 ++
src/logs.py | 2 ++
src/render.py | 2 ++
src/shared_i18n.py | 49 +++++++++++++++++++++++++++++++++++++++++
src/systray.py | 3 +++
12 files changed, 99 insertions(+), 2 deletions(-)
create mode 100644 src/shared_i18n.py
diff --git a/.gitignore b/.gitignore
index 326ed27f..99634a3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,9 @@ ui_*.py
src/resources_rc.py
qrc_resources*.cpp
+# Translation files
+*.qm
+
# Binaries
c++/jackmeter/cadence-jackmeter
c++/xycontroller/cadence-xycontroller
diff --git a/Makefile b/Makefile
index 337ef96b..33983fc7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ DESTDIR =
LINK = ln -s
PYUIC ?= pyuic5
PYRCC ?= pyrcc5
+PYLUPDATE ?= pylupdate5
+LRELEASE ?= lrelease
# Detect X11 rules dir
ifeq "$(wildcard /etc/X11/Xsession.d/ )" ""
@@ -19,8 +21,13 @@ else
endif
# -----------------------------------------------------------------------------------------------------------------------------------------
+# Internationalization
-all: CPP RES UI
+I18N_LANGUAGES :=
+
+# -----------------------------------------------------------------------------------------------------------------------------------------
+
+all: CPP RES QM UI
# -----------------------------------------------------------------------------------------------------------------------------------------
# C++ code
@@ -41,6 +48,19 @@ RES: src/resources_rc.py
src/resources_rc.py: resources/resources.qrc
$(PYRCC) $< -o $@
+# -----------------------------------------------------------------------------------------------------------------------------------------
+# Translations
+
+TS: $(patsubst %,resources/translations/cadence_%.ts,$(I18N_LANGUAGES))
+QM: $(patsubst %,resources/translations/cadence_%.qm,$(I18N_LANGUAGES))
+
+resources/translations/%.ts:
+ @install -d resources/translations
+ $(PYLUPDATE) src/*.py resources/ui/*.ui -ts $@
+
+resources/translations/%.qm: resources/translations/%.ts
+ $(LRELEASE) $< -qm $@
+
# -----------------------------------------------------------------------------------------------------------------------------------------
# UI code
@@ -74,7 +94,7 @@ src/ui_%.py: resources/ui/%.ui
clean:
$(MAKE) clean -C c++/jackmeter
$(MAKE) clean -C c++/xycontroller
- rm -f *~ src/*~ src/*.pyc src/ui_*.py src/resources_rc.py
+ rm -f *~ src/*~ src/*.pyc src/ui_*.py src/resources_rc.py resources/translations/*.qm
# -----------------------------------------------------------------------------------------------------------------------------------------
@@ -99,6 +119,7 @@ install:
install -d $(DESTDIR)$(PREFIX)/share/cadence/pulse2loopback/
install -d $(DESTDIR)$(PREFIX)/share/cadence/icons/
install -d $(DESTDIR)$(PREFIX)/share/cadence/templates/
+ install -d $(DESTDIR)$(PREFIX)/share/cadence/translations/
install -d $(X11_RC_DIR)
# Install script files and binaries
@@ -161,6 +182,11 @@ install:
# Install main code
install -m 755 src/*.py $(DESTDIR)$(PREFIX)/share/cadence/src/
+ # Install translations
+ $(foreach l,$(I18N_LANGUAGES),install -m 644 \
+ resources/translations/cadence_$(l).qm \
+ $(DESTDIR)$(PREFIX)/share/cadence/translations/)
+
# Install addtional stuff for Cadence
install -m 644 data/pulse2jack/* $(DESTDIR)$(PREFIX)/share/cadence/pulse2jack/
install -m 644 data/pulse2loopback/* $(DESTDIR)$(PREFIX)/share/cadence/pulse2loopback/
diff --git a/src/cadence.py b/src/cadence.py
index 88816d93..b3beebf9 100755
--- a/src/cadence.py
+++ b/src/cadence.py
@@ -41,6 +41,7 @@
from shared_cadence import *
from shared_canvasjack import *
from shared_settings import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Import getoutput
@@ -2383,6 +2384,7 @@ def taskInMainThread():
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/cadence.svg"))
+ setup_i18n()
if haveDBus:
gDBus.loop = DBusQtMainLoop(set_as_default=True)
diff --git a/src/catarina.py b/src/catarina.py
index c5b375c6..d75c9733 100755
--- a/src/catarina.py
+++ b/src/catarina.py
@@ -42,6 +42,7 @@
import ui_catarina_disconnectports
from shared_canvasjack import *
from shared_settings import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Try Import OpenGL
@@ -1308,6 +1309,7 @@ def closeEvent(self, event):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/catarina.svg"))
+ setup_i18n()
# Show GUI
gui = CatarinaMainW()
diff --git a/src/catia.py b/src/catia.py
index 8101d601..13d07190 100755
--- a/src/catia.py
+++ b/src/catia.py
@@ -22,6 +22,7 @@
import ui_catia
from shared_canvasjack import *
from shared_settings import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Try Import DBus
@@ -1393,6 +1394,7 @@ def closeEvent(self, event):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/catia.svg"))
+ setup_i18n()
if jacklib is None:
QMessageBox.critical(None, app.translate("CatiaMainW", "Error"), app.translate("CatiaMainW",
diff --git a/src/claudia.py b/src/claudia.py
index 9e5bb9e1..d6bbad28 100755
--- a/src/claudia.py
+++ b/src/claudia.py
@@ -42,6 +42,7 @@
import ui_claudia_runcustom
from shared_canvasjack import *
from shared_settings import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Try Import DBus
@@ -2750,6 +2751,7 @@ def closeEvent(self, event):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/claudia.svg"))
+ setup_i18n()
if not haveDBus:
QMessageBox.critical(None, app.translate("ClaudiaMainW", "Error"), app.translate("ClaudiaMainW",
diff --git a/src/claudia_launcher.py b/src/claudia_launcher.py
index dc060585..2812f4c0 100755
--- a/src/claudia_launcher.py
+++ b/src/claudia_launcher.py
@@ -34,6 +34,7 @@
import claudia_database as database
import ui_claudia_launcher
from shared import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Imports (Carla)
@@ -1352,6 +1353,7 @@ def closeEvent(self, event):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/claudia-launcher.svg"))
+ setup_i18n()
# Do not close on SIGUSR1
signal(SIGUSR1, SIG_IGN)
diff --git a/src/jacksettings.py b/src/jacksettings.py
index 69e9f759..3e73194c 100755
--- a/src/jacksettings.py
+++ b/src/jacksettings.py
@@ -34,6 +34,7 @@
# Imports (Custom Stuff)
import ui_settings_jack
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Try Import DBus
@@ -924,6 +925,7 @@ def done(self, r):
# App initialization
app = QApplication(sys_argv)
+ setup_i18n()
# Connect to DBus
if dbus:
diff --git a/src/logs.py b/src/logs.py
index 06982a4b..bfb425e8 100755
--- a/src/logs.py
+++ b/src/logs.py
@@ -33,6 +33,7 @@
import ui_logs
from shared import *
+from shared_i18n import *
# ------------------------------------------------------------------------------------------------------------
# Fix log text output (get rid of terminal colors stuff)
@@ -451,6 +452,7 @@ def done(self, r):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/cadence.svg"))
+ setup_i18n()
# Show GUI
gui = LogsW(None)
diff --git a/src/render.py b/src/render.py
index ff1af791..e52b6b53 100755
--- a/src/render.py
+++ b/src/render.py
@@ -33,6 +33,7 @@
import ui_render
from shared import *
+from shared_i18n import *
from jacklib_helpers import *
# ------------------------------------------------------------------------------------------------------------
@@ -442,6 +443,7 @@ def done(self, r):
app.setApplicationVersion(VERSION)
app.setOrganizationName("Cadence")
app.setWindowIcon(QIcon(":/scalable/cadence.svg"))
+ setup_i18n()
if jacklib is None:
QMessageBox.critical(None, app.translate("RenderW", "Error"), app.translate("RenderW",
diff --git a/src/shared_i18n.py b/src/shared_i18n.py
new file mode 100644
index 00000000..e0c1d90b
--- /dev/null
+++ b/src/shared_i18n.py
@@ -0,0 +1,49 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+# Common/Shared code related to Internationalization
+# Copyright (C) 2019 Filipe Coelho <falktx@falktx.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# For a full copy of the GNU General Public License see the COPYING file
+
+# ------------------------------------------------------------------------------------------------------------
+# Imports (Global)
+
+import os, sys
+if True:
+ from PyQt5.QtCore import QCoreApplication, QTranslator, QLocale, QLibraryInfo
+else:
+ from PyQt4.QtCore import QCoreApplication, QTranslator, QLocale, QLibraryInfo
+
+def setup_i18n():
+ app = QCoreApplication.instance()
+ locale = QLocale()
+
+ syspath = sys.path[0]
+ qmpath = os.path.join(syspath, "..", "translations")
+
+ # Load translations from Cadence resources
+ translator = QTranslator()
+ if not translator.load(locale, "cadence", "_", qmpath):
+ return False
+ app.installTranslator(translator)
+ app.fAppTranslator = translator
+
+ # Load translations from Qt libraries
+ translator = QTranslator()
+ if not translator.load(locale, "qt", "_", qmpath):
+ translator.load(locale, "qt", "_", QLibraryInfo.location(QLibraryInfo.TranslationsPath))
+ app.installTranslator(translator)
+ app.fSysTranslator = translator
+
+ return True
diff --git a/src/systray.py b/src/systray.py
index 5a3fb593..34dcc3d5 100755
--- a/src/systray.py
+++ b/src/systray.py
@@ -49,6 +49,8 @@
except:
TrayEngine = "Qt"
+from shared_i18n import *
+
print("Using Tray Engine '%s'" % TrayEngine)
iActNameId = 0
@@ -680,6 +682,7 @@ def closeEvent(self, event):
QDialog.closeEvent(self, event)
app = QApplication(sys.argv)
+ setup_i18n()
gui = ExampleGUI()
gui.show()
sys.exit(gui.systray.exec_(app))