Re: [pgadmin-hackers] Request for translation of pgAdmin3 into Traditional Chinese

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 05:38, you wrote:
 I've read the documentations you mentioned in your last e-mails and got
 poEdit and pgAdmin3.pot. However, I am not familiar with the rules for the
 strinngs in pgAdmin3.pot. I am not sure what should I do with the back
 slashes or the double quote mark... etc, could you send me some example
 files other translators made to me? I think the simplified Chinese version
 by Weiping He would be most useful for me. Then I will make a try again.

Dear Chih-Hsin,

Thank you very much for trying to translate pgAdmin3 into traditional Chinese. 
I am adding you to the list of translators to make sure that two persons do 
not work on the same translation at the same time.

Also, maybe you should register [EMAIL PROTECTED] mailing list.

This can be done sending an email to [EMAIL PROTECTED] 
with the word subscribe in the body of the message. I CC my answer to the 
list if you don't mind.

[EMAIL PROTECTED] allows translators to share knowledge and 
answers. Typicaly, your question is interesting because poedit is able to 
hide double quotes. In menu Display, unset Show Quotes (sorry, I use the 
French localised version, the menu may be a little bit different in English).

If you have any problems with quotes, do not hesitate to get back to us on the 
list and CC me (because the list is sometimes slow to deliver messages).

We thank you again for your kind help.
Cheers,
Jean-Michel


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Dave Page


 -Original Message-
 From: Adam H.Pendleton [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 03:02
 To: [EMAIL PROTECTED]
 Subject: [pgadmin-hackers] pgConn.cpp.patch
 
 
 This patch fixes a bug in the error reporting of the new connection 
 dialog when setting the database encoding.

Hi Adam,

I don't believe this patch is correct. PQsetClientEncoding returns 0 on
success and -1 on failure [1], therefore !PQsetClientEncoding is true
upon success.

-   if (PQsetClientEncoding(conn, UNICODE))
+   if (!PQsetClientEncoding(conn, UNICODE))
wxLogError(wxT(%s), wxString(PQerrorMessage(conn),
wxConvUTF8).c_str());

Patch NOT applied.

Regards, Dave.

[1]
http://www.postgresql.org/docs/view.php?version=7.3idoc=0file=multibyt
e.html

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] frmQueryBuilder.patch

