From 3dd2f82be841f40cd7dc4f4d068be9709903c6ea Mon Sep 17 00:00:00 2001 From: Vlad Boisa <60569670+vladboisa@users.noreply.github.com> Date: Sat, 10 May 2025 03:26:35 +0000 Subject: [PATCH] docs: fix typos (#61257) Change grammar and fix typos in docs Fixes #61244 PR Close #61257 --- .../best-practices/runtime-performance/zone-pollution.md | 2 +- adev/src/content/guide/forms/form-validation.md | 2 +- adev/src/content/guide/i18n/merge.md | 2 +- adev/src/content/guide/i18n/prepare.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/adev/src/content/best-practices/runtime-performance/zone-pollution.md b/adev/src/content/best-practices/runtime-performance/zone-pollution.md index d1b6d729d6d..e232ec090b5 100644 --- a/adev/src/content/best-practices/runtime-performance/zone-pollution.md +++ b/adev/src/content/best-practices/runtime-performance/zone-pollution.md @@ -120,4 +120,4 @@ class AppComponent implements OnInit { } -The scenario of dispatching events outside of the Angular zone may also arise. It's important to remember that triggering change detection (for example, manually) may result to the creation/update of views outside of the Angular zone. \ No newline at end of file +The scenario of dispatching events outside of the Angular zone may also arise. It's important to remember that triggering change detection (for example, manually) may result in the creation/update of views outside of the Angular zone. \ No newline at end of file diff --git a/adev/src/content/guide/forms/form-validation.md b/adev/src/content/guide/forms/form-validation.md index 699eed94cc0..e36fcee4af6 100644 --- a/adev/src/content/guide/forms/form-validation.md +++ b/adev/src/content/guide/forms/form-validation.md @@ -268,7 +268,7 @@ The following code creates the validator class, `UniqueRoleValidator`, which imp -The `actorsService` property is initialized with an instace of the `ActorsService` token, which defines the following interface. +The `actorsService` property is initialized with an instance of the `ActorsService` token, which defines the following interface. interface ActorsService { diff --git a/adev/src/content/guide/i18n/merge.md b/adev/src/content/guide/i18n/merge.md index caf0bdf9dc4..55a58ebbedd 100644 --- a/adev/src/content/guide/i18n/merge.md +++ b/adev/src/content/guide/i18n/merge.md @@ -4,7 +4,7 @@ To merge the completed translations into your project, complete the following ac 1. Use the [Angular CLI][CliMain] to build a copy of the distributable files of your project 1. Use the `"localize"` option to replace all of the i18n messages with the valid translations and build a localized variant application. - A variant application is a complete a copy of the distributable files of your application translated for a single locale. + A variant application is a complete copy of the distributable files of your application translated for a single locale. After you merge the translations, serve each distributable copy of the application using server-side language detection or different subdirectories. diff --git a/adev/src/content/guide/i18n/prepare.md b/adev/src/content/guide/i18n/prepare.md index d17b565665f..88482a6ad4f 100644 --- a/adev/src/content/guide/i18n/prepare.md +++ b/adev/src/content/guide/i18n/prepare.md @@ -32,7 +32,7 @@ To mark the greeting for translation, add the `i18n` attribute to the `

` tag ### using conditional statement with `i18n` -The following `
` tag will display translated text as part of `div` and `aria-label` based on toggle status +The following `
` tag will display translated text as part of `div` and `aria-label` based on toggle status @@ -223,7 +223,7 @@ An ICU expression includes a component property, an ICU clause, and the case sta -The component property defines the variable +The component property defines the variable. An ICU clause defines the type of conditional text. | ICU clause | Details |