diff --git a/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.html b/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.html index 846bfa879ed..3d2904450b6 100644 --- a/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.html +++ b/src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.html @@ -1,6 +1,10 @@ - {{ defaultLanguageLabelRef.nativeElement.innerHTML }} + {{ defaultLanguageLabelRef.nativeElement.innerHTML }} ({{ + currentLanguage().language + }}) ; @ContentChild(MatInput) defaultLanguageInput: MatInput; @ContentChild(MatLabel, { read: ElementRef }) defaultLanguageLabelRef: ElementRef; protected defaultLanguageText: Signal; @@ -26,6 +28,7 @@ export class TranslatableInputComponent { private projectService: TeacherProjectService, private translateProjectService: TranslateProjectService ) { + this.currentLanguage = projectService.currentLanguage; this.showTranslationInput = computed(() => !this.projectService.isDefaultLocale()); } diff --git a/src/messages.xlf b/src/messages.xlf index 3d53bb7f6c4..49dad218fe5 100644 --- a/src/messages.xlf +++ b/src/messages.xlf @@ -10123,18 +10123,11 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.75 - - - - src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.html - 3 - - (: ) src/assets/wise5/authoringTool/components/translatable-input/translatable-input.component.ts - 41,43 + 44,46