Bad string from the translation point of view - Mailing list pgadmin-hackers

From Marek Černocký
Subject Bad string from the translation point of view
Date
Msg-id 1417126720.23556.35.camel@sirius
Whole thread Raw
Responses Re: Bad string from the translation point of view  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
The construction:

if (wxMessageBox(_("Are you sure you wish to move objects from ") +
GetQuotedFullIdentifier() + _(" to ") + rdo.GetTablespace() + _("?"),
_("Move tablespace?"), wxYES_NO) != wxYES)
                        return;

in pgadmin/schema/pgTablespace.cpp is bad from the point of view of
translation. It should be:

if (wxMessageBox(wxString::Format(_("Are you sure you wish to move
objects from %s to %s?"), GetQuotedFullIdentifier(),
rdo.GetTablespace()), _("Move tablespace?"), wxYES_NO) != wxYES)
                        return;


Regards
Marek Černocký



pgadmin-hackers by date:

Previous
From: Alexey Loginov
Date:
Subject: Fwd: Wrong desktop file
Next
From: Sanket Mehta
Date:
Subject: Re: potential invalid input field of pgAdmin New Column GUI