GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — do not store `.ui` lines in `.ts` files by firewave · Pull Request #7020 · cppcheck-opensource/cppcheck Conversation
Collaborator
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Collaborator
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
I have never understood how that really works anyway. If the same string appears 3 times in a source file and is translated into 3 different strings.. then developer refactors the code.. the same strings still appear but in changed locations.. I don't understand how qt can be sure that the correct translations will be matched. A basic refactoring is that some functions are moved so that the strings do not appear in the same order anymore. Idea to prevent problems: I believe it would be simple to write a small script that checks the ts files.. if the same string should be translated into different translated strings then write error message.. we will then have to look into that and see what we can do about it. If the script is happy then removing ui and locations should be safe? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
As I am currently working on cleaning up the translations (see #8073) I will take a look what the impact of this would be. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.