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'),
redactionColor: _('default-colors-screen.types.redactionColor'),
skippedColor: _('default-colors-screen.types.skippedColor'),
appliedRedactionColor: _('default-colors-screen.types.appliedRedactionColor'),
} as const;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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