Whitespaces cleanup
This commit is contained in:
parent
45f58edd06
commit
fa127ad85c
@ -43,19 +43,19 @@ recipe = collective.recipe.template
|
|||||||
output = ${buildout:bin-directory}/update_translations
|
output = ${buildout:bin-directory}/update_translations
|
||||||
input = inline:
|
input = inline:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
DOMAIN="plone.app.discussion"
|
DOMAIN="plone.app.discussion"
|
||||||
BASE_PATH=${buildout:directory}/plone/app/discussion
|
BASE_PATH=${buildout:directory}/plone/app/discussion
|
||||||
I18NDUDE=${buildout:bin-directory}/i18ndude
|
I18NDUDE=${buildout:bin-directory}/i18ndude
|
||||||
|
|
||||||
$I18NDUDE rebuild-pot --pot $BASE_PATH/locales/$DOMAIN.pot --create "$DOMAIN" $BASE_PATH*
|
$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/
|
$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 \
|
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
|
$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
|
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
|
$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
|
msgfmt --no-hash -o $BASE_PATH/i18n/plone-$LANG.mo $BASE_PATH/i18n/plone-$LANG.po
|
||||||
done
|
done
|
||||||
|
@ -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.
|
http://packages.python.org/plone.app.discussion.
|
@ -5,11 +5,11 @@ extends =
|
|||||||
https://raw.github.com/plone/buildout.jenkins/master/jenkins-code-analysis.cfg
|
https://raw.github.com/plone/buildout.jenkins/master/jenkins-code-analysis.cfg
|
||||||
jenkins-test-eggs = plone.app.discussion [test]
|
jenkins-test-eggs = plone.app.discussion [test]
|
||||||
jenkins-test-directories = plone/app/discussion
|
jenkins-test-directories = plone/app/discussion
|
||||||
parts +=
|
parts +=
|
||||||
flake8
|
flake8
|
||||||
code-analysis
|
code-analysis
|
||||||
extensions = mr.developer
|
extensions = mr.developer
|
||||||
auto-checkout =
|
auto-checkout =
|
||||||
plone.recipe.codeanalysis
|
plone.recipe.codeanalysis
|
||||||
collective.xmltestreport
|
collective.xmltestreport
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ entry-points = flake8=flake8.main:main
|
|||||||
recipe = plone.recipe.codeanalysis
|
recipe = plone.recipe.codeanalysis
|
||||||
|
|
||||||
[sources]
|
[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
|
collective.xmltestreport = git git://github.com/collective/collective.xmltestreport.git
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
|
@ -114,7 +114,7 @@
|
|||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<!-- Workflow actions (e.g. 'publish') -->
|
<!-- Workflow actions (e.g. 'publish') -->
|
||||||
<form name=""
|
<form name=""
|
||||||
action=""
|
action=""
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
/* Fetch the reply form inside the reply div */
|
/* Fetch the reply form inside the reply div */
|
||||||
var reply_form = reply_div.find("form");
|
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
|
* 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 );
|
reply_form.find('#formfield-form-widgets-comment-text').attr('id', 'formfield-form-widgets-new-textarea'+comment_id );
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# JC Brand <brand@syslab.com>, 2010.
|
# JC Brand <brand@syslab.com>, 2010.
|
||||||
#
|
#
|
||||||
# Some tips for new translators:
|
# Some tips for new translators:
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
# login: aanmeld, meld aan
|
# login: aanmeld, meld aan
|
||||||
@ -7,16 +7,16 @@
|
|||||||
# subscribe: inteken, teken in
|
# subscribe: inteken, teken in
|
||||||
# unsubscribe: uitteken, teken uit
|
# unsubscribe: uitteken, teken uit
|
||||||
# subscribers: intekenaars
|
# subscribers: intekenaars
|
||||||
#
|
#
|
||||||
# Sommige mense verkies die hoflikheidsvorm "u" bo "jy/jou", en anders om.
|
# 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.
|
# Ons probeer dus maar om sover moontlik in die passiewe vorm te skryf.
|
||||||
# Bv.
|
# Bv.
|
||||||
# - "Attach your file" -> "Heg die lêer aan"
|
# - "Attach your file" -> "Heg die lêer aan"
|
||||||
# - "Afterwards you can attach your files" -> "Agterna kan lêers aangeheg
|
# - "Afterwards you can attach your files" -> "Agterna kan lêers aangeheg
|
||||||
#
|
#
|
||||||
# An updateable list of Afrikaans computer terms can be found here:
|
# An updateable list of Afrikaans computer terms can be found here:
|
||||||
# https://wiki.ubuntu.com/AfrikaansTranslators/VertalerWoordeboek
|
# https://wiki.ubuntu.com/AfrikaansTranslators/VertalerWoordeboek
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: plone.app.discussion\n"
|
"Project-Id-Version: plone.app.discussion\n"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Translation of plone.app.discussion.pot to Italian
|
# Translation of plone.app.discussion.pot to Italian
|
||||||
# Luca Fabbri <luca.fabbri@redturtle.net>, 2010
|
# Luca Fabbri <luca.fabbri@redturtle.net>, 2010
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: plone.app.discussion\n"
|
"Project-Id-Version: plone.app.discussion\n"
|
||||||
|
@ -406,7 +406,7 @@ Submitting the form runs into a testbrowser notFoundException.
|
|||||||
We'll just catch that and check the result later.
|
We'll just catch that and check the result later.
|
||||||
|
|
||||||
>>> try:
|
>>> try:
|
||||||
... form.submit()
|
... form.submit()
|
||||||
... except:
|
... except:
|
||||||
... pass
|
... pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user