Closed joelnitta closed 1 year ago
Hello, thanks for reporting.
Where are the test files in the docker image?
Hello,
I fail to reproduce your error here. It seems to me that you are missing a -o markdown
parameter to your po4a-translate
call. That is why your produced document does not follow the markdown correctly.
Could you please tell me if I am right? If you can reproduce the error with -o markdown
on translation too, then I would really appreciate if you could come up with a small git repo somewhere containing all files needed to reproduce your bug. Just the user files, not po4a that I obviously have here already.
Thanks in advance, Mt
Yes: adding -o markdown
to the po4a-translate
call fixes it. Thanks so much! I had a feeling I was missing something obvious, but could not spot it.
I have the following original text file
test.md
with contents as follows:SOME DESCRIPTIVE TITLE
Copyright (C) YEAR Free Software Foundation, Inc.
This file is distributed under the same license as the PACKAGE package.
FIRST AUTHOR EMAIL@ADDRESS, YEAR.
#
, fuzzy
msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2022-08-08 07:55+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME EMAIL@ADDRESS\n" "Language-Team: LANGUAGE LL@li.org\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n"
. type: Plain text
: test.md:2
, markdown-text
msgid "This a markdown document" msgstr "これはマークダウンです"
. type: Fenced code block (bash)
: test.md:3
, no-wrap
msgid "" "# a comment to be translated\n" "ls\n" msgstr "" "# コメントです\n" "ls\n"
これはマークダウンです
bash # a comment to be translated ls