Re: [pgadmin-hackers] [patch] update table name in confirmationdialog for 'Reset Statistics' and 'Truncate Table' - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgadmin-hackers] [patch] update table name in confirmationdialog for 'Reset Statistics' and 'Truncate Table'
Date
Msg-id CA+OCxozoOV5M2SkBvw3S7Kif0RhyVK5cZ9O=0WZZ+MGfZXMCPw@mail.gmail.com
Whole thread Raw
In response to [pgadmin-hackers] [patch] update table name in confirmation dialogfor 'Reset Statistics' and 'Truncate Table'  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: [pgadmin-hackers] [patch] update table name in confirmationdialog for 'Reset Statistics' and 'Truncate Table'
List pgadmin-hackers
Hi

Please see the discussion here: https://redmine.postgresql.org/issues/2308

Would moving to the client-side translation mechanism help here? We need to do that anyway - and it's been added since the previous discussion.

On Thu, May 18, 2017 at 10:17 AM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi All 

I have found one issue where table name is not displaying in the confirmation dialog when user click on "Reset Statistics" and "Truncate/Truncate cascade". Confirmation dialog shows below message:
  • Are you sure you want to truncate table {}?
  • Are you sure you want to reset the statistics for table {}?
Also header is missing for "Truncate/Truncate cascade" confirmation dialog. Attached is the patch file to fix that above. Please review it.

--
Akshay Joshi
Principal Software Engineer 




--
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
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: [pgadmin-hackers] [patch] update table name in confirmation dialogfor 'Reset Statistics' and 'Truncate Table'
Next
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] [pgAdmin4] [PATCH] History Tab rewrite in React