2003-06-25 Thread Dave Page
Thanks, patch applied.

 -Original Message-
 From: Adam H.Pendleton [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 00:04
 To: [EMAIL PROTECTED]
 Subject: [pgadmin-hackers] frmQueryBuilder.patch
 
 
 Attached is a patch that fixes the first segfault of the QueryBuilder 
 on linux.  I don't know if this is the best solution 
 (frame-GetClientWindow() may *always* be null), but it works 
 for now.  
 I am working on the second segfault this evening.
 
 ahp
 

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Devrim GUNDUZ

Hi all,

First version of Turkish Language file is available. It's in CVS of 
Turkish PostgreSQL Project cvs , under sourceforge. Project name is 
pgsqlturkce 

cvs  -d:pserver:[EMAIL PROTECTED]:/cvsroot/pgsqlturkce 
login

(You do not need to supply a password)

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/pgsqlturkce 
co PgAdmin3Doc

file name is: pgadmin3.pot

Could you please build an rpm  with Turkish support? I'd like to test some 
of the translations; I'm not sure whether I've done something wrong in 
some scripts.

Best regards,
-- 
Devrim GUNDUZ
[EMAIL PROTECTED]   [EMAIL PROTECTED] 
http://www.tdmsoft.com
http://www.gunduz.org



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Dave Page


 -Original Message-
 From: Devrim GUNDUZ [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 09:06
 To: [EMAIL PROTECTED]
 Subject: [pgadmin-hackers] First version of Turkish Language file
 
 
 
 Hi all,
 
 First version of Turkish Language file is available. It's in CVS of 
 Turkish PostgreSQL Project cvs , under sourceforge. Project name is 
 pgsqlturkce 

Hi Devrim,

I found the CVS, but nothing other than PostgreSQL files in there.

Can you zip and email it please?

 Could you please build an rpm  with Turkish support? I'd like 
 to test some 
 of the translations; I'm not sure whether I've done something 
 wrong in 
 some scripts.

As soon as it's in CVS we'll add it to the various builds. I beleive you
should be able to test it yourself though, by adding the appropriate
ui/tr_TR/pgadmin3.mo file under an existing installtion of pgAdmin. The
just select the language under File - Options

Regards, Dave.

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 10:05, Devrim GUNDUZ wrote:
 Could you please build an rpm  with Turkish support? I'd like to test some
 of the translations; I'm not sure whether I've done something wrong in
 some scripts.

Thanks a lot. Wait a few minutes, I am rebuilding it right now...
Cheers, Jean-Michel


---(end of broadcast)---
TIP 8: explain analyze is your friend


[pgadmin-hackers] Packaging strip option

2003-06-25 Thread Jean-Michel POURE
Dear Raphaƫl,

Just to say that I added the strip --strip-debug /usr/bin/pgAdmin3 option in 
packages. RH9 and Mandrake 9.1 rpmbuild do it by default, SuSE 8.2 doesn't. 

Now, all packages are stripped. You can always debug when you have the source 
installed. Right?

This makes a big difference in binary size (3Mb compared to 12Mb).
Cheers, Jean-Michel


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 13:02, Jean-Michel POURE wrote:
Sorry, you should have read.
 Otherwise, tonight


---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [pgadmin-hackers] SuSE 8.2 segmentation-fault

2003-06-25 Thread Dave Page


 -Original Message-
 From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 12:40
 To: [EMAIL PROTECTED]
 Cc: Dave Page; Andreas Pflug; Adam H. Pendleton
 Subject: SuSE 8.2 segmentation-fault
 
 
 Dear all,
 
 pgAdmin3 still has a segmentation-fault under SuSE 8.2 at 
 statup. If anyone is 
 interested, I can give you access to the SuSE host in 
 Germany. We do not have 
 X installed on this station. It is only for rebuilding.
 
 Maybe we should consider installing a SuSE 8.2 distribution 
 on a seperate 
 desk. Dave, you said you were able to run several distros at 
 once. Do you 
 also have X under SuSE 8.2?

No, *when* I get the VMs playing nicely, they will be cli only even
here, though X is there so you could

export DISPLAY=mybox.mydomain.com:0

before running the binary on the VM.
 
 The packages can be dowloaded from 
 http://www.pgadmin.org/snapshots/linux/suse82.
 
 Wait a few minutes before they are rsynced.

Hours maybe - it only does it once a day iirc.

Regards, Dave.

---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Dave Page


 -Original Message-
 From: John Bercik [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 12:23
 To: Dave Page
 Subject: RE: [pgadmin-support] PGA 3 Copy
 
 
 Dave,  I'm in pgadmin3 in Redhat9/KDE Linux.  When I copy 
 from the bottom right pane I am unable to paste into any 
 other app like kwrite or a terminal window or anything.  I 
 CAN paste back into pgadmin3 though.

Hi John,

Just tried here on Slackware Linux 9/KDE 3.1 and it pastes OK into
Kwrite and a terminal. What version of KDE comes with Redhat 9?

Can anyone else try this please? Jean-Michel - you have RedHat 9 don't
you?

Regards, Dave.

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 14:47, Dave Page wrote:
 Can anyone else try this please? Jean-Michel - you have RedHat 9 don't
 you?

Under RedHat 9, I can copy view or function definition and paste it into Kate. 
What text can't you paste? What objects?

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Adam H. Pendleton




Dave Page wrote:

  Message
  
  
  Yes, this is because the PQsetClientEncoding
fails becausethe connection failed. I've changed the preceeding code
to:
  
   // Set client encoding to Unicode/Ascii
 if (PQstatus(conn) == CONNECTION_OK)
 {
  
  #if wxUSE_UNICODE
  
   wxLogInfo(wxT("Setting client_encoding
to 'UNICODE'"));
  
  ...
  ...
  
  which takes care of it.
  
  Regards, Dave.

Doh! Of course it fails. Well, at least this saves me from having to
figure out what I missed. BTW, if PQsetClientEncoding fails, which it
does, then why would the error come up as a password error? Does that
mean that PQsetClientEncoding doesn't change the Postgres errors like
other PQ functions?

ahp





[pgadmin-hackers] Localisation strings

2003-06-25 Thread Jean-Michel POURE
Dear all,

Here are some non-standard language entries:

1) src/ui/frmQueryBuilder.cpp:1044 src/ui/frmQueryBuilder.cpp:1046
wxLogError(__(Double right-handed joins are not allowed.\n)
__(You must redraw your joins so that \) + 
tmptable1 +
__(\\ndoes not appear on the righthand side \n)
__(more than once. \n\n)
__(Try switching it to the lefthand side in one\n)
__(or more relationships.));
should use %s


2) src/ui/dlgProperty.cpp:89 src/ui/dlgProperty.cpp:91
msgid 
: Notebook not found.\n
Prepare to crash!
msgstr 

What is a notebook?

3) pgadmin3.pot file contains a deprecated string:
Count rows if estiated less than (typo)

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 16:50, John Bercik wrote:
 I'm trying to copy the text on the bottom right that has the Constraint
 and Alter Table commands.  I am unable to paste it anywhere other than
 pgadmin3.  RH9 has KDE version 3.1
 Here's a screenshot:
 http://htnweb1.emr.musc.edu/test.jpg


Dear John,

I forward your screenshot to the hacker list. Do you have copy/paste problems 
on other objects? Please contact us on the list so that anyone can come up 
with a solution if the same problem arises again.

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [pgadmin-hackers] Localisation strings

2003-06-25 Thread Dave Page


 -Original Message-
 From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 16:54
 To: [EMAIL PROTECTED]
 Cc: Dave Page; Andreas Pflug
 Subject: Localisation strings
 
 
 Dear all,
 
 Here are some non-standard language entries:
 
 1) src/ui/frmQueryBuilder.cpp:1044 src/ui/frmQueryBuilder.cpp:1046
   wxLogError(__(Double right-handed 
 joins are not allowed.\n)
   __(You must redraw your joins 
 so that \) + tmptable1 +
   __(\\ndoes not appear on the 
 righthand side \n)
   __(more than once. \n\n)
   __(Try switching it to the 
 lefthand side in one\n)
   __(or more relationships.));
 should use %s

Ahh, the QB. Please feel free to tweak these to something you are happy
with.

 2) src/ui/dlgProperty.cpp:89 src/ui/dlgProperty.cpp:91
 msgid 
 : Notebook not found.\n
 Prepare to crash!
 msgstr 
 
 What is a notebook?

A tabset. Actually I like this kind of error - it's nice to stick one
really humorous one in just to give ppl a chuckle. The trick is to put
it somewhere where it will get a laugh rather than get sworn at.

 3) pgadmin3.pot file contains a deprecated string:
 Count rows if estiated less than (typo)

