- Queries
- All Stories
- Search
- Advanced Search
Advanced Search
Jan 31 2019
Jan 30 2019
Jan 29 2019
Jan 28 2019
Thank you! You can commit it on both master and KDE/0.95 branch (else I'll report it myself)
Jan 27 2019
In D18230#400393, @AkshayCHD wrote:@jjazeix regarding the part of calculating the longest string, I think only a rough idea of length is needed, it doesn't need to be exact, another option can be to apply that text to the sample question and make comparison on the basis its height, what do you say?
I have the following error when starting planegame or alphabet-sequence activities :
qrc:/gcompris/src/core/Tutorial.qml:136: TypeError: Cannot read property 'length' of undefined
Thank you, commited in https://commits.kde.org/gcompris/13214fca6ab3af3514a0030a8d4284103eece46a
Jan 23 2019
@dekumar Can you close the revision when you have some time then?
Jan 22 2019
Jan 21 2019
Jan 20 2019
In D17739#396953, @huftis wrote: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
Only set the translated values in the json file
Use msgctxt to store the key of json file.
Write a new json instead of starting from an actual one
In D17739#396924, @huftis wrote: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.)
Use urllib for both encoding and decoding.
Remove translation if fuzzy or update it if updated.
Replace "%20" with " " when recreating the json file
Replace " " with "%20" in urls
In D17945#395250, @amankumargupta wrote:Regarding the way of presenting the practice questions (whether my suggestion is good enough), I'd say let @jjazeix reply.
missing \n
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 19 2019
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 17 2019
In D18196#395046, @dekumar wrote:@jjazeix The OK button was overriding the house .You may have a look over this https://pasteboard.co/HWRy8AK.png
I'm not sure to understand this change. What does it fix? I now see the OK button more on the left of the score but I don' see which overriding it's supposed to fix
Jan 16 2019
Jan 15 2019
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 14 2019
Jan 12 2019
In D17739#391965, @huftis wrote: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 11 2019
committed in https://commits.kde.org/gcompris/4bb4dacd4e991d4749383cdc3ee4b1f8ca929394
Thank you
Thanks, I'll take a look. Other similar script that can help understanding: https://cgit.kde.org/plasma-browser-integration.git/tree/StaticMessages.sh
except these small changes, it's good for me, I'll merge them once I can
Jan 10 2019
Will be commited next week if no complains, scripts to convert from json to po and opposite done.
Jan 9 2019
You need to remove the changes in AlphabetSequence.qml and planegame.js, it should not appear here (same for the Tutorial, you should have rebased on master and not have the changed displayed).
Jan 7 2019
other libs to be checked: https://github.com/zupolgec/circuit-simulator
or maybe in C (need to check if easy to have it multiplatform): https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/src/include/ngspice/sharedspice.h