books/fdp-primer: Fix table Language Names

Column config was missed from D29573.

Fix some escape chars introduced on
a237bc3c64.

The \ is being printed in the output, adding a space at the beginning of
the line trick the toc script (not messing the menu) and renders well.

Approved by:	carlavilla (doc)
Differential Revision:	https://reviews.freebsd.org/D29700
This commit is contained in:
Danilo G. Baio 2021-04-10 19:14:48 -03:00
parent 05b8a96ab7
commit 1a48f0f904
4 changed files with 29 additions and 29 deletions

View File

@ -81,19 +81,19 @@ If the document type is `book` then there can be multiple level 0 (`=`) headings
This is an example of headings in an `article`.
....
\= Document Title (Level 0)
= Document Title (Level 0)
\== Level 1 Section Title
== Level 1 Section Title
\=== Level 2 Section Title
=== Level 2 Section Title
\==== Level 3 Section Title
==== Level 3 Section Title
\===== Level 4 Section Title
===== Level 4 Section Title
\====== Level 5 Section Title
====== Level 5 Section Title
\== Another Level 1 Section Title
== Another Level 1 Section Title
....
[WARNING]
@ -103,11 +103,11 @@ Section levels cannot be skipped when nesting sections.
The following syntax is not correct.
....
\= Document Title
= Document Title
\== Level 2
== Level 2
\==== Level 4
==== Level 4
....
====
@ -121,12 +121,12 @@ To create a new paragraph leave one blank line.
For example, this is a heading with two paragraphs.
....
\= This is the heading
= This is the heading
This is the first paragraph.
This is also the first paragraph.
This is the first paragraph.
This is also the first paragraph.
And this is the second paragraph.
And this is the second paragraph.
....
[[asciidoctor-lists]]

View File

@ -152,7 +152,7 @@ _lang_ is a two-character lowercase code.
[[po-translations-language-names]]
.Language Names
[cols="1,1,1,1", frame="none", options="header"]
[cols="1,1,1", frame="none", options="header"]
|===
| Language
| Region

View File

@ -75,8 +75,8 @@ a|
a|
[source]
----
[[id]]
\= Section 1
[[id]]
= Section 1
----
|*Unordered list*

View File

@ -160,7 +160,7 @@ Use git diff command to generate a diff and send it to the link:reviews.freebsd.
% git diff > sv-faq.diff
....
Either way, you should use Bugzilla to link:https://bugs.freebsd.org/bugzilla/enter_bug.cgi[submit a report] indicating that you have submitted the documentation.
You should use Bugzilla to link:https://bugs.freebsd.org/bugzilla/enter_bug.cgi[submit a report] indicating that you have submitted the documentation.
It would be very helpful if you could get other people to look over your translation and double check it first, since it is unlikely that the person committing it will be fluent in the language.
Someone (probably the Documentation Project Manager, currently {doceng}) will then take your translation and confirm that it builds.
@ -201,13 +201,13 @@ The header of the English version of each document will look something like this
[.programlisting]
....
---
title: Why you should use a BSD style license for your Open Source Project
releaseinfo: "$FreeBSD: head/en_US.ISO8859-1/articles/bsdl-gpl/article.xml 53942 2020-03-01 12:23:40Z carlavilla $"
trademarks: ["freebsd", "intel", "general"]
---
---
title: Why you should use a BSD style license for your Open Source Project
releaseinfo: "$FreeBSD: head/en_US.ISO8859-1/articles/bsdl-gpl/article.xml 53942 2020-03-01 12:23:40Z carlavilla $"
trademarks: ["freebsd", "intel", "general"]
---
\= Why you should use a BSD style license for your Open Source Project
= Why you should use a BSD style license for your Open Source Project
....
The exact boilerplate may change, but it will always include a $FreeBSD$ line and the phrase `The FreeBSD Documentation Project`.
@ -221,10 +221,10 @@ So, the Spanish version of this file might start:
[.programlisting]
....
---
title: Soporte para segundos intercalares en FreeBSD
releaseinfo: "$FreeBSD: head/es_ES.ISO8859-1/articles/leap-seconds/article.xml 53090 2019-06-01 17:52:59Z carlavilla $"
---
---
title: Soporte para segundos intercalares en FreeBSD
releaseinfo: "$FreeBSD: head/es_ES.ISO8859-1/articles/leap-seconds/article.xml 53090 2019-06-01 17:52:59Z carlavilla $"
---
\= Soporte para segundos intercalares en FreeBSD
= Soporte para segundos intercalares en FreeBSD
....