Re: Second l10n patch

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Second l10n patch
Дата
Msg-id 200908031233.57252.guillaume@lelarge.info
обсуждение исходный текст
Ответ на Re: Second l10n patch  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Le lundi 3 août 2009 à 11:57:02, Dave Page a écrit :
> 2009/8/1 Marek Černocký <marek@manet.cz>:
> > Hi,
> >
> > I send patch. It solves translation for object type names in reports.
>
> Should code like this use wxPLURAL?
>
> int section = report->XmlCreateSection(wxString::Format(_("%s
> dependents"), object->GetTranslatedTypeName().c_str()));

No. We need wxPLURAL when we have a variable that tells us if it is plural or
not. In this code, there's nothing that gives us a hint about it.

Note that I didn't actually try this patch. Only read it.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by guillaume: r7998 - trunk/pgadmin3/pgadmin/frm
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by guillaume: r7999 - trunk/pgadmin3