Whitespaces cleanup

This commit is contained in:
Gil Forcada 2014-08-23 00:31:28 +02:00
parent 45f58edd06
commit fa127ad85c
8 changed files with 16 additions and 16 deletions

View File

@ -43,19 +43,19 @@ recipe = collective.recipe.template
output = ${buildout:bin-directory}/update_translations
input = inline:
#!/usr/bin/env bash
DOMAIN="plone.app.discussion"
BASE_PATH=${buildout:directory}/plone/app/discussion
I18NDUDE=${buildout:bin-directory}/i18ndude
$I18NDUDE rebuild-pot --pot $BASE_PATH/locales/$DOMAIN.pot --create "$DOMAIN" $BASE_PATH*
$I18NDUDE rebuild-pot --pot $BASE_PATH/i18n/plone.pot --create "plone" $BASE_PATH/profiles/
for LANG in `find $BASE_PATH/locales -maxdepth 1 -mindepth 1 -type d \
| sed -e "s/.*locales\/\(.*\)$/\1/"`; do
| sed -e "s/.*locales\/\(.*\)$/\1/"`; do
$I18NDUDE sync --pot $BASE_PATH/locales/$DOMAIN.pot $BASE_PATH/locales/de/LC_MESSAGES/$DOMAIN.po
msgfmt --no-hash -o $BASE_PATH/locales/$LANG/LC_MESSAGES/$DOMAIN.mo $BASE_PATH/locales/$LANG/LC_MESSAGES/$DOMAIN.po
$I18NDUDE sync --pot $BASE_PATH/i18n/plone.pot $BASE_PATH/i18n/plone-$LANG.po
msgfmt --no-hash -o $BASE_PATH/i18n/plone-$LANG.mo $BASE_PATH/i18n/plone-$LANG.po
done

View File

@ -1,2 +1,2 @@
For developers documentation on plone.app.discussion, see
For developers documentation on plone.app.discussion, see
http://packages.python.org/plone.app.discussion.

View File

@ -5,11 +5,11 @@ extends =
https://raw.github.com/plone/buildout.jenkins/master/jenkins-code-analysis.cfg
jenkins-test-eggs = plone.app.discussion [test]
jenkins-test-directories = plone/app/discussion
parts +=
parts +=
flake8
code-analysis
extensions = mr.developer
auto-checkout =
auto-checkout =
plone.recipe.codeanalysis
collective.xmltestreport
@ -22,7 +22,7 @@ entry-points = flake8=flake8.main:main
recipe = plone.recipe.codeanalysis
[sources]
plone.recipe.codeanalysis = git git://github.com/tisto/plone.recipe.codeanalysis.git pushurl=git@github.com:tisto/plone.recipe.codeanalysis.git
plone.recipe.codeanalysis = git git://github.com/tisto/plone.recipe.codeanalysis.git pushurl=git@github.com:tisto/plone.recipe.codeanalysis.git
collective.xmltestreport = git git://github.com/collective/collective.xmltestreport.git
[versions]

View File

@ -114,7 +114,7 @@
/>
</form>
<!-- Workflow actions (e.g. 'publish') -->
<form name=""
action=""

View File

@ -48,7 +48,7 @@
/* Fetch the reply form inside the reply div */
var reply_form = reply_div.find("form");
/* Change the id of the textarea of the reply form
/* Change the id of the textarea of the reply form
* To avoid conflict later between textareas with same id 'form-widgets-comment-text' while implementing a seperate instance of TinyMCE
* */
reply_form.find('#formfield-form-widgets-comment-text').attr('id', 'formfield-form-widgets-new-textarea'+comment_id );

View File

@ -1,5 +1,5 @@
# JC Brand <brand@syslab.com>, 2010.
#
#
# Some tips for new translators:
# ------------------------------
# login: aanmeld, meld aan
@ -7,16 +7,16 @@
# subscribe: inteken, teken in
# unsubscribe: uitteken, teken uit
# subscribers: intekenaars
#
#
# Sommige mense verkies die hoflikheidsvorm "u" bo "jy/jou", en anders om.
# Ons probeer dus maar om sover moontlik in die passiewe vorm te skryf.
# Bv.
# - "Attach your file" -> "Heg die lêer aan"
# - "Afterwards you can attach your files" -> "Agterna kan lêers aangeheg
#
#
# An updateable list of Afrikaans computer terms can be found here:
# https://wiki.ubuntu.com/AfrikaansTranslators/VertalerWoordeboek
#
#
msgid ""
msgstr ""
"Project-Id-Version: plone.app.discussion\n"

View File

@ -1,6 +1,6 @@
# Translation of plone.app.discussion.pot to Italian
# Luca Fabbri <luca.fabbri@redturtle.net>, 2010
#
#
msgid ""
msgstr ""
"Project-Id-Version: plone.app.discussion\n"

View File

@ -406,7 +406,7 @@ Submitting the form runs into a testbrowser notFoundException.
We'll just catch that and check the result later.
>>> try:
... form.submit()
... form.submit()
... except:
... pass