From bfec9a58f927cbe00bc603c4909833674785d314 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Mon, 31 May 2021 11:56:48 +0200 Subject: [PATCH] [FIX] code: typos --- conf.py | 2 +- extensions/github_link/__init__.py | 2 +- extensions/odoo_theme/static/scss/bootstrap_scss/_tables.scss | 2 +- static/js/entries.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.py b/conf.py index 9499ec7bb..b5fde0d2b 100644 --- a/conf.py +++ b/conf.py @@ -131,7 +131,7 @@ github_project = 'documentation' locale_dirs = ['../locale/'] -# custom docname_to_domain to devide the translations of applications in subdirectories +# custom docname_to_domain to divide the translations of applications in subdirectories sphinx.transforms.i18n.docname_to_domain = ( sphinx.util.i18n.docname_to_domain ) = lambda docname, compact: docname.split('/')[1 if docname.startswith('applications/') else 0] diff --git a/extensions/github_link/__init__.py b/extensions/github_link/__init__.py index 5d1752c5e..0c2bf6722 100644 --- a/extensions/github_link/__init__.py +++ b/extensions/github_link/__init__.py @@ -110,7 +110,7 @@ def add_doc_link(app, pagename, templatename, context, doctree): return # FIXME: find other way to recover current document's source suffix - # in Sphinx 1.3 it's possible to have mutliple source suffixes and that + # in Sphinx 1.3 it's possible to have multiple source suffixes and that # may be useful in the future source_suffix = app.config.source_suffix source_suffix = next(iter(source_suffix)) diff --git a/extensions/odoo_theme/static/scss/bootstrap_scss/_tables.scss b/extensions/odoo_theme/static/scss/bootstrap_scss/_tables.scss index 506c60be0..09626add3 100644 --- a/extensions/odoo_theme/static/scss/bootstrap_scss/_tables.scss +++ b/extensions/odoo_theme/static/scss/bootstrap_scss/_tables.scss @@ -71,7 +71,7 @@ // // When borders are added on all sides of the cells, the corners can render odd when // these borders do not have the same color or if they are semi-transparent. -// Therefor we add top and border bottoms to the `tr`s and left and right borders +// Therefore we add top and border bottoms to the `tr`s and left and right borders // to the `td`s or `th`s .table-bordered { diff --git a/static/js/entries.js b/static/js/entries.js index 716aba871..d2a3bdad0 100644 --- a/static/js/entries.js +++ b/static/js/entries.js @@ -160,7 +160,7 @@ ], configuration: [ "Revenue: defined on the product, or the product category if not on the product, field Income Account", - "Defered Tax Liabilities: defined on the tax used on the invoice line", + "Deferred Tax Liabilities: defined on the tax used on the invoice line", "Accounts Receivable: defined on the customer (property)", "Inventory: defined on the category of the related product (property)", "Expenses: defined on the product, or the category of product (property)",