Updated translations.

This commit is contained in:
Emanuel Schuetze 2012-04-20 11:15:15 +02:00
parent ae5efcfa9d
commit 42a2e44390
9 changed files with 314 additions and 276 deletions

View File

@ -46,8 +46,7 @@
<input type="checkbox" id="hide_closed_items"> {%trans "Hide closed items" %}
</p>
{{ items|length }}
{% blocktrans count counter=items|length %}item
{% plural %}items{% endblocktrans %}
{% blocktrans count counter=items|length %}item{% plural %}items{% endblocktrans %}
<span id="hiddencount"></span>
<form action="/agenda/" method="post">{% csrf_token %}
{% if perms.agenda.can_manage_agenda %}

View File

@ -28,8 +28,7 @@
</form>
</p>
{{ applications|length }}
{% blocktrans count counter=applications|length %}application
{% plural %}applications{% endblocktrans %}
{% blocktrans count counter=applications|length %}application{% plural %}applications{% endblocktrans %}
<table>
<tr>
<th><a href="?sort=number{% if 'number' in request.GET.sort and 'reverse' not in request.GET %}&reverse{%endif%}">{%trans "Number" %}</a></th>

View File

@ -18,18 +18,18 @@
{% endif %}
</h3>
<ul>
<li><a href="{% url application_view application.id %}">{%trans 'View Application' %}</a></li>
<li><a href="{% url application_view application.id %}">{%trans 'View application' %}</a></li>
{% if "edit" in actions %}
<li><a href="{% url application_edit application.id %}">{%trans 'Edit Application' %}</a></li>
<li><a href="{% url application_edit application.id %}">{%trans 'Edit application' %}</a></li>
{% endif %}
{% if "delete" in actions %}
<li><a href="{% url application_delete application.id %}">{%trans 'Delete Application' %}</a></li>
<li><a href="{% url application_delete application.id %}">{%trans 'Delete application' %}</a></li>
{% endif %}
{% if perms.projector.can_manage_projector %}
<li><a href="{% url projector_activate_slide application.sid %}"><img src="{% static 'images/icons/video-projector.png' %}">{%trans 'Show Application' %}</a></li>
<li><a href="{% url projector_activate_slide application.sid %}"><img src="{% static 'images/icons/video-projector.png' %}"> {%trans 'Show Application' %}</a></li>
{% endif %}
{% if perms.agenda.can_manage_agenda %}
<li><a href="{% url application_create_agenda application.id %}">{%trans 'Create Agendaitem for this application' %}</a></li>
<li><a href="{% url application_create_agenda application.id %}">{%trans 'Create agenda item' %}</a></li>
{% endif %}
<li><a href="{% url print_application application.id %}"><img src="{% static 'images/icons/application-pdf.png' %}"> {%trans 'Application as PDF' %}</a></li>
</ul>

View File

@ -4,7 +4,7 @@
{% load i18n %}
{% load staticfiles %}
{% block title %}{{ block.super }} - {{ item.title }}{% endblock %}
{% block title %}{{ block.super }} - {%trans "Application" %} {{ application.number }}{% endblock %}
{% block content %}
<div id="sidebar">
<div class="box">
@ -52,7 +52,7 @@
<h1>{% trans "Application No." %} {{ application.number }}</h1>
<h2>{{ application.title }}</h2>
<b>{{ item.title }}</b>
<b>{{ application.title }}</b>
<p>
<div class="text">{{ application.public_version.text|linebreaks }}</div>
{% if application.public_version.reason %}

View File

@ -733,7 +733,6 @@ class ApplicationPollPDF(PDFView):
cell.append(Paragraph(circle+_("No"), stylesheet['Ballot_option']))
cell.append(Paragraph(circle+_("Abstention"), stylesheet['Ballot_option']))
data= []
number = 1
# get ballot papers config values
ballot_papers_selection = config["application_pdf_ballot_papers_selection"]
ballot_papers_number = config["application_pdf_ballot_papers_number"]

View File

@ -82,8 +82,8 @@ config = Config()
@receiver(default_config_value, dispatch_uid="config_default_config")
def default_config(sender, key, **kwargs):
return {
'event_name': _('OpenSlides'),
'event_description': _('Presentation and voting system'),
'event_name': 'OpenSlides',
'event_description': _('Presentation system for agenda, applications, elections and participants'),
'event_date': '',
'event_location': '',
'event_organizer': '',
@ -91,7 +91,7 @@ def default_config(sender, key, **kwargs):
'frontpage_title': _('Welcome'),
'frontpage_welcometext': _('Welcome to OpenSlides!'),
'show_help_text': True,
'help_text': _('If you need any help with OpenSlides, you can find commercial support on the <a href="http://openslides.org/en/support">OpenSlides webpage</a>.'),
'help_text': _("Buy our commercial support on <a href='http://openslides.org/'>www.openslides.org</a> to get professional assistance for OpenSlides."),
'system_enable_anonymous': False,
}.get(key)

File diff suppressed because it is too large Load Diff

View File

@ -55,8 +55,7 @@
</p>
{% if users|length == allusers|length %}
{{ users|length }}
{% blocktrans count counter=users|length %}participant
{% plural %}participants{% endblocktrans %}
{% blocktrans count counter=users|length %}participant{% plural %}participants{% endblocktrans %}
{% else %}
{{ users|length }} {% trans "of" %} {{ allusers|length }} {% trans "Participants" %} (= {{ percent }} %)
{% endif %}