Commit b420cdbe authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #17812 TIME 0:05 wording

parent 7aba904d
......@@ -79,7 +79,7 @@ export class ContinueAvisCircuitActionComponent implements OnInit {
}
executeAction(realResSelected: number[]) {
const noteContent: string = `[${this.translate.instant('lang.avisUserState')}] ${this.noteEditor.getNoteContent()}`;
const noteContent: string = `[${this.translate.instant('lang.opinionUserState')}] ${this.noteEditor.getNoteContent()}`;
this.noteEditor.setNoteContent(noteContent);
this.http.put(this.data.processActionRoute, {resources : realResSelected, note: this.noteEditor.getNote()}).pipe(
tap((data: any) => {
......
......@@ -92,8 +92,8 @@ export class GiveAvisParallelActionComponent implements OnInit {
executeAction(realResSelected: number[]) {
const delegateMsg: string = this.translate.instant('lang.insteadOf').replace(/^.{1}/g, this.translate.instant('lang.insteadOf')[0].toLowerCase());
const avisUserState: string = this.delegation.isDelegated ? `${this.translate.instant('lang.avisUserState').toUpperCase()} ${delegateMsg} ${this.delegation.userDelegated}` : this.translate.instant('lang.avisUserState');
const noteContent: string = `[${avisUserState}] ${this.noteEditor.getNoteContent()}`;
const opinionUserState: string = this.delegation.isDelegated ? `${this.translate.instant('lang.opinionUserState').toUpperCase()} ${delegateMsg} ${this.delegation.userDelegated}` : this.translate.instant('lang.opinionUserState');
const noteContent: string = `[${opinionUserState}] ${this.noteEditor.getNoteContent()}`;
this.noteEditor.setNoteContent(noteContent);
this.http.put(this.data.processActionRoute, { resources: realResSelected, note: this.noteEditor.getNote()}).pipe(
tap((data: any) => {
......
......@@ -56,7 +56,7 @@ export class NoteEditorComponent implements OnInit {
if (this.upMode) {
this.content = this.noteContent;
if (this.content.startsWith(`[${this.translate.instant('lang.avisUserState')}]`) || this.content.startsWith(`[${this.translate.instant('lang.avisUserAsk').toUpperCase()}]`)) {
if (this.content.startsWith(`[${this.translate.instant('lang.opinionUserState')}]`) || this.content.startsWith(`[${this.translate.instant('lang.avisUserAsk').toUpperCase()}]`)) {
this.disableRestriction = true;
}
this.entitiesRestriction = this.entitiesNoteRestriction;
......
......@@ -206,7 +206,7 @@
"avisAnswerDesc": "Allow this group to appear in the counsellor's list (sequential and parallel opinion workflow)",
"avisSent": "Opinion given",
"avisUserAsk": "for opinion",
"avisUserState": "opinion",
"opinionUserState": "opinion",
"avisWorkflowDeleted": "Opinion workflow deleted",
"avisWorkflowUpdated": "Opinion workflow updated",
"back": "Back",
......
......@@ -212,7 +212,7 @@
"avisAnswerDesc": "Permet à ce groupe d'apparaître dans la liste des personnes pouvant donner son avis (parallèle et séquentiel)",
"avisSent": "Avis donné",
"avisUserAsk": "pour avis",
"avisUserState": "avis",
"opinionUserState": "avis",
"avisWorkflowDeleted": "Circuit d'avis supprimé",
"avisWorkflowUpdated": "Circuit d'avis modifié",
"back": "Retour",
......
......@@ -1471,7 +1471,7 @@
"askOpinion": "Several users ask your opinion__TO_TRANSLATE",
"askOpinionUser": "ask your opinion__TO_TRANSLATE",
"avisUserAsk": "for opinion__TO_TRANSLATE",
"avisUserState": "opinion__TO_TRANSLATE",
"opinionUserState": "opinion__TO_TRANSLATE",
"userNotInDiffusionList": "You are not in opinion diffusion list__TO_TRANSLATE",
"noOpinionLimitDate": "The opinion limit date is not defined__TO_TRANSLATE",
"noOpinionNote": "The reason is not defined__TO_TRANSLATE",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment