← Back to team overview

kicad-developers team mailing list archive

suggestion - proper Yes/No question to user

 

Hello,
the Component Library Editor when closed after an unsaved modification
goes like:

Component was modified!
Discard changes?
Yes No

Shouldn't this message say:

This component was modified.
Do you want to save your changes?
Yes Cancel No

The same should maybe apply to the following messaged:

eeschema/libeditframe.cpp
330:        if( !IsOK( this, _( "Component was modified!\nDiscard
changes?" ) ) )
346:            msg.Printf( _( "Library \"%s\" was modified!\nDiscard
changes?" ),

eeschema/libedit.cpp
545:All changes will be lost. Discard changes?" ) ) )

eeschema/files-io.cpp
202:        if( !IsOK( this, _( "Discard changes to the current
schematic?" ) ) )


Also, shouldn't the "Component Library Editor" be called "Library
Component Editor"?


Regards
Fabrizio