Skip to content

Documentation: Update .pot 20250707 0012#3517

Merged
petterreinholdtsen merged 1 commit intoLinuxCNC:masterfrom
smoe:Documentation_pot
Jul 13, 2025
Merged

Documentation: Update .pot 20250707 0012#3517
petterreinholdtsen merged 1 commit intoLinuxCNC:masterfrom
smoe:Documentation_pot

Conversation

@smoe
Copy link
Copy Markdown
Collaborator

@smoe smoe commented Jul 11, 2025

Hello,
this .pot update with a current po4a (0.73) fixes the problem with terminal \n in lines starting with bold face.

 #. type: Plain text
 #: src/drivers/hal_gpio.adoc:74
-#, no-wrap
-msgid "*pulldown*\n"
+#, fuzzy
+#| msgid "*pulldown*\n"
+msgid "*pulldown*"
 msgstr "*pulldown*\n"
 
 #. type: Plain text
 #: src/drivers/hal_gpio.adoc:76
-#, no-wrap
-msgid "*pullup*\n"
+#, fuzzy
+#| msgid "*pullup*\n"
+msgid "*pullup*"
 msgstr "*pullup*\n"

Will unlock translations once that is in.

@BsAtHome
Copy link
Copy Markdown
Contributor

Looking at the source docs/src/drivers/hal_gpio.adoc, shouldn't these simply be a proper list instead of boldface words on separate lines? like in:

* *opendrain*
* *opensource*
* *biasdisable*
* *pulldown*
* *pullup*

@smoe
Copy link
Copy Markdown
Collaborator Author

smoe commented Jul 13, 2025

Likely so. This PR is about having the .pot file recreated with a more recent version of po4a that fixes (at least in parts) a problem with terminal newlines when the line started with an asterisk. This affects about some 1000 entries of the .po(t) files, I just presented the easiest ones. The change you propose IMHO should go into a new PR.

@petterreinholdtsen petterreinholdtsen merged commit f219dde into LinuxCNC:master Jul 13, 2025
8 checks passed
@petterreinholdtsen
Copy link
Copy Markdown
Collaborator

@smoe Perhaps you can also update the program translation from weblate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants