Optionalmetadata: stringProtectedaddHelper method to add extracted strings to the map, handling duplicates
Map to store extracted strings
Lowercase key for deduplication
Original string with proper casing
Metadata about where the string was found
Create a copy of the pageset with audio recordings added
Extract buttons from a specific page that need audio recordings
Extract strings with metadata for aac-tools-platform compatibility Uses the generic implementation from BaseProcessor
ProtectedextractGeneric implementation for extracting strings with metadata Can be used by any processor that doesn't need format-specific logic
Path to the AAC file
Promise with extracted strings and metadata
ProtectedfilterGenerate translated download for aac-tools-platform compatibility Uses the generic implementation from BaseProcessor
ProtectedgenerateGeneric implementation for generating translated downloads Can be used by any processor that doesn't need format-specific logic
Path to the original AAC file
Array of translated string data
Array of source string data
Promise with path to the generated translated file
ProtectedgenerateGenerate output path for translated file based on input file extension
Original file path
Path for the translated output file
ProtectedshouldValidate Snap file format
Path to the file to validate
Promise with validation result
Add audio recording to a button in the database