From 7934e6f40554303067366897278ba8ba3adc6599 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Wed, 12 Jun 2019 12:14:41 +0100 Subject: 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 --- doc/source/user/guidelines.rst | 4 ++-- 1 file 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**:: -- cgit v1.2.1