Skip to content

Commit 0dd2b99

Browse files
authored
Merge pull request #949 from sphinx-contrib/i8n-update
update locale files
2 parents f94391a + 2be2fad commit 0dd2b99

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

sphinxcontrib/confluencebuilder/locale/sphinxcontrib.confluencebuilder.pot

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ msgstr ""
66
msgid "writing single confluence document"
77
msgstr ""
88

9-
#: sphinxcontrib/confluencebuilder/storage/templates/domainindex.html:11
10-
#: sphinxcontrib/confluencebuilder/storage/templates/domainindex_v2.html:11
11-
#: sphinxcontrib/confluencebuilder/storage/templates/genindex.html:37
12-
#: sphinxcontrib/confluencebuilder/storage/templates/genindex_v2.html:37
13-
#: sphinxcontrib/confluencebuilder/storage/templates/search.html:10
9+
#: sphinxcontrib/confluencebuilder/storage/templates/domainindex.html:12
10+
#: sphinxcontrib/confluencebuilder/storage/templates/domainindex_v2.html:12
11+
#: sphinxcontrib/confluencebuilder/storage/templates/genindex.html:38
12+
#: sphinxcontrib/confluencebuilder/storage/templates/genindex_v2.html:38
13+
#: sphinxcontrib/confluencebuilder/storage/templates/search.html:11
14+
#: sphinxcontrib/confluencebuilder/storage/templates/search_v2.html:11
1415
#: sphinxcontrib/confluencebuilder/storage/translator.py:2437
1516
msgid "This page has been automatically generated."
1617
msgstr ""
1718

18-
#: sphinxcontrib/confluencebuilder/storage/translator.py:2461
19+
#: sphinxcontrib/confluencebuilder/storage/translator.py:2465
1920
msgid "Edit Source"
2021
msgstr ""
2122

sphinxcontrib/confluencebuilder/storage/translator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2434,11 +2434,11 @@ def visit_confluence_page_generation_notice(self, node):
24342434
}))
24352435

24362436
if self.builder.config.confluence_page_generation_notice is True:
2437-
notice_msg = 'This page has been automatically generated.'
2437+
msg = L('This page has been automatically generated.')
24382438
else:
2439-
notice_msg = self.builder.config.confluence_page_generation_notice
2439+
msg = L(self.builder.config.confluence_page_generation_notice)
24402440

2441-
self.body.append(self.encode(L(notice_msg)))
2441+
self.body.append(self.encode(msg))
24422442

24432443
if self.v2:
24442444
self.body.append(self._end_tag(node, suffix='')) # sup

0 commit comments

Comments
 (0)