Skip to content
Merged
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
15 changes: 11 additions & 4 deletions content/docs/analyzers/LinterCop/LC0091.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,21 @@ Add the translation to the XLIFF file (`Translations/MyApp.da-DK.xlf`):

| Element | Properties checked |
|---|---|
| Tables, table extensions, enums, enum values, XmlPorts, permission sets, profiles | Caption |
| Reports | Caption, ToolTip |
| Tables, table extensions, enums, enum values, XmlPorts, permission sets | Caption |
| Profiles, profile extensions | Caption, ProfileDescription |
| Reports | Caption, ToolTip, AdditionalSearchTerms |
| Table fields | Caption, ToolTip |
| Pages | Caption, ToolTip, plus controls (Caption, ToolTip, OptionCaption) and actions (Caption, ToolTip) |
| Page extensions, queries | Caption, plus controls (Caption, ToolTip, OptionCaption) and actions (Caption, ToolTip) |
| Pages | Caption, ToolTip, InstructionalText, AdditionalSearchTerms, EntityCaption, EntitySetCaption, PromotedActionCategories, AboutTitle, AboutText, plus controls (Caption, ToolTip, OptionCaption) and actions (Caption, ToolTip) |
| Request pages | Caption, InstructionalText, AboutTitle, AboutText, plus controls (Caption, ToolTip, OptionCaption) and actions (Caption, ToolTip) |
| Page extensions | InstructionalText, AdditionalSearchTerms, PromotedActionCategories, AboutTitle, AboutText, plus added controls (Caption, ToolTip, OptionCaption) and added actions (Caption, ToolTip) |
| Request page extensions | Added controls (Caption, ToolTip, OptionCaption) and added actions (Caption, ToolTip) |
| Page customizations | PromotedActionCategories, AboutTitle, AboutText |
| Queries | Caption, EntityCaption, EntitySetCaption, AboutTitle, AboutText |
| Label variables (local and global) | The label value |
| Report labels | The label value |

The compiler derives extra `Category_<name>` caption entries from `PromotedActionCategories` on page extensions and page customizations. Those entries have no property of their own in the source, so the rule reports the `PromotedActionCategories` property instead.

By default, the rule checks every XLIFF file in the `Translations/` directory. Restrict which languages are checked by setting `LanguagesToTranslate` in `alcops.json`:

{{< highlight json >}}
Expand Down