Merge pull request #5514 from tk0miya/refactor_latex3

Rename sphinxmessage.sty to sphinxmessages.sty (plural)
This commit is contained in:
Takeshi KOMIYA 2018-10-16 01:56:10 +09:00 committed by GitHub
commit 25678f391d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -394,7 +394,7 @@ class LaTeXBuilder(Builder):
def write_message_catalog(self):
# type: () -> None
filename = path.join(package_dir, 'templates', 'latex', 'sphinxmessage.sty_t')
filename = path.join(package_dir, 'templates', 'latex', 'sphinxmessages.sty_t')
copy_asset_file(filename, self.outdir, context={}, renderer=LaTeXRenderer())

View File

@ -36,7 +36,7 @@
<%= hyperref %>
<%= contentsname %>
<%= numfig_format %>
\input{sphinxmessage.sty}
\input{sphinxmessages.sty}
<%= pageautorefname %>
<%= tocdepth %>
<%= secnumdepth %>

View File

@ -1,3 +1,8 @@
%
% sphinxmessages.sty
%
% message resources for Sphinx
%
\renewcommand{\literalblockcontinuedname}{<%= _('continued from previous page') | e %>}
\renewcommand{\literalblockcontinuesname}{<%= _('continues on next page') | e %>}
\renewcommand{\sphinxnonalphabeticalgroupname}{<%= _('Non-alphabetical') | e %>}