From 2d087e948b9976a772bedafb93fee2d92eb00cd2 Mon Sep 17 00:00:00 2001 From: Tomas Farago Date: Wed, 1 Dec 2021 16:43:06 +0100 Subject: docs: replace l_ with _ in sphinx --- docs/sphinxgobject/domain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sphinxgobject/domain.py b/docs/sphinxgobject/domain.py index 5cc4c4c..306a113 100644 --- a/docs/sphinxgobject/domain.py +++ b/docs/sphinxgobject/domain.py @@ -3,7 +3,7 @@ from docutils.parsers.rst import Directive from sphinx import addnodes from sphinx.domains import Domain, ObjType from sphinx.directives import ObjectDescription -from sphinx.locale import l_ +from sphinx.locale import _ from sphinx.roles import XRefRole from sphinx.util.docfields import Field from sphinx.util.nodes import make_refnode @@ -71,8 +71,8 @@ class GObjectDomain(Domain): name = 'gobj' object_types = { - 'class': ObjType(l_('class'), 'class'), - 'prop': ObjType(l_('prop'), 'prop'), + 'class': ObjType(_('class'), 'class'), + 'prop': ObjType(_('prop'), 'prop'), } directives = { -- cgit v1.2.3