Warning, /education/gcompris/src/activities/scalesboard_weight/resource/3/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 20 grams.") 0014 difficulty: 3 0015 0016 function g(value) { 0017 /* g == gram */ 0018 return qsTr("%1 g").arg(value) 0019 } 0020 0021 data: [ 0022 { 0023 "masses": [[1, g(1)], [2, g(2)], [2, g(2)], [1, g(1)], [2, g(2)], [1, g(1)], [2, g(2)]], 0024 "targets": [[3, g(3)], [4, g(4)], [5, g(5)],[7,g(7)],[8,g(8)], [10,g(10)],[9,g(9)]], 0025 "rightDrop": false, 0026 "message": qsTr('The "g" symbol at the end of a number means gram. \n Drop weights on the left side to balance the scales.') 0027 0028 }, 0029 { 0030 "masses": [[10, g(10)], [2, g(2)], [3, g(3)], [1, g(1)], [2, g(2)], [1, g(1)], [5, g(5)]], 0031 "targets": [[13, g(13)], [14, g(14)], [15, g(15)],[17,g(17)],[18,g(18)], [20,g(20)],[19,g(19)]], 0032 "rightDrop": false, 0033 "message": qsTr("Drop weights on the left side to balance the scales.") 0034 0035 }, 0036 { 0037 "masses": [[2, g(2)], [20, g(20)], [6, g(6)], [5, g(5)], [9, g(9)], [9, g(9)], [20, g(20)]], 0038 "targets": [[16, g(16)], [13, g(13)], [19, g(19)],[17, g(17)]], 0039 "message": qsTr("Take care, you can drop weights on both sides of the scales."), 0040 "rightDrop": true 0041 }, 0042 { 0043 "masses": [[1, g(1)], [8, g(8)], [2, g(2)], [2, g(2)], [7, g(7)], [9, g(9)], [6, g(6)]], 0044 "targets": [[4, g(4)], [7, g(7)], [10, g(10)],[5, g(5)], [6, g(6)]], 0045 "rightDrop": false, 0046 "message": qsTr("Now you have to guess the weight of the gift."), 0047 "question": qsTr("Enter the weight of the gift in gram: %1") 0048 }, 0049 { 0050 "masses": [[10, g(10)], [2, g(2)], [3, g(3)], [1, g(1)], [2, g(2)], [1, g(1)], [5, g(5)]], 0051 "targets": [[13, g(13)], [14, g(14)], [15, g(15)],[17,g(17)],[18,g(18)], [20,g(20)],[19,g(19)]], 0052 "rightDrop": false, 0053 "message": qsTr("Now you have to guess the weight of the gift."), 0054 "question": qsTr("Enter the weight of the gift in gram: %1") 0055 0056 }, 0057 ] 0058 }