-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown activity problem with eXe en CA #441
Comments
I've been working on the issue, unsuccessfully. My first hypothesis was a mistake in the .ca PO file, as it was the only one creating the problem, but I haven't been able to find one. Then I found a problem in the html code in listaidevice.py, line 351, which I tried to fix (changed My conclusion: it's not simply a string problem, but a problem with the interaction between code and strings, with is beyond my knowledge. Sorry I couldn't fix the issue. By the way, a new idea, does the vertical bar | interfere with anything anywhere? |
See? Even github needs protecting the hmtl code. I tried to write that I had changed ""/br>"" (break with the slash before) into "" |
Did you try changing line 2139 in cs/LC_MESSAGES/exe.po? Maybe we can fix all those wrong BR automatically. Thank you! |
Hi @jrfern: I just checked the last commits (like d39bd08), and I saw When closing a tag, a slash has to be immediately followed by Could you revert those changes or replace those BR? If you prefer, I can do it too, but I might need some help with that. Thank you... |
If you mean es/LC_MESSAGES/exe.po, that line has nothing to do with the issue, and I haven't been able to find an occurrence of "< /p>" in my PO file.
Yes, I know it's wrong, it was to test to try to start some more meaningful error (I had already tried "<br /"> without success). Reverted. A detail. Could you please start eXe in English, create a Dropdown Activity and check whether there is a space after the parenthesis in "(vertical bar )"? I removed it in exe/engine/listaidevice.py - why isn't the change visible in any language? |
Sorry. I didn't see your question.
It worked after deleting the user's "idevice" folder. The string's in the extended.data file. @david-puente: Do you know why that string's there? Is there any way to fix that without manually removing that folder/file? Thank you. |
The string is in the extended.data file because in this file save python extended idevices. To fix that without manually removing that folder/file, it would be necessary to delete or overwrite this file every time exe is started |
Would removing the extended.data file delete the user's custom iDevices or any preferences? Not in my tests... If the user doesn't lose any data, we can overwrite that file (only that file: extended.data) when upgrading eXe. Don't forget to test with new custom iDevices and copies of other iDevices (like Objectives). |
Sorry, the extended.data is only a secondary bug I discovered while trying to fix this issue (CA not showing the edition box). I'm afraid I have to reopen the issue. |
It seems to be the same problem again. What happened with your changes, @jrfern? See line 1316 in ca.js. The paragraph is closed like this again: Could you check that? If the problem remains, I suggest changing the original string in listaidevice.py and translate the new new one. If that's OK... I see that the second P starts with a space. Maybe we could just remove it so you can reuse the translated strings: Thank you. |
Carles Ferrando (the Catalan translator) and I have been working on this bug. It seems it has been fixed already - please check so we can close the issue. |
I didn't see yesterday's commit (d38c3e5). It works for me. Thank you! |
I works now if you delete the "config" folder, but can we overwrite extended.data to avoid problems when upgrading? Thank you. |
So, we have solved the Catalan version problem, we still have to fix the extended.data issue. An idea. Each time eXe is started a log file is created, as well as some temporal files. Could extended.data be a temporal file, or at least could it be recreated when eXe is launched? |
We have add a change in the commit (82078c2) to verify if there is a variable that we have added to the conf file, if it does not exist, recreate the extended.data file and add the variable to the conf file so that the file is not rewritten every time that the eXe starts. |
If no user data is lost, it can be created any time eXe starts, like other files, but it doesn't make much difference anyway. I'll try to do it as in other files if it's easy. The most important thing is avoiding data loss. Thank you. |
We have not seen user data stored in the extended.data. Is it necessary to remove it every time or just the first time as it has been implemented? |
If that folder's created each time eXe's launched, I think that creating it every time would be OK, but do it just once if you think it's better. I'd do it each time, but you know better than me what's that file for. Thank you. |
Using eXe in CA, the second TinyMCE of the Dropdown Activity iDevice won't appear.
I think it's because of the CA version of this string:
<p>Enter the text for the dropdown activity in to the dropdown field \nby either pasting text from another source or by typing text directly into the \nfield.<\/p><p> To select words to choose, double click on the word to select it and \nclick on the 'Hide\/Show' button below.<\/p>
It might be the way the last paragraph is closed.
Could you check that, @jrfern? Thank you very much.
The text was updated successfully, but these errors were encountered: