Skip to content
Snippets Groups Projects
Commit 109614b6 authored by squidfunk's avatar squidfunk
Browse files

Fixed computation of missing translations

parent 97b4798d
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
# Map names and available translations
names[code] = name
known[code] = dict(re.findall(
r"^ \"([^\"]+)\": \"([^\"]+)\"(?:,|$)?", data,
r"^ \"([^\"]+)\": \"([^\"]*)\"(?:,|$)?", data,
re.MULTILINE
))
......
......@@ -9,7 +9,7 @@
"announce.dismiss": "非表示にします",
"blog.archive": "過去の投稿",
"blog.categories": "カテゴリー",
"blog.categories.in": " ",
"blog.categories.in": "",
"blog.continue": "続きを読む",
"blog.draft": "下書き",
"blog.index": "ブログトップへ戻る",
......
......@@ -51,7 +51,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
# Map names and available translations
names[code] = name
known[code] = dict(re.findall(
r"^ \"([^\"]+)\": \"([^\"]+)\"(?:,|$)?", data,
r"^ \"([^\"]+)\": \"([^\"]*)\"(?:,|$)?", data,
re.MULTILINE
))
......
......@@ -29,7 +29,7 @@
"announce.dismiss": "非表示にします",
"blog.archive": "過去の投稿",
"blog.categories": "カテゴリー",
"blog.categories.in": " ",
"blog.categories.in": "",
"blog.continue": "続きを読む",
"blog.draft": "下書き",
"blog.index": "ブログトップへ戻る",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment