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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to