mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5514 from tk0miya/refactor_latex3
Rename sphinxmessage.sty to sphinxmessages.sty (plural)
This commit is contained in:
commit
25678f391d
@ -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())
|
||||
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
<%= hyperref %>
|
||||
<%= contentsname %>
|
||||
<%= numfig_format %>
|
||||
\input{sphinxmessage.sty}
|
||||
\input{sphinxmessages.sty}
|
||||
<%= pageautorefname %>
|
||||
<%= tocdepth %>
|
||||
<%= secnumdepth %>
|
||||
|
@ -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 %>}
|
Loading…
Reference in New Issue
Block a user