Skip to content

Commit

Permalink
Merge pull request #759 from KomodoPlatform/self_update_based_on_github
Browse files Browse the repository at this point in the history
feat(auto_update): Self update based on GitHub
  • Loading branch information
Milerius authored Apr 16, 2021
2 parents 7d508ea + bb523e7 commit 612690b
Show file tree
Hide file tree
Showing 38 changed files with 1,376 additions and 408 deletions.
152 changes: 81 additions & 71 deletions atomic_defi_design/assets/languages/atomic_defi_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1206,11 +1206,6 @@
<source>Connection has been lost. You have been disconnected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/FatalErrorModal.qml" line="30"/>
<source>An error occurred. You have been disconnected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/FatalErrorModal.qml" line="36"/>
<source>Close</source>
Expand Down Expand Up @@ -1632,6 +1627,74 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NewUpdateModal</name>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="72"/>
<source>Searching new updates...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="76"/>
<source>Please wait while the application is finding a new update... You can close this modal if you want.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="83"/>
<source>Already updated</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="87"/>
<source>%1 is already up-to-date !</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="94"/>
<source>New update detected !</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="100"/>
<source>Do you want to update %1 from %2 to %3 ?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="108"/>
<source>Download</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="114"/>
<source>Remind me later</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="124"/>
<source>Download in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="147"/>
<source>Update downloaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="151"/>
<source>Update has been successfully downloaded. Do you want to restart the application now ?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="158"/>
<source>Restart now</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="168"/>
<source>Restart later</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NewUser</name>
<message>
Expand Down Expand Up @@ -2669,6 +2732,16 @@
<source>Qt version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="481"/>
<source>Search Update</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="508"/>
<source>Logout</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="291"/>
<source></source>
Expand Down Expand Up @@ -3194,73 +3267,10 @@ Network fees can vary greatly depending on your selected trading pair.</source>
</message>
</context>
<context>
<name>UpdateModal</name>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="11"/>
<source>Changelog</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="11"/>
<source>New Update!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Up to date</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Recommended</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="31"/>
<source>Problem occured</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="39"/>
<source>Skip</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="39"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="48"/>
<source>Download</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>UpdateNotificationLine</name>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>New update available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>Version:</source>
<translation type="unfinished"></translation>
</message>
<name>UpdateInvalidChecksum</name>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>Click here for the details.</source>
<location filename="../../qml/Dashboard/UpdateInvalidChecksum.qml" line="7"/>
<source>The downloaded update archive is corrupted !</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
154 changes: 82 additions & 72 deletions atomic_defi_design/assets/languages/atomic_defi_fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1206,11 +1206,6 @@
<source>Connection has been lost. You have been disconnected.</source>
<translation>La connexion a été perdue. Vous avez été déconnecté.</translation>
</message>
<message>
<location filename="../../qml/Dashboard/FatalErrorModal.qml" line="30"/>
<source>An error occurred. You have been disconnected.</source>
<translation>Une erreur s&apos;est produite. Vous avez été déconnecté.</translation>
</message>
<message>
<location filename="../../qml/Dashboard/FatalErrorModal.qml" line="36"/>
<source>Close</source>
Expand Down Expand Up @@ -1632,6 +1627,74 @@
<translation>Prix</translation>
</message>
</context>
<context>
<name>NewUpdateModal</name>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="72"/>
<source>Searching new updates...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="76"/>
<source>Please wait while the application is finding a new update... You can close this modal if you want.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="83"/>
<source>Already updated</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="87"/>
<source>%1 is already up-to-date !</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="94"/>
<source>New update detected !</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="100"/>
<source>Do you want to update %1 from %2 to %3 ?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="108"/>
<source>Download</source>
<translation type="unfinished">Téléchargement</translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="114"/>
<source>Remind me later</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="124"/>
<source>Download in progress...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="147"/>
<source>Update downloaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="151"/>
<source>Update has been successfully downloaded. Do you want to restart the application now ?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="158"/>
<source>Restart now</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Dashboard/NewUpdateModal.qml" line="168"/>
<source>Restart later</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>NewUser</name>
<message>
Expand Down Expand Up @@ -2669,6 +2732,16 @@
<source>Qt version</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="481"/>
<source>Search Update</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="508"/>
<source>Logout</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qml/Settings/SettingModal.qml" line="291"/>
<source></source>
Expand Down Expand Up @@ -3195,74 +3268,11 @@ Network fees can vary greatly depending on your selected trading pair.</source>
</message>
</context>
<context>
<name>UpdateModal</name>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Available</source>
<translation>Disponible</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Required</source>
<translation>Obligatoire</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Recommended</source>
<translation>Conseillé</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="12"/>
<source>Up to date</source>
<translation>À jour</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="11"/>
<source>New Update!</source>
<translation>Nouvelle mise à jour !</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="11"/>
<source>Changelog</source>
<translation>Changelog</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="31"/>
<source>Problem occured</source>
<translation>Un problème est survenu</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="39"/>
<source>Skip</source>
<translation>Passer</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="39"/>
<source>Close</source>
<translation>Fermer</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateModal.qml" line="48"/>
<source>Download</source>
<translation>Téléchargement</translation>
</message>
</context>
<context>
<name>UpdateNotificationLine</name>
<name>UpdateInvalidChecksum</name>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>New update available!</source>
<translation>Nouvelle mise à jour disponible!</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>Version:</source>
<translation>Version:</translation>
</message>
<message>
<location filename="../../qml/Components/UpdateNotificationLine.qml" line="22"/>
<source>Click here for the details.</source>
<translation>Cliquez ici pour les details.</translation>
<location filename="../../qml/Dashboard/UpdateInvalidChecksum.qml" line="7"/>
<source>The downloaded update archive is corrupted !</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
Expand Down
Loading

0 comments on commit 612690b

Please sign in to comment.