Add Turkish translations

This commit is contained in:
Christopher C. Wells 2020-01-16 19:42:49 -08:00
parent f6b5126dfd
commit 2627b1cbfd
6 changed files with 1269 additions and 1 deletions

View File

@ -364,6 +364,8 @@ Baby Buddy includes translation support as of v1.2.2. Language can be set on a p
:sweden: Swedish :sweden: Swedish
:tr: Turkish
## API ## API
Baby Buddy uses the [Django REST Framework](http://www.django-rest-framework.org/) Baby Buddy uses the [Django REST Framework](http://www.django-rest-framework.org/)

View File

@ -130,6 +130,7 @@ LANGUAGES = [
('de', _('German')), ('de', _('German')),
('es', _('Spanish')), ('es', _('Spanish')),
('sv', _('Swedish')), ('sv', _('Swedish')),
('tr', _('Turkish')),
] ]

View File

@ -17,7 +17,8 @@ module.exports = {
'node_modules/plotly.js/dist/plotly-locale-de.js', 'node_modules/plotly.js/dist/plotly-locale-de.js',
'node_modules/plotly.js/dist/plotly-locale-es.js', 'node_modules/plotly.js/dist/plotly-locale-es.js',
'node_modules/plotly.js/dist/plotly-locale-fr.js', 'node_modules/plotly.js/dist/plotly-locale-fr.js',
'node_modules/plotly.js/dist/plotly-locale-sv.js' 'node_modules/plotly.js/dist/plotly-locale-sv.js',
'node_modules/plotly.js/dist/plotly-locale-tr.js'
] ]
}, },
logo: { logo: {

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -38,5 +38,8 @@
{% language 'sv' %} {% language 'sv' %}
<script src="{% static "babybuddy/plotly-locales/plotly-locale-sv.js" %}"></script> <script src="{% static "babybuddy/plotly-locales/plotly-locale-sv.js" %}"></script>
{% endlanguage %} {% endlanguage %}
{% language 'tr' %}
<script src="{% static "babybuddy/plotly-locales/plotly-locale-tr.js" %}"></script>
{% endlanguage %}
{{ js|safe }} {{ js|safe }}
{% endblock %} {% endblock %}