mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
doc: introduce translator comment policy documentation #81
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!81
Loading…
Reference in a new issue
No description provided.
Delete branch "translator-comment-policy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This serves to document our policy of requiring translator comments for any user-facing string as well as provide guidance for how to construct these translator comments.
Questions for reviewer:
render
Concept ACK, very nice!
qml, same below
Why line numbers? My suggestion is to drop them and above say "Below,
textanddescriptionvalues are examples of new user-facing ..."Note that
//:has special meaning, maybe point to https://doc.qt.io/qt-5/qtquick-internationalization.html#2-add-context-for-the-translator.Concept ACK. Un-draft?
Updated from 2fbd26a ->
a4fd76f(pr81.01 -> pr81.02)Changes: addressed review comments and made various changes.
@GBKS @shaavan would this documentation help you in constructing translator comments? What can be improved?
Done, but I didn't include the link because I don't want a translator getting confused by the other variations of this character that we won't be using.
Concept ACK
A solid Documentation! Great work, as always, @jarolrod! This documentation will definitely help me clarify how to write translator comments to have an easier time translating.
There are some minor things I would like to clarify, though.
I understand that this might be part of official guidelines and must be mentioned here. But I was just curious, wouldn’t this guideline indirectly motivate a contributor to laze out on translator comments and put it for future PR, potentially increasing translation burden on the complete project.
Can’t we use
/*: ... */for multiline comments, as we used to do in the older GUI?Also, what do you think about adding a little documentation for standardizing the spacing of comments? That is a classic beginner’s mistake from which I also used to suffer from :)
Concept ACK. This is great. I do not have any feedback on the implementation details (you have more experience with this) and will follow whatever formatting style you will decide on.
I've restarted a CI build.
ACK
a4fd76f47f