I fixed that typo on Windows a few days back but forgot the pot file. Do
I need to manually edit it, or regenerate it on a unix box?

Regards, Dave.

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] Localisation strings

2003-06-25 Thread Adam H. Pendleton
Andreas Pflug wrote:

I skipped recoding these because Keith had stated there was work going 
on. I'm a bit unhappy that we don't know about the state of QB (while 
that nasty bug seems to be under control. 
While I don't know what the current state of the QB is, I can say that I 
fixed the initial QB segfault only to find another one right away.  I am 
currently working on trying to track down why this is happening, but 
it's slow going.

ahp

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match


Re: [pgadmin-hackers] Language issue

2003-06-25 Thread Andreas Pflug
Jean-Michel POURE wrote:

Dear all,

Would it be possible to differenciate the English language string into 
Server-side language (French=langage server-side) and Language 
(French=langue).

In French, langue and langage do not have the same meaning.

 

Uh, I've been waiting for something like this. We should use another 
development language :-)

Server-side language is the wrong expression, and pgsql programming 
language is too long, so we better stick to language (langage).
For the user interface, I invented user language (langue). This 
expression is used only in limited places, so this is easier.

For the same reason, I renamed the View menu to Display.

I hope we will never need to invent fantasy words, which then get 
translated to en_US...

Regards,
Andreas


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


[pgadmin-hackers] Server Status error

2003-06-25 Thread Adam H. Pendleton
When choosing Server Status from the Tools menu, I get this error:

Column not found in pgSet: query_start

and then the application hangs.  And, indeed, there is no result column 
'query_start' returned by:

SELECT * FROM pg_stat_activity ORDER BY procpid;

What's the deal?

ahp

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
 subscribe-nomail command to [EMAIL PROTECTED] so that your
 message can get through to the mailing list cleanly


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 19:23, Andreas Pflug wrote:
 I got a bit deeper into this and found that things happen while global
 wxWindows vars are initialized. From wxString::AllocBeforeWrite being in
 string.h I can see that your're using an older wxWindows version, which
 is it?

