Warning, /education/gcompris/src/activities/scalesboard_weight/resource/4/Data.qml is written in an unsupported language. File is not indexed.

0001 /* GCompris - Data.qml
0002  *
0003  * SPDX-FileCopyrightText: 2020 Deepak Kumar <deepakdk2431@gmail.com>
0004  *
0005  * Authors:
0006  *   Deepak Kumar <deepakdk2431@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 import GCompris 1.0
0011 
0012 Data {
0013     objective: qsTr("Balance up to 10 kilograms.")
0014     difficulty: 3
0015 
0016     function kg(value) {
0017            /* kg == kilogram */
0018            return qsTr("%1 kg").arg(value)
0019        }
0020 
0021     data: [
0022         {
0023             "masses": [[1, kg(1)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0024             "targets": [[1, kg(1)], [2, kg(2)], [3, kg(3)]],
0025             "rightDrop": false,
0026             "message": qsTr('The "kg" symbol at the end of a number means kilogram.') + " " +
0027                                        qsTr('The kilogram is a unit of mass, a property which corresponds to the ' +
0028                                             'common perception of how "heavy" an object is. \n Drop weights on the left side to balance the scales.')
0029         },
0030         {
0031             "masses": [[1, kg(1)], [2, kg(2)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0032             "targets": [[2, kg(2)], [4, kg(4)], [5, kg(5)],[1, kg(1)]],
0033             "rightDrop": false,
0034             "message": qsTr("Drop weights on the left side to balance the scales.")
0035         },
0036         {
0037             "masses": [[1, kg(1)], [2, kg(2)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0038             "targets": [[3, kg(3)], [4, kg(4)], [5, kg(5)],[7, kg(7)],[2, kg(2)]],
0039             "rightDrop": false,
0040             "message": qsTr("Drop weights on the left side to balance the scales.")
0041         },
0042         {
0043             "masses": [[1, kg(1)], [2, kg(2)], [3, kg(3)], [5, kg(5)], [2, kg(2)], [4, kg(4)], [2, kg(2)]],
0044             "targets": [[3, kg(3)], [4, kg(4)], [5, kg(5)],[7, kg(7)],[8, kg(8)], [10, kg(10)],[9, kg(9)]],
0045             "rightDrop": false,
0046             "message": qsTr("Drop weights on the left side to balance the scales.")
0047         },
0048         {
0049             "masses": [[5, kg(5)], [7, kg(7)], [9, kg(9)], [6, kg(6)], [5, kg(5)], [4, kg(4)], [7, kg(7)]],
0050             "targets": [[2, kg(2)], [3, kg(3)],[1, kg(1)]],
0051             "rightDrop": true,
0052             "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0053 
0054         },
0055         {
0056             "masses": [[5, kg(5)], [7, kg(7)], [9, kg(9)], [6, kg(6)], [5, kg(5)], [6, kg(6)], [7, kg(7)]],
0057             "targets": [[4, kg(4)], [3, kg(3)],[5, kg(5)]],
0058             "rightDrop": true,
0059             "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0060 
0061         },
0062         {
0063             "masses": [[8, kg(8)], [11, kg(11)], [9, kg(9)], [10, kg(10)], [12, kg(12)], [4, kg(4)], [9, kg(9)]],
0064             "targets": [[2, kg(2)], [6, kg(6)],[7, kg(7)],[5, kg(5)]],
0065             "rightDrop": true,
0066             "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0067 
0068         },
0069         {
0070             "masses": [[6, kg(6)], [9, kg(9)], [6, kg(6)], [5, kg(5)], [9, kg(9)], [7, kg(7)], [11, kg(11)]],
0071             "targets": [[3, kg(3)], [8, kg(8)], [7, kg(7)],[10, kg(10)]],
0072             "message": qsTr("Take care, you can drop weights on both sides of the scales."),
0073             "rightDrop": true
0074         },
0075         {
0076             "masses": [[1, kg(1)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0077             "targets": [[1, kg(1)], [2, kg(2)], [3, kg(3)]],
0078             "rightDrop": false,
0079             "message": qsTr("Now you have to guess the weight of the gift."),
0080             "question": qsTr("Enter the weight of the gift in kilogram: %1")
0081         },
0082         {
0083             "masses": [[1, kg(1)], [2, kg(2)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0084             "targets": [[3, kg(3)], [5, kg(5)], [7, kg(7)], [2, kg(2)]],
0085             "rightDrop": false,
0086             "message": qsTr("Now you have to guess the weight of the gift."),
0087             "question": qsTr("Enter the weight of the gift in kilogram: %1")
0088         },
0089         {
0090             "masses": [[1, kg(1)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)], [1, kg(1)], [2, kg(2)]],
0091             "targets": [[4, kg(4)], [1, kg(1)], [5, kg(5)]],
0092             "rightDrop": false,
0093             "message": qsTr("Now you have to guess the weight of the gift."),
0094             "question": qsTr("Enter the weight of the gift in kilogram: %1")
0095         },
0096         {
0097             "masses": [[1, kg(1)], [8, kg(8)], [2, kg(2)], [2, kg(2)], [7, kg(7)], [9, kg(9)], [6, kg(6)]],
0098             "targets": [[4, kg(4)], [7, kg(7)], [10, kg(10)],[5, kg(5)], [6, kg(6)]],
0099             "rightDrop": false,
0100             "message": qsTr("Now you have to guess the weight of the gift."),
0101             "question": qsTr("Enter the weight of the gift in kilogram: %1")
0102         }
0103     ]
0104 }