dummzeuch 1505 Posted June 29, 2020 (edited) The Delphi IDE shows a notification dialog when an exception occurs during debugging which allows to break or continue: I know what the text on the English version is, but I need the text of the German and French version. (and probably Japanese, though I doubt that I can really use it). Could you please help me out here? Edited June 29, 2020 by dummzeuch Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 20 hours ago, dummzeuch said: Could you please help me out here? Nobody? If I don't get the the translations, the latest feature addition for GExperts will only be available for English versions of the IDE, which would be a pita. Share this post Link to post
Attila Kovacs 629 Posted June 30, 2020 (edited) This won't help you, am I right? 😉 Maybe this: Edited June 30, 2020 by Attila Kovacs Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 21 minutes ago, Attila Kovacs said: This won't help you, am I right? 😉 Maybe this: Thanks. The latter is useful. The first not much, but maybe you could copy and paste just the text (Ctrl+C will copy the whole text of the dialog to the clipboard). How did you get the Japanese (I guess it's Japanese) text? Is there an option to switch the IDE language? In that case I could just do that myself. (Hm, now that I think about this, I seem to remember that this topic came up before in a different context.) Share this post Link to post
luebbe 26 Posted June 30, 2020 Do you know the name of the constant by chance? Then I could grep the delphi sources. Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 11 minutes ago, dummzeuch said: Is there an option to switch the IDE language? In that case I could just do that myself. (Hm, now that I think about this, I seem to remember that this topic came up before in a different context.) Found it: BDSSetLang.exe in the bin folder. Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 2 minutes ago, luebbe said: Do you know the name of the constant by chance? Then I could grep the delphi sources. No, no idea. Share this post Link to post
Attila Kovacs 629 Posted June 30, 2020 13 minutes ago, dummzeuch said: How did you get the Japanese google: site:.jp delphi debug project1.exe or something like that. however no luck with site:.fr. they must be awesome coder 😉 Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 'Le projet Project1.exe a déclenché la classe d'exception Exception avec le message 'bla'.' Share this post Link to post
dummzeuch 1505 Posted June 30, 2020 (edited) I even got the Japanese text (using bdssetlang): 'プロジェクト Project1.exe は例外クラス Exception (メッセージ 'bla')を送出しました。' Not sure whether this is correct though and I wonder whether TRegExpr will work with Japanese. But hey, there is an easy way to find out: Simply test it. 😉 Thanks everybody. Edited June 30, 2020 by dummzeuch Share this post Link to post
Anders Melander 1782 Posted June 30, 2020 For Delphi 10.4 The dialog is TEXCEPTIONNOTIFICATIONDLG in dbkdebugide270.* (bpl, de, fr, ja). The string is resourcestring 65448 in the same file. I don't know the name of the resourcestring since I don't have the .drc file. I can send you a translation project with all four languages if you like - Or I can just explain how to get them yourself. English: "Project %s raised exception class %s with message '%s'." German: "Im Projekt %s ist eine Exception der Klasse %s mit der Meldung '%s' aufgetreten." French: "Le projet %s a déclenché la classe d'exception %s avec le message '%s'." Japanese: "プロジェクト %s は例外クラス %s (メッセージ '%s')を送出しました。" I was briefly tempted to replace the Japanese with something amusing 😈 2 Share this post Link to post
luebbe 26 Posted June 30, 2020 The Japanese parts that I can decipher are correct 😄 Share this post Link to post
Stéphane Wierzbicki 45 Posted June 30, 2020 French translation is also correct. Share this post Link to post
Sherlock 663 Posted June 30, 2020 German is OK as well I would always use indexed format specifiers though. 1 Share this post Link to post