Обсуждение: Bad string from the translation point of view

Поиск
Список
Период
Сортировка

Bad string from the translation point of view

От
Marek Černocký
Дата:
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ý



Re: Bad string from the translation point of view

От
Ashesh Vashi
Дата:
On Fri, Nov 28, 2014 at 3:48 AM, Marek Černocký <marek@manet.cz> wrote:
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;
Agree.

Dave,

Can we consider this as bug?

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi



Regards
Marek Černocký



--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Re: Bad string from the translation point of view

От
Guillaume Lelarge
Дата:
2014-11-28 15:13 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:
On Fri, Nov 28, 2014 at 3:48 AM, Marek Černocký <marek@manet.cz> wrote:
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;
Agree.

Dave,

Can we consider this as bug?


If you mean for 1.18, no. But 1.20, sure.


--

Re: Bad string from the translation point of view

От
Ashesh Vashi
Дата:


On 29 Nov 2014 03:09, "Guillaume Lelarge" <guillaume@lelarge.info> wrote:
>
> 2014-11-28 15:13 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:
>>
>> On Fri, Nov 28, 2014 at 3:48 AM, Marek Černocký <marek@manet.cz> wrote:
>>>
>>> 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;
>>
>> Agree.
>>
>> Dave,
>>
>> Can we consider this as bug?
>>
>
> If you mean for 1.18, no. But 1.20, sure.
I meant for 1.20 only. :)

--
Thanks & regards,

Ashesh Vashi
>
>
> --
> Guillaume.
>   http://blog.guillaume.lelarge.info
>   http://www.dalibo.com

Re: Bad string from the translation point of view

От
Guillaume Lelarge
Дата:
2014-11-29 4:46 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:


On 29 Nov 2014 03:09, "Guillaume Lelarge" <guillaume@lelarge.info> wrote:
>
> 2014-11-28 15:13 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:
>>
>> On Fri, Nov 28, 2014 at 3:48 AM, Marek Černocký <marek@manet.cz> wrote:
>>>
>>> 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;
>>
>> Agree.
>>
>> Dave,
>>
>> Can we consider this as bug?
>>
>
> If you mean for 1.18, no. But 1.20, sure.
I meant for 1.20 only. :)

If it's 1.20 only, I'd say "go ahead". There's no point delaying this.


--

Re: Bad string from the translation point of view

От
Ashesh Vashi
Дата:
On Sat, Nov 29, 2014 at 9:11 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
2014-11-29 4:46 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:


On 29 Nov 2014 03:09, "Guillaume Lelarge" <guillaume@lelarge.info> wrote:
>
> 2014-11-28 15:13 GMT+01:00 Ashesh Vashi <ashesh.vashi@enterprisedb.com>:
>>
>> On Fri, Nov 28, 2014 at 3:48 AM, Marek Černocký <marek@manet.cz> wrote:
>>>
>>> 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;
>>
>> Agree.
>>
>> Dave,
>>
>> Can we consider this as bug?
>>
>
> If you mean for 1.18, no. But 1.20, sure.
I meant for 1.20 only. :)

If it's 1.20 only, I'd say "go ahead". There's no point delaying this.
Done.
Sorry for the delay in action, I was out of town.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi