diff options
author | Adam Spiers <aspiers@suse.com> | 2019-06-12 12:14:41 +0100 |
---|---|---|
committer | Adam Spiers <aspiers@suse.com> | 2019-06-12 12:14:41 +0100 |
commit | 7934e6f40554303067366897278ba8ba3adc6599 (patch) | |
tree | 705562871a6e1a9b2fa916dc48daa5b2a3c591cc | |
parent | 746be6362b94f940a5f8e254c1897fd6da0fd598 (diff) | |
download | oslo-i18n-7934e6f40554303067366897278ba8ba3adc6599.tar.gz |
Clarify that translation strings are extracted via source inspection
Make it clearer why the function argument to _() etc. has to be a
string, by explicitly mentioning source inspection, as suggested by
Doug:
https://review.opendev.org/#/c/664670/1/doc/source/user/guidelines.rst@164
Change-Id: I87212a709b9e474238f4a4feca5ed806cfb4bd49
-rw-r--r-- | doc/source/user/guidelines.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/user/guidelines.rst b/doc/source/user/guidelines.rst index e24ea49..ac253df 100644 --- a/doc/source/user/guidelines.rst +++ b/doc/source/user/guidelines.rst @@ -95,8 +95,8 @@ Using a Marker Function The marker functions are used to mark the translatable strings in the code. The strings are extracted into catalogs using a tool that -looks for these specific markers, so the function argument must just -be a string. +performs source inspection to look for these specific markers, so the +function argument must just be a string. For example: **do not do this**:: |