Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-11-17 08:24:04 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-11-17 08:24:04 +0300
commit66448309413a56b9e38daa758a12a1e4f4556616 (patch)
treeadd850ce39f998d641c65d8497de7803bed024ac /sphinx/templates
parent05c31a03144633d097a695c531a4e54d097b1ba1 (diff)
parentfcdeafd56e67cc38dcd56862cc0ee6304178a3e8 (diff)
Merge branch '2.0'
Diffstat (limited to 'sphinx/templates')
-rw-r--r--sphinx/templates/gettext/message.pot_t33
-rw-r--r--sphinx/templates/latex/latex.tex_t1
2 files changed, 34 insertions, 0 deletions
diff --git a/sphinx/templates/gettext/message.pot_t b/sphinx/templates/gettext/message.pot_t
new file mode 100644
index 000000000..90df27175
--- /dev/null
+++ b/sphinx/templates/gettext/message.pot_t
@@ -0,0 +1,33 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) {{ copyright }}
+# This file is distributed under the same license as the {{ project }} package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: {{ project|e }} {{ version|e }}\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: {{ ctime|e }}\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+{% for message in messages %}
+{% if display_location -%}
+{% for source, line in message.locations -%}
+#: {{ source }}:{{ line }}
+{% endfor -%}
+{% endif -%}
+
+{% if display_uuid -%}
+{% for uuid in message.uuids -%}
+#: {{ uuid }}
+{% endfor -%}
+{% endif -%}
+
+msgid "{{ message.text|e }}"
+msgstr ""
+{% endfor -%}
diff --git a/sphinx/templates/latex/latex.tex_t b/sphinx/templates/latex/latex.tex_t
index 2beac82c9..a0a5a26b1 100644
--- a/sphinx/templates/latex/latex.tex_t
+++ b/sphinx/templates/latex/latex.tex_t
@@ -35,6 +35,7 @@
<%= sphinxsetup %>
<%= fvset %>
<%= geometry %>
+<%= extrapackages %>
<%- for name, option in packages %>
<%- if option %>