Jump to content
dummzeuch

Translations of the exception notification dialog text

Recommended Posts

The Delphi IDE shows a notification dialog when an exception occurs during debugging which allows to break or continue:

 

Exception-Notification.thumb.png.d03e9eb1bd7855c9e3b0cf1763014bda.png

 

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 by dummzeuch

Share this post


Link to post

 

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

This won't help you, am I right? 😉

 

image.thumb.png.8840c6922b81a0d205dec6e091abdfc0.png

 

Maybe this:

 

image.thumb.png.c6b7e4e247f014433f6cf97fa5689302.png

Edited by Attila Kovacs

Share this post


Link to post
21 minutes ago, Attila Kovacs said:

This won't help you, am I right? 😉

 

image.thumb.png.8840c6922b81a0d205dec6e091abdfc0.png

 

Maybe this:

 

image.thumb.png.c6b7e4e247f014433f6cf97fa5689302.png

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

Do you know the name of the constant by chance? Then I could grep the delphi sources.

Share this post


Link to post
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
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
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

'Le projet Project1.exe a déclenché la classe d'exception Exception avec le message 'bla'.'

Share this post


Link to post

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 by dummzeuch

Share this post


Link to post

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 😈

  • Thanks 2

Share this post


Link to post

The Japanese parts that I can decipher are correct 😄

Share this post


Link to post

German is OK as well :classic_ninja:

I would always use indexed format specifiers though.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×