Skip to content

Commit

Permalink
In launcher, urls to install Thonny for Mac/Linux, en/fr/de/it
Browse files Browse the repository at this point in the history
  • Loading branch information
ypiguet-epfl authored and Michael Bonani committed Oct 17, 2022
1 parent ca56c75 commit 57bf477
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 3 deletions.
4 changes: 3 additions & 1 deletion aseba/launcher/src/qml/Applications.qml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ ListModel {
supportsWatchMode: false,
supportsNonThymioDevices: true,
helpUrl: "https://www.thymio.org/%1/program/python/",
installUrl: "https://thonny.org/",
installUrl: Utils.platformIsOsX() ? qsTr("url-install-thonny-mac")
: Utils.platformIsLinux() ? qsTr("url-install-thonny-linux")
: "",
isIosSupported:false,
isAndroidSupported:false
}
Expand Down
15 changes: 14 additions & 1 deletion aseba/launcher/src/translations/launcher_de.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de" sourcelanguage="en">
<context>
<name>Application</name>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-mac</source>
<translation>https://www.thymio.org/de/faq/wie-installiere-ich-thonny-auf-meinem-system/</translation>
</message>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-linux</source>
<translation>https://www.thymio.org/de/faq/wie-installiere-ich-thonny-auf-meinem-system/</translation>
</message>
</context>
<context>
<name>ApplicationSelectionView</name>
<message>
Expand Down Expand Up @@ -28,7 +41,7 @@
<translation type="obsolete">&lt;br/&gt; Lokale Verbindung </translation>
</message>
<message>
<source>&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Welcome to Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Choose your programming language to
<source>&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Welcome to Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Choose your programming language to
learn with Thymio&lt;/div&gt;</source>
<translation type="vanished">&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Willkommen bei Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Wählen Sie Ihre Programmiersprache, um mit Thymio zu lernen&lt;/div&gt;</translation>
</message>
Expand Down
13 changes: 13 additions & 0 deletions aseba/launcher/src/translations/launcher_en.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en" sourcelanguage="en">
<context>
<name>Application</name>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-mac</source>
<translation>https://www.thymio.org/faq/how-to-install-thonny-on-my-system/</translation>
</message>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-linux</source>
<translation>https://www.thymio.org/faq/how-to-install-thonny-on-my-system/</translation>
</message>
</context>
<context>
<name>ApplicationSelectionView</name>
<message>
Expand Down
13 changes: 13 additions & 0 deletions aseba/launcher/src/translations/launcher_fr.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr" sourcelanguage="en">
<context>
<name>Application</name>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-mac</source>
<translation>https://www.thymio.org/fr/faq/comment-installer-thonny/</translation>
</message>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-linux</source>
<translation>https://www.thymio.org/fr/faq/comment-installer-thonny/</translation>
</message>
</context>
<context>
<name>ApplicationSelectionView</name>
<message>
Expand Down
15 changes: 14 additions & 1 deletion aseba/launcher/src/translations/launcher_it.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it" sourcelanguage="en">
<context>
<name>Application</name>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-mac</source>
<translation>https://www.thymio.org/it/faq/come-installare-thonny-sul-mio-sistema/</translation>
</message>
<message>
<location filename="../qml/Application.qml" line="23"/>
<source>url-install-thonny-linux</source>
<translation>https://www.thymio.org/it/faq/come-installare-thonny-sul-mio-sistema/</translation>
</message>
</context>
<context>
<name>ApplicationSelectionView</name>
<message>
Expand Down Expand Up @@ -28,7 +41,7 @@
<translation type="obsolete">&lt;br/&gt; Collegamento locale </translation>
</message>
<message>
<source>&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Welcome to Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Choose your programming language to
<source>&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Welcome to Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Choose your programming language to
learn with Thymio&lt;/div&gt;</source>
<translation type="vanished">&lt;div align=&apos;center&apos; style=&apos;font-size:24px&apos;&gt;Benvenuti in Thymio Suite&lt;/div&gt;&lt;div style=&apos;font-size:16px&apos;&gt;Scegli il tuo linguaggio di programmazione per imparare con Thymio&lt;/div&gt;</translation>
</message>
Expand Down

0 comments on commit 57bf477

Please sign in to comment.