[Localization] Dear Qt Team, I would like to contribute the translation of "Chinese (Taiwan)" to Qt/QtCreator.

Mårten Nordheim marten.nordheim at qt.io
Fri Mar 17 14:25:47 CET 2023


There was some issues with gerrit earlier today leading to some required maintenance.
It could be related to that :)

Mårten Nordheim

From: Haowei Hsu <hwhsu1231 at gmail.com>
Sent: fredag 17. mars 2023 13:02
To: Mårten Nordheim <marten.nordheim at qt.io>; localization at qt-project.org
Subject: Re: [Localization] Dear Qt Team, I would like to contribute the translation of "Chinese (Taiwan)" to Qt/QtCreator.

Hi Marten, here is the strange thing:

The commit that I pushed a few hours ago can be presented in Code Review now:
Translation: Update qtcreator_zh_TW.ts (Iab696ac7)<https://codereview.qt-project.org/c/qt-creator/qt-creator/+/466593>
However, it just couldn't be presented in Code Review then.
I don't know why, but I guess it might be related to the server itself?

---
Haowei Hsu

Mårten Nordheim <marten.nordheim at qt.io<mailto:marten.nordheim at qt.io>> 於 2023年3月17日 週五 下午5:49寫道:
As it says in the output there is ‘no new changes’. Meaning that your current local patch is exactly the
same as the one that’s currently uploaded on gerrit.
Make sure you `git add`ed the new updates, and/or `git commit --amend`ed your existing commit.

And no, you don’t have to open an issue before making changes.
Just explain the rationale of your change if you are changing something existing.
If you are adding new translations the rationale should be quite clear anyway :)

Mårten Nordheim

From: Localization <localization-bounces at qt-project.org<mailto:localization-bounces at qt-project.org>> On Behalf Of Haowei Hsu
Sent: fredag 17. mars 2023 06:31
To: Eike Ziller <Eike.Ziller at qt.io<mailto:Eike.Ziller at qt.io>>
Cc: localization at qt-project.org<mailto:localization at qt-project.org>
Subject: Re: [Localization] Dear Qt Team, I would like to contribute the translation of "Chinese (Taiwan)" to Qt/QtCreator.

I met an error when pushing the change to refs/for/10.0.
------------------------------------------------------------
To https://codereview.qt-project.org/qt-creator/qt-creator
 ! [remote rejected]       HEAD -> refs/for/10.0 (no new changes)
error: failed to push some refs to 'https://codereview.qt-project.org/qt-creator/qt-creator'
------------------------------------------------------------
What happened? How to fix this?

[cid:image001.png at 01D958DC.5CAF1DD0]
---
Haowei Hsu

Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月17日 週五 上午12:12寫道:
I have a question about proposing a translation suggestion.

Is it recommended that follow the following workflow to propose a translation suggestion:

  *   Open an issue in Jira: [zh_TW] Suggest that "XXX" be translated into "YYY".
  *   Commit a corresponding change to fix it in CodeReview.

individually?
---
Haowei Hsu

Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月16日 週四 下午9:07寫道:
I have a question about translating the strings.

What are the effects of type="unfinished" label?
Should we change this label after translating the string?

[cid:image002.png at 01D958DC.5CAF1DD0]

---
Haowei Hsu

Eike Ziller <Eike.Ziller at qt.io<mailto:Eike.Ziller at qt.io>> 於 2023年3月16日 週四 下午5:33寫道:
Hi,

good to see that you figured out your issues.
The "Reviewed-by:" footer(s) are automatically added by Gerrit when the actual review is done and the patch is submitted.
Do not add these yourself.

Br, Eike

