GComprisProject
ActivePublic

Details

Description

GCompris is a high quality educational software suite comprising of numerous activities for children aged 2 to 10.

Recent Activity

Apr 17 2019

timotheegiet closed T1498: Find a way to have less distortion in images in portait mode in the click_and_draw activity as Resolved.

This is all fixed now, closing as Resolved.

Apr 17 2019, 4:48 PM · GCompris

Apr 12 2019

amankumargupta added a comment to T1543: Background music.

Features to be added:

  1. Show the currently playing music in the main menu config dialog.
  2. Have a left/right arrows to switch between music.
  3. Have a menu like filter from which the user can select only the musics he wants to play.
Apr 12 2019, 11:25 AM · GCompris

Apr 4 2019

jjazeix added a subtask for T10211: Multiple Dataset Design : T10422: Multipledataset description and improvement.
Apr 4 2019, 8:31 PM · GCompris
jjazeix closed T6974: make a version using new Qt software renderer as Resolved.
Apr 4 2019, 8:30 PM · GCompris
jjazeix closed T6974: make a version using new Qt software renderer, a subtask of T9976: release 0.95, as Resolved.
Apr 4 2019, 8:30 PM · GCompris

Mar 24 2019

sanjayshetty added a watcher for GCompris: sanjayshetty.
Mar 24 2019, 11:35 PM

Mar 5 2019

andreask added a watcher for GCompris: andreask.
Mar 5 2019, 12:24 AM

Feb 19 2019

dekumar closed T8512: guesscount activity, missing manual., a subtask of T7029: GCI 2018 task list planning, as Resolved.
Feb 19 2019, 5:44 PM · GCompris

Feb 10 2019

jjazeix closed T7579: release 0.90 as Resolved.
Feb 10 2019, 3:05 PM · GCompris
jjazeix moved T9976: release 0.95 from WIP to Done on the GCompris board.
Feb 10 2019, 3:05 PM · GCompris
jjazeix closed T9976: release 0.95 as Resolved.
Feb 10 2019, 3:05 PM · GCompris

Feb 6 2019

parimalprasoon added a watcher for GCompris: parimalprasoon.
Feb 6 2019, 11:14 AM

Jan 26 2019

timotheegiet added a comment to T10211: Multiple Dataset Design .

The mock-up is here : https://phabricator.kde.org/M146

Jan 26 2019, 6:41 PM · GCompris

Jan 22 2019

hkaelberer removed a watcher for GCompris: hkaelberer.
Jan 22 2019, 7:03 AM

Jan 21 2019

jjazeix closed T10195: Qt 5.12 issues as Resolved.
Jan 21 2019, 9:41 AM · GCompris

Jan 20 2019

jjazeix closed D17739: Add a po file for the list of words in GCompris.

Pushed in https://cgit.kde.org/gcompris.git/commit/?id=e5fdcc7aa210d26f5154dd48fd6b1a26573a7cd1

Jan 20 2019, 3:38 PM · GCompris, KDE Edu
jjazeix added a comment to D17739: Add a po file for the list of words in GCompris.

I have tested the scripts and found one bug in poToDataset.py. It also converts obsolete entries in the PO file into JSON entries.

But I have a question. Is it necessary to also output the empty (untranslated/fuzzy) entries? If not, you can fix the bug and simplify the JSON files at the same time by just using:

for entry in poFile.translated_entries():
    word = entry.msgctxt
    data[word] = entry.msgstr
Jan 20 2019, 3:30 PM · GCompris, KDE Edu
huftis accepted D17739: Add a po file for the list of words in GCompris.

I don’t know how StaticMessages.sh stuff works, so I’m not qualified to test that part. But I’ve tested the POT and JSON generator scripts, and they seem to work perfectly.

Jan 20 2019, 3:28 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Only set the translated values in the json file

Jan 20 2019, 3:21 PM · GCompris, KDE Edu
huftis added a comment to D17739: Add a po file for the list of words in GCompris.

I have tested the scripts and found one bug in poToDataset.py. It also converts obsolete entries in the PO file into JSON entries.

Jan 20 2019, 3:12 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Use msgctxt to store the key of json file.
Write a new json instead of starting from an actual one

Jan 20 2019, 3:01 PM · GCompris, KDE Edu
huftis added a comment to D17739: Add a po file for the list of words in GCompris.

Since the filename, e.g. alarmclock.ogg, is used as the key in the JSON file, I think it would be cleaner to use it as a ‘msgctxt’ in the PO file. That way, you don’t have to try to parse the comments to extract the keys when regenerating the JSON files. And it makes it possible to have more the one image with the same ‘msgid’ (homographs with different meaning, e.g. a verb and a noun). (I don’t think there’s currently any such strings, but there may be in the future.)

I though about it at first and was afraid that the translator kept the .ogg extension in the translation. If it's safe, it will be easier. There is orange as color and fruit I think but orange-color.ogg is used for the color

Jan 20 2019, 2:53 PM · GCompris, KDE Edu
huftis requested changes to D17739: Add a po file for the list of words in GCompris.

The poToDataset.py script only seems to work if 1) there already *is* a JSON file and 2) the file contains an entry for the strings in the PO file. So someone needs to manually add the JSON file and keep the entries updated to reflect the original English JSON file. Wouldn’t it be easier to just write the JSON files based on the PO file? They should contain all the information needed to generate JSON files.

Jan 20 2019, 2:49 PM · GCompris, KDE Edu
jjazeix added a comment to D17739: Add a po file for the list of words in GCompris.

Since the filename, e.g. alarmclock.ogg, is used as the key in the JSON file, I think it would be cleaner to use it as a ‘msgctxt’ in the PO file. That way, you don’t have to try to parse the comments to extract the keys when regenerating the JSON files. And it makes it possible to have more the one image with the same ‘msgid’ (homographs with different meaning, e.g. a verb and a noun). (I don’t think there’s currently any such strings, but there may be in the future.)

Jan 20 2019, 2:49 PM · GCompris, KDE Edu
huftis added a comment to D17739: Add a po file for the list of words in GCompris.

Since the filename, e.g. alarmclock.ogg, is used as the key in the JSON file, I think it would be cleaner to use it as a ‘msgctxt’ in the PO file. That way, you don’t have to try to parse the comments to extract the keys when regenerating the JSON files. And it makes it possible to have more the one image with the same ‘msgid’ (homographs with different meaning, e.g. a verb and a noun). (I don’t think there’s currently any such strings, but there may be in the future.)

Jan 20 2019, 2:39 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Use urllib for both encoding and decoding.
Remove translation if fuzzy or update it if updated.

Jan 20 2019, 2:38 PM · GCompris, KDE Edu
huftis requested changes to D17739: Add a po file for the list of words in GCompris.

In poToDataset.py, only translated strings should be included. Currently, if a translator translates ‘foo’ to ‘bar’, waits until the JSON file is regenerated, changes their mind and deletes or fuzzies the translation (“I don’t think ‘bar’ is the correct translation for ‘foo’ after all, but I’m not sure what is the correct translation yet”), the JSON file is stuck with ‘bar’ as the translation.

Jan 20 2019, 2:27 PM · GCompris, KDE Edu
pino added inline comments to D17739: Add a po file for the list of words in GCompris.
Jan 20 2019, 2:22 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Replace "%20" with " " when recreating the json file

Jan 20 2019, 2:15 PM · GCompris, KDE Edu
pino added inline comments to D17739: Add a po file for the list of words in GCompris.
Jan 20 2019, 2:13 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Replace " " with "%20" in urls

Jan 20 2019, 2:13 PM · GCompris, KDE Edu
huftis requested changes to D17739: Add a po file for the list of words in GCompris.

One final, minor change in the URLs is need to make them clickable.

Jan 20 2019, 2:06 PM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

missing \n

Jan 20 2019, 10:08 AM · GCompris, KDE Edu
jjazeix added inline comments to D17739: Add a po file for the list of words in GCompris.
Jan 20 2019, 9:59 AM · GCompris, KDE Edu
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Remove duplicate comment of the image links. Update the image link to the good one when there are spaces (we'll look after to remove the spaces).
Fix the header.
Use words_by_section.html page instead of words.html

Jan 20 2019, 9:59 AM · GCompris, KDE Edu

Jan 19 2019

huftis added a comment to D17739: Add a po file for the list of words in GCompris.

A few suggested changes in the POT header.

Jan 19 2019, 12:54 PM · GCompris, KDE Edu
huftis added a comment to D17739: Add a po file for the list of words in GCompris.

Also, since (AFAICS) the words are organized by section in the PO file (that’s good), perhaps you should link to

Jan 19 2019, 12:34 PM · GCompris, KDE Edu
huftis requested changes to D17739: Add a po file for the list of words in GCompris.

In StaticMessages.sh, the call to the Python script in import_po_files is commented out. Is this intentional?

Jan 19 2019, 12:28 PM · GCompris, KDE Edu
huftis added a comment to D17739: Add a po file for the list of words in GCompris.

The link in comment section in your example doesn’t work (and why are they duplicated, BTW?):

Jan 19 2019, 12:14 PM · GCompris, KDE Edu
jjazeix added a comment to D17739: Add a po file for the list of words in GCompris.

Pushing it in a few hours if no complains :). Note that there is a script to fill it for languages which already have translated it in the json files

Jan 19 2019, 10:19 AM · GCompris, KDE Edu

Jan 16 2019

timotheegiet added a comment to T10195: Qt 5.12 issues.

railroad fixed in a0fb2028f924c370de8db104539c8e5ccfac7a42

Jan 16 2019, 4:01 PM · GCompris
timotheegiet updated the task description for T10195: Qt 5.12 issues.
Jan 16 2019, 4:01 PM · GCompris
timotheegiet added a comment to T10195: Qt 5.12 issues.

hanoi fixed in 98d98eb160987f4d2f58973a13c7a1dddac821fb

Jan 16 2019, 2:53 PM · GCompris
timotheegiet updated the task description for T10195: Qt 5.12 issues.
Jan 16 2019, 2:53 PM · GCompris

Jan 15 2019

timotheegiet added a comment to T10195: Qt 5.12 issues.

bargame fixed in e6ba64d11c362c66b8d9044ee99cb94a09fb22ee

Jan 15 2019, 6:50 PM · GCompris
timotheegiet updated the task description for T10195: Qt 5.12 issues.
Jan 15 2019, 6:50 PM · GCompris
jjazeix updated the diff for D17739: Add a po file for the list of words in GCompris.

Generates po with lines looking like:
#. otherChapter / number / U0039.ogg
#. https://gcompris.net/incoming/lang/words.html#nine
#: https://gcompris.net/incoming/lang/words.html#nine
msgid "nine"
msgstr ""

Jan 15 2019, 6:44 PM · GCompris, KDE Edu

Jan 13 2019

timotheegiet added a comment to T10195: Qt 5.12 issues.

money activities fixed in 326f6410153b82a55862328509800d36c47fcb06
was just a bad id issue

Jan 13 2019, 1:25 PM · GCompris
timotheegiet updated the task description for T10195: Qt 5.12 issues.
Jan 13 2019, 1:23 PM · GCompris

Jan 12 2019

jjazeix added a comment to D17739: Add a po file for the list of words in GCompris.

The information seems sufficient. But could you split it over two lines instead, and add space after colon? I recommend:

#. Description: "alphabet"
#. Image: https://www.gcompris.net/incoming/lang/lang/words/alphabet.png

Jan 12 2019, 5:22 PM · GCompris, KDE Edu