Bad string in kubuntu-docs-cli

Bug #1052154 reported by Sylvie Gallet
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kubuntu-docs (Ubuntu)
Won't Fix
Undecided
Jonathan Jesse

Bug Description

Hi!

In this template:
https://translations.launchpad.net/ubuntu/quantal/+source/kubuntu-docs/+pots/kubuntu-docs-cli/

String #52 has an extra space + line break right in the middle of the command
<screen>mv foo ~/Desktop</screen>

The <command>mv</command> command moves a file or directory to a different location or renames a file or directory. (<acronym>mv</acronym> is short for <quote>move</quote>). To rename the file <filename>foo</filename> to <filename>bar</filename>, type: <screen>mv foo bar</screen> To move the file <filename>foo</filename> into the current user's <filename class="directory">Desktop</filename> directory, type: <screen>mv foo
~/Desktop</screen> This will not rename <filename>foo</filename> to <filename>Desktop</filename>, because <filename>foo</filename> is a file and <filename class="directory">Desktop</filename> is a directory.

Here is the link to string #52:
https://translations.launchpad.net/ubuntu/quantal/+source/kubuntu-docs/+pots/kubuntu-docs-cli/fr/52/+translate

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kubuntu-docs (Ubuntu):
status: New → Confirmed
Jonathan Jesse (jjesse)
Changed in kubuntu-docs (Ubuntu):
assignee: nobody → Jonathan Jesse (jjesse)
Revision history for this message
Jonathan Jesse (jjesse) wrote :

Hi,

I'm looking at the source for this docs/cli/cli.xml and do not see the space or the line break. I'm wondering if there is a problem in how Rosetta is displaying it? The source seems to be fine too me.

Would like someone else to take a look at the .xml file and verify if I'm wrong or not

Changed in kubuntu-docs (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Sylvie Gallet (sylvie-gallet) wrote :

Hi Jonathan,

When I filed this bug in mid-September, it was affecting string #52. Due to some changes in the source, tie contents of string #52 is now in #55, and it no longer shows the problem.

I downloaded the .po file from the French translation page, and compared the contents of the current string and the old one that is archived at the end of the file (docs_cli_po_kubuntu-docs-cli-fr.po attached)

Current string lines #453-#462: it's OK
"The <command>mv</command> command moves a file or directory to a different "
"location or renames a file or directory (<abbrev>mv</abbrev> is short for "
"<quote>move</quote>). To rename the file <filename>foo</filename> to "
"<filename>bar</filename>, type: <screen>mv foo bar</screen> To move the file "
"<filename>foo</filename> into the current user's <filename "
"class=\"directory\">Desktop</filename> directory, type: <screen>mv foo "
"~/Desktop</screen> This will not rename <filename>foo</filename> to "
"<filename class=\"directory\">Desktop</filename>, because "
"<filename>foo</filename> is a file and <filename "
"class=\"directory\">Desktop</filename> is a directory."

Old string lines #1373-#1381: line #1378 ends with "\n" which is a line break.

#~ "The <command>mv</command> command moves a file or directory to a different "
#~ "location or renames a file or directory. (<acronym>mv</acronym> is short for "
#~ "<quote>move</quote>). To rename the file <filename>foo</filename> to "
#~ "<filename>bar</filename>, type: <screen>mv foo bar</screen> To move the file "
#~ "<filename>foo</filename> into the current user's <filename "
#~ "class=\"directory\">Desktop</filename> directory, type: <screen>mv foo \n"
#~ "~/Desktop</screen> This will not rename <filename>foo</filename> to "
#~ "<filename>Desktop</filename>, because <filename>foo</filename> is a file and "
#~ "<filename class=\"directory\">Desktop</filename> is a directory."

This looks like a bug in Rosetta...

Best regards

Revision history for this message
Jonathan Jesse (jjesse) wrote :

This is the 2nd bug I've recently triaged that deals w/ spaces, etc not showing up correctly. I don't know who to file this against, but thanks so much for looking into it.

I will mark this as won't fix as it isn't a bug we can deal w/

Thanks so much for reporting bugs, please let me know if you find any more bugs in kubuntu-docs

Have a great day,

Jonathan

Changed in kubuntu-docs (Ubuntu):
status: Incomplete → Won't Fix
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.