mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(docs-infra): fix wording inconsistency of the i18n common prepare section references (#47582)
PR Close #47582
This commit is contained in:
parent
fbcddb092f
commit
b0318f8b39
4 changed files with 9 additions and 9 deletions
|
|
@ -243,7 +243,7 @@ Besides the configuration file, you can also use [`tsc` command line options](ht
|
|||
|
||||
<!-- links -->
|
||||
|
||||
[AioGuideI18nCommonPrepareMarkTextInComponentTemplate]: guide/i18n-common-prepare#mark-text-in-component-template "Mark text in component template - Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkTextInComponentTemplate]: guide/i18n-common-prepare#mark-text-in-component-template "Mark text in component template - Prepare component for translation | Angular"
|
||||
|
||||
<!-- end links -->
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ The locale specified for the `CurrencyPipe` overrides the global `LOCALE_ID` tok
|
|||
|
||||
## What's next
|
||||
|
||||
* [Prepare templates for translations][AioGuideI18nCommonPrepare]
|
||||
* [Prepare component for translation][AioGuideI18nCommonPrepare]
|
||||
|
||||
<!-- links -->
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ The locale specified for the `CurrencyPipe` overrides the global `LOCALE_ID` tok
|
|||
|
||||
[AioGuideGlossaryPipe]: guide/glossary#pipe "pipe - Glossary | Angular"
|
||||
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare component for translation | Angular"
|
||||
|
||||
<!-- external links -->
|
||||
|
||||
|
|
|
|||
|
|
@ -467,12 +467,12 @@ The following code example shows nested clauses based on the `gender` and `minut
|
|||
|
||||
[AioGuideGlossaryInterpolation]: guide/glossary#interpolation "interpolation - Glossary | Angular"
|
||||
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepareAddHelpfulDescriptionsAndMeanings]: guide/i18n-common-prepare#add-helpful-descriptions-and-meanings "Add helpful descriptions and meanings - Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare component for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareAddHelpfulDescriptionsAndMeanings]: guide/i18n-common-prepare#add-helpful-descriptions-and-meanings "Add helpful descriptions and meanings - Prepare component for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkAlternatesAndNestedExpressions]: guide/i18n-common-prepare#mark-alternates-and-nested-expressions "Mark alternates and nested expressions - Prepare templates for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkElementAttributesForTranslations]: guide/i18n-common-prepare#mark-element-attributes-for-translations "Mark element attributes for translations - Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkElementAttributesForTranslations]: guide/i18n-common-prepare#mark-element-attributes-for-translations "Mark element attributes for translations - Prepare component for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkPlurals]: guide/i18n-common-prepare#mark-plurals "Mark plurals - Prepare component for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkTextInComponentTemplate]: guide/i18n-common-prepare#mark-text-in-component-template "Mark text in component template - Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepareMarkTextInComponentTemplate]: guide/i18n-common-prepare#mark-text-in-component-template "Mark text in component template - Prepare component for translation | Angular"
|
||||
|
||||
[AioGuideI18nCommonTranslationFiles]: guide/i18n-common-translation-files "Work with translation files | Angular"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
After you prepare a component for translation, use the [`extract-i18n`][AioCliExtractI18n] [Angular CLI][AioCliMain] command to extract the marked text in the component into a *source language* file.
|
||||
|
||||
The marked text includes text marked with `i18n`, attributes marked with `i18n-`*attribute*, and text tagged with `$localize` as described in [Prepare templates for translations][AioGuideI18nCommonPrepare].
|
||||
The marked text includes text marked with `i18n`, attributes marked with `i18n-`*attribute*, and text tagged with `$localize` as described in [Prepare component for translation][AioGuideI18nCommonPrepare].
|
||||
|
||||
Complete the following steps to create and update translation files for your project.
|
||||
|
||||
|
|
@ -244,7 +244,7 @@ The following example displays both translation units after translating.
|
|||
|
||||
[AioGuideI18nCommonMerge]: guide/i18n-common-merge "Merge translations into the application | Angular"
|
||||
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare templates for translations | Angular"
|
||||
[AioGuideI18nCommonPrepare]: guide/i18n-common-prepare "Prepare component for translation | Angular"
|
||||
[AioGuideI18nCommonPrepareAddHelpfulDescriptionsAndMeanings]: guide/i18n-common-prepare#add-helpful-descriptions-and-meanings "Add helpful descriptions and meanings - Prepare component for translation | Angular"
|
||||
|
||||
[AioGuideI18nCommonTranslationFilesCreateATranslationFileForEachLanguage]: guide/i18n-common-translation-files#create-a-translation-file-for-each-language "Create a translation file for each language - Work with translation files | Angular"
|
||||
|
|
|
|||
Loading…
Reference in a new issue