-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Formulario y vista para proponer una nueva charla #217
Conversation
WIP: Unit tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Listo. Agregue iternacionalizacion también |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se ve bien el formulario
Se solicitan los siguientes cambios:
- Crear migraciones, para los help text, si se ejecuta el comando make migrations, hay cambios sin aplicar, si bien dado que son campos de ayuda no generan mayor impacto
- Traducir los mensajes faltantes, que sirven como información de ayuda para diligenciar los campos
@@ -23,10 +23,25 @@ class InPerson(models.IntegerChoices): | |||
description = models.CharField(_("Description"), max_length=300) | |||
level = models.PositiveIntegerField(_("Level"), choices=Level.choices, default=Level.BEGINNER) | |||
language = models.CharField(_("Language"), max_length=2, choices=Language.choices, default=Language.ES) | |||
timezone = models.CharField(_("Timezone"), max_length=60) | |||
timezone = models.CharField( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Al cambiar los modelos se requieren crear migraciones, por favor, crealas
#: temii/talks/models.py:27 | ||
#: temii/talks/models.py:30 | ||
msgid "" | ||
"Timezone of the place you are located. E.g., Colombia (UTC-5), Argentina or " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creo que seria bueno traducir este mensaje
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Listo. Agregue las migraciones y las nuevas traducciones :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Un pequeño typo en una de las traducciones, pero ya casi
locale/es/LC_MESSAGES/django.po
Outdated
@@ -100,7 +100,8 @@ msgstr "Zona horaria" | |||
msgid "" | |||
"Timezone of the place you are located. E.g., Colombia (UTC-5), Argentina or " | |||
"Chile (UTC-3), Mexico (UTC-6), etc." | |||
msgstr "" | |||
msgstr "ona horaria del lugar donde se encuentra. Por ejemplo," |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
msgstr "Zona horaria del lugar donde se encuentra. Por ejemplo,"
Falta una Z
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jeje ups. Ya lo corregí
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excelente 👯
Pull request
Relacionado con #149
Observaciones
Luego de que el usuario propone una nueva charla, redirijo a una página de agradecimiento. En la lógica del formulario de google, solo el o los admins pueden ver el listado de charlas propuestas