Merge pull request #1953 from umbraco/v14/bugfix/translation-smallcustom
The document `Custom` status is not translated correctly
This commit is contained in:
@@ -26,7 +26,7 @@ const mainMap = buildMap(mainKeys);
|
||||
const keys = Array.from(mainMap.keys());
|
||||
const usedKeys = new Set();
|
||||
|
||||
const elementAndControllerFiles = await glob(`${__dirname}/../../src/**/*.ts`);
|
||||
const elementAndControllerFiles = await glob(`${__dirname}/../../src/**/*.ts`, { filesOnly: true });
|
||||
|
||||
console.log(`Checking ${elementAndControllerFiles.length} files for unused keys`);
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ export function getDocumentHistoryTagStyleAndText(type: UmbDocumentAuditLogType)
|
||||
case UmbDocumentAuditLog.CUSTOM:
|
||||
return {
|
||||
style: { look: 'placeholder', color: 'default' },
|
||||
text: { label: 'auditTrails_custom', desc: '' },
|
||||
text: { label: 'auditTrails_smallCustom', desc: 'auditTrails_custom' },
|
||||
};
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user