LauraNicolas / al-language-tools

AL Language Tools
3 stars 0 forks source link

Add support for AdditionalSearchTerms #31

Open graknol opened 2 years ago

graknol commented 2 years ago

Hi, There should be added support for the page property AdditionalSearchTerms.

This property is explained in the documentation here: Adding additional search terms - Microsoft Docs

Currently when I write:

AdditionalSearchTerms = 'stone, gravel', Comment = 'NOR="stein, grus';

The following is generated by AL Language:

<trans-unit id="Page 1665748958 - Property 3863440606" size-unit="char" translate="yes" xml:space="preserve">
    <source>stone, gravel</source>
    <note from="Developer" annotates="general" priority="2">NOR="stein, grus</note>
    <note from="Xliff Generator" annotates="general" priority="3">Page Nature - Property AdditionalSearchTerms</note>
</trans-unit>

But missing from the *.nb-NO.g.xlf file when running the AL: Generate Xliff files (AL Tools) command. All other multilanguage properties works (Caption, Tooltip, OptionCaption).