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 @@ -50,15 +50,17 @@ Add the translation to the XLIFF file (`Translations/MyApp.da-DK.xlf`):
| Profiles, profile extensions | Caption, ProfileDescription |
| Reports | Caption, ToolTip, AdditionalSearchTerms |
| Table fields | 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) |
| 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 |
| 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 or page customization are not checked yet.

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`:
Expand Down