aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorSimon Arlott <sa.me.uk>2022-04-24 10:10:31 +0100
committerEli Schwartz <eschwartz93@gmail.com>2022-04-24 06:57:43 -0400
commit660bfa6e7c8dfb7bd8bffdb68c053e1a22945f8a (patch)
tree127ac22d56ad8ad0dcf8150680b343e185dbf90a /docs/markdown
parentb78d33f0b50cbb54250338e7c52c8c67c0d722e1 (diff)
downloadmeson-660bfa6e7c8dfb7bd8bffdb68c053e1a22945f8a.zip
meson-660bfa6e7c8dfb7bd8bffdb68c053e1a22945f8a.tar.gz
meson-660bfa6e7c8dfb7bd8bffdb68c053e1a22945f8a.tar.bz2
docs: Remove deprecated meson.source_root() from localisation page example
Meson already supplies the same value
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Localisation.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/markdown/Localisation.md b/docs/markdown/Localisation.md
index a826f8d..2a31cb3 100644
--- a/docs/markdown/Localisation.md
+++ b/docs/markdown/Localisation.md
@@ -47,9 +47,7 @@ global.
i18n = import('i18n')
# define GETTEXT_PACKAGE
add_project_arguments('-DGETTEXT_PACKAGE="intltest"', language:'c')
-i18n.gettext(meson.project_name(),
- args: '--directory=' + meson.source_root()
-)
+i18n.gettext(meson.project_name())
```
The first command imports the `i18n` module that provides gettext