-
Notifications
You must be signed in to change notification settings - Fork 23
Update translations/settings-patchmanager.ts file on master should trigger transifex #66
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
Conversation
The"vanished" lines appear when It is safe to keep them in there, usually things like Transifiex should be able to pick them up again should the source strings reappear some time later. It's quite possible I mangled them locally when compiling, not sure. |
|
Agreed about the vanished strings but they aren't actually vanished in this case. That's why I assume a different `lupdate` command is run. Look for the "other" category string for example. Today that is not localized on DE because it is marked as vanished.
…--
Sent from my Sailfish device
|
|
@Olf0 or @nephros - I still need to merge this "unvanishing" strings PR for two reasons:
I will probably follow up with updates like this whenever |
Sounds like you are indirectly asking for a review.
Look, apart from shell scripts, spec files (the is only a single one around, here), history, some background knowledge, experience with PM and organisational stuff, my know-how is little to no help, as I originally announced. I can try to comprehend new stuff, though. Still I would like to understand the Transifex process a bit better, to comprehend how a commit containing enhanced source and target strings can be applied: PR #46 IMO, there is no reason to rush the topic translations, because there was a standstill for years! |
|
Thanks for the review @Olf0 - I haven't noticed the installroot paths either, let me see if I can find their cause. The changes are purely mechanical by lupdate, except "add back de strings" where I was adding back translations Peter already included. |
|
The installroot folder is created by my way of building patchmanager, through a porters script which calls I haven't experience the literal asterisk though - but have not been able to generate .ts files update from Qt Creator, only through the workflow above, which duplicates some file references in installroot |
That might be related, from my very brief research about wildcards in pro files there was some mention using them confuses qtcreator somehow. |
|
Ok, now I also know where the Sounds like manually running |
I did not say that this is wrong, only that this is a unexpected change, in contrast what you stated to be altered. |
previously running a `lupdate -pro patchmanager.pro` created a file called `translations/settings-parchmanager-*.ts` (a literal asterisk) using the `$$file` function seems to work much better
|
heads up, I'm reworking this using lupdate/lrelease commands over @nephros's commit |
|
the two commits where no human edit was made have the commands attached |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this fixes a lot of broken things, still some new type="vanished" are introduced (where the translated strings are there, in fact), e.g.:
- [nl] https://github.com/sailfishos-patches/patchmanager/pull/66/files#diff-671a7bfce0b1e0466c8ca587f409fcb6335cc1d91412b73cb1edd18a325c57c0R239
- [nl] https://github.com/sailfishos-patches/patchmanager/pull/66/files#diff-671a7bfce0b1e0466c8ca587f409fcb6335cc1d91412b73cb1edd18a325c57c0R466
- [nl_BE] https://github.com/sailfishos-patches/patchmanager/pull/66/files#diff-d15607b0954f57322273c328a093e7bdcacc38325d87804c83478ed69516c291R239
- [nl_BE] https://github.com/sailfishos-patches/patchmanager/pull/66/files#diff-d15607b0954f57322273c328a093e7bdcacc38325d87804c83478ed69516c291R466
- [pl] https://github.com/sailfishos-patches/patchmanager/pull/66/files#diff-9a1a8955cd6b8dab3485b761f60c923035748c38711765f79476b8d7f75d81aaR239
And supposedly many more, if not all of the TS-files, each in lines 239 and 466.
|
Thanks Olf for this pass. The vanished you're mentioning seem to be because 'Have possible conflicts' is now 'May have conflicts' and 'Developer mode' is also changed into "Allow incompatible patches". |
Olf0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O.K., there you go.
But now we are really cheating with my "approval"!
|
Yes, I'll review that PR tonight.
No, I think it's part of the learning process, we must more than one person looking for the transifex integration. Consider it part of onboarding - even if this doesn't work as intended, learning it will be either way. |
Well, ack. |
This should trigger transifex.
Also there were some strings marked as "vanished" in #53 - My guess is Qt Creator building (I built from commandline). I reverted only the translations/ part of that commit, added back what my commandline build generated, then added the de strings.
Next let's sett if transifex gets updated (it did, on my super secret org)