diff options
| author | shimizukawa <shimizukawa@gmail.com> | 2012-11-22 11:43:09 +0900 |
|---|---|---|
| committer | shimizukawa <shimizukawa@gmail.com> | 2012-11-22 11:43:09 +0900 |
| commit | aaef5e456593dbf9386557c47fbaad2052d00864 (patch) | |
| tree | 2593279dea00db08acce67f819301425ba0ba336 /tests/root | |
| parent | e26f6807079e2b2e9f30a47425977489ca661087 (diff) | |
| download | sphinx-aaef5e456593dbf9386557c47fbaad2052d00864.tar.gz | |
fixed #955: footnote i18n translation cause KeyError and 'Only update text nodes in translation' change at b7b808e46851 break translation.
Diffstat (limited to 'tests/root')
| -rw-r--r-- | tests/root/contents.txt | 1 | ||||
| -rw-r--r-- | tests/root/i18n_footnote.po | 30 | ||||
| -rw-r--r-- | tests/root/i18n_footnote.txt | 10 |
3 files changed, 41 insertions, 0 deletions
diff --git a/tests/root/contents.txt b/tests/root/contents.txt index ad246cb7..3ba41eed 100644 --- a/tests/root/contents.txt +++ b/tests/root/contents.txt @@ -28,6 +28,7 @@ Contents: extensions versioning/index only + i18n_footnote Python <http://python.org/> diff --git a/tests/root/i18n_footnote.po b/tests/root/i18n_footnote.po new file mode 100644 index 00000000..b7f2b584 --- /dev/null +++ b/tests/root/i18n_footnote.po @@ -0,0 +1,30 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2012, foof +# This file is distributed under the same license as the foo package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: sphinx 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-11-22 08:28\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" + +msgid "i18n with Footnote" +msgstr "I18N WITH FOOTNOTE" + +msgid "Contents [#]_ for `i18n with Footnote`_ [ref]_" +msgstr "`I18N WITH FOOTNOTE`_ INCLUDE THIS CONTENTS [ref]_ [#]_" + +msgid "This is a auto numbered footnote." +msgstr "THIS IS A AUTO NUMBERED FOOTNOTE." + +msgid "This is a named footnote." +msgstr "THIS IS A NAMED FOOTNOTE." + diff --git a/tests/root/i18n_footnote.txt b/tests/root/i18n_footnote.txt new file mode 100644 index 00000000..3a1097af --- /dev/null +++ b/tests/root/i18n_footnote.txt @@ -0,0 +1,10 @@ +:tocdepth: 2 + +i18n with Footnote +================== +.. #955 cant-build-html-with-footnotes-when-using + +Contents [#]_ for `i18n with Footnote`_ [ref]_ + +.. [#] This is a auto numbered footnote. +.. [ref] This is a named footnote. |
