[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#564915: marked as done (debian-edu-doc: improve xml generation from wiki source)



Your message dated Tue, 23 Feb 2010 12:38:23 +0000
with message-id <E1Nju1v-00074U-HQ@ries.debian.org>
and subject line Bug#564915: fixed in debian-edu-doc 1.3~20100223~5.0.4+edu0
has caused the Debian Bug report #564915,
regarding debian-edu-doc: improve xml generation from wiki source
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
564915: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564915
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-edu-doc
Severity: wishlist
Tags: patch

Hi,

on doing some translation work of the debian-edu manual *.po files I noticed 
some extra space in tagged text like:
<emphasis>still incomplete </emphasis> instead of
<emphasis>still incomplete</emphasis>
or 
<computeroutput>2010-01-12 </computeroutput> instead of
<computeroutput>2010-01-12</computeroutput>.
If not corrected in the translation this can give nasty spaces or single 
full-stops on single new lines in the translations.

The space is introduced in the conversion by a sed "s%<\/%\n<\/%g" command 
which breaks lines in the xml-file after the close-tag. A solution might be to 
break lines there only for specific tags (see patch).   
The downside is, that after correction fuzzy translations in the *.po files 
increase, which have to be checked. 
But if we want to do it, we should do it the earlier the better. 

Cheers,

	Andi

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-nouveau.git (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: ../scripts/get_manual
===================================================================
--- ../scripts/get_manual	(revision 61272)
+++ ../scripts/get_manual	(working copy)
@@ -61,10 +61,12 @@
 	sed "s#</articleinfo>##g" |
 	sed "s#</revision>##g" |
 	sed "s%<para><ulink url='http://wiki.debian.org/CategoryPermalink#'>CategoryPermalink</ulink> </para>%%" |
-	sed "s%<\/%\n<\/%g" |
 	sed "s%<title>%\n<title>%g" |
+	sed "s%<\/title>%\n<\/title>%g" |
 	sed "s%<section>%\n\n<section>%g" |
+	sed "s%<\/section>%\n\n<\/section>%g" |
 	sed "s%<para>%\n<para>%g" |
+	sed "s%<\/para>%\n<\/para>%g" |
 	sed "s%</date>\(.*\)\$%%g" |
 	sed "s%FIXME%\nFIXME%g" |
 	sed '1,4d' > $TARGET

--- End Message ---
--- Begin Message ---
Source: debian-edu-doc
Source-Version: 1.3~20100223~5.0.4+edu0

We believe that the bug you reported is fixed in the latest version of
debian-edu-doc, which is due to be installed in the Debian FTP archive:

debian-edu-doc-de_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-de_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc-en_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-en_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc-es_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-es_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc-fr_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-fr_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc-it_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-it_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc-nb_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc-nb_1.3~20100223~5.0.4+edu0_all.deb
debian-edu-doc_1.3~20100223~5.0.4+edu0.dsc
  to main/d/debian-edu-doc/debian-edu-doc_1.3~20100223~5.0.4+edu0.dsc
debian-edu-doc_1.3~20100223~5.0.4+edu0.tar.gz
  to main/d/debian-edu-doc/debian-edu-doc_1.3~20100223~5.0.4+edu0.tar.gz
debian-edu-doc_1.3~20100223~5.0.4+edu0_all.deb
  to main/d/debian-edu-doc/debian-edu-doc_1.3~20100223~5.0.4+edu0_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 564915@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated debian-edu-doc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 23 Feb 2010 00:43:47 +0100
Source: debian-edu-doc
Binary: debian-edu-doc debian-edu-doc-en debian-edu-doc-de debian-edu-doc-es debian-edu-doc-nb debian-edu-doc-it debian-edu-doc-fr
Architecture: source all
Version: 1.3~20100223~5.0.4+edu0
Distribution: unstable
Urgency: low
Maintainer: Debian Edu Developers <debian-edu@lists.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Description: 
 debian-edu-doc - Documentation from the Debian Edu project (transitional package)
 debian-edu-doc-de - German documentation from the Debian Edu project
 debian-edu-doc-en - English documentation from the Debian Edu project
 debian-edu-doc-es - Spanish documentation from the Debian Edu project
 debian-edu-doc-fr - French documentation from the Debian Edu project
 debian-edu-doc-it - Italian documentation from the Debian Edu project
 debian-edu-doc-nb - Bokmal documentation from the Debian Edu project
Closes: 564915
Changes: 
 debian-edu-doc (1.3~20100223~5.0.4+edu0) unstable; urgency=low
 .
   [ Holger Levsen ]
   * Update the Debian Edu lenny manual from the wiki.
   * Bump standards-version to 3.8.4, no changes necessary.
   * debian/control: update Homepage header to refer to the Lenny
     manual.
   * scripts/get_*: Apply patch by Andreas Mundt removing ugly spaces in the
     generated files. (Closes: #564915). Thanks Andi, especially also for the
     comments you added!
   * documentation/debian-edu-lenny/Makefile: Apply patch by Andreas Mundt to
     avoid hardcoding the release version, instead it gets extracted from the
     wiki now. Thanks again, Andi.
 .
   [ Claudio Carboncini ]
   * Update Italian translation of the Debian Edu lenny manual.
 .
   [ Jan Roar Rød ]
   * Update Bokmåtranslation  of the Debian Edu lenny manual.
 .
   [ Andreas Mundt ]
   * Update German translation of the Debian Edu lenny manual.
   * Minor fixes and corrections.
Checksums-Sha1: 
 fef4ff3f2ed25b1b5235d06956f64f210fecd69d 1377 debian-edu-doc_1.3~20100223~5.0.4+edu0.dsc
 980f5f32d9305e85a99285b04039573f62ac7a26 26419926 debian-edu-doc_1.3~20100223~5.0.4+edu0.tar.gz
 f646d0bef9fadace269d8c6102b32edc7f2f7a54 11154 debian-edu-doc_1.3~20100223~5.0.4+edu0_all.deb
 3e8a1e2c062bdfcaa6067694ee5cf31e98200aee 19010246 debian-edu-doc-en_1.3~20100223~5.0.4+edu0_all.deb
 c05951b94226adf477807fc7b7865583b6829428 6938856 debian-edu-doc-de_1.3~20100223~5.0.4+edu0_all.deb
 95ab5c7ac49487d874d602d904a3958672be0c24 5019614 debian-edu-doc-es_1.3~20100223~5.0.4+edu0_all.deb
 101e1b9689c9b5acbfd26ab5a1b2e1c5e3991798 13829712 debian-edu-doc-nb_1.3~20100223~5.0.4+edu0_all.deb
 af24e30118ed880fff54b6dd94ba571570291c9b 5012468 debian-edu-doc-it_1.3~20100223~5.0.4+edu0_all.deb
 3f441daf7fe3e802a116af44a58e0357f065ed3a 9656450 debian-edu-doc-fr_1.3~20100223~5.0.4+edu0_all.deb
Checksums-Sha256: 
 9c59df60163e2bdb2a52a5d1c071f34e37abc86235585d4117ea9b4b21151363 1377 debian-edu-doc_1.3~20100223~5.0.4+edu0.dsc
 5ced87352ef898f123d4959e793fcb6912c18b4c32dbae44038771445387dcf3 26419926 debian-edu-doc_1.3~20100223~5.0.4+edu0.tar.gz
 6e3b6d31598d56cb186b386e99b73eb69b13ad76322a3a830616872b8cd6611a 11154 debian-edu-doc_1.3~20100223~5.0.4+edu0_all.deb
 3251fe20a230a9b98830ac4ade4b16eeca2ac1e8bd770ff28c13c42903e6fe0d 19010246 debian-edu-doc-en_1.3~20100223~5.0.4+edu0_all.deb
 909ebf70f85157f0f385bad3720ba3364093ef58062d2ddb11f917d8ba268657 6938856 debian-edu-doc-de_1.3~20100223~5.0.4+edu0_all.deb
 3022865cc3ac0af131388d7b48ec4f67eaad48e3c67897a95e4e07b38506888e 5019614 debian-edu-doc-es_1.3~20100223~5.0.4+edu0_all.deb
 d3a19127fc55a51ea94220566fb3bae16fb31cd716c225aafbdc8783ca65ef7f 13829712 debian-edu-doc-nb_1.3~20100223~5.0.4+edu0_all.deb
 9b9c0881f44e017b16721dd2cd6bd979630e3e065dca0387a5a7fbd2d087e067 5012468 debian-edu-doc-it_1.3~20100223~5.0.4+edu0_all.deb
 2c49fe2e7e525fd033d4ba1e237af18dcf83c31567674429f424490522aaacef 9656450 debian-edu-doc-fr_1.3~20100223~5.0.4+edu0_all.deb
Files: 
 669f63b3d16f4da56fa95d29e1a1b248 1377 doc optional debian-edu-doc_1.3~20100223~5.0.4+edu0.dsc
 1889566ae5fe1627f19abd34f9d639b4 26419926 doc optional debian-edu-doc_1.3~20100223~5.0.4+edu0.tar.gz
 0bf5589e00f910d9ecf60e208ab13998 11154 doc optional debian-edu-doc_1.3~20100223~5.0.4+edu0_all.deb
 1fe7afb508fadd6497949087a78bea59 19010246 doc optional debian-edu-doc-en_1.3~20100223~5.0.4+edu0_all.deb
 0e0a9f0e3a2fbf941eca834c73283899 6938856 doc optional debian-edu-doc-de_1.3~20100223~5.0.4+edu0_all.deb
 863e9f816c26679883300dab8e77efe9 5019614 doc optional debian-edu-doc-es_1.3~20100223~5.0.4+edu0_all.deb
 ea92f621d8f2c8d13796de1474bbc5b3 13829712 doc optional debian-edu-doc-nb_1.3~20100223~5.0.4+edu0_all.deb
 1fb096c3e96d435e7a07cf3183fe552d 5012468 doc optional debian-edu-doc-it_1.3~20100223~5.0.4+edu0_all.deb
 14e107eb48810336dc36e381edffbc99 9656450 doc optional debian-edu-doc-fr_1.3~20100223~5.0.4+edu0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFLg5yyUHLQNqxYNSARAhURAKCccVvwQnu/Efs58tWXjH6ilcAAaQCgzL7c
I90ZfQFPsINUz8CFV6X5W1E=
=Z3M7
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: