#. There is only one card, so hide the tab and border
msgid "The following audio device was detected."
#. There is more than one card, so show the primary device option menu
msgid "The following audio devices were detected."
As mentioned in
this way of handling plurals is broken for many locales. A way to solve
this is by using ngettext instead as mentioned in that document.
A simple code example of code using ngettext:
g_printf (ngettext ("Found %d file.", "Found %d files.", nbr_of_files),
Something similar should work in Python too.
I may be wrong, but I believe that ngettext was introduced in Python 2.3. We
will be staying with Python 2.2 for Cambridge, so I'll defer this to a future