Skip to content

Commit

Permalink
Merge pull request #42 from soishino/doc-build-command
Browse files Browse the repository at this point in the history
Fix "build" subcommand/method documentation
  • Loading branch information
tk0miya committed Sep 27, 2020
2 parents 3337c65 + 3d20865 commit eacbf3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sphinx_intl/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def update(locale_dir, pot_dir, languages, line_width=76):

def build(locale_dir, output_dir, languages):
"""
Update specified language's po files from pot.
Build specified language's po files into mo.
:param unicode locale_dir: path for locale directory
:param unicode output_dir: path for mo output directory
Expand Down
2 changes: 1 addition & 1 deletion sphinx_intl/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def update(locale_dir, pot_dir, language, line_width):
@option_language
def build(locale_dir, output_dir, language):
"""
Update specified language's po files from pot.
Build specified language's po files into mo.
"""
if not language:
language = get_lang_dirs(locale_dir)
Expand Down

0 comments on commit eacbf3f

Please sign in to comment.