summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Farago <sensej007@email.cz>2021-12-01 16:43:06 +0100
committerTomas Farago <sensej007@email.cz>2021-12-01 16:43:06 +0100
commit2d087e948b9976a772bedafb93fee2d92eb00cd2 (patch)
treec88bcd59500accd16374b25a690a84f4181d4861
parentb3dddf257c7d987b0f6834508a0e16240ad139dd (diff)
downloadufo-filters-2d087e948b9976a772bedafb93fee2d92eb00cd2.tar.gz
ufo-filters-2d087e948b9976a772bedafb93fee2d92eb00cd2.tar.bz2
ufo-filters-2d087e948b9976a772bedafb93fee2d92eb00cd2.tar.xz
ufo-filters-2d087e948b9976a772bedafb93fee2d92eb00cd2.zip
docs: replace l_ with _ in sphinx
-rw-r--r--docs/sphinxgobject/domain.py6
1 files 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 = {