Warning, /education/gcompris/src/activities/explore_farm_animals/resource/board/board1.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris
0002 *
0003 * SPDX-FileCopyrightText: 2015 Johnny Jazeix <jazeix@gmail.com>
0004 *
0005 * Authors:
0006 *   Beth Hadley <bethmhadley@gmail.com> (GTK+ version)
0007 *   Johnny Jazeix <jazeix@gmail.com> (Qt Quick port)
0008 *   Timothée Giet <animtim@gmail.com> (new images and coordinates)
0009 *
0010 *   SPDX-License-Identifier: GPL-3.0-or-later
0011 */
0012 import QtQuick 2.12
0013 import GCompris 1.0 as GCompris
0014 
0015 QtObject {
0016 
0017     property string backgroundImage: "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/farm-animals.svg"
0018     property var tab : [
0019         {
0020             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.svg",
0021             "title": qsTr("Horse"),
0022             "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."),
0023             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.$CA"),
0024             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/horse.webp",
0025             "text2": qsTr("This animal has single-toed hooves."),
0026             "x": 0.18,
0027             "y": 0.43,
0028             "width": 0.2,
0029             "height": 0.19
0030         },
0031         {
0032             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chicken.svg",
0033             "title": qsTr("Chicken"),
0034             "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."),
0035             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chickens.$CA"),
0036             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/chicken.webp",
0037             "text2": qsTr("This animal has a comb on its head."),
0038             "x": 0.7,
0039             "y": 0.8,
0040             "width": 0.19,
0041             "height": 0.12
0042         },
0043         {
0044             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.svg",
0045             "title": qsTr("Cow"),
0046             "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."),
0047             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.$CA"),
0048             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cow.webp",
0049             "text2": qsTr("This animal has around 20,000 taste buds."),
0050             "x": 0.43,
0051             "y": 0.46,
0052             "width": 0.21,
0053             "height": 0.16
0054         },
0055         {
0056             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.svg",
0057             "title": qsTr("Cat"),
0058             "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."),
0059             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.$CA"),
0060             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/cat.webp",
0061             "text2": qsTr("This animal can purr."),
0062             "x": 0.14,
0063             "y": 0.68,
0064             "width": 0.12,
0065             "height": 0.1
0066         },
0067         {
0068             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.svg",
0069             "title": qsTr("Pig"),
0070             "text": qsTr("The pig goes 'oink'. Pigs wallow in the mud, mainly to control their body temperature."),
0071             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.$CA"),
0072             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/pig.webp",
0073             "text2": qsTr("This animal wallows in the mud to control its body temperature."),
0074             "x": 0.38,
0075             "y": 0.65,
0076             "width": 0.18,
0077             "height": 0.14
0078         },
0079         {
0080             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.svg",
0081             "title": qsTr("Duck"),
0082             "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."),
0083             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.$CA"),
0084             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/duck.webp",
0085             "text2": qsTr("This animal has webbed feet and can swim on the water."),
0086             "x": 0.33,
0087             "y": 0.83,
0088             "width": 0.245,
0089             "height": 0.14
0090         },
0091         {
0092             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.svg",
0093             "title": qsTr("Owl"),
0094             "text": qsTr("The owl goes 'hoot'. Owls are nocturnal birds, they have excellent vision and hearing at night."),
0095             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.$CA"),
0096             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/owl.webp",
0097             "text2": qsTr("This animal is a nocturnal bird."),
0098             "x": 0.88,
0099             "y": 0.37,
0100             "width": 0.07,
0101             "height": 0.08
0102         },
0103         {
0104             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.svg",
0105             "title": qsTr("Dog"),
0106             "text": qsTr("The dog goes 'woof'. Dogs are probably the oldest domesticated species. They are descendants of the wolf."),
0107             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.$CA"),
0108             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/dog.webp",
0109             "text2": qsTr("This animal is a descendant of the wolf."),
0110             "x": 0.86,
0111             "y": 0.62,
0112             "width": 0.195,
0113             "height": 0.14
0114         },
0115         {
0116             "image": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.svg",
0117             "title": qsTr("Sheep"),
0118             "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."),
0119             "audio": GCompris.ApplicationInfo.getAudioFilePath("qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.$CA"),
0120             "image2": "qrc:/gcompris/src/activities/explore_farm_animals/resource/animals/sheep.webp",
0121             "text2": qsTr("This animal produces wool."),
0122             "x": 0.64,
0123             "y": 0.59,
0124             "width": 0.16,
0125             "height": 0.16
0126         }
0127     ]
0128 
0129     property var instructions : [
0130         {
0131             "text": qsTr("Click on each farm animal to discover them.")
0132         },
0133         {
0134             "text": qsTr("Click on the farm animal that makes the sound you hear.")
0135         },
0136         {
0137             "text": qsTr("Click the animal that matches the description.")
0138         }
0139     ]
0140 }