File indexing completed on 2024-04-28 15:07:47

0001 /* GCompris - colors.js
0002  *
0003  * SPDX-FileCopyrightText: 2015 Bruno Coudoin
0004  *
0005  *   SPDX-License-Identifier: GPL-3.0-or-later
0006  */
0007 
0008 function get() {
0009     return [
0010             [ // Level 1
0011              {
0012                  "image": "qrc:/gcompris/src/activities/colors/resource/yellow_duck.svg",
0013                  "text": qsTr("Find the yellow duck"),
0014                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/yellow.$CA")
0015              },
0016              {
0017                  "image": "qrc:/gcompris/src/activities/colors/resource/black_duck.svg",
0018                  "text": qsTr("Find the black duck"),
0019                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/black.$CA")
0020              },
0021              {
0022                  "image": "qrc:/gcompris/src/activities/colors/resource/green_duck.svg",
0023                  "text": qsTr("Find the green duck"),
0024                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/green.$CA")
0025              },
0026              {
0027                  "image": "qrc:/gcompris/src/activities/colors/resource/red_duck.svg",
0028                  "text": qsTr("Find the red duck"),
0029                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/red.$CA")
0030              },
0031              {
0032                  "image": "qrc:/gcompris/src/activities/colors/resource/white_duck.svg",
0033                  "text": qsTr("Find the white duck"),
0034                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/white.$CA")
0035              },
0036              {
0037                  "image": "qrc:/gcompris/src/activities/colors/resource/blue_duck.svg",
0038                  "text": qsTr("Find the blue duck"),
0039                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/blue.$CA")
0040              }
0041             ],
0042             [ // Level 2
0043              {
0044                  "image": "qrc:/gcompris/src/activities/colors/resource/yellow_duck.svg",
0045                  "text": qsTr("Find the yellow duck"),
0046                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/yellow.$CA")
0047              },
0048              {
0049                  "image": "qrc:/gcompris/src/activities/colors/resource/black_duck.svg",
0050                  "text": qsTr("Find the black duck"),
0051                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/black.$CA")
0052              },
0053              {
0054                  "image": "qrc:/gcompris/src/activities/colors/resource/brown_duck.svg",
0055                  "text": qsTr("Find the brown duck"),
0056                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/brown.$CA")
0057              },
0058              {
0059                  "image": "qrc:/gcompris/src/activities/colors/resource/green_duck.svg",
0060                  "text": qsTr("Find the green duck"),
0061                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/green.$CA")
0062              },
0063              {
0064                  "image": "qrc:/gcompris/src/activities/colors/resource/grey_duck.svg",
0065                  "text": qsTr("Find the grey duck"),
0066                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/grey.$CA")
0067              },
0068              {
0069                  "image": "qrc:/gcompris/src/activities/colors/resource/orange_duck.svg",
0070                  "text": qsTr("Find the orange duck"),
0071                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/orange.$CA")
0072              },
0073              {
0074                  "image": "qrc:/gcompris/src/activities/colors/resource/purple_duck.svg",
0075                  "text": qsTr("Find the purple duck"),
0076                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/purple.$CA")
0077              },
0078              {
0079                  "image": "qrc:/gcompris/src/activities/colors/resource/white_duck.svg",
0080                  "text": qsTr("Find the white duck"),
0081                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/white.$CA")
0082              }
0083             ],
0084             [ // Level 3
0085              {
0086                  "image": "qrc:/gcompris/src/activities/colors/resource/yellow_duck.svg",
0087                  "text": qsTr("Find the yellow duck"),
0088                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/yellow.$CA")
0089              },
0090              {
0091                  "image": "qrc:/gcompris/src/activities/colors/resource/brown_duck.svg",
0092                  "text": qsTr("Find the brown duck"),
0093                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/brown.$CA")
0094              },
0095              {
0096                  "image": "qrc:/gcompris/src/activities/colors/resource/green_duck.svg",
0097                  "text": qsTr("Find the green duck"),
0098                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/green.$CA")
0099              },
0100              {
0101                  "image": "qrc:/gcompris/src/activities/colors/resource/grey_duck.svg",
0102                  "text": qsTr("Find the grey duck"),
0103                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/grey.$CA")
0104              },
0105              {
0106                  "image": "qrc:/gcompris/src/activities/colors/resource/orange_duck.svg",
0107                  "text": qsTr("Find the orange duck"),
0108                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/orange.$CA")
0109              },
0110              {
0111                  "image": "qrc:/gcompris/src/activities/colors/resource/purple_duck.svg",
0112                  "text": qsTr("Find the purple duck"),
0113                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/purple.$CA")
0114              },
0115              {
0116                  "image": "qrc:/gcompris/src/activities/colors/resource/pink_duck.svg",
0117                  "text": qsTr("Find the pink duck"),
0118                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/pink.$CA")
0119              },
0120              {
0121                  "image": "qrc:/gcompris/src/activities/colors/resource/blue_duck.svg",
0122                  "text": qsTr("Find the blue duck"),
0123                  "audio": ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/colors/blue.$CA")
0124              }
0125             ]
0126         ];
0127 }