From b0b2da33171063a24967d7882d40bc0b501a2836 Mon Sep 17 00:00:00 2001 From: Chris Van Date: Tue, 13 Nov 2012 20:06:34 -0800 Subject: [PATCH] remove en-US locale from mozilla.org/firefox URLs --- mkt/site/helpers.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mkt/site/helpers.py b/mkt/site/helpers.py index 2b06b83078..58192ac315 100644 --- a/mkt/site/helpers.py +++ b/mkt/site/helpers.py @@ -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, ' 'download and install ' 'Firefox for Android.').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, ' # 'download and install ' # 'Firefox.').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, upgrade ' 'Firefox.').format(url=url))