Debian Codegraph @

src/activities/explore_farm_animals/resource/board/board1.qml

raw
1 /* GCompris
2 *
3 * SPDX-FileCopyrightText: 2015 Johnny Jazeix <[email protected]>
4 *
5 * Authors:
6 * Beth Hadley <[email protected]> (GTK+ version)
7 * Johnny Jazeix <[email protected]> (Qt Quick port)
8 * Timothée Giet <[email protected]> (new images and coordinates)
9 *
10 * SPDX-License-Identifier: GPL-3.0-or-later
11 */
12 import QtQuick
13 import core 1.0 as GCompris
14
15 QtObject {
16
17 property string backgroundImage: "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/farm-animals.svg"
18 property var tab : [
19 {
20 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.svg",
21 "title": qsTr("Horse"),
22 "text": qsTr("The horse goes 'neigh'. Horses are adapted to run, allowing them to quickly escape predators, and possess an excellent sense of balance. They have single-toed hooves."),
23 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.$CA"),
24 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.webp",
25 "text2": qsTr("This animal has single-toed hooves."),
26 "x": 0.18,
27 "y": 0.43,
28 "width": 0.2,
29 "height": 0.19
30 },
31 {
32 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chicken.svg",
33 "title": qsTr("Chicken"),
34 "text": qsTr("The chicken goes 'cluck'. Domestic chickens have wings, but are not capable of long-distance flight. They have a comb on their head."),
35 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chickens.$CA"),
36 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chicken.webp",
37 "text2": qsTr("This animal has a comb on its head."),
38 "x": 0.7,
39 "y": 0.8,
40 "width": 0.19,
41 "height": 0.12
42 },
43 {
44 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.svg",
45 "title": qsTr("Cow"),
46 "text": qsTr("The cow goes 'moo'. Cows have a wide field of view of 330°. They have a well-developed sense of taste, with around 20,000 taste buds. They can detect odours 8km away."),
47 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.$CA"),
48 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.webp",
49 "text2": qsTr("This animal has around 20,000 taste buds."),
50 "x": 0.43,
51 "y": 0.46,
52 "width": 0.21,
53 "height": 0.16
54 },
55 {
56 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.svg",
57 "title": qsTr("Cat"),
58 "text": qsTr("The cat goes 'meow'. Cats are valued by humans for companionship and their ability to chase mice and other rodents. They purr to communicate various emotions."),
59 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.$CA"),
60 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.webp",
61 "text2": qsTr("This animal can purr."),
62 "x": 0.14,
63 "y": 0.68,
64 "width": 0.12,
65 "height": 0.1
66 },
67 {
68 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.svg",
69 "title": qsTr("Pig"),
70 "text": qsTr("The pig goes 'oink'. Pigs wallow in the mud, mainly to control their body temperature."),
71 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.$CA"),
72 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.webp",
73 "text2": qsTr("This animal wallows in the mud to control its body temperature."),
74 "x": 0.38,
75 "y": 0.65,
76 "width": 0.18,
77 "height": 0.14
78 },
79 {
80 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.svg",
81 "title": qsTr("Duck"),
82 "text": qsTr("The duck goes 'quack'. Ducks are mostly aquatic birds. They have waterproof feathers and webbed feet which enable them to swim on the water."),
83 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.$CA"),
84 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.webp",
85 "text2": qsTr("This animal has webbed feet and can swim on the water."),
86 "x": 0.33,
87 "y": 0.83,
88 "width": 0.245,
89 "height": 0.14
90 },
91 {
92 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.svg",
93 "title": qsTr("Owl"),
94 "text": qsTr("The owl goes 'hoot'. Owls are nocturnal birds, they have excellent vision and hearing at night."),
95 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.$CA"),
96 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.webp",
97 "text2": qsTr("This animal is a nocturnal bird."),
98 "x": 0.88,
99 "y": 0.37,
100 "width": 0.07,
101 "height": 0.08
102 },
103 {
104 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.svg",
105 "title": qsTr("Dog"),
106 "text": qsTr("The dog goes 'woof'. Dogs are probably the oldest domesticated species. They are descendants of the wolf."),
107 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.$CA"),
108 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.webp",
109 "text2": qsTr("This animal is a descendant of the wolf."),
110 "x": 0.86,
111 "y": 0.62,
112 "width": 0.195,
113 "height": 0.14
114 },
115 {
116 "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.svg",
117 "title": qsTr("Sheep"),
118 "text": qsTr("The sheep goes 'baa'. Most sheep breeds bear a fleece of wool. The fleece can be sheared and used to produce textile fibre."),
119 "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.$CA"),
120 "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.webp",
121 "text2": qsTr("This animal produces wool."),
122 "x": 0.64,
123 "y": 0.59,
124 "width": 0.16,
125 "height": 0.16
126 }
127 ]
128
129 property var instructions : [
130 {
131 "text": qsTr("Click on each farm animal to discover them.")
132 },
133 {
134 "text": qsTr("Click on the farm animal that makes the sound you hear.")
135 },
136 {
137 "text": qsTr("Click the animal that matches the description.")
138 }
139 ]
140 }