Some fixes for language and voice scripts:

Languages:
  * Get rid of leading space on LANG_ID3_VBR [ " (VBR)" ]
  * Fix up sole user to insert the space programmically
 updatelang:
  * strip leading and trailing spaces on all phrases except VOICE_PAUSE
 voice.pl
  * Debug logging with UTF-8 output
  * Explicitly delete tab character from voiced strings

Change-Id: Ie466793479ce15ce7a9553770583a070530e7afd
This commit is contained in:
Solomon Peachy 2025-04-29 18:49:13 -04:00
parent 0ea02f0268
commit 12b9419006
47 changed files with 110 additions and 106 deletions

View file

@ -666,7 +666,8 @@ static const char * id3_get_or_speak_info(int selected_item, void* data,
case LANG_ID3_BITRATE:
if (!id3->bitrate)
return NULL;
snprintf(buffer, buffer_len, "%d kbps%s", id3->bitrate,
snprintf(buffer, buffer_len, "%d kbps%s%s", id3->bitrate,
id3->vbr ? " " : "",
id3->vbr ? str(LANG_ID3_VBR) : (const unsigned char*) "");
val=buffer;
if(say_it)