Error setting 4402 phrases

Bug #1148702 reported by Anton Patsev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Fix Released
Undecided
Doug Smythies

Bug Description

Error setting 4402 phrases.
English text:
Table “<link linkend="multipath-components-table">DM-Multipath Components”</link> describes the components of the DM-Multipath package. <include href="multipath-components-table.xml"/>

If translated into Russian as follows:
Таблица “<link linkend="multipath-components-table">DM-Multipath Components”</link>описывает компоненты пакета DM-Multipath. <include href="multipath-components-table.xml"/>
Table 5.2 that is not visible

If translated into Russian as follows:
Таблица <link linkend="multipath-components-table">Компоненты DM-Multipath</link> описывает компоненты пакета DM-Multipath. <xi:include href="multipath-components-table.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
We see table 5.2

Revision history for this message
Anton Patsev (patsev-anton) wrote :

This error relates to precise series (12.04)

Revision history for this message
Doug Smythies (dsmythies) wrote :

The 12.04 serverguide.pot was out of date, but was updated in revision 84.
https://code.launchpad.net/~ubuntu-core-doc/serverguide/precise

dm-multipath.xml is already coded as this bug report suggests it should be.

Changed in serverguide:
status: New → Fix Committed
Revision history for this message
Anton Patsev (patsev-anton) wrote :

The problem is not solved.
I removed from the text of "xmlns: xi =" http://www.w3.org/2001/XInclude ".
Here is compilation log:
...
 --Validating ru/serverguide.xml ...
dm-multipath.xml:310: element include: validity error : No declaration for element include
dm-multipath.xml:310: element include: validity error : No declaration for attribute href of element include
dm-multipath.xml:310: element link: validity error : IDREF attribute linkend references an unknown ID "multipath-components-table"
Document ru/serverguide.xml does not validate
...

Result PDF: http://zalil.ru/34329726
On page 62 wrote: <include></include>

Revision history for this message
Doug Smythies (dsmythies) wrote :

I think the text you removed is supposed to be there.

I do not know how the translation process is supposed to work, and so might now know what I am talking about, but I wonder if your ru.po file is up to date. Somehow some files never got updated during the initial 12.04 serverguide release. Since I updated the serverguide.pot file as mentioned above, the first few lines of the file are now:

msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2013-02-27 14:39-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <email address hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

The important line is the POT-Creation-Date line.

Now the first few lines of my ru.po file:

# Russian translation for ubuntu-docs
# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006
# This file is distributed under the same license as the ubuntu-docs package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2006.
#
msgid ""
msgstr ""
"Project-Id-Version: ubuntu-docs\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-08-14 22:34+0100\n"
"PO-Revision-Date: 2010-09-14 22:46+0000\n"
"Last-Translator: Dmitry Tumaikin <email address hidden>\n"
"Language-Team: Russian <email address hidden>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-09-18 10:47+0000\n"
"X-Generator: Launchpad (build Unknown)\n"

Where it can be observed that the po file is based on an older serverguide.pot file. I wouldn't expect to be able to build a current Russian document using this .po file.

Revision history for this message
Anton Patsev (patsev-anton) wrote :

http://zalil.ru/34336622 all files of project.
The problem is not solved.

Changed in serverguide:
status: Fix Committed → Confirmed
Revision history for this message
Doug Smythies (dsmythies) wrote :

Thanks for the russian project files.

dm-multipath.xml has 5 tables. The first one is coded in-line, and the other 4 are seperate files imported as includes. The include call for "multipath-components-table.xml" was from within an open paragraph. The other 3 include calls were from outside any paragraph. I suspect, but am not sure, this might be the root issue.

I will change this:

      <para>Table â<link linkend="multipath-components-table">DM-Multipath
      Componentsâ</link> describes the components of the DM-Multipath package.
      <xi:include href="multipath-components-table.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/></para>
    </sect2>

To This:

      <para>Table â<link linkend="multipath-components-table">DM-Multipath
      Componentsâ</link> describes the components of the DM-Multipath package.</para>

      <xi:include href="multipath-components-table.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/>

    </sect2>

If this is the root issue, then I think it effects 12.10 and 13.04 also.

Revision history for this message
Doug Smythies (dsmythies) wrote :

Is this where the Russian serverguide PDF's are published?:

http://help.ubuntu.ru/manual/pdf

Was 12.10 published? I.E. does it (or 13.04) go through the build process properley?

Revision history for this message
Anton Patsev (patsev-anton) wrote :

I'm sorry. I forgot to say that all of the files in the project were the latest.

Here http://help.ubuntu.ru/manual/pdf published "Ubuntu Manual"

Russian serverguide PDF 12.10 not published.

One of these days will test compilation PDF 12.10

What else can help?

Revision history for this message
Doug Smythies (dsmythies) wrote :

Please try precise serverguide revision 88 or later.

Revision history for this message
Anton Patsev (patsev-anton) wrote :

Checked.
The table is visible.
I have then checked, but everything seems ok.
Thanks.

Revision history for this message
Anton Patsev (patsev-anton) wrote :

Checked 12.10 - The table is visible.
Thanks.

Revision history for this message
Doug Smythies (dsmythies) wrote :

O.K. Great, except that I did not change the 12.10 branch yet, so would have expected the table not to have been visible.
I think we should change the quantal and raring branchs anyhow.

no longer affects: serverguide/quantal
no longer affects: serverguide/raring
Changed in serverguide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.