Bad string from the translation point of view

From: Marek Černocký <marek(at)manet(dot)cz>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Bad string from the translation point of view
Date: 2014-11-27 22:18:40
Message-ID: 1417126720.23556.35.camel@sirius
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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ý

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Sanket Mehta 2014-11-28 10:27:29 Re: [pgadmin-hackers] potential invalid input field of pgAdmin New Column GUI
Previous Message Alexey Loginov 2014-11-27 08:07:10 Fwd: Wrong desktop file