Skip to content

Commit 1b988a1

Browse files
committed
docs: split translation guide out of style guide
1 parent a914105 commit 1b988a1

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

docs/po4a.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
[type: AsciiDoc_def] src/code/nml-messages.adoc $lang:src/$lang/code/nml-messages.adoc
2828
[type: AsciiDoc_def] src/code/rs274.adoc $lang:src/$lang/code/rs274.adoc
2929
[type: AsciiDoc_def] src/code/style-guide.adoc $lang:src/$lang/code/style-guide.adoc
30+
[type: AsciiDoc_def] src/code/translation.adoc $lang:src/$lang/code/translation.adoc
3031
[type: AsciiDoc_def] src/common/emc-history.adoc $lang:src/$lang/common/emc-history.adoc
3132
[type: AsciiDoc_def] src/common/glossary.adoc $lang:src/$lang/common/glossary.adoc
3233
[type: AsciiDoc_def] src/common/gpld-copyright.adoc $lang:src/$lang/common/gpld-copyright.adoc

docs/src/Master_Developer.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ include::code/nml-messages.adoc[]
2222

2323
include::code/style-guide.adoc[]
2424

25+
include::code/translation.adoc[]
26+
2527
include::code/building-linuxcnc.adoc[]
2628

2729
include::code/adding-configs.adoc[]

docs/src/Submakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ifeq ($(BUILD_DOCS),yes)
3636
DOC_SRCS_EN := \
3737
code/code-notes.adoc \
3838
code/style-guide.adoc \
39+
code/translation.adoc \
3940
code/nml-messages.adoc \
4041
code/rs274.adoc \
4142
code/adding-configs.adoc \

docs/src/code/style-guide.adoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,6 @@ Do not use an editor that makes unneeded changes to whitespace (e.g.,
3737
which replaces 8 spaces with a tabstop on a line not otherwise
3838
modified, or word-wraps lines not otherwise modified).
3939

40-
=== Translations
41-
42-
All program code and documentation is written in US English.
43-
All translations (which soon includes the documentation) are performed
44-
with the help of the (https://hosted.weblate.org/projects/linuxcnc/)[weblate]
45-
services. Our users and developers are kindly asked to help with the
46-
translation. The source tree then maintains the .po files in sync with that online
47-
representation.
48-
49-
5040

5141
== C/C++ coding standards
5242

docs/src/code/translation.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:lang: en
2+
:toc:
3+
4+
= Translations
5+
6+
All program code and documentation is written in US English.
7+
8+
All translations are performed with the help of the
9+
link:https://hosted.weblate.org/projects/linuxcnc/[weblate] services.
10+
The source tree then maintains the .po files in sync with that online
11+
representation.
12+
13+
Our users and developers are kindly asked to help with the translation.

docs/src/docs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
<doc name="code_code-notes" title="Code Notes"/>
101101
<doc name="code_nml-messages" title="NML Messages"/>
102102
<doc name="code_style-guide" title="Style Guide"/>
103+
<doc name="code_translation" title="Translation"/>
103104
<doc name="common_Glossary" title="Glossary"/>
104105
<doc name="common_gpld-copyright" title="Copyright and Documentation License"/>
105106

docs/src/index.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function setup_page(){
314314
<li><a href="code/code-notes.html">Code Notes</a></li>
315315
<li><a href="code/nml-messages.html">NML Messages</a></li>
316316
<li><a href="code/style-guide.html">Style Guide</a></li>
317+
<li><a href="code/translation.html">Translation</a></li>
317318
<li><a href="code/adding-configs.html">Adding Configs for Selection</a></li>
318319
<li><a href="code/contributing-to-linuxcnc.html">Contributing to LinuxCNC</a></li>
319320
<li><a href="code/building-linuxcnc.html">Building LinuxCNC</a></li>

0 commit comments

Comments
 (0)