** Description changed:

  Binary package hint: command-not-found
  
- command-not-found shows some untranslated strings in my Spanish desktop,
- and can't be translated because these strings aren't in the Launchpad
- template.
+ command-not-found needs to generate a POT template on build for its
+ translatable messages to be exposed in Launchpad.
  
- Example:
+ In this way, on every upload the template will be refreshed in
+ Launchpad. Right now, the template is present in Launchpad, but it's
+ outdated, making it impossible to translate e.g. the "No command '%s'
+ found, did you mean:" message, because it's not in Launchpad.
  
- rica...@kadath:~$ xplane
- No command 'xplane' found, did you mean:
-  Command 'xplanet' from package 'xplanet' (universe)
- xplane: command not found
- rica...@kadath:~$ xplanet
- El programa «xplanet» no está instalado actualmente.  Puede instalarlo 
escribiendo:
- sudo apt-get install xplanet
- rica...@kadath:~$ 
+ This is because the package contains an outdated po/command-not-
+ found.pot file, and that's the one that gets imported. An easy fix is to
+ simply add the following to debian/rules, just below the './setup.py
+ build' line in the build-stamp rule:
  
- As you can see, some strings are translated into Spanish, but some
- others don't, and can't be translated because there aren't here:
+ cd po; intltool-update -p -g command-not-found
  
-   https://translations.launchpad.net/ubuntu/lucid/+source/command-not-
- found/+pots/command-not-found/es/+translate
+ In the meantime, I've manually uploaded an updated template in
+ Launchpad, which should be available shortly
+ 
+ For more info on this:
+ 
+ * 
https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/Packaging#Translation%20templates
+ * 
https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/RecipeVerifyingTranslationUploads

-- 
The command-not-found package needs to create a POT template on build
https://bugs.launchpad.net/bugs/549106
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to