-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
[Q] [Package restructure query] QOwnNotes_*.qm files in their own subdirectory? #2905
Comments
It would be possible. But it would take several releases and lots of bug reports to get out all the issues that would cause on all the different ways to install QOwnNotes, so I'm not very keen to get to that. 😆 |
Thank you. Let me know if I can help in testing, should you decide to take this on 😃 |
You can test if the translations are still working if you put them into a folder |
Then it should be just some creating of the folder and updating
|
Hm, but it would also mean for all current users that after the next update they'd have the language files twice... 🤔 😬 |
Thank you for testing and confirming...
I don't think that more than 2% of people are reading them and 1% of them would really want to act on them. I usually try to do everything automatically, but I don't really want to start deleting files, because of portable-mode... |
they are always listed, this list is hardcoded. the question is if the actual language is shown in the user interface. can you please try at least two languages that are not english? |
Thank you... |
Just an update on this matter: over the last few months, I've tried out other interface languages with the lanugage files residing in the |
Thank you. 😉 |
How about adding into Edit: I tested a portable version with duplicate language files, both in the root directory and |
I have a little bit of fear trying to remove files on the user end, because I don't know what the user has put there... 😅 |
I can understand 😀 Hopefully no one has saved anything — let alone anything important — with a QM extension in the program's root directory! |
If you want, you can create a pull request, and I'll think about it. |
I have very little experience with Git and pull requests 😬 However, I've had a look at the process. Once I perform a bit of testing with the modified batch file and it's successful, I'll push through to creating the PR. |
Thank you. Also keep in mind that the update script will be deployed with a usual update too. So it is only active after a 2nd update. If the update script breaks, it's game over. Everyone needs to do a manual download and setup everything new! So whatever you do in the update script, it must not break the update process or the script itself! The command needs to work from Windows XP to Windows 11! |
Yes, I will perform due diligence to ensure it works as expected 😀 What do you think of this approach?:
During a normal update, any custom .qm files with the same name(s) as those in the update package will be overwritten anyway. So this should be safe from a user's perspective. Edit: now that I've given it a bit more thought, the older QM files will overwrite the newer ones, because the new QM files will already be inside a
Thoughts? |
Source code
Build process
Update script
|
Currently, there are 88 files in QOwnNotes-23.11.2.zip's root directory. Of these, 65 are QOwnNotes_*.qm files.
Is it possible to place these files into their own subdirectory? If so, can future QOwnNotes-*.zip files be updated to reflect this structure? It would clean up the layout and make it easier to locate files such as QOwnNotesPortable.bat.
Thanks and regards,
alexanderino
The text was updated successfully, but these errors were encountered: