This commit is contained in:
Timo Bejan 2023-01-31 12:39:17 +07:00
parent bf4b0390d3
commit 720d9d5687
7 changed files with 8 additions and 0 deletions

View File

@ -13,4 +13,5 @@ export const defaultColorsTranslations: { readonly [key in DefaultColorType]?: s
hintColor: _('default-colors-screen.types.hintColor'), hintColor: _('default-colors-screen.types.hintColor'),
redactionColor: _('default-colors-screen.types.redactionColor'), redactionColor: _('default-colors-screen.types.redactionColor'),
skippedColor: _('default-colors-screen.types.skippedColor'), skippedColor: _('default-colors-screen.types.skippedColor'),
appliedRedactionColor: _('default-colors-screen.types.appliedRedactionColor'),
} as const; } as const;

View File

@ -634,6 +634,7 @@
}, },
"types": { "types": {
"analysisColor": "Analyse", "analysisColor": "Analyse",
"appliedRedactionColor": "Applied Redaction",
"dictionaryRequestColor": "Wörterbuch", "dictionaryRequestColor": "Wörterbuch",
"hintColor": "", "hintColor": "",
"ignoredHintColor": "Ignorierter Hinweis", "ignoredHintColor": "Ignorierter Hinweis",

View File

@ -634,6 +634,7 @@
}, },
"types": { "types": {
"analysisColor": "Analysis", "analysisColor": "Analysis",
"appliedRedactionColor": "Applied Redaction",
"dictionaryRequestColor": "Dictionary Request", "dictionaryRequestColor": "Dictionary Request",
"hintColor": "Hint", "hintColor": "Hint",
"ignoredHintColor": "Ignored Hint", "ignoredHintColor": "Ignored Hint",

View File

@ -634,6 +634,7 @@
}, },
"types": { "types": {
"analysisColor": "Analyse", "analysisColor": "Analyse",
"appliedRedactionColor": "Applied Redaction",
"dictionaryRequestColor": "Wörterbuch", "dictionaryRequestColor": "Wörterbuch",
"hintColor": "", "hintColor": "",
"ignoredHintColor": "Ignorierter Hinweis", "ignoredHintColor": "Ignorierter Hinweis",

View File

@ -634,6 +634,7 @@
}, },
"types": { "types": {
"analysisColor": "Analysis", "analysisColor": "Analysis",
"appliedRedactionColor": "Applied Redaction",
"dictionaryRequestColor": "Dictionary Request", "dictionaryRequestColor": "Dictionary Request",
"hintColor": "Hint", "hintColor": "Hint",
"ignoredHintColor": "Ignored Hint", "ignoredHintColor": "Ignored Hint",

View File

@ -10,6 +10,7 @@ export const DefaultColorTypes = [
'redactionColor', 'redactionColor',
'ignoredHintColor', 'ignoredHintColor',
'skippedColor', 'skippedColor',
'appliedRedactionColor',
] as const; ] as const;
export type DefaultColorType = typeof DefaultColorTypes[number]; export type DefaultColorType = typeof DefaultColorTypes[number];

View File

@ -14,6 +14,7 @@ export class DefaultColors extends Entity<IDefaultColors> implements IDefaultCol
readonly redactionColor: string; readonly redactionColor: string;
readonly ignoredHintColor: string; readonly ignoredHintColor: string;
readonly skippedColor: string; readonly skippedColor: string;
readonly appliedRedactionColor: string;
readonly routerLink = ''; readonly routerLink = '';
@ -31,6 +32,7 @@ export class DefaultColors extends Entity<IDefaultColors> implements IDefaultCol
this.redactionColor = entity.redactionColor; this.redactionColor = entity.redactionColor;
this.ignoredHintColor = entity.ignoredHintColor; this.ignoredHintColor = entity.ignoredHintColor;
this.skippedColor = entity.skippedColor; this.skippedColor = entity.skippedColor;
this.appliedRedactionColor = entity.appliedRedactionColor;
} }
get id(): string { get id(): string {