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