Re: Bad PO/POT files for gnome-disk-utilities
- From: F Wolff <friedel translate org za>
- To: gnome-i18n gnome org
- Subject: Re: Bad PO/POT files for gnome-disk-utilities
- Date: Wed, 17 Feb 2010 01:06:27 +0200
Op Di, 2010-02-16 om 22:17 +0100 skryf Luca Ferretti:
> Take a look at
> http://l10n.gnome.org/POT/gnome-disk-utility.master/gnome-disk-utility.master.pot
>
> The fist message (the one with info about module, translators, other...)
> seems to come from a source file. Here is a copy and paste.
>
> # SOME DESCRIPTIVE TITLE.
> # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
> # This file is distributed under the same license as the PACKAGE package.
> # FIRST AUTHOR <EMAIL ADDRESS>, YEAR.
> #
> #: ../src/gdu-gtk/gdu-error-dialog.c:163
> #, fuzzy
> msgid ""
> msgstr ""
> "Project-Id-Version: PACKAGE VERSION\n"
> "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
> "disk-utility&component=general\n"
>
> Is this a l10n.g.o issue generating the POT file (and consequentially
> inherited on all PO files) or an issue in g-d-u sources?
This seems to be a bug in gnome-disk-utility on the mentioned line:
gtk_window_set_title (GTK_WINDOW (dialog), _(""));
This can't be done with gettext like this. If the empty string is
really wanted, a disambiguating context has to be supplied. I think
pgettext() is the correct function to use.
Friedel
--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/it-seems-my-web-browser-unique
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]