Skip to content

Commit

Permalink
Update translation to v2.7.0 (auto generated parts not included)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghuzi committed May 7, 2021
1 parent d463656 commit b84ab2a
Show file tree
Hide file tree
Showing 164 changed files with 13,815 additions and 3,908 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ dmypy.json
# Pyre type checker
.pyre/


.vscode/

build*
Expand All @@ -137,10 +136,10 @@ build*
# source/reference/visualization/generated/
source/tutorial/


.DS_Store

example*
*.db

MNIST
MNIST
FashionMNIST
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
optuna==2.6.0
optuna==2.7.0
sphinx
sphinx-rtd-theme
sphinx-copybutton
Expand Down
34 changes: 18 additions & 16 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ".rst"

# The master toctree document.
master_doc = 'index'
master_doc = "index"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand All @@ -85,24 +85,24 @@
exclude_patterns = []

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
pygments_style = "sphinx"

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
html_theme_options = {"logo_only": True, "navigation_with_keys": True}

html_favicon = '../image/favicon.ico'
html_favicon = "../image/favicon.ico"

html_logo = '../image/optuna-logo.png'
html_logo = "../image/optuna-logo.png"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand All @@ -123,23 +123,20 @@
# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'Optunadoc'
htmlhelp_basename = "Optunadoc"

# -- Options for LaTeX output ------------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',

# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
Expand All @@ -149,15 +146,20 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, "Optuna.tex", "Optuna Documentation", "Optuna Contributors.",
"manual"),
(
master_doc,
"Optuna.tex",
"Optuna Documentation",
"Optuna Contributors.",
"manual",
),
]

# -- Options for manual page output ------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [(master_doc, 'optuna', 'Optuna Documentation', [author], 1)]
man_pages = [(master_doc, "optuna", "Optuna Documentation", [author], 1)]

# -- Options for Texinfo output ----------------------------------------------

Expand All @@ -176,7 +178,7 @@
),
]

intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}

# -- Extension configuration -------------------------------------------------
autosummary_generate = True
Expand Down Expand Up @@ -214,5 +216,5 @@
plotly_html_show_formats = False
plotly_html_show_source_link = False

locale_dirs = ['locale/']
locale_dirs = ["locale/"]
gettext_compact = False # optional.
2 changes: 1 addition & 1 deletion source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Optuna has modern functionalities as follows:

- :doc:`Efficient optimization algorithms <tutorial/10_key_features/003_efficient_optimization_algorithms>`

- Adopt state-of-the-art algorithms for sampling hyper parameters and efficiently pruning unpromising trials.
- Adopt state-of-the-art algorithms for sampling hyperparameters and efficiently pruning unpromising trials.

- :doc:`Easy parallelization <tutorial/10_key_features/004_distributed>`

Expand Down
11 changes: 6 additions & 5 deletions source/locale/zh_CN/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Optuna 1.4.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-14 18:04-0500\n"
"POT-Creation-Date: 2021-05-06 17:44-0400\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"
Expand Down Expand Up @@ -61,7 +61,6 @@ msgid ""
msgstr "只需少量依赖, 简单安装完成后便可处理各种任务."

#: ../../source/index.rst:21

msgid ""
":doc:`Pythonic search spaces "
"<tutorial/10_key_features/002_configurations>`"
Expand All @@ -77,16 +76,18 @@ msgstr "利用熟悉的 Python 语法, 如 条件语句和循环来定义搜索
msgid ""
":doc:`Efficient optimization algorithms "
"<tutorial/10_key_features/003_efficient_optimization_algorithms>`"
msgstr ":doc:`高效的优化算法 <tutorial/10_key_features/003_efficient_optimization_algorithms>`"
msgstr ""
":doc:`高效的优化算法 "
"<tutorial/10_key_features/003_efficient_optimization_algorithms>`"

#: ../../source/index.rst:27
#, fuzzy
msgid ""
"Adopt state-of-the-art algorithms for sampling hyper parameters and "
"Adopt state-of-the-art algorithms for sampling hyperparameters and "
"efficiently pruning unpromising trials."
msgstr "采用了最先进的超参数采样和最有效的对无望 trial 进行剪枝的算法."

#: ../../source/index.rst:29

msgid ":doc:`Easy parallelization <tutorial/10_key_features/004_distributed>`"
msgstr ":doc:`易用的并行优化 <tutorial/10_key_features/004_distributed>`"

Expand Down

0 comments on commit b84ab2a

Please sign in to comment.