remove en-US locale from mozilla.org/firefox URLs
This commit is contained in:
Родитель
f0aec4eea0
Коммит
b0b2da3317
|
@ -245,21 +245,20 @@ def market_tile(context, product, link=True, src=''):
|
|||
|
||||
if need_firefox:
|
||||
if request.MOBILE:
|
||||
url = 'http://www.mozilla.org/en-US/mobile/aurora/'
|
||||
#url = ('https://www.mozilla.org/en-US/mobile/android-download'
|
||||
# '.html')
|
||||
url = 'http://www.mozilla.org/mobile/aurora/'
|
||||
#url = 'https://www.mozilla.org/mobile/android-download.html'
|
||||
# We can't have nested anchors, so deal with this hack.
|
||||
notices.append(_('To use this app, '
|
||||
'<b data-href="{url}">download and install '
|
||||
'Firefox for Android</b>.').format(url=url))
|
||||
# TODO: Comment out when we disable installs on desktop again!
|
||||
# else:
|
||||
# url = 'https://www.mozilla.org/en-US/firefox/'
|
||||
# url = 'https://www.mozilla.org/firefox/'
|
||||
# notices.append(_('To use this app, <b data-href="{url}">'
|
||||
# 'download and install '
|
||||
# 'Firefox</b>.').format(url=url))
|
||||
elif need_upgrade:
|
||||
url = 'http://www.mozilla.org/en-US/firefox/aurora/'
|
||||
url = 'http://www.mozilla.org/firefox/aurora/'
|
||||
notices.append(_('To use this app, <b data-href="{url}">upgrade '
|
||||
'Firefox</b>.').format(url=url))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче