Changeset View
Changeset View
Standalone View
Standalone View
src/activities/memory-enumerate/resource/1/Data.qml
Show All 20 Lines | |||||
21 | 21 | | |||
22 | import GCompris 1.0 | 22 | import GCompris 1.0 | ||
23 | import GCompris 1.0 as GCompris | 23 | import GCompris 1.0 as GCompris | ||
24 | 24 | | |||
25 | Data { | 25 | Data { | ||
26 | objective: qsTr("Match the numbers up to 2.") | 26 | objective: qsTr("Match the numbers up to 2.") | ||
27 | difficulty: 1 | 27 | difficulty: 1 | ||
28 | 28 | | |||
29 | property string url: "qrc:/gcompris/src/activities/memory-enumerate/resource/" | 29 | property string url: "qrc:/gcompris/src/activities/memory-enumerate/resource/" | ||
jjazeix: string | |||||
30 | 30 | | |||
31 | property var texts: [ | 31 | property var texts: [ | ||
32 | ["", 1], | 32 | ["", 1], | ||
33 | ["", 2], | | |||
34 | ["", 1], | | |||
35 | ["", 2] | 33 | ["", 2] | ||
36 | ] | 34 | ] | ||
37 | 35 | | |||
38 | property var images: [ | 36 | property var images: [ | ||
39 | [url + 'math_1.svg', ''], | 37 | [url + 'math_1.svg', ''], | ||
40 | [url + 'math_2.svg', ''], | 38 | [url + 'math_2.svg', ''], | ||
41 | [url + 'math_1.svg', ''], | | |||
42 | [url + 'math_2.svg', ''] | | |||
43 | ] | 39 | ] | ||
44 | 40 | | |||
45 | property var sounds: [ | 41 | property var sounds: [ | ||
46 | ["", | 42 | ["", | ||
47 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0031.$CA")], | 43 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0031.$CA")], | ||
48 | ["", | 44 | ["", | ||
49 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0032.$CA")], | | |||
50 | ["", | | |||
51 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0031.$CA")], | | |||
52 | ["", | | |||
53 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0032.$CA")] | 45 | GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0032.$CA")] | ||
54 | ] | 46 | ] | ||
55 | 47 | | |||
56 | data: [ | 48 | data: [ | ||
57 | { // Level 1 | 49 | { // Level 1 | ||
58 | "columns": 2, | 50 | "columns": 2, | ||
59 | "rows": 2, | 51 | "rows": 2, | ||
60 | "texts": texts.slice(0, 4), | 52 | "texts": texts.slice(0, 2), | ||
61 | "images": images.slice(0, 4), | 53 | "images": images.slice(0, 2), | ||
62 | "sounds": sounds.slice(0, 4) | 54 | "sounds": sounds.slice(0, 2) | ||
63 | } | 55 | } | ||
64 | ] | 56 | ] | ||
65 | } | 57 | } |
string