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
10 changes: 6 additions & 4 deletions content/docs/analyzers/LinterCop/LC0091.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ Add the translation to the XLIFF file (`Translations/MyApp.da-DK.xlf`):
| Element | Properties checked |
|---|---|
| Tables, table extensions, enums, enum values, XmlPorts, permission sets | Caption |
| Table extensions, `modify(field)` | Caption, ToolTip, OptionCaption |
| Profiles, profile extensions | Caption, ProfileDescription |
| Reports | Caption, ToolTip, AdditionalSearchTerms |
| Table fields | Caption, ToolTip, OptionCaption |
| Field groups | Caption |
| Page views | Caption, including views a page extension adds |
| Page views | Caption, including views a page extension adds; controls modified in a view's `layout`: AboutTitle, AboutText |
| Report dataitems | RequestFilterHeading, including dataitems a report extension adds |
| Report columns | Caption, ToolTip, OptionCaption, including columns a report extension adds |
| Report layouts | Caption, Summary, including layouts a report extension adds |
Expand All @@ -61,13 +62,14 @@ Add the translation to the XLIFF file (`Translations/MyApp.da-DK.xlf`):
| Pages | Caption, ToolTip, InstructionalText, AdditionalSearchTerms, EntityCaption, EntitySetCaption, PromotedActionCategories, AboutTitle, AboutText, plus controls (Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText) and actions (Caption, ToolTip, AboutTitle, AboutText) |
| Request pages | Caption, InstructionalText, AboutTitle, AboutText, plus controls (Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText) and actions (Caption, ToolTip, AboutTitle, AboutText) |
| Page extensions | InstructionalText, AdditionalSearchTerms, PromotedActionCategories, AboutTitle, AboutText, plus added controls (Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText) and actions (Caption, ToolTip, AboutTitle, AboutText) |
| Request page extensions | Added controls (Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText) and actions (Caption, ToolTip, AboutTitle, AboutText) |
| Page customizations | PromotedActionCategories, AboutTitle, AboutText |
| Page extensions, `modify(...)` | Fields: Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText; groups: Caption, InstructionalText, AboutTitle, AboutText; parts, actions and action groups: Caption, ToolTip, AboutTitle, AboutText; views and analysis views: Caption |
| Request page extensions | Added controls (Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText) and actions (Caption, ToolTip, AboutTitle, AboutText); `modify(field)`: Caption, ToolTip, OptionCaption, InstructionalText, AboutTitle, AboutText |
| Page customizations | PromotedActionCategories, AboutTitle, AboutText, plus added views (Caption) and `modify(...)`: fields, groups, parts, actions and action groups (AboutTitle, AboutText), action groups also Caption, views (Caption) |
| Queries | Caption, EntityCaption, EntitySetCaption, AboutTitle, AboutText |
| Label variables (local and global) | The label value |
| Report labels | The label value |

Controls are fields, groups and parts; actions are actions, action groups, custom actions and file-upload actions. Properties changed in a `modify(...)` block of a page extension, request page extension, report extension or page customization are not checked yet. A table extension cannot give a field group a caption, so field groups are only checked on tables. Report layouts declared through the legacy `RDLCLayout`, `WordLayout` and `ExcelLayout` properties carry no translatable text and are not checked.
Controls are fields, groups and parts; actions are actions, action groups, custom actions and file-upload actions. A `modify(...)` block only lists the properties the compiler lets that block set: a page customization cannot change a Caption or ToolTip except on an action group, a report extension cannot change dataset captions, and a report extension's request page action modifies produce no translation entry at all. A modified property is reported whatever the obsolete state of its target, matching the compiler, which still writes the entry for a field modified in a removed table. A table extension cannot give a field group a caption, so field groups are only checked on tables. Report layouts declared through the legacy `RDLCLayout`, `WordLayout` and `ExcelLayout` properties carry no translatable text and are not checked.

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.

Expand Down