Commit ad067d1a authored by Philip Withnall's avatar Philip Withnall

Bug 579566 – Jamendo plugin doesn't localize link to Jamendo Album Page

Also updated the relevant translations to ensure the correct language codes
are used in each case supported by Jamendo's website.
parent ed05aae9
This diff is collapsed.
This diff is collapsed.
......@@ -18,9 +18,8 @@
msgid ""
msgstr ""
"Project-Id-Version: totem.HEAD\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=totem&component=general\n"
"POT-Creation-Date: 2009-04-24 13:18+0000\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-04-29 15:04+0100\n"
"PO-Revision-Date: 2009-04-26 21:04+0200\n"
"Last-Translator: Claude Paroz <claude@2xlibre.net>\n"
"Language-Team: GNOME French Team <gnomefr@traduc.org>\n"
......@@ -2333,8 +2332,8 @@ msgid ""
"Plugin for sending notifications of currently-playing movies to the D-Bus "
"subsystem."
msgstr ""
"Greffon pour l'envoi de notifications des films en cours de visionnement "
"au sous-système D-Bus."
"Greffon pour l'envoi de notifications des films en cours de visionnement au "
"sous-système D-Bus."
#: ../src/plugins/galago/galago.totem-plugin.in.h:1
msgid "Instant Messenger status"
......@@ -2504,6 +2503,17 @@ msgstr "%H:%M:%S"
msgid "%M:%S"
msgstr "%M:%S"
#. Translators: If Jamendo supports your language, replace "en" with the language code, enclosed
#. in slashes, used to view pages in your language on the Jamendo website. e.g. For French, "en"
#. would be translated to "fr", as Jamendo uses that in its URLs:
#. http://www.jamendo.com/fr/album/4818
#. Compared to:
#. http://www.jamendo.com/en/album/4818
#. If Jamendo doesn't support your language, *do not translate this string*!
#: ../src/plugins/jamendo/jamendo.py:686
msgid "en"
msgstr "fr"
#: ../src/plugins/lirc/lirc.totem-plugin.in.h:1
msgid "Infrared Remote Control"
msgstr "Télécommande infrarouge"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -676,6 +676,14 @@ class JamendoService(threading.Thread):
'%s/name/license/json/album_license/?album_id=%s'\
% (self.API_URL, album['id'])
))
# Translators: If Jamendo supports your language, replace "en" with the language code, enclosed
# in slashes, used to view pages in your language on the Jamendo website. e.g. For French, "en"
# would be translated to "fr", as Jamendo uses that in its URLs:
# http://www.jamendo.com/fr/album/4818
# Compared to:
# http://www.jamendo.com/en/album/4818
# If Jamendo doesn't support your language, *do not translate this string*!
album['url'] = album['url'].replace('/en/', '/' + _('en') + '/')
gobject.idle_add(self.loop_cb[0], self.loop_cb[1], album)
gobject.idle_add(self.done_cb[0], self.done_cb[1], albums)
except Exception, exc:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment