GNOME Bugzilla – Bug 339993
[i18n] use stock labels included with stock items
Last modified: 2006-05-16 09:04:44 UTC
Pitivi uses stock icons but doesn't use the stock labels that come with them, notably "Quit Pitivi" and "About Pitivi". Ideally you want to let the labels that come with the stock items show through, this way the translations will show through and you save your translators from unnecessary work. Aside from that I would recommend you carefully abstract the use of APPNAME anywhere it occurs in your program. No one ever knows in advance if they will need to change the name later. (Being able to change the name and branding might be an opportunity to provide a supported commerical version like Staroffice/OpenOffice does.)
2006-05-16 Edward Hervey <edward@fluendo.com> * pitivi/configure.py.in: Add APPNAME, which contains the configured application name. This will easily allow changing the application name later on. * pitivi/check.py: * pitivi/pitivi.py: * pitivi/project.py: * pitivi/ui/mainwindow.py: Use configure.APPNAME for every string occurence of PiTiVi. (PitiviMainWindow._setActions): Don't set action string for some stock items. (NEW, OPEN, SAVE, SAVE_AS, QUIT, FULLSCREEN, ABOUT). I'm leaving what we set for the others, since I used them because I couldn't find any better icon. Closes #339993