Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Use the translated repo name in the Edit Repository dialog (http://www.linux-archive.org/debian-user/652897-use-translated-repo-name-edit-repository-dialog.html)

Vratislav Podzimek 04-05-2012 08:50 AM

Use the translated repo name in the Edit Repository dialog
 
Resolves: rhbz#728556
---
iw/task_gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index b1e2808..dc574d7 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -172,7 +172,7 @@ class RepoEditor:
def createDialog(self):

if self.repo:
- self.nameEntry.set_text(self.repo.name)
+ self.nameEntry.set_text(gettext.ldgettext("comps", self.repo.name))
if self.repo.anacondaBaseURLs:
url = self.repo.anacondaBaseURLs[0]
else:
--
1.7.4.4

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

David Cantrell 04-05-2012 02:18 PM

Use the translated repo name in the Edit Repository dialog
 
Assuming this is tested and works, ack.

On Thu, Apr 05, 2012 at 10:50:31AM +0200, Vratislav Podzimek wrote:
> Resolves: rhbz#728556
> ---
> iw/task_gui.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/iw/task_gui.py b/iw/task_gui.py
> index b1e2808..dc574d7 100644
> --- a/iw/task_gui.py
> +++ b/iw/task_gui.py
> @@ -172,7 +172,7 @@ class RepoEditor:
> def createDialog(self):
>
> if self.repo:
> - self.nameEntry.set_text(self.repo.name)
> + self.nameEntry.set_text(gettext.ldgettext("comps", self.repo.name))
> if self.repo.anacondaBaseURLs:
> url = self.repo.anacondaBaseURLs[0]
> else:
> --
> 1.7.4.4
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

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

Vratislav Podzimek 04-05-2012 07:09 PM

Use the translated repo name in the Edit Repository dialog
 
On Thu, 2012-04-05 at 10:18 -0400, David Cantrell wrote:
> Assuming this is tested and works, ack.
Yes it is. Pushed.

> On Thu, Apr 05, 2012 at 10:50:31AM +0200, Vratislav Podzimek wrote:
> > Resolves: rhbz#728556
> > ---
> > iw/task_gui.py | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/iw/task_gui.py b/iw/task_gui.py
> > index b1e2808..dc574d7 100644
> > --- a/iw/task_gui.py
> > +++ b/iw/task_gui.py
> > @@ -172,7 +172,7 @@ class RepoEditor:
> > def createDialog(self):
> >
> > if self.repo:
> > - self.nameEntry.set_text(self.repo.name)
> > + self.nameEntry.set_text(gettext.ldgettext("comps", self.repo.name))
> > if self.repo.anacondaBaseURLs:
> > url = self.repo.anacondaBaseURLs[0]
> > else:
> > --
> > 1.7.4.4
> >
> > _______________________________________________
> > Anaconda-devel-list mailing list
> > Anaconda-devel-list@redhat.com
> > https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>

--
Vratislav Podzimek <vpodzime@redhat.com>

_______________________________________________
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 04:29 PM.

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