@Gabor: This won't work (ie. your change is good but not enough to fix this bug).
In your branch, run "python setup.py build_i18n" and then open the "po/software-center.pot" file. You will find that there is now:
#. TRANSLATORS: Free here means Gratis #: ../softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:276 #: ../softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:538 #: ../softwarecenter/ui/gtk3/widgets/buttons.py:247 #: ../softwarecenter/ui/gtk3/widgets/buttons.py:250 #: ../softwarecenter/ui/gtk3/widgets/buttons.py:252 msgid "Free"
So we still can't distinguish the two distinct "Free" in translations.
We need to use Gettext context feature ( http://www.gnu.org/s/hello/manual/gettext/Contexts.html ). Unfortunately, it seems that Python does not expose this by default, so it needs some work. (there is some clues in this thread: http://bugs.python.org/issue2504 )
Something easier may be to just change one of these string, eg. to "Gratis", "Free Software" or whatever suit you.
@Gabor: This won't work (ie. your change is good but not enough to fix this bug).
In your branch, run "python setup.py build_i18n" and then open the "po/software- center. pot" file.
You will find that there is now:
#. TRANSLATORS: Free here means Gratis er/ui/gtk3/ views/appdetail sview_gtk. py:276 er/ui/gtk3/ views/appdetail sview_gtk. py:538 er/ui/gtk3/ widgets/ buttons. py:247 er/ui/gtk3/ widgets/ buttons. py:250 er/ui/gtk3/ widgets/ buttons. py:252
#: ../softwarecent
#: ../softwarecent
#: ../softwarecent
#: ../softwarecent
#: ../softwarecent
msgid "Free"
So we still can't distinguish the two distinct "Free" in translations.
We need to use Gettext context feature ( http:// www.gnu. org/s/hello/ manual/ gettext/ Contexts. html ). bugs.python. org/issue2504 )
Unfortunately, it seems that Python does not expose this by default, so it needs some work.
(there is some clues in this thread: http://
Something easier may be to just change one of these string, eg. to "Gratis", "Free Software" or whatever suit you.