-
-
Notifications
You must be signed in to change notification settings - Fork 38
Complete Japanese translation and enable the JA documentation build #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
22c1159
5ed2ad6
e9eb200
df9d7fb
a7f0520
9d8cc6d
81a36f1
795b388
3cee7ee
2e593d4
e0e5a28
cafcb11
82289bf
4e7f710
023081e
caf3263
28429e1
dd5bc43
f367666
7d79bde
cdba722
309085b
8918d97
583f049
eb85c53
c03b79f
f174ddc
cfd331c
3d8f427
26f6949
1a0dd2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,34 +8,33 @@ | |
| # Ko Nagase <geosanak@gmail.com>, 2022 | ||
| # Taro Matsuzawa <btm@tech.email.ne.jp>, 2022 | ||
| # Daniel Kastl, 2022 | ||
| #, fuzzy | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Workshop FOSS4G Belém 3.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2024-12-16 17:44+0000\n" | ||
| "PO-Revision-Date: 2026-07-07 16:55+0000\n" | ||
| "Last-Translator: Anonymous <noreply@weblate.org>\n" | ||
| "Language-Team: Japanese <https://weblate.osgeo.org/projects/pgrouting-" | ||
| "workshop/appendix-appendix-2/ja/>\n" | ||
| "PO-Revision-Date: 2022-03-01 19:42+0000\n" | ||
| "Last-Translator: Daniel Kastl, 2022\n" | ||
| "Language-Team: Japanese (https://app.transifex.com/pgrouting/teams/1219/ja/)\n" | ||
| "Language: ja\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=utf-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: nplurals=1; plural=0;\n" | ||
| "X-Generator: Weblate 5.16.2\n" | ||
| "Generated-By: Babel 2.16.0\n" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:11 | ||
| msgid "Appendix: Installation" | ||
| msgstr "" | ||
| msgstr "付録: インストール" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:13 | ||
| msgid "For this workshop you need:" | ||
| msgstr "このワークショップでは次のものが必要です:" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:15 | ||
| msgid "Linux operating system like Ubuntu" | ||
| msgstr "" | ||
| msgstr "Ubuntu のような Linux オペレーティングシステム" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:16 | ||
| msgid "An editor like Gedit, Medit or similar" | ||
|
|
@@ -44,9 +43,11 @@ msgstr "Gedit または Medit のようなエディタ" | |
| #: ../../build/docs/appendix/appendix-2.rst:17 | ||
| msgid "" | ||
| "`Geoserver " | ||
| "<https://live.osgeo.org/en/quickstart/geoserver_quickstart.html>`__ for " | ||
| "the routing application" | ||
| "<https://live.osgeo.org/en/quickstart/geoserver_quickstart.html>`__ for the " | ||
| "routing application" | ||
| msgstr "" | ||
| "ルート検索アプリケーション用の `GeoServer " | ||
| "<https://live.osgeo.org/en/quickstart/geoserver_quickstart.html>`__" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:19 | ||
| msgid "Internet connection" | ||
|
|
@@ -57,46 +58,52 @@ msgid "" | |
| "`Install pgRouting on a Windows computer " | ||
| "<https://postgis.net/windows_downloads/>`__." | ||
| msgstr "" | ||
| "`Windows コンピュータへの pgRouting のインストール " | ||
| "<https://postgis.net/windows_downloads/>`__。" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:23 | ||
| msgid "" | ||
| "The following reference is a quick summary of how to install it on your " | ||
| "own computer running Ubuntu 14.04 or later." | ||
| msgstr "" | ||
| "The following reference is a quick summary of how to install it on your own " | ||
| "computer running Ubuntu 14.04 or later." | ||
| msgstr "以下は、Ubuntu 14.04 以降が動作する自分のコンピュータにインストールする方法の簡単なまとめです。" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:27 | ||
| msgid "Ubuntu" | ||
| msgstr "" | ||
| msgstr "Ubuntu" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:28 | ||
| msgid "" | ||
| "pgRouting on Ubuntu can be installed using packages from a `PostgreSQL " | ||
| "repository <https://apt.postgresql.org/pub/repos/apt/>`__:" | ||
| msgstr "" | ||
| "Ubuntu 上の pgRouting は、`PostgreSQL リポジトリ " | ||
| "<https://apt.postgresql.org/pub/repos/apt/>`__ のパッケージを使ってインストールできます:" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:31 | ||
| msgid "Using a terminal window:" | ||
| msgstr "" | ||
| msgstr "ターミナルウィンドウで次を実行します:" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:46 | ||
| msgid "" | ||
| "This will also install all required packages such as PostgreSQL and " | ||
| "PostGIS if not installed yet." | ||
| "This will also install all required packages such as PostgreSQL and PostGIS " | ||
| "if not installed yet." | ||
| msgstr "" | ||
| "上記の作業では PostgreSQL や PostGIS のような全ての必要なパッケージがまだ" | ||
| "インストールされていなければ一緒にインストールされます。" | ||
| "上記の作業では PostgreSQL や PostGIS のような全ての必要なパッケージがまだインストールされていなければ一緒にインストールされます。" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:48 | ||
| msgid "To be up-to-date with changes and improvements" | ||
| msgstr "" | ||
| msgstr "変更点や改善を最新の状態に保つには" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:54 | ||
| msgid "" | ||
| "To avoid permission denied errors for local users you can set connection " | ||
| "method to ``trust`` in ``/etc/postgresql/<version>/main/pg_hba.conf`` and" | ||
| " restart PostgreSQL server with ``sudo service postgresql restart``." | ||
| "method to ``trust`` in ``/etc/postgresql/<version>/main/pg_hba.conf`` and " | ||
| "restart PostgreSQL server with ``sudo service postgresql restart``." | ||
| msgstr "" | ||
| "ローカルユーザで permission denied " | ||
| "エラーが出ないようにするには、``/etc/postgresql/<version>/main/pg_hba.conf`` で接続方式を " | ||
| "``trust`` に設定し、``sudo service postgresql restart`` で PostgreSQL サーバを再起動します。" | ||
|
Comment on lines
98
to
+105
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- target entry ---'
sed -n '1,125p' locale/ja/LC_MESSAGES/appendix/appendix-2.po
printf '%s\n' '--- related source and translations ---'
rg -n -C 5 --fixed-strings \
'To avoid permission denied errors for local users' \
locale . 2>/dev/null | head -160
printf '%s\n' '--- fuzzy markers in the target catalog ---'
rg -n '^#,\s*fuzzy|^#,\s*.*fuzzy' locale/ja/LC_MESSAGES/appendix/appendix-2.po || true
printf '%s\n' '--- repository references to this guidance ---'
rg -n -C 3 'pg_hba\.conf|connection method to ``trust``|permission denied' . \
-g '*.po' -g '*.pot' -g '*.rst' -g '*.md' -g '*.txt' 2>/dev/null | head -240Repository: pgRouting/workshop Length of output: 21109 🏁 Script executed: #!/bin/bash
set -eu
printf '%s\n' '--- source instructions and authentication rules ---'
sed -n '45,70p' docs/appendix/appendix-2.rst
printf '%s\n' '--- exact target PO records ---'
python3 - <<'PY'
from pathlib import Path
path = Path("locale/ja/LC_MESSAGES/appendix/appendix-2.po")
lines = path.read_text(encoding="utf-8").splitlines()
for i, line in enumerate(lines):
if "To avoid permission denied errors for local users" in line:
start = max(0, i - 3)
end = min(len(lines), i + 9)
print("\n".join(f"{n + 1}: {lines[n]}" for n in range(start, end)))
break
PY
printf '%s\n' '--- fuzzy entries in the target PO file ---'
grep -n '^#.*, *fuzzy' locale/ja/LC_MESSAGES/appendix/appendix-2.po || trueRepository: pgRouting/workshop Length of output: 1557 🌐 Web query:
💡 Result: In PostgreSQL, the "trust" authentication method in the pg_hba.conf file allows a connection unconditionally [1][2]. When this method is used, PostgreSQL assumes that any user who successfully connects to the server is authorized to log in as any database user they specify, including superuser roles, without needing a password or any other form of authentication [3][1]. While the "trust" method is technically accurate as described, it is critical to understand the associated security implications: 1. Scope: This method only skips the password/authentication step for connections that match the criteria defined in the pg_hba.conf file (such as specific IP addresses or local sockets) [3][1]. The database still enforces other restrictions defined in the pg_hba.conf file, such as the allowed database and user columns [3]. 2. Security Risk: Using "trust" is generally considered insecure for any environment where unauthorized users might access the network or the system [3][4]. It is primarily intended for use on single-user workstations where the operating system's security is sufficient to protect the connection [3]. 3. Recommended Usage: It is seldom appropriate to use "trust" for TCP/IP connections, including local loopback connections (127.0.0.1), in a multiuser environment [3]. For local connections, alternatives like "peer" authentication are generally recommended [5]. If "trust" must be used on a multiuser machine (often as a temporary measure during initial setup), it should be protected by strict file-system permissions on the Unix-domain socket [3][4]. Because PostgreSQL processes pg_hba.conf records sequentially, a "trust" entry appearing early in the file will take precedence over subsequent, more secure authentication methods [1]. Therefore, it is standard practice to use specific, secure authentication methods for network connections and reserve "trust" only for highly restricted, local scenarios [3][1]. Citations:
Do not publish The source configures 🤖 Prompt for AI Agents |
||
|
|
||
| #: ../../build/docs/appendix/appendix-2.rst:58 | ||
| msgid "Following the example with PostgreSQL 10:" | ||
| msgstr "" | ||
| msgstr "PostgreSQL 10 の例に従うと、次のようになります:" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # SOME DESCRIPTIVE TITLE. | ||
| # Copyright (C) 2010-2024 pgRouting Developers | ||
| # This file is distributed under the same license as the Workshop FOSS4G | ||
| # Belém package. | ||
| # FIRST AUTHOR <EMAIL@ADDRESS>, 2026. | ||
| # | ||
| #, fuzzy | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Workshop FOSS4G Belém 3.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2024-11-04 21:10-0600\n" | ||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
| "Language-Team: ja <LL@li.org>\n" | ||
| "Language: ja\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=utf-8\n" | ||
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: nplurals=1; plural=0;\n" | ||
| "Generated-By: Babel 2.18.0\n" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-4.rst:11 | ||
| msgid "Video Tutorials for Workshop" | ||
| msgstr "ワークショップのビデオチュートリアル" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-4.rst:15 | ||
| msgid "Chapter 4" | ||
| msgstr "第4章" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-4.rst:17 | ||
| msgid "" | ||
| "Video for section 4.1: `Prepare the database " | ||
| "<https://www.youtube.com/watch?v=oxvzBJtw3mI>`__." | ||
| msgstr "" | ||
| "4.1 節のビデオ: `データベースの準備 <https://www.youtube.com/watch?v=oxvzBJtw3mI>`__。" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-4.rst:18 | ||
| msgid "" | ||
| "Video for section 4.2: `Get the Workshop Data " | ||
| "<https://www.youtube.com/watch?v=9W2FnzmUPRg>`__." | ||
| msgstr "" | ||
| "4.2 節のビデオ: `ワークショップデータの取得 <https://www.youtube.com/watch?v=9W2FnzmUPRg>`__。" | ||
|
|
||
| #: ../../build/docs/appendix/appendix-4.rst:19 | ||
| msgid "" | ||
| "Video for section 4.3: `Upload Data to the database " | ||
| "<https://www.youtube.com/watch?v=p2uz5udMUdk>`__." | ||
| msgstr "" | ||
| "4.3 節のビデオ: `データベースへのデータのアップロード " | ||
| "<https://www.youtube.com/watch?v=p2uz5udMUdk>`__。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Finalize the Japanese PO headers before enabling the build. The affected catalogs retain header-level
#, fuzzyflags and/or stale template metadata. Remove the fuzzy flags, regenerate headers from the matching current POT files, populate final metadata, and rerunmsgfmt --check --statisticsso the catalogs meet the claimed 100% coverage.📍 Affects 3 files
locale/ja/LC_MESSAGES/appendix/appendix-2.po#L11-L25(this comment)locale/ja/LC_MESSAGES/general-intro/introduction.po#L10-L24locale/ja/LC_MESSAGES/advanced/chapter-12.po#L10-L18🤖 Prompt for AI Agents