Merge pull request #779 from normanjaeckel/FixTransStrings

Fix whitespaces in translated strings.
This commit is contained in:
Oskar Hahn 2013-06-25 09:28:19 -07:00
commit 0e29200bac
4 changed files with 21 additions and 33 deletions

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-06-21 23:28+0200\n"
"POT-Creation-Date: 2013-06-25 00:58+0200\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -1182,7 +1182,7 @@ msgid "General"
msgstr ""
#: core/templates/core/version.html:5 core/templates/core/version.html.py:8
#: core/templates/core/version.html:11 motion/pdf.py:105
#: core/templates/core/version.html:11 motion/pdf.py:105 motion/views.py:358
#: motion/templates/motion/motion_detail.html:26
#: motion/templates/motion/motion_diff.html:35
#: motion/templates/motion/motion_diff.html:39
@ -1543,7 +1543,7 @@ msgstr ""
msgid "published"
msgstr ""
#: motion/signals.py:166
#: motion/signals.py:166 motion/views.py:360
msgid "permitted"
msgstr ""
@ -1633,14 +1633,6 @@ msgstr ""
msgid "Are you sure you want permit version %s?"
msgstr ""
#: motion/views.py:358
msgid "Version "
msgstr ""
#: motion/views.py:360
msgid " permitted"
msgstr ""
#: motion/views.py:386
msgid "At least one version number is not valid."
msgstr ""

View File

@ -4,13 +4,9 @@
# This file is distributed under the same license as the OpenSlides package.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-06-21 23:35+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"POT-Creation-Date: 2013-06-25 00:58+0200\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@ -243,7 +243,7 @@ class MotionUpdateView(MotionEditMixin, UpdateView):
created = self.used_new_version
self.object.write_log(
[ugettext_noop('Motion version'),
str(number),
' %d ' % number,
ugettext_noop('created') if created else ugettext_noop('updated')],
self.request.user)
@ -356,7 +356,7 @@ class VersionPermitView(SingleObjectMixin, QuestionMixin, RedirectView):
self.object.save(update_fields=['active_version'])
self.object.write_log(
message_list=[ugettext_noop('Version'),
str(self.version.version_number),
' %d ' % self.version.version_number,
ugettext_noop('permitted')],
person=self.request.user)
@ -655,7 +655,7 @@ class MotionSetStateView(SingleObjectMixin, RedirectView):
else:
self.object.save(update_fields=['state', 'identifier'])
self.object.write_log(
message_list=[ugettext_noop('State changed to '), self.object.state.name],
message_list=[ugettext_noop('State changed to'), ' %s' % self.object.state.name],
person=self.request.user)
messages.success(request,
_('The state of the motion was set to %s.')