Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
bug 564470, need to capitalize en-US properly *and* link to remora th…
Browse files Browse the repository at this point in the history
…ings in /pages
  • Loading branch information
davedash committed May 10, 2010
1 parent ef22fcd commit b511ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/amo/context_processors.py
Expand Up @@ -14,7 +14,7 @@ def app(request):

def i18n(request):
return {'LANGUAGES': settings.LANGUAGES,
'LANG': translation.get_language(),
'LANG': settings.LANGUAGE_URL_MAP.get(translation.get_language()),
'DIR': 'rtl' if translation.get_language_bidi() else 'ltr',
}

Expand Down
4 changes: 2 additions & 2 deletions templates/footer.html
Expand Up @@ -31,10 +31,10 @@
<ul>
<li><a href="http://www.mozilla.com/{{ LANG }}/privacy-policy.html">{{ _('Privacy Policy') }}</a></li>
<li><a href="http://www.mozilla.com/{{ LANG }}/about/legal.html">{{ _('Legal Notices') }}</a></li>
<li><a href="{{ url('pages.about') }}">{{ _('About') }}</a></li>
<li><a href="{{ remora_url('pages/about') }}">{{ _('About') }}</a></li>
<li><a href="http://blog.mozilla.com/addons">{{ _('Blog') }}</a></li>
<li><a href="{{ remora_url('/developers') }}{# TODO #}">{{ _('Developer Hub') }}</a></li>
<li><a href="{{ url('pages.faq') }}"><abbr title="{{ _('Frequently Asked Questions') }}">{{ _('FAQ') }}</abbr></a></li>
<li><a href="{{ remora_url('pages/faq') }}"><abbr title="{{ _('Frequently Asked Questions') }}">{{ _('FAQ') }}</abbr></a></li>
<li><a href="https://forums.addons.mozilla.org">{{ _('Forum') }}</a></li>
</ul>
<p class="disclaimer">{% trans -%}Mozilla is providing links to these applications as a courtesy, and makes no representations
Expand Down

0 comments on commit b511ca8

Please sign in to comment.