Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Dynamic strings make gettext translations fail. (http://www.linux-archive.org/debian-development/496663-dynamic-strings-make-gettext-translations-fail.html)

Ales Kozumplik 03-03-2011 12:49 PM

Dynamic strings make gettext translations fail.
 
Resolves: rhbz#681404
---
pyanaconda/gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index 92cae55..c7ff62a 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1011,7 +1011,7 @@ class InstallInterface(InstallInterfaceBase):
if waited_devs:
w = WaitWindow(_("Waiting for NetworkManager"),
_("Waiting for NetworkManager to activate "
- "these devices: %s" % ",".join(waited_devs)))
+ "these devices: %s") % ",".join(waited_devs))
failed_devs = self.anaconda.network.waitForDevicesActivation(wai ted_devs)
w.pop()

--
1.7.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Ales Kozumplik 03-03-2011 12:54 PM

Dynamic strings make gettext translations fail.
 
This is meant for both f15 and rawhide (never mind the subject).

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Radek Vykydal 03-03-2011 01:15 PM

Dynamic strings make gettext translations fail.
 
Ack.

On 03/03/2011 02:49 PM, Ales Kozumplik wrote:

Resolves: rhbz#681404
---
pyanaconda/gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index 92cae55..c7ff62a 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1011,7 +1011,7 @@ class InstallInterface(InstallInterfaceBase):
if waited_devs:
w = WaitWindow(_("Waiting for NetworkManager"),
_("Waiting for NetworkManager to activate "
- "these devices: %s" % ",".join(waited_devs)))
+ "these devices: %s") % ",".join(waited_devs))
failed_devs = self.anaconda.network.waitForDevicesActivation(wai ted_devs)
w.pop()



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 03-03-2011 01:24 PM

Dynamic strings make gettext translations fail.
 
> diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
> index 92cae55..c7ff62a 100755
> --- a/pyanaconda/gui.py
> +++ b/pyanaconda/gui.py
> @@ -1011,7 +1011,7 @@ class InstallInterface(InstallInterfaceBase):
> if waited_devs:
> w = WaitWindow(_("Waiting for NetworkManager"),
> _("Waiting for NetworkManager to activate "
> - "these devices: %s" % ",".join(waited_devs)))
> + "these devices: %s") % ",".join(waited_devs))
> failed_devs = self.anaconda.network.waitForDevicesActivation(wai ted_devs)
> w.pop()

Good catch.

There's bound to be more of these in anaconda, just waiting to be found.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 07:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.