mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Divide test_intl target source files for speed-up.
This commit is contained in:
12
tests/roots/test-intl/bom.po
Normal file
12
tests/roots/test-intl/bom.po
Normal file
@@ -0,0 +1,12 @@
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
msgid "File with UTF-8 BOM"
|
||||
msgstr "Datei mit UTF-8"
|
||||
|
||||
msgid "This file has a UTF-8 \"BOM\"."
|
||||
msgstr "This file has umlauts: äöü."
|
||||
5
tests/roots/test-intl/bom.txt
Normal file
5
tests/roots/test-intl/bom.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
File with UTF-8 BOM
|
||||
===================
|
||||
|
||||
This file has a UTF-8 "BOM".
|
||||
|
||||
7
tests/roots/test-intl/conf.py
Normal file
7
tests/roots/test-intl/conf.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import sys, os
|
||||
|
||||
project = 'Sphinx intl <Tests>'
|
||||
source_suffix = '.txt'
|
||||
keep_warnings = True
|
||||
13
tests/roots/test-intl/contents.txt
Normal file
13
tests/roots/test-intl/contents.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:numbered:
|
||||
|
||||
subdir/contents
|
||||
bom
|
||||
footnote
|
||||
external_links
|
||||
refs_inconsistency
|
||||
literalblock
|
||||
definition_terms
|
||||
figure_caption
|
||||
index_entries
|
||||
32
tests/roots/test-intl/definition_terms.po
Normal file
32
tests/roots/test-intl/definition_terms.po
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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: 2013-01-01 05:00\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 definition terms"
|
||||
msgstr "I18N WITH DEFINITION TERMS"
|
||||
|
||||
msgid "Some term"
|
||||
msgstr "SOME TERM"
|
||||
|
||||
msgid "The corresponding definition"
|
||||
msgstr "THE CORRESPONDING DEFINITION"
|
||||
|
||||
msgid "Some other term"
|
||||
msgstr "SOME OTHER TERM"
|
||||
|
||||
msgid "The corresponding definition #2"
|
||||
msgstr "THE CORRESPONDING DEFINITION #2"
|
||||
11
tests/roots/test-intl/definition_terms.txt
Normal file
11
tests/roots/test-intl/definition_terms.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with definition terms
|
||||
==========================
|
||||
|
||||
Some term
|
||||
The corresponding definition
|
||||
|
||||
Some other term
|
||||
The corresponding definition #2
|
||||
|
||||
32
tests/roots/test-intl/external_links.po
Normal file
32
tests/roots/test-intl/external_links.po
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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 external links"
|
||||
msgstr "EXTERNAL LINKS"
|
||||
|
||||
msgid "External link to Python_."
|
||||
msgstr "EXTERNAL LINK TO Python_."
|
||||
|
||||
msgid "Internal link to `i18n with external links`_."
|
||||
msgstr "`EXTERNAL LINKS`_ IS INTERNAL LINK."
|
||||
|
||||
msgid "Inline link by `Sphinx <http://sphinx-doc.org>`_."
|
||||
msgstr "INLINE LINK BY `SPHINX <http://sphinx-doc.org>`_."
|
||||
|
||||
msgid "Unnamed link__."
|
||||
msgstr "UNNAMED LINK__."
|
||||
13
tests/roots/test-intl/external_links.txt
Normal file
13
tests/roots/test-intl/external_links.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with external links
|
||||
========================
|
||||
.. #1044 external-links-dont-work-in-localized-html
|
||||
|
||||
* External link to Python_.
|
||||
* Internal link to `i18n with external links`_.
|
||||
* Inline link by `Sphinx <http://sphinx-doc.org>`_.
|
||||
* Unnamed link__.
|
||||
|
||||
.. _Python: http://python.org
|
||||
.. __: http://google.com
|
||||
29
tests/roots/test-intl/figure_caption.po
Normal file
29
tests/roots/test-intl/figure_caption.po
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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: 2013-01-04 7:00\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 figure caption"
|
||||
msgstr "I18N WITH FIGURE CAPTION"
|
||||
|
||||
msgid "My caption of the figure"
|
||||
msgstr "MY CAPTION OF THE FIGURE"
|
||||
|
||||
msgid "My description paragraph1 of the figure."
|
||||
msgstr "MY DESCRIPTION PARAGRAPH1 OF THE FIGURE."
|
||||
|
||||
msgid "My description paragraph2 of the figure."
|
||||
msgstr "MY DESCRIPTION PARAGRAPH2 OF THE FIGURE."
|
||||
12
tests/roots/test-intl/figure_caption.txt
Normal file
12
tests/roots/test-intl/figure_caption.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with figure caption
|
||||
========================
|
||||
|
||||
.. figure:: i18n.png
|
||||
|
||||
My caption of the figure
|
||||
|
||||
My description paragraph1 of the figure.
|
||||
|
||||
My description paragraph2 of the figure.
|
||||
33
tests/roots/test-intl/footnote.po
Normal file
33
tests/roots/test-intl/footnote.po
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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 "[100]_ Contents [#]_ for `i18n with Footnote`_ [ref]_"
|
||||
msgstr "`I18N WITH FOOTNOTE`_ INCLUDE THIS CONTENTS [ref]_ [#]_ [100]_"
|
||||
|
||||
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."
|
||||
|
||||
msgid "This is a numbered footnote."
|
||||
msgstr "THIS IS A NUMBERED FOOTNOTE."
|
||||
|
||||
11
tests/roots/test-intl/footnote.txt
Normal file
11
tests/roots/test-intl/footnote.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with Footnote
|
||||
==================
|
||||
.. #955 cant-build-html-with-footnotes-when-using
|
||||
|
||||
[100]_ Contents [#]_ for `i18n with Footnote`_ [ref]_
|
||||
|
||||
.. [#] This is a auto numbered footnote.
|
||||
.. [ref] This is a named footnote.
|
||||
.. [100] This is a numbered footnote.
|
||||
BIN
tests/roots/test-intl/i18n.png
Normal file
BIN
tests/roots/test-intl/i18n.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
77
tests/roots/test-intl/index_entries.po
Normal file
77
tests/roots/test-intl/index_entries.po
Normal file
@@ -0,0 +1,77 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2013, foo
|
||||
# This file is distributed under the same license as the foo package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: foo foo\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-01-05 18:10\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 index entries"
|
||||
msgstr ""
|
||||
|
||||
msgid "index target section"
|
||||
msgstr ""
|
||||
|
||||
msgid "this is :index:`Newsletter` target paragraph."
|
||||
msgstr "THIS IS :index:`NEWSLETTER` TARGET PARAGRAPH."
|
||||
|
||||
msgid "various index entries"
|
||||
msgstr ""
|
||||
|
||||
msgid "That's all."
|
||||
msgstr ""
|
||||
|
||||
msgid "Mailing List"
|
||||
msgstr "MAILING LIST"
|
||||
|
||||
msgid "Newsletter"
|
||||
msgstr "NEWSLETTER"
|
||||
|
||||
msgid "Recipients List"
|
||||
msgstr "RECIPIENTS LIST"
|
||||
|
||||
msgid "First"
|
||||
msgstr "FIRST"
|
||||
|
||||
msgid "Second"
|
||||
msgstr "SECOND"
|
||||
|
||||
msgid "Third"
|
||||
msgstr "THIRD"
|
||||
|
||||
msgid "Entry"
|
||||
msgstr "ENTRY"
|
||||
|
||||
msgid "See"
|
||||
msgstr "SEE"
|
||||
|
||||
msgid "Module"
|
||||
msgstr "MODULE"
|
||||
|
||||
msgid "Keyword"
|
||||
msgstr "KEYWORD"
|
||||
|
||||
msgid "Operator"
|
||||
msgstr "OPERATOR"
|
||||
|
||||
msgid "Object"
|
||||
msgstr "OBJECT"
|
||||
|
||||
msgid "Exception"
|
||||
msgstr "EXCEPTION"
|
||||
|
||||
msgid "Statement"
|
||||
msgstr "STATEMENT"
|
||||
|
||||
msgid "Builtin"
|
||||
msgstr "BUILTIN"
|
||||
31
tests/roots/test-intl/index_entries.txt
Normal file
31
tests/roots/test-intl/index_entries.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with index entries
|
||||
=======================
|
||||
|
||||
.. index::
|
||||
single: Mailing List
|
||||
pair: Newsletter; Recipients List
|
||||
|
||||
index target section
|
||||
--------------------
|
||||
|
||||
this is :index:`Newsletter` target paragraph.
|
||||
|
||||
|
||||
various index entries
|
||||
---------------------
|
||||
|
||||
.. index::
|
||||
triple: First; Second; Third
|
||||
see: Entry; Mailing List
|
||||
seealso: See; Newsletter
|
||||
module: Module
|
||||
keyword: Keyword
|
||||
operator: Operator
|
||||
object: Object
|
||||
exception: Exception
|
||||
statement: Statement
|
||||
builtin: Builtin
|
||||
|
||||
That's all.
|
||||
30
tests/roots/test-intl/literalblock.po
Normal file
30
tests/roots/test-intl/literalblock.po
Normal file
@@ -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 literal block"
|
||||
msgstr "I18N WITH LITERAL BLOCK"
|
||||
|
||||
msgid "Correct literal block::"
|
||||
msgstr "CORRECT LITERAL BLOCK::"
|
||||
|
||||
msgid "Missing literal block::"
|
||||
msgstr "MISSING LITERAL BLOCK::"
|
||||
|
||||
msgid "That's all."
|
||||
msgstr "THAT'S ALL."
|
||||
|
||||
13
tests/roots/test-intl/literalblock.txt
Normal file
13
tests/roots/test-intl/literalblock.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with literal block
|
||||
=========================
|
||||
|
||||
Correct literal block::
|
||||
|
||||
this is
|
||||
literal block
|
||||
|
||||
Missing literal block::
|
||||
|
||||
That's all.
|
||||
39
tests/roots/test-intl/refs_inconsistency.po
Normal file
39
tests/roots/test-intl/refs_inconsistency.po
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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-12-05 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 refs inconsistency"
|
||||
msgstr "I18N WITH REFS INCONSISTENCY"
|
||||
|
||||
msgid "[100]_ for [#]_ footnote [ref2]_."
|
||||
msgstr "FOR FOOTNOTE [ref2]_."
|
||||
|
||||
msgid "for reference_."
|
||||
msgstr "reference_ FOR reference_."
|
||||
|
||||
msgid "normal text."
|
||||
msgstr "ORPHAN REFERENCE: `I18N WITH REFS INCONSISTENCY`_."
|
||||
|
||||
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."
|
||||
|
||||
msgid "This is a numbered footnote."
|
||||
msgstr "THIS IS A NUMBERED FOOTNOTE."
|
||||
|
||||
13
tests/roots/test-intl/refs_inconsistency.txt
Normal file
13
tests/roots/test-intl/refs_inconsistency.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
:tocdepth: 2
|
||||
|
||||
i18n with refs inconsistency
|
||||
=============================
|
||||
|
||||
* [100]_ for [#]_ footnote [ref2]_.
|
||||
* for reference_.
|
||||
* normal text.
|
||||
|
||||
.. [#] This is a auto numbered footnote.
|
||||
.. [ref2] This is a named footnote.
|
||||
.. [100] This is a numbered footnote.
|
||||
.. _reference: http://www.example.com
|
||||
2
tests/roots/test-intl/subdir/contents.txt
Normal file
2
tests/roots/test-intl/subdir/contents.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
subdir contents
|
||||
===============
|
||||
Reference in New Issue
Block a user