remove untranslatable parts / words from strings
@cskeogh
Submitted by Craig Scott Keogh Link to original bug (#685199)
Description
I believe the following are not translatable:
- program names (git, cvs, make, etc)
- program arguments (--help, --quiet)
- JHBuild's xml - tag names, attribute names, etc
- JHBuild's .config/jhbuildrc variables
Therefore they should be removed from the translatable strings.
For example: _('curl not found') becomes: _('%s not found') % 'curl'
This has the advantage of decreasing JHBuild's number of strings and makes translating easier.
A quick look suggests the following 11 strings could become 4 strings. There may be more.
msgid "run make distcheck after building" msgid "run make check after building" msgid "run make dist after building"
msgid "install prefix (%s) must be writable" msgid "checkout root (%s) must be writable" msgid "checkout copy dir (%s) must be writable" msgid "tarball dir (%s) must be writable"
msgid "dep node for module %s is missing package attribute" msgid "%(node)s node for %(module)s module is missing %(attribute)s attribute"
msgid "curl or wget not found" msgid "unable to find wget or curl"