small typo - Mailing list pgadmin-hackers

From Euler Taveira de Oliveira
Subject small typo
Date
Msg-id 4B19CCB3.1010308@timbira.com
Whole thread Raw
Responses Re: small typo
List pgadmin-hackers
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
tothis 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
tothis table?\n\nWARNING: This action will delete ALL data in the tables!"), _("Truncate table cascaded"), wxYES_NO) ==
wxNO)
         return 0;

     ((pgTable*)obj)->Truncate(true);

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by guillaume: r8116 - trunk/www/locale/zh_CN/LC_MESSAGES
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r8117 - trunk/pgadmin3/pgadmin/schema