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

Bug#830308: d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations



On Mon, Jul 11, 2016 at 07:06:47PM +0200, Christian PERRIER wrote:
>
>The offending part:
>#. Type: boolean
>#. Description
>#. :sl2:
>#: ../rescue-mode.templates:21001
>#| "It is normally a good idea to mount it as it will allow operations such "
>#| "as reinstalling the boot loader. However, if the file system on ${FILESYSTEM} is "
>#| "corrupt then you may want to avoid mounting it."
>msgid ""
>"It is normally a good idea to mount it as it will allow operations such as "
>"reinstalling the boot loader. However, if the file system on ${FILESYSTEM} "
>"is corrupt then you may want to avoid mounting it."
>msgstr ""
>"Det er normalt en god ide at montere den, da det vil tillade handlinger "
>"såsom geninstallation af opstartsindlæseren. Hvis filsystemet på ${FILESYSTEM} er "
>"korrept så vil du dog nok ønske at undgå montering af denne."
>
>It should be
>
>#. Type: boolean
>#. Description
>#. :sl2:
>#: ../rescue-mode.templates:21001
>#| msgid "It is normally a good idea to mount it as it will allow operations such "
>#| "as reinstalling the boot loader. However, if the file system on ${FILESYSTEM} is "
>#| "corrupt then you may want to avoid mounting it."
>msgid ""
>"It is normally a good idea to mount it as it will allow operations such as "
>"reinstalling the boot loader. However, if the file system on ${FILESYSTEM} "
>"is corrupt then you may want to avoid mounting it."
>msgstr ""
>"Det er normalt en god ide at montere den, da det vil tillade handlinger "
>"såsom geninstallation af opstartsindlæseren. Hvis filsystemet på ${FILESYSTEM} er "
>"korrept så vil du dog nok ønske at undgå montering af denne."
>
>(notice the line after "../rescue-mode.templates:21001")
>
>In short, Steve's attempt to fix the translation broke the PO file.

Arg, sorry. :-( It's very easy to make mistakes when editing large
numbers of files like this by hand. I double-checked the diffs,
even. Could we add some commit-time checking to run msgfmt etc. and
warn on errors?

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Arguing that you don't care about the right to privacy because you have
 nothing to hide is no different than saying you don't care about free
 speech because you have nothing to say."
   -- Edward Snowden


Reply to: