Skip to content

Commit

Permalink
Remove mezzanine.mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Jul 28, 2017
1 parent 7585cc1 commit f75cd3c
Show file tree
Hide file tree
Showing 100 changed files with 6 additions and 5,435 deletions.
6 changes: 0 additions & 6 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ source_file = mezzanine/generic/locale/en/LC_MESSAGES/django.po
source_lang = en
type = PO

[mezzanine.mobile]
file_filter = mezzanine/mobile/locale/<lang>/LC_MESSAGES/django.po
source_file = mezzanine/mobile/locale/en/LC_MESSAGES/django.po
source_lang = en
type = PO

[mezzanine.galleries]
file_filter = mezzanine/galleries/locale/<lang>/LC_MESSAGES/django.po
source_file = mezzanine/galleries/locale/en/LC_MESSAGES/django.po
Expand Down
4 changes: 0 additions & 4 deletions mezzanine/core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ <h1>{% block title %}{% endblock %}</h1>
<a href="http://www.djangoproject.com">Django</a>
<span class="separator">|</span>
{% trans "Theme by" %} <a target="_blank" href="http://getbootstrap.com">Bootstrap</a>
{% ifinstalled mezzanine.mobile %}
<span class="separator">|</span>
<a href="{% url "set_device" "mobile" %}?next={{ request.path }}">{% trans "View Mobile Site" %}</a>
{% endifinstalled %}
</p>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions mezzanine/mobile/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import warnings

warnings.warn(
"mezzanine.mobile has been deprecated. Please remove it from your "
"INSTALLED_APPS.", FutureWarning, stacklevel=2
)
Binary file removed mezzanine/mobile/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
132 changes: 0 additions & 132 deletions mezzanine/mobile/locale/ar/LC_MESSAGES/django.po

This file was deleted.

Binary file removed mezzanine/mobile/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
132 changes: 0 additions & 132 deletions mezzanine/mobile/locale/bg/LC_MESSAGES/django.po

This file was deleted.

Binary file removed mezzanine/mobile/locale/ca/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit f75cd3c

Please sign in to comment.