Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ <h1>{{ t("title") }}</h1>
formControlName="translationLanguageName"
[placeholder]="t('translation_language_name_placeholder')"
/>
@if (signupForm.controls.translationLanguageName.hasError("required")) {
<mat-error>{{ t("translation_language_name_required") }}</mat-error>
}
</mat-form-field>
</div>

Expand All @@ -80,6 +83,9 @@ <h1>{{ t("title") }}</h1>
formControlName="translationLanguageIsoCode"
[placeholder]="t('translation_language_iso_placeholder')"
/>
@if (signupForm.controls.translationLanguageIsoCode.hasError("required")) {
<mat-error>{{ t("translation_language_iso_required") }}</mat-error>
}
</mat-form-field>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -972,8 +972,10 @@
"title": "Sign up for draft generation",
"translation_language_iso_label": "Translation language ISO code",
"translation_language_iso_placeholder": "e.g. swa, tpi",
"translation_language_iso_required": "Translation language ISO code is required",
"translation_language_name_label": "Translation language name",
"translation_language_name_placeholder": "e.g. Swahili, Tok Pisin"
"translation_language_name_placeholder": "e.g. Swahili, Tok Pisin",
"translation_language_name_required": "Translation language name is required"
},
"users": {
"collaborators": "Collaborators",
Expand Down
Loading