UNPKG

@jsverse/transloco-keys-manager

Version:

Extract translatable keys from projects that uses Transloco

22 lines 1.14 kB
export const messages = { keepFlat: 'Keep certain keys flat?', keysFound: (keysCount, filesCount) => `${keysCount} keys were found in ${filesCount} ${filesCount > 1 ? 'files' : 'file'}.`, startBuild: (langsCount) => `Starting Translation ${langsCount > 1 ? 'Files' : 'File'} Build`, startSearch: 'Starting Search For Missing Keys', extract: 'Extracting Template and Component Keys', creatingFiles: 'Created the following translation files:', merged: (len) => `Existing translation file${len > 1 ? 's were' : ' was'} found and merged`, checkMissing: 'Checking for missing keys', pathDoesntExist: `path provided doesn't exist!`, pathIsNotDir: `requires a directory.`, summary: 'Summary', noMissing: 'No missing keys were found', defaultValue: 'Enter default key value', addMissing: 'Add missing keys automatically?', missingValue: 'Missing value for', done: 'Done!', problematicKeysForUnflat: (keys) => `The following keys won't be accessible when unflatting the object:\n ${keys .map((k) => `"${k}"`) .join(', ')}`, }; //# sourceMappingURL=messages.js.map