From: | "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp> |
---|---|
To: | "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de> |
Cc: | <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Problem with Scintilla |
Date: | 2003-07-16 00:09:10 |
Message-ID: | 01e701c34b2e$7b730460$1f324d80@w2k |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Andreas.
There is Scintill which can't be controlled by a po file to translate.
For example it is this.
--->ScintillaBase.cxx
void ScintillaBase::ContextMenu(Point pt) {
if (displayPopupMenu) {
bool writable = !WndProc(SCI_GETREADONLY, 0, 0);
popup.CreatePopUp();
AddToPopUp("Undo", idcmdUndo, writable && pdoc->CanUndo());
AddToPopUp("Redo", idcmdRedo, writable && pdoc->CanRedo());
AddToPopUp("");
AddToPopUp("Cut", idcmdCut, writable && currentPos !=
anchor);
AddToPopUp("Copy", idcmdCopy, currentPos != anchor);
AddToPopUp("Paste", idcmdPaste, writable &&
WndProc(SCI_CANPASTE
, 0, 0));
AddToPopUp("Delete", idcmdDelete, writable && currentPos !=
anch
or);
AddToPopUp("");
AddToPopUp("Select All", idcmdSelectAll);
popup.Show(pt, wMain);
}
}
<----END
I don't think that it is a substitution simply with wxT("xx").
It was the modification point with stc.xpp, *.h as well.
And, the base of Scintilla is outside.
I don't have a definite answer.
Are there any ideas?
Regards,
Hiroshi-Saito
From | Date | Subject | |
---|---|---|---|
Next Message | Þórhallur Hálfdánarson | 2003-07-16 01:09:56 | Translation: Languages |
Previous Message | Andreas Pflug | 2003-07-15 23:10:24 | Some help |