Skip to content

Commit

Permalink
Documentation: Fixes up more Japanese translation, edit to rag.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-lemon committed May 11, 2024
1 parent e6e1daa commit d464133
Show file tree
Hide file tree
Showing 24 changed files with 98 additions and 77 deletions.
16 changes: 13 additions & 3 deletions docs/about-feature-matrix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,16 @@
} else if (str=="Support Font Sub-Setting") {
return "フォントのサブセット化をサポートする";
} else if (str=="Extract Tables") {
return "抽出テーブル";
return "ページからのテーブルの抽出";
} else if (str=="Supports CJK characters") {
return "CJK 文字をサポートしています";
} else if (str == "Extract Text as Markdown (.md)") {
return "テキストを Markdown (.md) として抽出";
}
}
return str;
Expand Down Expand Up @@ -555,13 +561,17 @@
document.getElementById("transFM37").innerHTML = getTranslation("PDF Annotations");
document.getElementById("transFM38").innerHTML = getTranslation("Full");
document.getElementById("transFM39").innerHTML = getTranslation("Limited");
document.getElementById("transFM39x").innerHTML = getTranslation("Limited");
document.getElementById("transFM40").innerHTML = getTranslation("PDF Form Fields");
document.getElementById("transFM41").innerHTML = getTranslation("Create, read, update");
document.getElementById("transFM42").innerHTML = getTranslation("Limited, no creation");
document.getElementById("transFM42x").innerHTML = getTranslation("Limited, no creation");
document.getElementById("transFM43").innerHTML = getTranslation("PDF Page Labels");
document.getElementById("transFM44").innerHTML = getTranslation("Support Font Sub-Setting");
document.getElementById("transFMSupportsCJK").innerHTML = getTranslation("Supports CJK characters");
document.getElementById("transFMSupportsMarkdown").innerHTML = getTranslation("Extract Text as Markdown (.md)");
document.getElementById("transFMExtractTables").innerHTML = getTranslation("Extract Tables");
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/404.mo
Binary file not shown.
13 changes: 6 additions & 7 deletions docs/locales/ja/LC_MESSAGES/404.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.26\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-05 14:46+0000\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/deprecated.mo
Binary file not shown.
15 changes: 7 additions & 8 deletions docs/locales/ja/LC_MESSAGES/deprecated.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015-2023, Artifex
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.0rc1\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 14:20+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/faq.mo
Binary file not shown.
15 changes: 7 additions & 8 deletions docs/locales/ja/LC_MESSAGES/faq.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015-2023, Artifex
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.0rc1\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-05 14:46+0000\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/index.mo
Binary file not shown.
15 changes: 7 additions & 8 deletions docs/locales/ja/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015-2023, Artifex
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.0rc1\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 16:48+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/packaging.mo
Binary file not shown.
13 changes: 6 additions & 7 deletions docs/locales/ja/LC_MESSAGES/packaging.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.26\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 16:48+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/pyodide.mo
Binary file not shown.
11 changes: 5 additions & 6 deletions docs/locales/ja/LC_MESSAGES/pyodide.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 16:48+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/rag.mo
Binary file not shown.
13 changes: 9 additions & 4 deletions docs/locales/ja/LC_MESSAGES/rag.po
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down Expand Up @@ -57,6 +57,11 @@ msgstr ""
"いくつかのよく知られた :title:`LLM` ソリューションは、|PyMuPDF| "
"と独自のインターフェースを持っています。この分野は急速に成長しているため、もっと見つけた場合はお知らせください。"


msgid "If you need to export to :title:`Markdown`:"
msgstr ":title:`Markdown` にエクスポートする必要がある場合:"


#: ../../rag.rst:15 ce3718b07fd1449f8e62222fef8a928e
msgid "Integration with :title:`LangChain`"
msgstr ":title:`LangChain` との統合"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/recipes-ocr.mo
Binary file not shown.
11 changes: 5 additions & 6 deletions docs/locales/ja/LC_MESSAGES/recipes-ocr.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 16:48+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/recipes.mo
Binary file not shown.
15 changes: 7 additions & 8 deletions docs/locales/ja/LC_MESSAGES/recipes.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015-2023, Artifex
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.23.0rc1\n"
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-05 14:46+0000\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/resources.mo
Binary file not shown.
11 changes: 5 additions & 6 deletions docs/locales/ja/LC_MESSAGES/resources.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# SOME DESCRIPTIVE TITLE.
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyMuPDF 1.24.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-01 16:48+0100\n"
"POT-Creation-Date: 2024-05-06 22:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
Expand Down
Binary file modified docs/locales/ja/LC_MESSAGES/supported-files-table.mo
Binary file not shown.
11 changes: 5 additions & 6 deletions docs/locales/ja/LC_MESSAGES/supported-files-table.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2015-2023, Artifex
# PyMuPDF Japanese documentation
# Copyright (C) 2015-2024, Artifex
# This file is distributed under the same license as the PyMuPDF package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
# Jamie Lemon <jamie.lemon@artifex.com>, 2024.
#
#, fuzzy
msgid ""
Expand All @@ -10,12 +10,11 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-21 13:53+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Suzan Sanver <suzan.sanver@dijipiji.com>\n"
"Language: ja\n"
"Language-Team: ja <LL@li.org>\n"
"Language-Team: ja <suzan.sanver@dijipiji.com>\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.10.3\n"

16 changes: 16 additions & 0 deletions docs/rag.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ Integrating |PyMuPDF| into your :title:`Large Language Model (LLM)` framework an

There are a few well known :title:`LLM` solutions which have their own interfaces with |PyMuPDF| - it is a fast growing area, so please let us know if you discover any more!

If you need to export to :title:`Markdown`:

.. raw:: html

<button id="pymupdf4llmButton" class="cta orange" style="text-transform: none;" onclick="window.location='https://pymupdf4llm.readthedocs.io'">Try PyMuPDF4LLM</button>
<p></p>

<script>
let lang = document.getElementsByTagName('html')[0].getAttribute('lang');
if (lang=="ja") {
document.getElementById("pymupdf4llmButton").innerHTML = "PyMuPDF4LLM を試してみる";
}
</script>


Integration with :title:`LangChain`
-------------------------------------
Expand Down

0 comments on commit d464133

Please sign in to comment.