public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Updating .pot files
@ 2020-06-03 22:02 Stephen Casner
  2020-06-11  9:44 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Casner @ 2020-06-03 22:02 UTC (permalink / raw)
  To: binutils

What's the procedure for updating .pot files?  Is there any
expectation that .pot files should be updated as source files are
changed, or only as releases are set?

For example with the gas.pot file, I see Nick's commit 1b1bb2c67bb on
Jan 18 2020 for "Update version to 2.34.50.  Regenerate configure and
.pot files."  But git annotate shows the file was subsequently updated
by commit 8f595e9b4fd on May 20 2020 even though that file is not
shown in the git diff for that commit.  There must be some magic there
somewhere.

I was in charge of gettext-based i18n for a project in a previous
life, but that was a while ago and I recall the process being mostly
manual.

                                                        -- Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Updating .pot files
  2020-06-03 22:02 Updating .pot files Stephen Casner
@ 2020-06-11  9:44 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2020-06-11  9:44 UTC (permalink / raw)
  To: Stephen Casner, binutils

Hi Stephen,

> What's the procedure for updating .pot files?

Ad hoc. :-)  Ideally they should be regenerated any time a translatable
string is changed or added.  But in practice this rarely happens.  The
most common time is when a release branch is created, and the regeneration
is one of the steps in this process.


> For example with the gas.pot file, I see Nick's commit 1b1bb2c67bb on
> Jan 18 2020 for "Update version to 2.34.50.  Regenerate configure and
> .pot files."  But git annotate shows the file was subsequently updated
> by commit 8f595e9b4fd on May 20 2020 even though that file is not
> shown in the git diff for that commit.  There must be some magic there
> somewhere.

Nope - just a snafu - the update should have been mentioned in the commit.

Cheers
  Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-11  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 22:02 Updating .pot files Stephen Casner
2020-06-11  9:44 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).