Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GCompris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
27
Issues
27
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Education
GCompris
Commits
1fe12251
Commit
1fe12251
authored
Aug 13, 2020
by
Shubham Mishra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crane, fix spaces and typo
parent
e06eab90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/activities/crane/crane.js
src/activities/crane/crane.js
+4
-4
src/activities/crane/resource/1/Data.qml
src/activities/crane/resource/1/Data.qml
+1
-1
No files found.
src/activities/crane/crane.js
View file @
1fe12251
...
@@ -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.
...
...
src/activities/crane/resource/1/Data.qml
View file @
1fe12251
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
import
GCompris
1.0
import
GCompris
1.0
Data
{
Data
{
objective
:
qsTr
(
"
Play with
I
mages.
"
)
objective
:
qsTr
(
"
Play with
i
mages.
"
)
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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment