Feed Advanced Search

Jan 26 2019

timotheegiet created M146: GCompris multi-dataset mock-up.
Jan 26 2019, 4:11 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
huftis requested changes to D17739: Add a po file for the list of words in GCompris.

Yes, it is very useful to have it in the PO format instead of the JSON format.

Jan 12 2019, 2:27 PM · GCompris, KDE Edu

Jan 11 2019

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

Thanks, I'll take a look. Other similar script that can help understanding: https://cgit.kde.org/plasma-browser-integration.git/tree/StaticMessages.sh

Jan 11 2019, 1:09 PM · GCompris, KDE Edu

Jan 10 2019

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

I think you should be using StaticMessages.sh

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

Will be commited next week if no complains, scripts to convert from json to po and opposite done.

Jan 10 2019, 10:02 PM · GCompris, KDE Edu

Dec 31 2018

echarruau added a comment to T10211: Multiple Dataset Design .

After implementing multipledataset in algebra_by, I have a clearer view about the icons to set the difficulty of each activity.
I would prefer if the multipledataset choice is done from the menu bottom rather than within the activity.

Dec 31 2018, 4:46 PM · GCompris
jjazeix added a comment to T10211: Multiple Dataset Design .

A few notes (pros/cons) on programming side:

  • Using the in-menu choice:

We only need to update the menu code once, and for each activity, add the datasets, levels in ActivityInfo.qml and update the logic to use the dataset.

  • Using the configuration in activity:

For each activity, we need to add the datasets, levels in ActivityInfo.qml and update the logic to use the dataset.
Plus, adding/updating the configuration dialog, finding a way to not have to duplicate it on all the activities, finding a common generic way to load/store the information. Once it's changed, we need to restart the activity to first level + handling correctly if there are other configuration changes.

Dec 31 2018, 1:43 PM · GCompris

Dec 23 2018

timotheegiet added a comment to T10211: Multiple Dataset Design .

After discussion with @echarruau on irc we agreed on a few points. We can make dataset settings a section of the Activity settings page we already have; we can probably put it even on top of other activity settings.
I will probably update the Activity setting button look to be more obvious (like a big wheel or something...).
It may not be really necessary to have access to activities settings from the main menu, it's enough for main users to do it from the in-activity button.

Dec 23 2018, 12:19 PM · GCompris
echarruau added a comment to T10211: Multiple Dataset Design .

I did not think about this, as I only run multidataset branch on computer, but you are right! No way to have favorite + multidataset on my small phone :(

Dec 23 2018, 10:19 AM · GCompris
timotheegiet added a comment to T10211: Multiple Dataset Design .

The problem with using the activity corner as a button is that it is really too small area for a button on small/phone screen. It is already a problem with the sun icon to set as favorite that is a little too small also in this case. I'd rather find a way to fix this than extend the issue...

Dec 23 2018, 10:09 AM · GCompris
echarruau added a comment to T10211: Multiple Dataset Design .

For me the selection of Dataset should be accessible from the icon located top left of every activity with multidataset, like it is implemented at the moment in multidataset branch, this is very convenient!
The windows that opens should display all the multidataset levels corresponding to the nb of stars chosen.

Dec 23 2018, 9:07 AM · GCompris

Dec 22 2018

jjazeix requested review of D17739: Add a po file for the list of words in GCompris.
Dec 22 2018, 5:25 PM · GCompris, KDE Edu
timotheegiet added a comment to T10211: Multiple Dataset Design .

Copy of the pad I started there: https://semestriel.framapad.org/p/multipledatasetgc

Dec 22 2018, 10:51 AM · GCompris
timotheegiet triaged T10211: Multiple Dataset Design as Normal priority.
Dec 22 2018, 10:47 AM · GCompris

Dec 18 2018

jjazeix updated the task description for T10195: Qt 5.12 issues.
Dec 18 2018, 2:58 PM · GCompris
amankumargupta removed a watcher for GCompris: amankumargupta.
Dec 18 2018, 7:26 AM
amankumargupta added a watcher for GCompris: amankumargupta.
Dec 18 2018, 7:26 AM

Dec 17 2018

jjazeix updated the task description for T10195: Qt 5.12 issues.
Dec 17 2018, 10:47 PM · GCompris
jjazeix updated the task description for T10195: Qt 5.12 issues.
Dec 17 2018, 6:06 PM · GCompris
jjazeix updated the task description for T10195: Qt 5.12 issues.
Dec 17 2018, 5:54 PM · GCompris
jjazeix created T10195: Qt 5.12 issues.
Dec 17 2018, 5:51 PM · GCompris

Dec 8 2018

jjazeix closed D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.

Committed in https://cgit.kde.org/gcompris.git/commit/?id=d7a7e4e0fc30581604755f2b05441a3af32f1b70
Thank you!

Dec 8 2018, 10:05 AM · GCompris, KDE Edu
jjazeix accepted D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.
Dec 8 2018, 10:04 AM · GCompris, KDE Edu

Dec 7 2018

smitpatil updated the diff for D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.
Dec 7 2018, 2:33 PM · GCompris, KDE Edu
amankumargupta added a comment to D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.

Oops, seems Johnny and I made comments at the same time :p

Dec 7 2018, 1:17 PM · GCompris, KDE Edu
amankumargupta added a comment to D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.

Really nice patch! Good work :)
Once the diff is updated according to comments, it'll be good I guess.

Dec 7 2018, 1:16 PM · GCompris, KDE Edu
jjazeix added inline comments to D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.
Dec 7 2018, 1:08 PM · GCompris, KDE Edu
smitpatil updated the diff for D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.
Dec 7 2018, 12:54 PM · GCompris, KDE Edu
amankumargupta added a comment to D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.

The new file that you created MoneyArea.qml isn't included in the diff. Can you do the following:
git add -A
git diff --staged > patch.diff

Dec 7 2018, 12:21 PM · GCompris, KDE Edu
amankumargupta added a task to D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea: T10156: money activities refactor answerArea and storeArea to a single file.
Dec 7 2018, 12:15 PM · GCompris, KDE Edu
amankumargupta added a reviewer for D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea: GCompris: Improvements.
Dec 7 2018, 12:15 PM · GCompris, KDE Edu
smitpatil requested review of D17399: Refactoring MoneyCore to not duplicate the answerArea and storeArea.
Dec 7 2018, 10:43 AM · GCompris, KDE Edu

Dec 6 2018

jjazeix closed D17377: keyboard binding support to "Money" based activities in gcompis.

Commited in https://cgit.kde.org/gcompris.git/commit/?id=942d53e08f48b95491967e0db64fa5957f4475ef

Dec 6 2018, 6:39 PM · GCompris, KDE Edu
jjazeix accepted D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 6:17 PM · GCompris, KDE Edu
smitpatil updated the diff for D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 6:12 PM · GCompris, KDE Edu
amankumargupta accepted D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 10:40 AM · GCompris, KDE Edu
smitpatil updated the diff for D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 10:33 AM · GCompris, KDE Edu
smitpatil updated the diff for D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 10:19 AM · GCompris, KDE Edu
amankumargupta added inline comments to D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 9:30 AM · GCompris, KDE Edu
smitpatil added inline comments to D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 9:13 AM · GCompris, KDE Edu
smitpatil updated the diff for D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 9:08 AM · GCompris, KDE Edu
smitpatil updated the diff for D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 9:03 AM · GCompris, KDE Edu
amankumargupta requested changes to D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 8:20 AM · GCompris, KDE Edu
amankumargupta added inline comments to D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 8:15 AM · GCompris, KDE Edu
amankumargupta added a task to D17377: keyboard binding support to "Money" based activities in gcompis: T8495: Money activity, implement keyboard controls..
Dec 6 2018, 8:02 AM · GCompris, KDE Edu
amankumargupta added a reviewer for D17377: keyboard binding support to "Money" based activities in gcompis: GCompris: Improvements.
Dec 6 2018, 8:02 AM · GCompris, KDE Edu
smitpatil requested review of D17377: keyboard binding support to "Money" based activities in gcompis.
Dec 6 2018, 7:57 AM · GCompris, KDE Edu

Dec 4 2018

jjazeix updated the task description for T9976: release 0.95.
Dec 4 2018, 12:44 PM · GCompris
jjazeix updated the task description for T9976: release 0.95.
Dec 4 2018, 12:28 PM · GCompris

Nov 30 2018

jjazeix updated the task description for T9976: release 0.95.
Nov 30 2018, 2:03 PM · GCompris
jjazeix updated the task description for T9976: release 0.95.
Nov 30 2018, 2:01 PM · GCompris

Nov 25 2018

amankumargupta closed T1497: Saving / Loading of children's creation as Resolved.

GCCreationHandler is now integrated with all the configurable activities. Closing this task.

Nov 25 2018, 11:20 AM · GCompris
amankumargupta closed T1497: Saving / Loading of children's creation, a subtask of T9976: release 0.95, as Resolved.
Nov 25 2018, 11:20 AM · GCompris
amankumargupta closed T10075: Integrate GCCreationHandler with Balance box and Baby Wordprocessor, a subtask of T9976: release 0.95, as Resolved.
Nov 25 2018, 11:19 AM · GCompris
amankumargupta closed D17151: Integrated GCCreationHandler with balancebox.

Commit link: https://cgit.kde.org/gcompris.git/commit/?id=7f56fc2d9c3a76419ef054fc4e440b18d08941e9

Nov 25 2018, 11:18 AM · GCompris, KDE Edu
amankumargupta added inline comments to D17151: Integrated GCCreationHandler with balancebox.
Nov 25 2018, 11:12 AM · GCompris, KDE Edu
amankumargupta added a comment to D17151: Integrated GCCreationHandler with balancebox.

Will existing created levels (via the old method) still available? If not, we need to be able to convert the old levels format to the new one and don't lose them

Nov 25 2018, 10:48 AM · GCompris, KDE Edu
jjazeix accepted D17151: Integrated GCCreationHandler with balancebox.

Will existing created levels (via the old method) still available? If not, we need to be able to convert the old levels format to the new one and don't lose them

Nov 25 2018, 10:40 AM · GCompris, KDE Edu
amankumargupta added a task to D17151: Integrated GCCreationHandler with balancebox: T10075: Integrate GCCreationHandler with Balance box and Baby Wordprocessor.
Nov 25 2018, 9:45 AM · GCompris, KDE Edu
amankumargupta requested review of D17151: Integrated GCCreationHandler with balancebox.
Nov 25 2018, 9:45 AM · GCompris, KDE Edu

Nov 24 2018

timotheegiet created T10125: Remove old words images.
Nov 24 2018, 7:04 PM · GCompris
jjazeix updated the task description for T9976: release 0.95.
Nov 24 2018, 1:35 PM · GCompris
jjazeix closed T9993: Fix Appstreamercli errors as Resolved.

used this site https://whatsmychaincert.com/?gcompris.net
showed the error and drived bcoudoin to a fix. It created a chain certificate and installed it in gcompris.net
changed apache's configuration to use it. In the SSLCertificateChainFile it now point to this file

Nov 24 2018, 10:11 AM · GCompris