Re: Bulgarian translation of git
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Feb 13, 2012, 15:43 UTC
- Message-ID
- <CANYiYbHkbUvL-d4M0iOyE5F-6rM=swk_knGEFTr9HGBK6T9UDg@mail.gmail.com>
- In-Reply-To
- <20120213133957.GA4838@burratino>
2012/2/13 Jonathan Nieder <jrnieder@gmail.com>:
Show 11 quoted lines
> I wonder if there's a simple to ask the gettext tools to make a po > template including strings from both 'maint' and 'master'. (Hackish way > demonstrated below.) > > Hopefully that would make it easier for translators to keep both > tracks well maintained at the same time. If a problem in the > translation of a string shared by 'master' and 'maint' is only noticed > while working on 'master', there would be no need to go through the > "switch branches; make the change; switch back; merge" dance. > > What do you think?
Translators on a new language may not like this. Translating the obsolete messages in pot file is boring and waste of time.
> po/git.pot: $(LOCALIZED_C) > - $(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ $(XGETTEXT_FLAGS_C) $(LOCALIZED_C) > + cp $@ $@+
Failed if po/git.pot does not exist. touch one first?
> + $(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ --join-existing $(XGETTEXT_FLAGS_C) $(LOCALIZED_C) > $(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ --join-existing $(XGETTEXT_FLAGS_SH) \ > $(LOCALIZED_SH) > mv $@+ $@
-- Jiang Xin