summaryrefslogtreecommitdiff
path: root/sphinx/cmd/quickstart.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-07 01:28:10 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-24 01:30:44 +0000
commitc7d7f2951d0c43280f78c84b65df11d207ea6177 (patch)
tree49a04b6d81abe127c3889da0e4d1bd98df31624e /sphinx/cmd/quickstart.py
parent7d928b3e7910d9bd5b232548a2d5998331c29b59 (diff)
downloadsphinx-git-c7d7f2951d0c43280f78c84b65df11d207ea6177.tar.gz
Remove ``sphinx.locale.setlocale``
Diffstat (limited to 'sphinx/cmd/quickstart.py')
-rw-r--r--sphinx/cmd/quickstart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py
index 17ae61208..6122ddd98 100644
--- a/sphinx/cmd/quickstart.py
+++ b/sphinx/cmd/quickstart.py
@@ -540,8 +540,8 @@ def get_parser() -> argparse.ArgumentParser:
def main(argv: list[str] = sys.argv[1:]) -> int:
- sphinx.locale.setlocale(locale.LC_ALL, '')
- sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx')
+ locale.setlocale(locale.LC_ALL, '')
+ sphinx.locale.init_console()
if not color_terminal():
nocolor()