1/* GCompris - Data.qml 2 * 3 * SPDX-FileCopyrightText: 2021 Harsh Kumar <hadron43@yahoo.com> 4 * 5 * Authors: 6 * Harsh Kumar <hadron43@yahoo.com> 7 * 8 * SPDX-License-Identifier: GPL-3.0-or-later 9 */ 10import GCompris 1.0 11 12Data { 13 objective: qsTr("Descending order, 5 defined letters.") 14 difficulty: 4 15 data: [ 16 { 17 mode: "descending", // Either ascending or descending 18 // To override the default hardcoded instruction, define instruction string 19 // instruction: "overridden instruction" 20 random: false, 21 //: Add 5 letters in ascending lexicographical order, separated by | character. The objective is to give children these letters in random order and ask them to sort in descending lexicographical order. 22 string: qsTr("v|w|x|y|z") 23 }, 24 { 25 mode: "descending", // Either ascending or descending 26 random: false, 27 //: Add 5 letters in ascending lexicographical order, separated by | character. The objective is to give children these letters in random order and ask them to sort in descending lexicographical order. 28 string: qsTr("a|b|d|f|g") 29 } 30 ] 31} 32