doc: introduce translator comment policy documentation #81

Manually merged
jarolrod merged 1 commit from translator-comment-policy into main 2021-11-12 06:52:50 +00:00 AGit
jarolrod commented 2021-11-04 01:48:15 +00:00 (Migrated from github.com)

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:

  • Should this be a general localization policy document, which includes the translator comment policy as a part of it?
    • There could be benefit in documenting our full list of policies around localizations as what not to use and what is ok to use, etc ...
  • Concept N/ACK on general direction of the information contained in the doc?

render

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: - Should this be a general localization policy document, which includes the translator comment policy as a part of it? - There could be benefit in documenting our full list of policies around localizations as what not to use and what is ok to use, etc ... - Concept N/ACK on general direction of the information contained in the doc? [render](https://github.com/bitcoin-core/gui-qml/blob/a4fd76f47f290e2cfb21d040383409d9ac30be81/src/qml/doc/translator-comments.md)
promag (Migrated from github.com) reviewed 2021-11-04 10:43:48 +00:00
promag (Migrated from github.com) left a comment

Concept ACK, very nice!

Concept ACK, very nice!
promag (Migrated from github.com) commented 2021-11-04 10:34:55 +00:00

qml, same below

qml, same below
promag (Migrated from github.com) commented 2021-11-04 10:39:59 +00:00

Why line numbers? My suggestion is to drop them and above say "Below, text and description values are examples of new user-facing ..."

Why line numbers? My suggestion is to drop them and above say "Below, `text` and `description` values are examples of new user-facing ..."
promag (Migrated from github.com) commented 2021-11-04 10:43:31 +00:00
Note that `//:` has special meaning, maybe point to https://doc.qt.io/qt-5/qtquick-internationalization.html#2-add-context-for-the-translator.
hebasto (Migrated from github.com) reviewed 2021-11-05 10:10:40 +00:00
hebasto (Migrated from github.com) left a comment

Concept ACK. Un-draft?

Concept ACK. Un-draft?
jarolrod commented 2021-11-10 19:05:31 +00:00 (Migrated from github.com)

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?

Updated from 2fbd26a -> a4fd76f ([pr81.01](https://github.com/jarolrod/gui-qml/tree/pr81.01) -> [pr81.02](https://github.com/jarolrod/gui-qml/tree/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?
jarolrod (Migrated from github.com) reviewed 2021-11-10 19:06:18 +00:00
jarolrod (Migrated from github.com) commented 2021-11-10 19:06:18 +00:00

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.

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.
shaavan (Migrated from github.com) reviewed 2021-11-11 11:38:00 +00:00
shaavan (Migrated from github.com) left a comment

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.

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.
shaavan (Migrated from github.com) commented 2021-11-11 11:36:42 +00:00

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.

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.
shaavan (Migrated from github.com) commented 2021-11-11 11:37:29 +00:00

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 :)

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 :)
GBKS commented 2021-11-11 12:47:23 +00:00 (Migrated from github.com)

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.

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.
hebasto commented 2021-11-11 13:12:03 +00:00 (Migrated from github.com)

I've restarted a CI build.

I've restarted a CI build.
hebasto (Migrated from github.com) approved these changes 2021-11-12 06:48:28 +00:00
hebasto (Migrated from github.com) left a comment
ACK a4fd76f47f290e2cfb21d040383409d9ac30be81
Sign in to join this conversation.
No description provided.