Mailing List Archive

New translation instructions for git?
Hi all,

these days i got a diff file for the german translation. It contains lines
like:

diff --git a/mythplugins/mythgallery/i18n/mythgallery_de.ts
b/mythplugins/mythgallery/i18n/mythgallery_de.ts
index 35c046c..b38df74 100644
--- a/mythplugins/mythgallery/i18n/mythgallery_de.ts
+++ b/mythplugins/mythgallery/i18n/mythgallery_de.ts



Is this correct or did the translator something wrong with the git-diff
command?

Can someone please update the instructions in the wiki
(http://www.mythtv.org/wiki/Translation) ?



Thanks,

Flo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-translators/attachments/20110108/cc6c6cf5/attachment.htm>
New translation instructions for git? [ In reply to ]
Hi!

On 1/8/2011 9:17 AM, Florian Bittner wrote:
> Hi all,
>
> these days i got a diff file for the german translation. It contains
> lines like:

That's probably the patch that was submitted in a ticket a few days ago...

> Is this correct or did the translator something wrong with the git-diff
> command?

AFAIK, it's OK.

Can you try patching with patch -p1 < diff_file_name?

> Can someone please update the instructions in the wiki
> (http://www.mythtv.org/wiki/Translation) ?

They hadn't been updated fully since some things are bound to change
before the next release but I'll get on it.

I know Mike had already started adjusting it to git somewhat but there
are still a few things left to do.

BTW, please note that the patch you received is probably against 0.24
and not Trunk/master so if you had already started updating you
translation against Trunk/master it might not apply cleanly.

Have a nice day!

Nicolas
New translation instructions for git? [ In reply to ]
On 01/08/2011 10:27 AM, Nicolas Riendeau wrote:
> I know Mike had already started adjusting it to git somewhat but there
> are still a few things left to do.

Yeah, I ended up leaving the commands for creating new files and
creating patches as they were since I wasn't sure the best way to do
that--what with things like git commit (which would then mean diff needs
done with git diff origin/master HEAD instead of just git diff, and
such)... I was unwilling to decide which would be the best work
approach for you all.

Thanks for starting work on the hard part, Nicolas. :)

Mike