ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] [git update] packages/alterator-nut: heads/master
Date: Wed, 2 May 2007 18:12:44 +0400
Message-ID: <75e139a00705020712y492dd364k37fa718ecc321f8c@mail.gmail.com> (raw)
In-Reply-To: <20070502125354.77C7642C0925@ssh.git.local.altlinux.org>

2007/5/2, Stanislav Ievlev <inger / altlinux.org>:
[...]
> -#: ui/html-messages.scm:1 ui/html-messages.scm:8 ui/html-messages.scm:12
> -#: backend3/template-nut-devices:42
> +#: ui/html-messages.scm:1 ui/html-messages.scm:6 ui/html-messages.scm:10
> +#: backend3/template-nut-devices:47
>  msgid "UPS devices"
>  msgstr "Пристрої UPS"
[...]

Если вызывать xgettext с параметром --no-location, то в результирующий
po-файл, не будут "зашиваться" пути к файлам и номера строк. В
результате при изменении сырцов не будут не будут так сильно
изменяться po-файлы. И в конечном счете дифы к ревизиям станут меньше
и не будут содержать правок номеров строк.

Вопрос: я вижу лишь плюсы --no-location и предлагаю его использовать.
Есть ли какие-нибудь минусы у этого подхода? И если да, то какие?

P.S. Сходу приходит в голову то, что затруднится ручной поиск строки
из po-файла в сырцах. Но для этого и grep -n бы подошел, как по мне :)
А для poedit'а это, наверное, не важно (?).

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

       reply	other threads:[~2007-05-02 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-02 14:12 ` Slava Semushin [this message]
2007-05-02 14:16   ` Mikhail Gusarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75e139a00705020712y492dd364k37fa718ecc321f8c@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git