mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2874: gettext builder could not extract all text under the `only` directives
This commit is contained in:
29
tests/roots/test-intl/only.po
Normal file
29
tests/roots/test-intl/only.po
Normal file
@@ -0,0 +1,29 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2010, Georg Brandl & Team
|
||||
# This file is distributed under the same license as the Sphinx <Tests> package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sphinx <Tests> 0.6\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-02-04 13:06+0000\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 "Only directive"
|
||||
msgstr "ONLY DIRECTIVE"
|
||||
|
||||
msgid "In HTML."
|
||||
msgstr "IN HTML."
|
||||
|
||||
msgid "In LaTeX."
|
||||
msgstr "IN LATEX."
|
||||
|
||||
msgid "In both."
|
||||
msgstr "IN BOTH."
|
||||
14
tests/roots/test-intl/only.txt
Normal file
14
tests/roots/test-intl/only.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Only directive
|
||||
--------------
|
||||
|
||||
.. only:: html
|
||||
|
||||
In HTML.
|
||||
|
||||
.. only:: latex
|
||||
|
||||
In LaTeX.
|
||||
|
||||
.. only:: html or latex
|
||||
|
||||
In both.
|
||||
Reference in New Issue
Block a user