Skip to content

Commit

Permalink
Added language chooser.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Sep 3, 2019
1 parent 59ab835 commit 06de101
Show file tree
Hide file tree
Showing 14 changed files with 253 additions and 136 deletions.
6 changes: 6 additions & 0 deletions admin_interface/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ class ThemeAdmin(admin.ModelAdmin):
'env_visible_in_favicon',
)
}),
(_('Language chooser'), {
'classes': ('wide', ),
'fields': (
'language_chooser_active',
)
}),
(_('Logo'), {
'classes': ('wide', ),
'fields': (
Expand Down
Binary file modified admin_interface/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
95 changes: 50 additions & 45 deletions admin_interface/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: django-admin-interface\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-20 16:12+0000\n"
"POT-Creation-Date: 2019-09-03 16:43+0000\n"
"PO-Revision-Date: 2018-12-30 19:13-0500\n"
"Last-Translator: Martin Vuelta <martin.vuelta@softbutterfly.io>\n"
"Language-Team: Spanish <dev@softbutterfly.io>\n"
Expand All @@ -19,165 +19,170 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: admin_interface/admin.py:19
#: admin_interface/admin.py:21
msgid "Environment"
msgstr "Ambiente"

#: admin_interface/admin.py:28
#: admin_interface/admin.py:30
msgid "Language chooser"
msgstr ""

#: admin_interface/admin.py:36
msgid "Logo"
msgstr "Logo"

#: admin_interface/admin.py:36
#: admin_interface/admin.py:44
msgid "Favicon"
msgstr "Favicon"

#: admin_interface/admin.py:40
#: admin_interface/admin.py:48
msgid "Title"
msgstr "Título"

#: admin_interface/admin.py:48
#: admin_interface/admin.py:56
msgid "Header"
msgstr "Encabezado"

#: admin_interface/admin.py:57
#: admin_interface/admin.py:65
msgid "Breadcrumbs / Module headers"
msgstr "Breadcrumbs / Encabezados de módulos"

#: admin_interface/admin.py:67
#: admin_interface/admin.py:75
msgid "Generic Links"
msgstr "Enlaces genéricos"

#: admin_interface/admin.py:74
#: admin_interface/admin.py:82
msgid "Save Buttons"
msgstr "Botones de guardar"

#: admin_interface/admin.py:82
#: admin_interface/admin.py:90
msgid "Delete Buttons"
msgstr "Botones de borrar"

#: admin_interface/admin.py:90
#: admin_interface/admin.py:98
msgid "Related Modal"
msgstr "Modal para objetos relacionados"

#: admin_interface/admin.py:99
#: admin_interface/admin.py:108
msgid "List Filter"
msgstr "Lista de filtros"

#: admin_interface/admin.py:103
#: admin_interface/admin.py:112
msgid "Recent Actions"
msgstr "Acciones recientes"

#: admin_interface/apps.py:11
msgid "Admin Interface"
msgstr "Interfaz de administración"

#: admin_interface/models.py:56 admin_interface/models.py:100
#: admin_interface/models.py:72 admin_interface/models.py:116
msgid "name"
msgstr "Nombre"

#: admin_interface/models.py:59 admin_interface/models.py:224
#: admin_interface/models.py:75 admin_interface/models.py:132
#: admin_interface/models.py:244
msgid "active"
msgstr "Activo"

#: admin_interface/models.py:63
#: admin_interface/models.py:79
#: admin_interface/templates/admin/base_site.html:6
#: admin_interface/templates/admin/base_site.html:60
msgid "Django administration"
msgstr "Administración de Django"

#: admin_interface/models.py:65
#: admin_interface/models.py:81
msgid "title"
msgstr "Título"

#: admin_interface/models.py:71 admin_interface/models.py:86
#: admin_interface/models.py:106
#: admin_interface/models.py:87 admin_interface/models.py:102
#: admin_interface/models.py:122
#, fuzzy
#| msgid "logo color"
msgid "color"
msgstr "color de logo"

#: admin_interface/models.py:74 admin_interface/models.py:89
#: admin_interface/models.py:260
#: admin_interface/models.py:90 admin_interface/models.py:105
#: admin_interface/models.py:280
msgid "visible"
msgstr "Visible"

#: admin_interface/models.py:79
#: admin_interface/models.py:95
msgid "Leave blank to use the default Django logo"
msgstr "Dejar en blanco para usaer el logo por defecto de Django"

#: admin_interface/models.py:80
#: admin_interface/models.py:96
msgid "logo"
msgstr "logo"

#: admin_interface/models.py:94
#: admin_interface/models.py:110
msgid "(.ico|.png|.gif - 16x16|32x32 px)"
msgstr "Formatos ico, png o gif. Tamaños de 16x16 o 32x32 pixeles"

#: admin_interface/models.py:95
#: admin_interface/models.py:111
msgid "favicon"
msgstr "favicon"

#: admin_interface/models.py:104
#: admin_interface/models.py:120
msgid ""
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: "
"#3498DB)"
msgstr ""

#: admin_interface/models.py:109
#: admin_interface/models.py:125
msgid "visible in header (marker and name)"
msgstr ""

#: admin_interface/models.py:112
#: admin_interface/models.py:128
msgid "visible in favicon (marker)"
msgstr ""

#: admin_interface/models.py:119 admin_interface/models.py:144
#: admin_interface/models.py:185 admin_interface/models.py:204
#: admin_interface/models.py:230
#: admin_interface/models.py:139 admin_interface/models.py:164
#: admin_interface/models.py:205 admin_interface/models.py:224
#: admin_interface/models.py:250
msgid "background color"
msgstr "color de fondo"

#: admin_interface/models.py:125 admin_interface/models.py:150
#: admin_interface/models.py:197 admin_interface/models.py:216
#: admin_interface/models.py:220
#: admin_interface/models.py:145 admin_interface/models.py:170
#: admin_interface/models.py:217 admin_interface/models.py:236
#: admin_interface/models.py:240
msgid "text color"
msgstr "color de texto"

#: admin_interface/models.py:131 admin_interface/models.py:156
#: admin_interface/models.py:172
#: admin_interface/models.py:151 admin_interface/models.py:176
#: admin_interface/models.py:192
msgid "link color"
msgstr "color de enlace"

#: admin_interface/models.py:137 admin_interface/models.py:162
#: admin_interface/models.py:178
#: admin_interface/models.py:157 admin_interface/models.py:182
#: admin_interface/models.py:198
msgid "link hover color"
msgstr "color de enlace (hover)"

#: admin_interface/models.py:165 admin_interface/models.py:250
#: admin_interface/models.py:185 admin_interface/models.py:270
msgid "rounded corners"
msgstr "esquinas redondas"

#: admin_interface/models.py:191 admin_interface/models.py:210
#: admin_interface/models.py:211 admin_interface/models.py:230
msgid "background hover color"
msgstr "color de fondo (hover)"

#: admin_interface/models.py:247
#: admin_interface/models.py:267
msgid "background opacity"
msgstr "opacidad de fondo"

#: admin_interface/models.py:253
#: admin_interface/models.py:273
msgid "close button visible"
msgstr ""

#: admin_interface/models.py:257
#: admin_interface/models.py:277
msgid "use dropdown"
msgstr "Usar lista desplegable"

#: admin_interface/models.py:269
#: admin_interface/models.py:289
msgid "Theme"
msgstr "Tema"

#: admin_interface/models.py:270
#: admin_interface/models.py:290
msgid "Themes"
msgstr "Temas"

Expand Down
Binary file modified admin_interface/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit 06de101

Please sign in to comment.