Commit 1fe12251 authored by Shubham Mishra's avatar Shubham Mishra

crane, fix spaces and typo

parent e06eab90
...@@ -122,17 +122,17 @@ function initSubLevel() { ...@@ -122,17 +122,17 @@ function initSubLevel() {
} }
} }
function getInternalWord(){ function getInternalWord() {
// function to get a word from translated lists // function to get a word from translated lists
var currentWordLength = levels[currentLevel][currentSubLevel].wordLength var currentWordLength = levels[currentLevel][currentSubLevel].wordLength
var wordsUsed var wordsUsed
if (currentWordLength == 3) { if (currentWordLength === 3) {
wordsUsed = words3Letters wordsUsed = words3Letters
} }
else if (currentWordLength == 4) { else if (currentWordLength === 4) {
wordsUsed = words4Letters wordsUsed = words4Letters
} }
else if (currentWordLength == 5) { else if (currentWordLength === 5) {
wordsUsed = words5Letters wordsUsed = words5Letters
} }
// choosing first word of a list and pushing it to the end of the list like a queue. // choosing first word of a list and pushing it to the end of the list like a queue.
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
import GCompris 1.0 import GCompris 1.0
Data { Data {
objective: qsTr("Play with Images.") objective: qsTr("Play with images.")
difficulty: 2 difficulty: 2
property var images: [ property var images: [
"qrc:/gcompris/src/activities/crane/resource/bulb.svg", "qrc:/gcompris/src/activities/crane/resource/bulb.svg",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment