Warning, /education/gcompris/src/activities/scalesboard_weight_avoirdupois/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 pounds.") 0014 difficulty: 3 0015 0016 function lb(value) { 0017 /* lb == pound */ 0018 return qsTr("%1 lb").arg(value) 0019 } 0020 0021 data: [ 0022 { 0023 "masses": [[1, lb(1)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0024 "targets": [[1, lb(1)], [2, lb(2)], [3, lb(3)]], 0025 "rightDrop": false, 0026 "message": qsTr('The "lb" symbol at the end of a number means pound.' + " " + 0027 'The pound is a unit of mass, a property which corresponds to the ' + 0028 'common perception of how "heavy" an object is. This unit is used in the USA.') 0029 }, 0030 { 0031 "masses": [[1, lb(1)], [2, lb(2)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0032 "targets": [[2, lb(2)], [4, lb(4)], [5, lb(5)],[1, lb(1)]], 0033 "rightDrop": false, 0034 "message": qsTr("Drop weights on the left side to balance the scales.") 0035 }, 0036 { 0037 "masses": [[1, lb(1)], [2, lb(2)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0038 "targets": [[3, lb(3)], [4, lb(4)], [5, lb(5)],[7, lb(7)],[2, lb(2)]], 0039 "rightDrop": false, 0040 "message": qsTr("Drop weights on the left side to balance the scales.") 0041 }, 0042 { 0043 "masses": [[1, lb(1)], [2, lb(2)], [3, lb(3)], [5, lb(5)], [2, lb(2)], [4, lb(4)], [2, lb(2)]], 0044 "targets": [[3, lb(3)], [4, lb(4)], [5, lb(5)],[7, lb(7)],[8, lb(8)], [10, lb(10)],[9, lb(9)]], 0045 "rightDrop": false, 0046 "message": qsTr("Drop weights on the left side to balance the scales.") 0047 }, 0048 { 0049 "masses": [[5, lb(5)], [7, lb(7)], [9, lb(9)], [6, lb(6)], [5, lb(5)], [4, lb(4)], [7, lb(7)]], 0050 "targets": [[2, lb(2)], [3, lb(3)],[1, lb(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, lb(5)], [7, lb(7)], [9, lb(9)], [6, lb(6)], [5, lb(5)], [6, lb(6)], [7, lb(7)]], 0057 "targets": [[4, lb(4)], [3, lb(3)],[5, lb(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, lb(8)], [11, lb(11)], [9, lb(9)], [10, lb(10)], [12, lb(12)], [4, lb(4)], [9, lb(9)]], 0064 "targets": [[2, lb(2)], [6, lb(6)],[7, lb(7)],[5, lb(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, lb(6)], [9, lb(9)], [6, lb(6)], [5, lb(5)], [9, lb(9)], [7, lb(7)], [11, lb(11)]], 0071 "targets": [[3, lb(3)], [8, lb(8)], [7, lb(7)],[10, lb(10)]], 0072 "message": qsTr("Take care, you can drop weights on both sides of the scales."), 0073 "rightDrop": true 0074 }, 0075 { 0076 "masses": [[1, lb(1)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0077 "targets": [[1, lb(1)], [2, lb(2)], [3, lb(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 pound: %1") 0081 }, 0082 { 0083 "masses": [[1, lb(1)], [2, lb(2)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0084 "targets": [[3, lb(3)], [5, lb(5)], [7, lb(7)], [2, lb(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 pound: %1") 0088 }, 0089 { 0090 "masses": [[1, lb(1)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)], [1, lb(1)], [2, lb(2)]], 0091 "targets": [[4, lb(4)], [1, lb(1)], [5, lb(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 pound: %1") 0095 }, 0096 { 0097 "masses": [[1, lb(1)], [8, lb(8)], [2, lb(2)], [2, lb(2)], [7, lb(7)], [9, lb(9)], [6, lb(6)]], 0098 "targets": [[4, lb(4)], [7, lb(7)], [10, lb(10)],[5, lb(5)], [6, lb(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 pound: %1") 0102 } 0103 ] 0104 }