mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
ac20f8a73c
commit
8b8c0c7c2a
9 changed files with 72 additions and 24 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
#include "config.h"
|
||||
#ifndef __PCTOOL__
|
||||
#if defined(CHECKWPS) || !defined(__PCTOOL__)
|
||||
#include "button-target.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -915,7 +915,7 @@ Lyre prototype 1 */
|
|||
|
||||
/* Enable the directory cache and tagcache in RAM if we have
|
||||
* plenty of RAM. Both features can be enabled independently. */
|
||||
#if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && !defined(__PCTOOL__) \
|
||||
#if (MEMORYSIZE >= 8) && !defined(BOOTLOADER) && (defined(CHECKWPS) || !defined(__PCTOOL__)) \
|
||||
&& !defined(APPLICATION)
|
||||
#ifndef SIMULATOR
|
||||
#define HAVE_DIRCACHE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue