#7 [Best Practice] use stock items please

open
nobody
None
5
2007-01-20
2007-01-20
Alan Horkan
No

gtk stock items are not just for icons, they have stock labels associated with them too

usually you can set those labels to show through instead of having to write your own labels and more importantly instead of having to translate our own labels.

so for example the menu item "File, Exit" could instead allow the stock Quit label to show through.
the benefit of this is GTK and these stock labels are already translated and it saves translators a lot of extra work (each individual translator is saved only a little work but if you consider that across all of Gnome and GTK apps it really adds up)

Discussion


Log in to post a comment.