1/* GCompris
2 *
3 * SPDX-FileCopyrightText: 2016 Divyam Madaan <divyam3897@gmail.com>
4 *
5 * Authors:
6 *   Divyam Madaan <divyam3897@gmail.com>
7 *
8 *   SPDX-License-Identifier: GPL-3.0-or-later
9 */
10import QtQuick 2.9
11
12QtObject{
13    property bool isEmbedded: false
14    property bool allowExpertMode: true
15    property string imagesPrefix: "qrc:/gcompris/src/activities/lang/resource/words_sample/"
16    property var levels: [
17        {
18            "type": "lesson",
19            "name": qsTr("Fruits"),
20            "image": "qrc:/gcompris/data/words/fruits/fruitsalad.jpg",
21            "content": [
22                {
23                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
24                    "image": imagesPrefix + "fruit.png",
25                    "maxNumberOfGood": 6,
26                    "maxNumberOfBad": 6,
27                    "prefix": "qrc:/gcompris/data/words/",
28                    "good": ["fruits/apple.jpg","fruits/apricot.jpg","fruits/banana.jpg","fruits/berries.jpg","fruits/billberries.jpg","fruits/cherries.jpg"],
29                    "bad": ["vegetables/batatadoce.jpg","vegetables/bittergourd.jpg","vegetables/blackchillies.jpg","vegetables/aubergine.jpg","others/house.jpg","others/street.jpg"],
30                },
31                {
32                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
33                    "image": imagesPrefix + "fruit.png",
34                    "maxNumberOfGood": 6,
35                    "maxNumberOfBad": 6,
36                    "prefix": "qrc:/gcompris/data/words/",
37                    "good": ["fruits/cranberries.jpg","fruits/feiji.jpg","fruits/kiwi.jpg","fruits/lemon.jpg","fruits/litchi.jpg","fruits/mango.jpg"],
38                    "bad": ["vegetables/garlic.jpg","vegetables/carrots.jpg","vegetables/cauliflower.jpg","vegetables/chillies.jpg","others/spoon.jpg","others/fork.jpg"]
39                },
40                {
41                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
42                    "image": imagesPrefix + "fruit.png",
43                    "maxNumberOfGood": 5,
44                    "maxNumberOfBad": 7,
45                    "prefix": "qrc:/gcompris/data/words/",
46                    "good": ["fruits/mirabellen.jpg","fruits/nectarine.jpg","fruits/papaya.jpg","fruits/peach.jpg","fruits/pineapple.jpg"],
47                    "bad": ["vegetables/chineseradish.jpg","vegetables/cucumber.jpg","food/cereal.jpg","food/macroni.jpg","food/hamburger.jpg","transport/cycle.jpg","transport/car1.jpg"]
48                },
49                {
50                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
51                    "image": imagesPrefix + "fruit.png",
52                    "maxNumberOfGood": 4,
53                    "maxNumberOfBad": 5,
54                    "prefix": "qrc:/gcompris/data/words/",
55                    "good": ["fruits/plum.jpg","fruits/stackelberry.jpg","fruits/tyttberries.jpg","fruits/strwaberry.jpg"],
56                    "bad": ["vegetables/dahuisi.jpg","others/mobile.jpg","vegetables/fid.jpg","food/eggs.jpg","food/icecream.jpg"]
57                },
58                {
59                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
60                    "image": imagesPrefix + "fruit.png",
61                    "maxNumberOfGood": 4,
62                    "maxNumberOfBad": 5,
63                    "prefix": "qrc:/gcompris/data/words/",
64                    "good": ["fruits/fruitsalad.jpg","fruits/guava.jpg","fruits/grapes.jpg","fruits/litchi.jpg"],
65                    "bad": ["vegetables/pumpkin.jpg","transport/bus.jpg","food/milk.jpg","food/cheese.jpg","food/butter.jpg"]
66                },
67                {
68                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
69                    "image": imagesPrefix + "fruit.png",
70                    "maxNumberOfGood": 3,
71                    "maxNumberOfBad": 3,
72                    "prefix": "qrc:/gcompris/data/words/",
73                    "good": ["fruits/pear.jpg","fruits/pyrusmalus.jpg","fruits/pineapple.jpg"],
74                    "bad": ["vegetables/radish.jpg","food/popcorn.jpg","others/street.jpg"]
75                },
76                {
77                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
78                    "image": imagesPrefix + "fruit.png",
79                    "maxNumberOfGood": 3 ,
80                    "maxNumberOfBad": 3,
81                    "prefix": "qrc:/gcompris/data/words/",
82                    "good": ["fruits/peach.jpg","fruits/tyttberries.jpg","fruits/papaya.jpg"],
83                    "bad": ["vegetables/spinach.jpg","food/hotdog.jpg", "food/milk.jpg"]
84                },
85                {
86                    "instructions": qsTr("Place the FRUITS to the right and other objects to the left"),
87                    "image": imagesPrefix + "fruit.png",
88                    "maxNumberOfGood": 2,
89                    "maxNumberOfBad": 4,
90                    "prefix": "qrc:/gcompris/data/words/",
91                    "good": ["fruits/mango.jpg","fruits/strwaberry.jpg"],
92                    "bad": ["others/pencil.jpg","vegetables/onion.jpg","food/cheese.jpg","food/water.jpg"]
93                }
94            ]
95        }
96    ]
97}
98