Add some missing translations

Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
Skia
2017-05-31 23:43:22 +02:00
parent 978b891137
commit 11d20f43e5
3 changed files with 69 additions and 56 deletions

View File

@ -52,7 +52,6 @@ class Subscription(models.Model):
subscription_end = models.DateField(_('subscription end'))
payment_method = models.CharField(_('payment method'),
max_length=255,
help_text=_('Eboutic is reserved to specific users. In doubt, don\'t use it.'),
choices=settings.SITH_SUBSCRIPTION_PAYMENT_METHOD)
location = models.CharField(choices=settings.SITH_SUBSCRIPTION_LOCATIONS,
max_length=20, verbose_name=_('location'))

View File

@ -19,7 +19,7 @@
<p>{{ form.subscription_type.errors }}<label for="{{ form.subscription_type.name }}">{{ form.subscription_type.label }}</label> {{ form.subscription_type }}</p>
<p>{{ form.payment_method.errors }}<label for="{{ form.payment_method.name }}">{{ form.payment_method.label }}</label> {{
form.payment_method }}</p>
<p>{{ form.payment_method.help_text }}</p>
<p>{% trans %}Eboutic is reserved to specific users. In doubt, don't use it.{% endtrans %}</p>
<p>{{ form.location.errors }}<label for="{{ form.location.name }}">{{ form.location.label }}</label> {{ form.location }}</p>
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>