[pgadmin-hackers] Issue with spanish and serbian translations

2007-04-30 Thread Guillaume Lelarge

Hi,

I've worked on an issue reported by Diego Gil. There's no spanish and 
serbian options in the combo box of the options's dialog.


I've looked at this issue a bit. The problem seems related to 
pgAdmin3::OnInit method in src/pgAdmin3.cpp. Here is the specific part :


while (true)
{
  langInfo=wxLocale::GetLanguageInfo(langNo);
  if (!langInfo)
break;

  if (englishName == langInfo-Description 
(langInfo-CanonicalName == wxT(en_US) ||
(!langInfo-CanonicalName.IsEmpty() 
wxDir::Exists(i18nPath + wxT(/) + langInfo-CanonicalName
  {
existingLangs.Add(langNo);
existingLangNames.Add(translatedName);
langCount++;
  }
  langNo++;
}

I tried with the change on the patch attached. Now, I see the spanish 
option, but the serbian one is still missing. And start time is quite 
longer.


I also took a look at the internat sample from wxWidgets. They use an 
array to list all translations available... :

static const wxLanguage langIds[] =
{
wxLANGUAGE_DEFAULT,
wxLANGUAGE_FRENCH,
wxLANGUAGE_GERMAN,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_BULGARIAN,
wxLANGUAGE_CZECH,
wxLANGUAGE_POLISH,
wxLANGUAGE_SWEDISH,
#if wxUSE_UNICODE || defined(__WXMOTIF__)
wxLANGUAGE_JAPANESE,
#endif
#if wxUSE_UNICODE
wxLANGUAGE_GEORGIAN,
wxLANGUAGE_ENGLISH,
wxLANGUAGE_ENGLISH_US,
wxLANGUAGE_ARABIC,
wxLANGUAGE_ARABIC_EGYPT
#endif
};

I wonder if we can do the same.

If we prefer to get a dynamic list, I think it would be better to get 
the list of the i18n's subdirectories and use wxLocale::FindLanguageInfo 
with each subdirectories' titles.


Some advices would be really appreciated.

Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://docs.postgresqlfr.org
Index: src/pgAdmin3.cpp
===
--- src/pgAdmin3.cpp	(révision 6239)
+++ src/pgAdmin3.cpp	(copie de travail)
@@ -317,9 +317,10 @@
 
 while (true)
 {
+		if (langNo = 10)
+		  break;
 langInfo=wxLocale::GetLanguageInfo(langNo);
-if (!langInfo)
-break;
+if (langInfo) {
 
 if (englishName == langInfo-Description  
 (langInfo-CanonicalName == wxT(en_US) || 
@@ -330,8 +331,11 @@
 existingLangNames.Add(translatedName);
 langCount++;
 }
+}
 langNo++;
 }
+
+//wxLogError(str);
 }
 }
 

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


[pgadmin-hackers] SVN Commit by dpage: r6240 - in trunk/pgadmin3: . pgadmin/frm pgadmin/include/frm

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 12:09:51 + (Mon, 30 Apr 2007)

New Revision: 6240

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6240view=rev

Log:
Allow detection and conversion of line ending format in the query tool.


Modified:
   trunk/pgadmin3/CHANGELOG
   trunk/pgadmin3/pgadmin/frm/frmQuery.cpp
   trunk/pgadmin3/pgadmin/include/frm/frmQuery.h
   trunk/pgadmin3/pgadmin/include/frm/menu.h

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

   http://www.postgresql.org/docs/faq


[pgadmin-hackers] SVN Commit by dpage: r6241 - trunk/www/development

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 12:12:50 + (Mon, 30 Apr 2007)

New Revision: 6241

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6241view=rev

Log:
Road map item complete.


Modified:
   trunk/www/development/roadmap.php

---(end of broadcast)---
TIP 1: 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] Issue with spanish and serbian translations

2007-04-30 Thread Dave Page
Guillaume Lelarge wrote:
 If we prefer to get a dynamic list, I think it would be better to get
 the list of the i18n's subdirectories and use wxLocale::FindLanguageInfo
 with each subdirectories' titles.
 
 Some advices would be really appreciated.

I hacked up the attached for testing which is a similar idea - the
downside being that languages that are listed twice in pgadmin3.lng are
shown twice in the list if they exist (eg. Chinese (Simplified) vs.
Chinese (Taiwan)). That should be an easy fix though.

I couldn't get Serbian to work though - does wxWidgets even support it?
If so, are we using the correct code?

Regards, Dave
Index: pgadmin/pgAdmin3.cpp
===
--- pgadmin/pgAdmin3.cpp(revision 6227)
+++ pgadmin/pgAdmin3.cpp(working copy)
@@ -301,24 +301,17 @@
 wxString englishName=line.BeforeFirst(',').Trim(true);
 wxString translatedName=line.AfterFirst(',').Trim(false);
 
-langNo=2;   // skipping default, unknown
-
-while (true)
+langInfo=wxLocale::FindLanguageInfo(englishName);
+if (langInfo)
 {
-langInfo=wxLocale::GetLanguageInfo(langNo);
-if (!langInfo)
-break;
-
-if (englishName == langInfo-Description  
-(langInfo-CanonicalName == wxT(en_US) || 
+if (langInfo-CanonicalName == wxT(en_US) || 
 (!langInfo-CanonicalName.IsEmpty()  
- wxDir::Exists(i18nPath + wxT(/) + 
langInfo-CanonicalName
+ wxDir::Exists(i18nPath + wxT(/) + 
langInfo-CanonicalName)))
 {
-existingLangs.Add(langNo);
+existingLangs.Add(langInfo-Language);
 existingLangNames.Add(translatedName);
 langCount++;
 }
-langNo++;
 }
 }
 }

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


Re: [pgadmin-hackers] Issue with spanish and serbian translations

2007-04-30 Thread Guillaume Lelarge

Dave Page a écrit :

Guillaume Lelarge wrote:

If we prefer to get a dynamic list, I think it would be better to get
the list of the i18n's subdirectories and use wxLocale::FindLanguageInfo
with each subdirectories' titles.

Some advices would be really appreciated.


I hacked up the attached for testing which is a similar idea - the
downside being that languages that are listed twice in pgadmin3.lng are
shown twice in the list if they exist (eg. Chinese (Simplified) vs.
Chinese (Taiwan)). That should be an easy fix though.



Your patch works great for me (1.6 branch). The issue you reported on 
some languages appearing twice occurs already without your patch.



I couldn't get Serbian to work though - does wxWidgets even support it?
If so, are we using the correct code?



wxWidgets has no translation for this language 
(http://www.wxwidgets.org/about/i18n.php). But serbian is listed on 
their language codes page 
(http://www.wxwidgets.org/manuals/2.8.3/wx_languagecodes.html#languagecodes).


Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://docs.postgresqlfr.org

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

  http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by guillaume: r6242 - trunk/pgadmin3/i18n/zh_TW

2007-04-30 Thread svn
Author: guillaume

Date: 2007-04-30 13:24:43 + (Mon, 30 Apr 2007)

New Revision: 6242

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6242view=rev

Log:
Update traditional chinese translation, per ChaoYi Kuo.



Modified:
   trunk/pgadmin3/i18n/zh_TW/pgadmin3.mo
   trunk/pgadmin3/i18n/zh_TW/pgadmin3.po

---(end of broadcast)---
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate


[pgadmin-hackers] SVN Commit by dpage: r6243 - trunk/pgadmin3/pgadmin

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 14:12:11 + (Mon, 30 Apr 2007)

New Revision: 6243

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6243view=rev

Log:
Improve algorithm for matching languages. Fixes Spanish which was broken!


Modified:
   trunk/pgadmin3/pgadmin/pgAdmin3.cpp

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


[pgadmin-hackers] SVN Commit by dpage: r6244 - trunk/pgadmin3/i18n

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 14:21:22 + (Mon, 30 Apr 2007)

New Revision: 6244

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6244view=rev

Log:
Fix name of the Serbian translation.


Modified:
   trunk/pgadmin3/i18n/pgadmin3.lng

---(end of broadcast)---
TIP 1: 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] Issue with spanish and serbian translations

2007-04-30 Thread Dave Page

Guillaume Lelarge wrote:

Dave Page a écrit :

Guillaume Lelarge wrote:

If we prefer to get a dynamic list, I think it would be better to get
the list of the i18n's subdirectories and use wxLocale::FindLanguageInfo
with each subdirectories' titles.

Some advices would be really appreciated.


I hacked up the attached for testing which is a similar idea - the
downside being that languages that are listed twice in pgadmin3.lng are
shown twice in the list if they exist (eg. Chinese (Simplified) vs.
Chinese (Taiwan)). That should be an easy fix though.



Your patch works great for me (1.6 branch). The issue you reported on 
some languages appearing twice occurs already without your patch.


Hmm, so it does. Oh well, I've applied the patch.


I couldn't get Serbian to work though - does wxWidgets even support it?
If so, are we using the correct code?



wxWidgets has no translation for this language 
(http://www.wxwidgets.org/about/i18n.php). But serbian is listed on 
their language codes page 
(http://www.wxwidgets.org/manuals/2.8.3/wx_languagecodes.html#languagecodes). 


Ahh, I see the problem. There are actually two languages (Serbian 
(Latin) and Serbian (Cyrillic) using the same language code. Not sure 
which one we actually, but changing the name in pgadmin3.lng, and adding 
the second entry results in two options being available in the drop down 
menu.


Any idea which is correct? We should probably just remove the other 
entry. Same for the chinese (Taiwan) vs. Chinese (Simplified).


Regards, Dave.

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


Re: [pgadmin-hackers] SVN Commit by dpage: r6240 - in trunk/pgadmin3: . pgadmin/frm pgadmin/include/frm

2007-04-30 Thread Guillaume Lelarge

[EMAIL PROTECTED] a écrit :

Author: dpage

Date: 2007-04-30 12:09:51 + (Mon, 30 Apr 2007)

New Revision: 6240

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6240view=rev

Log:
Allow detection and conversion of line ending format in the query tool.


Modified:
   trunk/pgadmin3/CHANGELOG
   trunk/pgadmin3/pgadmin/frm/frmQuery.cpp
   trunk/pgadmin3/pgadmin/include/frm/frmQuery.h
   trunk/pgadmin3/pgadmin/include/frm/menu.h



It seems to me that frmQuery.cpp misses the utffile.h header file. See 
attached patch.


Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://docs.postgresqlfr.org
Index: pgadmin/frm/frmQuery.cpp
===
--- pgadmin/frm/frmQuery.cpp	(révision 6242)
+++ pgadmin/frm/frmQuery.cpp	(copie de travail)
@@ -34,6 +34,7 @@
 #include dlg/dlgAddFavourite.h
 #include dlg/dlgManageFavourites.h
 #include utils/favourites.h
+#include utils/utffile.h
 #include frm/frmReport.h
 
 #include wx/clipbrd.h

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

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by dpage: r6245 - trunk/pgadmin3/pgadmin

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 14:26:27 + (Mon, 30 Apr 2007)

New Revision: 6245

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6245view=rev

Log:
Remove unused variable


Modified:
   trunk/pgadmin3/pgadmin/pgAdmin3.cpp

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

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by dpage: r6246 - trunk/pgadmin3/pgadmin/frm

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 14:29:01 + (Mon, 30 Apr 2007)

New Revision: 6246

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6246view=rev

Log:
Add header, per Guillaume


Modified:
   trunk/pgadmin3/pgadmin/frm/frmQuery.cpp

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


Re: [pgadmin-hackers] SVN Commit by dpage: r6240 - in trunk/pgadmin3: . pgadmin/frm pgadmin/include/frm

2007-04-30 Thread Dave Page

Guillaume Lelarge wrote:


It seems to me that frmQuery.cpp misses the utffile.h header file. See 
attached patch.


Thanks, applied.

Regards, Dave

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

  http://archives.postgresql.org


Re: [pgadmin-hackers] Issue with spanish and serbian translations

2007-04-30 Thread Dave Page

Guillaume Lelarge wrote:

Dave Page a écrit :

Guillaume Lelarge wrote:

[...]
Your patch works great for me (1.6 branch). The issue you reported on 
some languages appearing twice occurs already without your patch.


Hmm, so it does. Oh well, I've applied the patch.



Can you apply it for the 1.6 branch too ?


No point - I'm not intending to release another 1.6.

Ahh, I see the problem. There are actually two languages (Serbian 
(Latin) and Serbian (Cyrillic) using the same language code. Not sure 
which one we actually, but changing the name in pgadmin3.lng, and 
adding the second entry results in two options being available in the 
drop down menu.


Any idea which is correct? We should probably just remove the other 
entry. Same for the chinese (Taiwan) vs. Chinese (Simplified).




I agree for removing the other entry.


Do you know which are correct?

Regards, Dave

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


Re: [pgadmin-hackers] Translation to Macedonian

2007-04-30 Thread Guillaume Lelarge

Hi Goce,

Goce Smilevski a écrit :

I followed the instructions in the Translation How-To and the .po file
that I work on appears to be the latest one (2109 messages). I am still
working on the translation (only 25% messages translated), and I will send
an initial version when I am done. The wxWidgets translation will be most
probably done in parallel (by somebody else). I tried to replace the
wxstd.mo file with the one compiled in poEdit (with only a couple of
messages translated) but pgAdmin still shows yes/no/cancel buttons on
dialogs in English. Is there any special procedure that I should follow in
order to replace those messages, too ?



It seems I have the same issue with the french translation. Actually, 
the options dialog has no translation for Help and Cancel (and OK but I 
use the same string in french :) ). When I drop the name attribute of 
these wxButton in pgadmin/ui/frmOptions.xrc file, translations appear.


wxrc -g gets Cancel and Help strings from .xrc files. pgadmin.po has 
them. So, I don't really think it is a bug with pgAdmin.


Is it a bug with wxWidgets ?

Any ideas ?

Regards.


--
Guillaume.
http://www.postgresqlfr.org
http://docs.postgresqlfr.org

---(end of broadcast)---
TIP 1: 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] Issue with spanish and serbian translations

2007-04-30 Thread Guillaume Lelarge

Dave Page a écrit :

Guillaume Lelarge wrote:

Dave Page a écrit :

Guillaume Lelarge wrote:

[...]
Your patch works great for me (1.6 branch). The issue you reported 
on some languages appearing twice occurs already without your patch.


Hmm, so it does. Oh well, I've applied the patch.



Can you apply it for the 1.6 branch too ?


No point - I'm not intending to release another 1.6.



Oh, OK. Is it not a bit early to close the 1.6 branch ?

Ahh, I see the problem. There are actually two languages (Serbian 
(Latin) and Serbian (Cyrillic) using the same language code. Not sure 
which one we actually, but changing the name in pgadmin3.lng, and 
adding the second entry results in two options being available in the 
drop down menu.


Any idea which is correct? We should probably just remove the other 
entry. Same for the chinese (Taiwan) vs. Chinese (Simplified).




I agree for removing the other entry.


Do you know which are correct?



I don't know which is one is the official name. I prefer Chinese 
(Taiwan) because it makes a better reference to cn_TW.


Regards.


--
Guillaume.
!-- http://abs.traduc.org/
 http://lfs.traduc.org/
 http://docs.postgresqlfr.org/ --

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

  http://www.postgresql.org/docs/faq


Re: [pgadmin-hackers] Issue with spanish and serbian translations

2007-04-30 Thread Dave Page

Guillaume Lelarge wrote:

Dave Page a écrit :

Guillaume Lelarge wrote:

Dave Page a écrit :

Guillaume Lelarge wrote:

[...]
Your patch works great for me (1.6 branch). The issue you reported 
on some languages appearing twice occurs already without your patch.


Hmm, so it does. Oh well, I've applied the patch.



Can you apply it for the 1.6 branch too ?


No point - I'm not intending to release another 1.6.



Oh, OK. Is it not a bit early to close the 1.6 branch ?


1.8 will be ready in a few weeks, and given the amount of work I have on 
pgInstaller etc at the moment, I don't have time for another 1.6 release 
(we've never done one this close to a new version in the past either).




I agree for removing the other entry.


Do you know which are correct?



I don't know which is one is the official name. I prefer Chinese 
(Taiwan) because it makes a better reference to cn_TW.


No, I mean for Serbian. I believe Simplified is correct for zh, because 
it goes with Traditional.


Regards, Dave

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


[pgadmin-hackers] SVN Commit by dpage: r6247 - in trunk/pgadmin3/pgadmin: debugger include/debugger ui

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 16:22:45 + (Mon, 30 Apr 2007)

New Revision: 6247

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6247view=rev

Log:
Improve consistency with other areas of pgAdmin, through use of a pgDialog, and 
by showing/hiding the parameters dialog at more appropriate times.


Added:
   trunk/pgadmin3/pgadmin/ui/wsDirectdbg.xrc
Modified:
   trunk/pgadmin3/pgadmin/debugger/debugger.cpp
   trunk/pgadmin3/pgadmin/debugger/wsDirectdbg.cpp
   trunk/pgadmin3/pgadmin/debugger/wsMainFrame.cpp
   trunk/pgadmin3/pgadmin/include/debugger/wsDirectdbg.h
   trunk/pgadmin3/pgadmin/ui/module.mk
   trunk/pgadmin3/pgadmin/ui/xrcDialogs.cpp

---(end of broadcast)---
TIP 1: 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] Issue with spanish and serbian translations

2007-04-30 Thread Guillaume Lelarge

Dave Page a écrit :

Guillaume Lelarge wrote:
[...]


I agree for removing the other entry.


Do you know which are correct?



I don't know which is one is the official name. I prefer Chinese 
(Taiwan) because it makes a better reference to cn_TW.


No, I mean for Serbian. I believe Simplified is correct for zh, because 
it goes with Traditional.




I don't know for serbian. I've CC'ed to Bojan to know his feelings about 
that.


Regards.


--
Guillaume.
!-- http://abs.traduc.org/
 http://lfs.traduc.org/
 http://docs.postgresqlfr.org/ --

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


Re: [pgadmin-hackers] compile problems

2007-04-30 Thread Giuseppe Sacco
Il giorno dom, 22/04/2007 alle 17.13 +0200, Guillaume Lelarge ha
scritto:
[...]
 You can also try to rm your dir if you didn't make any changes (save 
 your .po file) and svn update the whole.

I still cannot compile from current SVN. I deleted all the source tree,
checked out from svn, bootstrap, configure, make. I always get the
error:

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/postgresql -DSSL
-I/usr/local/wxWidgets-2.8.2/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/local/wxWidgets-2.8.2/include/wx-2.8 -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -O2
-I/usr/include/libxml2 -I/usr/include/libxml2 -DDATA_DIR=
\/usr/local/pgadmin3-1.8.2/share/pgadmin3/\ -Wall -I../pgadmin/include
-MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o `test
-f './db/keywords.c' || echo './'`./db/keywords.c; \
then mv -f .deps/keywords.Tpo .deps/keywords.Po; else rm -f
.deps/keywords.Tpo; exit 1; fi
In file included from ./db/keywords.c:22:
gram.y:122: error: expected specifier-qualifier-list before ‘JoinType’
make[2]: *** [keywords.o] Error 1

I checked the source and I believe there is something missing: JoinType
is never defined. Could you please tell me in what source it is defined?

Thanks,
Giuseppe

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


Re: [pgadmin-hackers] Translation to Macedonian

2007-04-30 Thread Goce Smilevski
Guillaume,

I am sure it is not a pgAdmin issue, because I checked and button
translations (Ok, Cancel etc) appear properly in pgAdmin dialogs (for
example, the Options dialog). I was referring to those dialogs that are most
probably used from the wxWidgets framework (a text + 2 or 3 standard
buttons). I followed the discussion on the Serbian and Spanish translation
and it seems that the list of available languages in wxWidgets is determined
differently. I will work on pgAdmin translation only and warn the person who
tries to translate wxstd.po about this issue.

BTW, I would like to introduce more standardization in Macedonian
translations of db-related tools, and I found this site:

http://www.iro.umontreal.ca/translation/

Is it ok if I register the pgAdmin translation there, so anyone who
translates db-related software can reuse common db-related terms ?

Regards,
Goce.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guillaume Lelarge
Sent: Monday, April 30, 2007 17:25
To: Goce Smilevski
Cc: pgadmin-hackers@postgresql.org
Subject: Re: [pgadmin-hackers] Translation to Macedonian

Hi Goce,

Goce Smilevski a écrit :
 I followed the instructions in the Translation How-To and the .po file
 that I work on appears to be the latest one (2109 messages). I am still
 working on the translation (only 25% messages translated), and I will send
 an initial version when I am done. The wxWidgets translation will be most
 probably done in parallel (by somebody else). I tried to replace the
 wxstd.mo file with the one compiled in poEdit (with only a couple of
 messages translated) but pgAdmin still shows yes/no/cancel buttons on
 dialogs in English. Is there any special procedure that I should follow in
 order to replace those messages, too ?
 

It seems I have the same issue with the french translation. Actually, 
the options dialog has no translation for Help and Cancel (and OK but I 
use the same string in french :) ). When I drop the name attribute of 
these wxButton in pgadmin/ui/frmOptions.xrc file, translations appear.

wxrc -g gets Cancel and Help strings from .xrc files. pgadmin.po has 
them. So, I don't really think it is a bug with pgAdmin.

Is it a bug with wxWidgets ?

Any ideas ?

Regards.


-- 
Guillaume.
http://www.postgresqlfr.org
http://docs.postgresqlfr.org

---(end of broadcast)---
TIP 1: 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


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

   http://archives.postgresql.org


[pgadmin-hackers] SVN Commit by dpage: r6248 - trunk/pgadmin3/pgadmin/include/frm

2007-04-30 Thread svn
Author: dpage

Date: 2007-04-30 19:48:05 + (Mon, 30 Apr 2007)

New Revision: 6248

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6248view=rev

Log:
Remove dead file



Modified:
   trunk/pgadmin3/pgadmin/include/frm/module.mk

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


[pgadmin-hackers] SVN Commit by guillaume: r6249 - trunk/pgadmin3/i18n/sr_YU

2007-04-30 Thread svn
Author: guillaume

Date: 2007-04-30 22:19:42 + (Mon, 30 Apr 2007)

New Revision: 6249

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6249view=rev

Log:
Update serbian's translation, per Bojan Skaljac..



Modified:
   trunk/pgadmin3/i18n/sr_YU/pgadmin3.mo
   trunk/pgadmin3/i18n/sr_YU/pgadmin3.po

---(end of broadcast)---
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate