[Localization] How to contribute transaltion

Ahumada Sergio Sergio.Ahumada at digia.com
Sun Dec 2 18:53:14 CET 2012


Hi,

Check this email http://lists.qt-project.org/pipermail/development/2012-December/008240.html

You might need to push to either dev or stable branches in qttranslations.git

Cheers,
--
Sergio Ahumada
Release Engineer - Digia, Qt
________________________________
From: localization-bounces+sergio.ahumada=digia.com at qt-project.org [localization-bounces+sergio.ahumada=digia.com at qt-project.org] on behalf of zdenko podobny [zdenop at gmail.com]
Sent: Sunday, December 02, 2012 18:48
To: localization
Subject: [Localization] How to contribute transaltion

Hello,

Qt-Localization[1] states "The actual act of submitting a translation is the same as for source code (see Qt Contribution Guidelines)." So I tried to follow it together with Gerrit_Introduction[3]:


  1.  I set up my gerrit account (I already have qt-project.org<http://qt-project.org> account) and I accepted agreement
  2.  I cloned translation repository:
git clone ssh://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git<http://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git>
cd qttranslations
scp -P 29418 zdenop at codereview.qt-project.org:hooks/commit-msg .git/hoo
  3.  I add my translation (qtbase_sk.ts) to translations directory and I tried to run 'make commit-ts' as suggested in wiki[1]. Unfortunately there is not such target (make: *** No rule to make target `commit-ts'.  Stop.) ;-)
  4.  So I add my translation to git and make commit:
git add -N translations/qtbase_sk.ts
git commit -m "add Slovak translation of qtbase(_sk.ts)"
  5.  Then I tried to push my contribution:
git push ssh://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git<http://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git> HEAD:refs/for/master

Unfortunately it was rejected:
Counting objects: 1, done.
Writing objects: 100% (1/1), 210 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
To ssh://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git<http://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git>
 ! [remote rejected] HEAD -> refs/for/master (prohibited by Gerrit)
error: failed to push some refs to 'ssh://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git<http://zdenop@codereview.qt-project.org:29418/qt/qttranslations.git>'

Can somebody tell me what I did wrong or what I should do to push my contribution?

[1] http://qt-project.org/wiki/Qt-Localization
[2] http://qt-project.org/wiki/Qt-Contribution-Guidelines
[3] http://qt-project.org/wiki/Gerrit_Introduction

--
Zdenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/localization/attachments/20121202/38be5efb/attachment.html>


More information about the Localization mailing list