mirror of https://github.com/snachodog/mybuddy.git
Add Spanish translations
This commit is contained in:
parent
f0fdbaca42
commit
f6b5126dfd
|
@ -360,6 +360,8 @@ Baby Buddy includes translation support as of v1.2.2. Language can be set on a p
|
|||
|
||||
:de: German
|
||||
|
||||
:mexico: :es: Spanish
|
||||
|
||||
:sweden: Swedish
|
||||
|
||||
## API
|
||||
|
|
|
@ -128,6 +128,7 @@ LANGUAGES = [
|
|||
('en', _('English')),
|
||||
('fr', _('French')),
|
||||
('de', _('German')),
|
||||
('es', _('Spanish')),
|
||||
('sv', _('Swedish')),
|
||||
]
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ module.exports = {
|
|||
dest: basePath + 'plotly-locales/',
|
||||
files: [
|
||||
'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-fr.js',
|
||||
'node_modules/plotly.js/dist/plotly-locale-sv.js'
|
||||
]
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -29,6 +29,9 @@
|
|||
{% language 'de' %}
|
||||
<script src="{% static "babybuddy/plotly-locales/plotly-locale-de.js" %}"></script>
|
||||
{% endlanguage %}
|
||||
{% language 'es' %}
|
||||
<script src="{% static "babybuddy/plotly-locales/plotly-locale-es.js" %}"></script>
|
||||
{% endlanguage %}
|
||||
{% language 'fr' %}
|
||||
<script src="{% static "babybuddy/plotly-locales/plotly-locale-fr.js" %}"></script>
|
||||
{% endlanguage %}
|
||||
|
|
Loading…
Reference in New Issue