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
This commit is contained in:
Adam Spiers 2019-06-12 12:14:41 +01:00
parent 746be6362b
commit 7934e6f405

View File

@ -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**::