Re: Challenges with messages

From: Harald Armin Massa <chef(at)ghum(dot)de>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Challenges with messages
Date: 2009-03-01 19:52:44
Message-ID: e3e180dc0903011152n13d1920ep27fae935fdae531f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Guillaume,

>> Execute query / Generate SQL from Graphical Query Builder Model
>> Execute query, write result to file / Generate SQL from Graphical
>> Query Builder Model

> Not quite sure of what you means. These are strings for a button in the
> toolbar. If you are on the query tab, this button will execute the
> query. If you are on the GQB tab, this button will build the SQL.

Ah, I guess the problem is not with the message, but with ONE button
having TWO very distinct effects.

I really recommend to change to TWO buttons:

- creating SQL from a Graphical Model is not at all similiar to
executing a SQL: executing SQL can mean war and peace, as in:

create countrys_to_liberate as select country_id from all_countries;

while creating SQL from a Graphical representation is a pure local
thing, not touching the server at all.

>> DESC, FIRST, LAST, NULL .... is there a way to escape strings to
>> prevent them from translating? I am QUITE sure that those should NOT
>> be translated; as I guess PostgreSQL will choke on
> Did you actually really get this query? because DESC, FIRST, LAST, NULL
> are, AFAIK, only part of the UI strings. They are not used to build SQL
> queries.

No, I did not... I just had the messages :) And was reminded of BAD
experience with Word / Excel, which had a phase where keywords within
VBA where translated ... *shudder*

>> autovacuum_freeze_max_age
>> autovacuum_freeze_min_age
>>
> I took a look at this. These are strings used in the properties panel.
> They have to be different from the ones on the autovacuum tab, but we
> can use something else than the parameters' names. I'll change this.

Hmmm... having the parameters' names is not bad, as you can google
them and get to the correct documentation. I was just asking for some
"escape" to keep them from the danger of being translated.
(Automatischstaubsaugen_einfrier_maximalalter) would be correct, but
ungoogleable to learn it's meaning.

Thanks for caring,

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
LASIK good, steroids bad?

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Quan Zongliang 2009-03-02 07:34:27 how to dispaly data in grid
Previous Message svn 2009-03-01 19:38:02 SVN Commit by guillaume: r7637 - in trunk/pgadmin3/pgadmin: frm include/frm