> Am 16/03/2023 um 07:51 schrieb Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>>:
>
> I've added "Franklin Weng" and "Yi-Jyun Pan" as reviewers in my commit.
> There is a question that I want to ask.
> I found that some previous commits have "Reviewed-by:" string in their commit messages.
> Should I add those in my commit message myself?
>
> <image.png>
> <image.png>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月16日 週四 下午2:39寫道:
> Eike, Oswald,
>
> I found the solution to this error message.
> After I submitted an "Individual" Agreement in: https://codereview.qt-project.org/settings#Agreements
> the push operation worked successfully.
> I can see a new commit is represented in: Translation: Update qtcreator_zh_TW.ts (I59b82e44)
> So what should I do next?
>
> <image.png> <image.png>
> <image.png>
> <image.png>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月16日 週四 上午2:02寫道:
> I git clone the source code again though ssh.
> However, after running the "git push origin HEAD:refs/for/10.0" command,
> this time another error showed up:
> --------------------------------------------------------------------------------
> fatal: No Contributor Agreement on file for user Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> (id=1008569)https://codereview.qt-project.org/settings#Agreements
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
> and the repository exists.
> --------------------------------------------------------------------------------
> What happened? How to fix this?
> Please help me!!<image.png>
>
> <image.png>
> <image.png>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月16日 週四 上午1:33寫道:
> I tried to run the "git push gerrit HEAD:refs/for/10.0" command in CLI.
> However, a fatal error showed up.
>
> fatal: unable to access 'https://codereview.qt-project.org/qt-creator/qt-creator/': The requested URL returned error: 403
>
> What happened? How to fix this?
>
> <image.png>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月15日 週三 上午1:40寫道:
> Also, there are some GUI buttons and Commands provided by VSCode-Gerrit.
> How do I use them to accomplish the standard Push/Review to Gerrit remote?
>
> <image.png> <image.png>---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月15日 週三 上午1:30寫道:
> After committing the change to the local repo with the following context:
> --------------------------------------------------------------------------------
> Translation: Update qtcreator_zh_TW.ts
>
> * Debug: 除錯 -> 偵錯
>
> Fixes: QTCREATORBUG-27422
> --------------------------------------------------------------------------------
> I found that the "Change-Id:" message is appended automatically.
> How do I add Reviewers into the commit automatically?
>
> <image.png> <image.png>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月15日 週三 上午12:29寫道:
> The followings are other examples of the title that I can think of:
>
> l10n: Update zh_TW translation
> l10n: Update qtcreator_zh_TW.ts
> i18n: Update zh_TW translation
> i18n: Update qtcreator_zh_TW.ts
>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月15日 週三 上午12:08寫道:
> Also, what is the recommended "Commit Message Title" when updating qtcreator_zh_TW.ts file?
>
> zh_TW: Update qtcreator_zh_TW.ts
> Fix zh_TW translation
> Update zh_TW translation
> Translation: Update qtcreator_zh_TW.ts
> Tr(zh_TW): Update qtcreator_zh_TW.ts
>
> The above examples are what I can think of.
> And the following is the commit context that I decided currently:
> --------------------------------------------------------------------------------
> <Commit-Message-Title>
>
> Debug: 除錯 -> 偵錯
>
> Fixes: QTCREATORBUG-27422
> --------------------------------------------------------------------------------
> Any suggestions?
>
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月14日 週二 下午8:23寫道:
> Excuse me, Eike.
>
> I need some help and instructions.
>
> I have basically completed the relevant setups mentioned in the following links:
>> Setting up Gerrit - Qt Wiki
>     • Qt Contribution Guidelines - Qt Wiki
>
> The steps I have completed are:
>> Create a Qt account
>     • Setup the Gerrit account
>     • Git Clone the source code from https://code.qt.io/qt-creator/qt-creator.git
>     • Setup Gerrit git remote https://codereview.qt-project.org/a/qt-creator/qt-creator
>     • Setup git hooks by copying commit-msg into .git/hooks directory
>
> In addition, to facilitate the commit of changes, I have installed and configured the VSCode extension VSCode-Gerrit.
> And it seems that this extension has successfully connected to the Qt Gerrit Git remote.The following is the screenshot:
>
> <image.png>
>
> There is an issue that I posted in Qt Bug Tracker before: QTCREATORBUG-27422
> And I want to commit a change to close it. The followings are the steps that I've done in the local currently:
>> Replace all the string "除錯" by the string "偵錯" in qtcreator_zh_TW.ts of 10.0 branch
>     • Stage the modification that I did (not yet commit to the local repo)
>
> What should I do next?
> What commit messages should I write in this commit?
> What should I do to push the commit into the Gerrit remote?
> If possible, I want to use VSCode-Gerrit to do so.
>
> Note:
> Since this is my first commit to the Qt Project, I don't want to mess up anything.
> Can you tell me what should I do to complete the rest of the work?
> Thank you.
> ---
> Haowei Hsu
>
> Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>> 於 2023年3月14日 週二 下午7:32寫道:
> Got it, thanks!
>
> Eike Ziller <Eike.Ziller at qt.io<mailto:Eike.Ziller at qt.io>> 於 2023年3月7日 週二 下午6:04寫道:
> Hi,
>
> I've attached the updated zh_TW .ts file for Qt Creator 10.0.
> Please work on that, and then put the result up on gerrit for Qt Creator's 10.0 branch. (If you need help with that, feel free to ask me or the mailing list.)
>
> Br, Eike
>
>
>
> > Am 08/02/2023 um 04:09 schrieb Haowei Hsu <hwhsu1231 at gmail.com<mailto:hwhsu1231 at gmail.com>>:
> >
> > Dear Qt Team,
> >
> > I would like to contribute the translation of "Chinese (Taiwan)" to Qt/QtCreator.
> >
> > After reading this article of Qt Wiki,
> >     • I tried to register in the webpage linked by Localization Info Page (qt-project.org<http://qt-project.org>). But I haven't received any response from it since 2023/01/24. What do I miss?
> > <image.png>
> >     • There is a Transifex project provided by Qt. I also joined the team and contributed some "zh_TW" translations there. How do I see whether the modifications are applied?
> > <image.png>
> >     • Should I commit the translation to the repository directly? Or should I submit to the Transifex of Qt?
> > qtcreator_zh_TW.ts\translations\qtcreator\share - qt-creator/qt-creator.git - A cross-platform Qt IDE
> >
> > Since Qt Localization - Qt Wiki tells me that:
> >
> > Please talk with us before you start - otherwise you may end up duplicating work, translating a dead or highly unstable branch, etc. We've seen it before.
> >
> > I don't know who I should contact, so I send this email to all the members listed in the following link, including localization at qt-project.org<mailto:localization at qt-project.org>:
> >     •
> > Members · Gerrit Code Review (qt-project.org<http://qt-project.org>)
> >
> > Can someone tell me what should I do to contribute the "Chinese (Taiwan)"  translation to Qt/QtCreator?
> >
> > Sincerely.
> > ---
> > Haowei Hsu
>
> --
> Eike Ziller
> Principal Software Engineer
>
> The Qt Company GmbH
> Erich-Thilo-Straße 10
> D-12489 Berlin
> eike.ziller at qt.io<mailto:eike.ziller at qt.io>
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Jouni Lintunen
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
>
>

--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.ziller at qt.io<mailto:eike.ziller at qt.io>
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/localization/attachments/20230317/2e860dcb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 97745 bytes
Desc: image001.png
URL: <http://lists.qt-project.org/pipermail/localization/attachments/20230317/2e860dcb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 56792 bytes
Desc: image002.png
URL: <http://lists.qt-project.org/pipermail/localization/attachments/20230317/2e860dcb/attachment-0003.png>


More information about the Localization mailing list