small typo

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

small typo

От:
Euler Taveira de Oliveira <euler@timbira.com>
Дата:
Hi,

While updating the pt-br translation, I noticed that the sentence "This action
will delete ALL data in the table!" should use the plural form i.e. "This
action will delete ALL data in the tables!" when it is used for TRUNCATE ...
CASCADE. Trivial patch is attached.


-- 
  Euler Taveira de Oliveira
  http://www.timbira.com/
Index: pgadmin/schema/pgTable.cpp
===================================================================
--- pgadmin/schema/pgTable.cpp	(revisão 8098)
+++ pgadmin/schema/pgTable.cpp	(cópia de trabalho)
@@ -1618,7 +1618,7 @@
 
 wxWindow *truncateCascadedFactory::StartDialog(frmMain *form, pgObject *obj)
 {
-    if (wxMessageBox(_("Are you sure you wish to truncate this table and all tables that have foreign key references to this table?\n\nWARNING: This action will delete ALL data in the table!"), _("Truncate table cascaded"), wxYES_NO) == wxNO)
+    if (wxMessageBox(_("Are you sure you wish to truncate this table and all tables that have foreign key references to this table?\n\nWARNING: This action will delete ALL data in the tables!"), _("Truncate table cascaded"), wxYES_NO) == wxNO)
         return 0;
 
     ((pgTable*)obj)->Truncate(true);

Re: small typo

От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks - applied to trunk (not to the 1.10 branch as it'll break all
the translations).

On Sat, Dec 5, 2009 at 3:00 AM, Euler Taveira de Oliveira
 wrote:
> Hi,
>
> While updating the pt-br translation, I noticed that the sentence "This action
> will delete ALL data in the table!" should use the plural form i.e. "This
> action will delete ALL data in the tables!" when it is used for TRUNCATE ...
> CASCADE. Trivial patch is attached.
>
>
> --
>  Euler Taveira de Oliveira
>  http://www.timbira.com/
>
> Index: pgadmin/schema/pgTable.cpp
> ===================================================================
> --- pgadmin/schema/pgTable.cpp  (revisão 8098)
> +++ pgadmin/schema/pgTable.cpp  (cópia de trabalho)
> @@ -1618,7 +1618,7 @@
>
>  wxWindow *truncateCascadedFactory::StartDialog(frmMain *form, pgObject *obj)
>  {
> -    if (wxMessageBox(_("Are you sure you wish to truncate this table and all tables that have foreign key references to this table?\n\nWARNING: This action will delete ALL data in the table!"), _("Truncate table cascaded"), wxYES_NO) == wxNO)
> +    if (wxMessageBox(_("Are you sure you wish to truncate this table and all tables that have foreign key references to this table?\n\nWARNING: This action will delete ALL data in the tables!"), _("Truncate table cascaded"), wxYES_NO) == wxNO)
>         return 0;
>
>     ((pgTable*)obj)->Truncate(true);
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>



-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
FAQ