Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion locale/de/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2025-09-22 16:28+0000\n"
"Last-Translator: Anonymous <noreply@weblate.org>\n"
"Language-Team: German <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/de/>\n"
Expand Down Expand Up @@ -338,6 +338,12 @@ msgstr ""
msgid "Experimental"
msgstr ""

msgid "Possible server crash"
msgstr ""

msgid "These functions might create a server crash"
msgstr ""

msgid "Experimental functions"
msgstr ""

Expand Down
8 changes: 7 additions & 1 deletion locale/es/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2025-12-10 20:25+0000\n"
"Last-Translator: DeepL <noreply-mt-deepl@weblate.org>\n"
"Language-Team: Spanish <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/es/>\n"
Expand Down Expand Up @@ -343,6 +343,12 @@ msgstr ":doc:`pgr_trspVia_withPoints` - Ruteo Vía Punto/Vértice con restriccio
msgid "Experimental"
msgstr "Experimental"

msgid "Possible server crash"
msgstr ""

msgid "These functions might create a server crash"
msgstr ""
Comment on lines +346 to +350

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

file='locale/es/LC_MESSAGES/pgrouting_doc_strings.po'

echo '--- around target lines ---'
sed -n '330,370p' "$file" | cat -n

echo
echo '--- untranslated/translated counts ---'
python3 - <<'PY'
from pathlib import Path
import re

path = Path('locale/es/LC_MESSAGES/pgrouting_doc_strings.po')
text = path.read_text(encoding='utf-8', errors='replace')

# Very small PO parser for msgid/msgstr pairs in file order.
entries = []
msgid = None
msgstr = None
state = None

def unquote(s):
    s = s.strip()
    if s.startswith('"') and s.endswith('"'):
        return bytes(s[1:-1], 'utf-8').decode('unicode_escape')
    return s

for line in text.splitlines():
    if line.startswith('msgid '):
        if msgid is not None:
            entries.append((msgid, msgstr))
        msgid = unquote(line[6:])
        msgstr = None
        state = 'msgid'
    elif line.startswith('msgstr '):
        msgstr = unquote(line[7:])
        state = 'msgstr'
    elif line.startswith('"') and state == 'msgid' and msgid is not None:
        msgid += unquote(line)
    elif line.startswith('"') and state == 'msgstr' and msgstr is not None:
        msgstr += unquote(line)
# flush last
if msgid is not None:
    entries.append((msgid, msgstr))

# Ignore header entry and fuzzy markers are not parsed here.
translated = 0
untranslated = 0
for mid, ms in entries:
    if mid == '':
        continue
    if ms is None or ms == '':
        untranslated += 1
    else:
        translated += 1

print(f'translated={translated}')
print(f'untranslated={untranslated}')
print(f'total_nonheader={translated + untranslated}')
PY

Repository: pgRouting/pgrouting

Length of output: 1927


Translate these warning messages for Spanish users. Both msgstr values are empty, so the Spanish catalog will show the English text here. Add translations or mark them intentionally untranslated.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@locale/es/LC_MESSAGES/pgrouting_doc_strings.po` around lines 346 - 350,
Translate the two empty Spanish catalog entries for “Possible server crash” and
“These functions might create a server crash” in the PO file, or explicitly mark
them as intentionally untranslated if no translation is available. Keep the
existing msgid values unchanged and ensure both msgstr fields are handled.


msgid "Experimental functions"
msgstr "Funciones experimentales"

Expand Down
8 changes: 7 additions & 1 deletion locale/ja/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2026-06-10 16:05+0000\n"
"Last-Translator: Teramoto Ikuhiro <teramoto.ikuhiro576@naro.go.jp>\n"
"Language-Team: Japanese <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/ja/>\n"
Expand Down Expand Up @@ -362,6 +362,12 @@ msgstr ":doc:`pgr_trspVia_withPoints` - 制約付き頂点/ポイントのルー
msgid "Experimental"
msgstr "実験段階"

msgid "Possible server crash"
msgstr ""

msgid "These functions might create a server crash"
msgstr ""

msgid "Experimental functions"
msgstr "実験段階関数"

Expand Down
8 changes: 7 additions & 1 deletion locale/ko/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2025-09-22 16:28+0000\n"
"Last-Translator: Hyung-Gyu Ryoo <hyunggyu.ryoo@gmail.com>\n"
"Language-Team: Korean <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/ko/>\n"
Expand Down Expand Up @@ -343,6 +343,12 @@ msgstr ""
msgid "Experimental"
msgstr ":doc:`experimental`"

msgid "Possible server crash"
msgstr ""

msgid "These functions might create a server crash"
msgstr ""

msgid "Experimental functions"
msgstr ""

Expand Down
14 changes: 7 additions & 7 deletions locale/sv/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2025-12-08 08:47+0000\n"
"Last-Translator: Daniel Nylander <daniel@danielnylander.se>\n"
"Language-Team: Swedish <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/sv/>\n"
Expand Down Expand Up @@ -339,6 +339,12 @@ msgstr ":doc:`pgr_trspVia_withPoints` - Via Vertex/point routing with restrictio
msgid "Experimental"
msgstr "Experiment"

msgid "Possible server crash"
msgstr "Möjlig serverkrasch"

msgid "These functions might create a server crash"
msgstr "Dessa funktioner kan orsaka en serverkrasch"

msgid "Experimental functions"
msgstr "Experimentella funktioner"

Expand Down Expand Up @@ -16655,12 +16661,6 @@ msgstr "pgr_withPointsvia is pgr_dijkstraVia **with points**"
#~ msgid "Functionality might not change. (But still can)"
#~ msgstr "Funktionaliteten kanske inte ändras. (Men kan fortfarande göra det)"

#~ msgid "Possible server crash"
#~ msgstr "Möjlig serverkrasch"

#~ msgid "These functions might create a server crash"
#~ msgstr "Dessa funktioner kan orsaka en serverkrasch"

#~ msgid "Might need c/c++ coding."
#~ msgstr "Kan behöva c/c++-kodning."

Expand Down
8 changes: 7 additions & 1 deletion locale/zh_Hans/LC_MESSAGES/pgrouting_doc_strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pgRouting v4.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-10 19:05+0000\n"
"POT-Creation-Date: 2026-07-16 19:50+0000\n"
"PO-Revision-Date: 2025-09-22 16:28+0000\n"
"Last-Translator: Celia Virginia Vergara Castillo <vicky@erosion.dev>\n"
"Language-Team: Chinese (Simplified) <https://weblate.osgeo.org/projects/pgrouting/pgrouting-develop/zh_Hans/>\n"
Expand Down Expand Up @@ -348,6 +348,12 @@ msgstr ":doc:`pgr_trspVia_withPoints` - 通过有限制的顶点/点路由。"
msgid "Experimental"
msgstr ":doc:`experimental`"

msgid "Possible server crash"
msgstr ""

msgid "These functions might create a server crash"
msgstr ""

msgid "Experimental functions"
msgstr "实验性函数"

Expand Down
Loading