It is our wxGTK 2.5 cvs 20030607 version installed from RPM.
From http://www.pgadmin.org/snapshots/linux/suse82/wxGTK2

 The latest version that is usable is June 18 (just checked), later
 versions are broken for non-win32. So please use cvs update -D
 2003-06-18 to obtain a wx version.

Andreas, I thought the latest recommanded version was 2003-06-07.
All RPMs are based on it. Shall I upgrade them all? This can be done within 
hours if you require it.

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Andreas Pflug
Jean-Michel POURE wrote:

Andreas, I thought the latest recommanded version was 2003-06-07.
All RPMs are based on it. Shall I upgrade them all? This can be done within 
hours if you require it.

 

Please try it. From time to time, I update my wx, and since there's been 
a change just in the region that crashes this might include a required fix.

Regards,
Andreas


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [pgadmin-hackers] Server Status error

2003-06-25 Thread Andreas Pflug
Adam H. Pendleton wrote:

When choosing Server Status from the Tools menu, I get this error:

Column not found in pgSet: query_start

and then the application hangs.  And, indeed, there is no result 
column 'query_start' returned by:

SELECT * FROM pg_stat_activity ORDER BY procpid;

What's the deal?

Oops, seems to be a 7.4 extension. Will restrict this.
Regards,
Andreas


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match


Re: [pgadmin-hackers] Language issue

2003-06-25 Thread Dave Page


 -Original Message-
 From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 17:52
 To: [EMAIL PROTECTED]
 Subject: [pgadmin-hackers] Language issue
 
 
 Dear all,
 
 Would it be possible to differenciate the English language 
 string into 
 Server-side language (French=langage server-side) and Language 
 (French=langue).
 
 In French, langue and langage do not have the same meaning.
 

Huh?

:-)

Regards, Dave.

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Dave Page


 -Original Message-
 From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2003 19:49
 To: Andreas Pflug; Reinhard Max
 Cc: [EMAIL PROTECTED]
 Subject: Re: [pgadmin-hackers] stack trace
 
 
 Andreas, I thought the latest recommanded version was 
 2003-06-07. All RPMs are based on it. Shall I upgrade them 
 all? This can be done within 
 hours if you require it.

I thought we had agreed to stick to 2003-06-07 unless a specific reason
for upgrading cropped up?

I don't want us to be chasing new wxWindows bugs this close to release
unless there's a damn good reason. I'm nervous enough using CVS code...

Regards, Dave.

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
Sent: 25 June 2003 19:49
To: Andreas Pflug; Reinhard Max
Cc: [EMAIL PROTECTED]
Subject: Re: [pgadmin-hackers] stack trace

Andreas, I thought the latest recommanded version was 
2003-06-07. All RPMs are based on it. Shall I upgrade them 
all? This can be done within 
hours if you require it.
   

I thought we had agreed to stick to 2003-06-07 unless a specific reason
for upgrading cropped up?
I don't want us to be chasing new wxWindows bugs this close to release
unless there's a damn good reason. I'm nervous enough using CVS code...
 

We still have an open wxWindows bug with Unicode, and maybe Adam has 
another from QB.
Maybe this issue is a reason to upgrade.

Regards,
Andreas


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
 subscribe-nomail command to [EMAIL PROTECTED] so that your
 message can get through to the mailing list cleanly


[pgadmin-hackers] wxWindows Build

2003-06-25 Thread fmonkey
I should point out (perhaps as I should have before) that the 2003-06-07
CVS tree of wxWindows does not build on Mac OS X.  That should be reason
enough to upgrade the CVS tree.

ahp

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[pgadmin-hackers] What is ACL

2003-06-25 Thread Chih-Hsin Lee



I am doing the translation for pgAdmin3.pot, What is 
"ACL"?


Re: [pgadmin-hackers] What is ACL

2003-06-25 Thread Hiroshi Saito
Hi Chin.

It is The  Access Control List.

Regards,
Hiroshi-Saito

- Original Message - 
From: Chih-Hsin Lee 
To: [EMAIL PROTECTED] 
Sent: Thursday, June 26, 2003 12:48 PM
Subject: [pgadmin-hackers] What is ACL


I am doing the translation for pgAdmin3.pot, What is ACL?

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[pgadmin-hackers] Belarusian

2003-06-25 Thread Chih-Hsin Lee



Is the spelling of "Belarusian" correct? Is it 
Belorussian?