From 8b8c0c7c2ac40cd729a9eeb39189c184978b6d57 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 23 May 2024 21:36:54 -0400 Subject: checkwps: Validate translated strings (%Sx) In verbose mode it will log valid the strings found, otherwise it will only complain when we encounter a missing string. Unfortunately a missing string is not inherently a problem, due to conditional expressions. So all we can do is complain in checkwps or if wps debugging is turned on. Meanwhile, this is the first step in actually enumerating the translated strings used by themes. Change-Id: Ia93b333085e825d5b085c4d372ad8e13aa3e3ba1 --- firmware/export/button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/button.h') diff --git a/firmware/export/button.h b/firmware/export/button.h index 3abad2d4f0..75a72ab66e 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -24,7 +24,7 @@ #include #include #include "config.h" -#ifndef __PCTOOL__ +#if defined(CHECKWPS) || !defined(__PCTOOL__) #include "button-target.h" #endif -- cgit v1.2.3