delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2018/12/17/06:57:19

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 17 Dec 2018 12:55:39 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Sergey Alyoshin (alyoshin DOT s AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] gerbv about to release
In-Reply-To: <CAOxVtSQ8Y7uArzoB9Z+eJE-q4CnNxUrJmfrUsE9KMi022CfT1A@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1812171240030.1577@nimbus>
References: <CAOxVtSQdM4XKcgREufvBCGG1--U7zs9E2qNudtZJhPR3dUW0cg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1812170419150 DOT 21900 AT igor2priv> <CAOxVtSQ8Y7uArzoB9Z+eJE-q4CnNxUrJmfrUsE9KMi022CfT1A AT mail DOT gmail DOT com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 17 Dec 2018, Sergey Alyoshin (alyoshin DOT s AT gmail DOT com) [via geda-user AT delorie DOT com] wrote:
> Yes ru.po (and man translation) are "auto" updated. This need to be fixed.
>
> You can reset not committed changes in files by
>    git checkout  .
>    ## or only in po/ru.po
>    git checkout  po/ru.po
>
> After this I belie you can do 'git pull'.

This works as intended, please don't "fix" it.

Doing changes to the codebase affects the localized messages (even if the 
strings don't change, the line numbers can still change).  These changes 
are automatically propagated to the .po files by the build system.

How this is reflected in version control is a matter of convention.  You 
could commit the updated .po files along with the code changes in every 
commit; or you could update the .po files only when you actually update 
the translation.  As a compromise, the .po files are often updated before 
a release, whether or not the translation has actually been updated.

If I didn't do any work in the po/ subdirectory, I usually just do "git 
checkout po", or in case of geda-gaf, "git checkout */po" to reset the 
changes.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019