Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
#69 Add missing translatable texts
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed Sep 25, 2017
1 parent 7a00051 commit 7b51e3d
Show file tree
Hide file tree
Showing 8 changed files with 284 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Dialog {
tooltip: qsTr("Remove script")

onClicked: {
messageBoxConfirmDelete.message = qsTr('Are you sure you want to remove user script "' + model.name + '"?"')
messageBoxConfirmDelete.message = qsTr('Are you sure you want to remove user script ') + model.name + '?'
messageBoxConfirmDelete.closed.connect(onActivated);
messageBoxConfirmDelete.open()
}
Expand Down Expand Up @@ -216,7 +216,7 @@ Dialog {
MessageBoxDialog {
id: messageBoxConfirmDelete

title: "Confirm remove user script"
title: qsTr("Confirm remove user script")

standardButtons: Dialog.Yes | Dialog.No
x: parent.width / 2 - width / 2
Expand Down
109 changes: 84 additions & 25 deletions src/languages/MellowPlayer_ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@
<translation>versió 2.1 o posterior per obtenir detalls.</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="159"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="178"/>
<source>Created by</source>
<translation>Creat per</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="180"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="207"/>
<source>Artwork by</source>
<translation>Dissenyat per</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="201"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="232"/>
<source>Contributors</source>
<translation>Col·laboradors</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="268"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="314"/>
<source>Credits</source>
<translation>Crèdits</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="279"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/AboutDialog.qml" line="325"/>
<source>Close</source>
<translation>Tanca</translation>
</message>
Expand All @@ -68,32 +68,32 @@
<context>
<name>AutomaticSettingsPage</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="71"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="73"/>
<source>Restore defaults</source>
<translation>Restaura els valors predeterminats</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="76"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="78"/>
<source>Restore &lt;b&gt;</source>
<translation>Restaura &lt;b&gt;</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="76"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="78"/>
<source>&lt;/b&gt; settings to their &lt;b&gt;default values&lt;/b&gt;.</source>
<translation>&lt;/b&gt; la configuració als &lt;b&gt;valors predeterminats&lt;/b&gt;.</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="85"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="88"/>
<source>Are you sure you want to restore all </source>
<translation>Esteu segurs que voleu restaurar tota</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="85"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="88"/>
<source> settings to their default values?</source>
<translation>la configuració als valors predeterminats?</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="86"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/AutomaticSettingsPage.qml" line="89"/>
<source>Confirm restore defaults</source>
<translation>Confirma la restauració dels valors predeterminats</translation>
</message>
Expand Down Expand Up @@ -124,7 +124,7 @@
<context>
<name>ColorSettingDelegate</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ColorSettingDelegate.qml" line="40"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ColorSettingDelegate.qml" line="46"/>
<source>Please choose a color</source>
<translation>Trieu un color</translation>
</message>
Expand Down Expand Up @@ -367,7 +367,7 @@ escoltat apareixeran aquí...</translation>
<context>
<name>ListeningHistorySectionDelegate</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ListeningHistorySectionDelegate.qml" line="74"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ListeningHistorySectionDelegate.qml" line="78"/>
<source>Confirm remove</source>
<translation>Confirma l&apos;eliminació</translation>
</message>
Expand Down Expand Up @@ -511,22 +511,22 @@ escoltat apareixeran aquí...</translation>
<context>
<name>MainWindow</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="59"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="57"/>
<source>Are you sure you want to quit MellowPlayer?</source>
<translation>Esteu segurs que voleu sortir del MellowPlayer?</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="60"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="58"/>
<source>Confirm quit</source>
<translation>Confirma la sortida</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="68"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="66"/>
<source>Closing to system tray</source>
<translation>Minimitza a la safata del sistema</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="69"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/MainWindow.qml" line="67"/>
<source>&lt;p&gt;MellowPlayer will continue to run in background.&lt;br&gt;You can quit the application or restore the main window via the system tray icon menu.&lt;/p&gt;</source>
<translation>&lt;p&gt;MellowPlayer continuarà funcionant en segon pla. &lt;br&gt;Podeu deixar l&apos;aplicació o restaurar la finestra principal a través del menú de la icona de la safata del sistema.&lt;/p&gt;</translation>
</message>
Expand Down Expand Up @@ -669,20 +669,25 @@ escoltat apareixeran aquí...</translation>
<context>
<name>ServiceSettingDelegate</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ServiceSettingDelegate.qml" line="73"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ServiceSettingDelegate.qml" line="78"/>
<source>Version </source>
<translation>Versió</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ServiceSettingDelegate.qml" line="73"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ServiceSettingDelegate.qml" line="78"/>
<source> by </source>
<translation>per</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Delegates/ServiceSettingDelegate.qml" line="126"/>
<source>User scripts</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>ServiceSettingsPage</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/ServiceSettingsPage.qml" line="48"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/SettingsPages/ServiceSettingsPage.qml" line="50"/>
<source>Create plugin</source>
<translation>Crea un complement</translation>
</message>
Expand All @@ -698,27 +703,27 @@ escoltat apareixeran aquí...</translation>
<context>
<name>SettingsPage</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="38"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="39"/>
<source>Back</source>
<translation>Enrere</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="139"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="142"/>
<source>Restore all to defaults</source>
<translation>Restaura tots els valors predeterminats</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="147"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="150"/>
<source>Restore all settings to their &lt;b&gt;default value&lt;/b&gt;.</source>
<translation>Restaura totes les configuracions al seu &lt;b&gt;valor predeterminat&lt;/b&gt;.</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="175"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="185"/>
<source>Are you sure you want to restore all settings to their default values?</source>
<translation>Esteu segurs que voleu restaurar totes les configuracions al seu valor predeterminat?</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="176"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Pages/SettingsPage.qml" line="186"/>
<source>Confirm restore defaults</source>
<translation>Confirma la restauració dels valors predeterminats</translation>
</message>
Expand Down Expand Up @@ -1321,6 +1326,60 @@ escoltat apareixeran aquí...</translation>
<translation>No s&apos;ha pogut instal·lar l&apos;actualització, comproveu els registres d&apos;advertència i errors i torneu-ho a provar...</translation>
</message>
</context>
<context>
<name>UserScriptsDialog</name>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="20"/>
<source> - User Scripts</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="40"/>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="102"/>
<source>Add user script</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="52"/>
<source>Done</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="92"/>
<source>No user script found</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="108"/>
<source>Click to add a user script</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="186"/>
<source>Remove script</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="189"/>
<source>Are you sure you want to remove user script </source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="219"/>
<source>Confirm remove user script</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="229"/>
<source>Javascript files</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="230"/>
<source>Choose a user script</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>WebViewContextMenu</name>
<message>
Expand Down
10 changes: 10 additions & 0 deletions src/languages/MellowPlayer_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,16 @@ listened to will appear here...</source>
<source>Remove script</source>
<translation>User Skript löschen</translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="189"/>
<source>Are you sure you want to remove user script </source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="219"/>
<source>Confirm remove user script</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="229"/>
<source>Javascript files</source>
Expand Down
10 changes: 10 additions & 0 deletions src/languages/MellowPlayer_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,16 @@ listened to will appear here...</source>
<source>Remove script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="189"/>
<source>Are you sure you want to remove user script </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="219"/>
<source>Confirm remove user script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../lib/MellowPlayer/Presentation/Views/MellowPlayer/Dialogs/UserScriptsDialog.qml" line="229"/>
<source>Javascript files</source>
Expand Down
Loading

0 comments on commit 7b51e3d

Please sign in to comment.