Docs: LazUtils/lazutf8. Adds the LazTrimLanguageID topic for changes in 42bcafe2, e7b16e08.

This commit is contained in:
dsiders 2023-06-02 03:10:18 +01:00
parent f0cf009346
commit aa1248fa3b

View File

@ -2876,6 +2876,32 @@ ID, making it simpler to use. Ideally the resulting ID should conform to ISO
<short>Language ID examined in the routine.</short>
</element>
<element name="LazTrimLanguageID">
<short>
Returns the language identifier with an encoding suffix removed from the
specified value.
</short>
<descr>
<p>
The <var>Lang</var> argument can sometimes can be in the form 'ru_RU.utf8',
which will preventloading files with language in the form '.ru_RU.po'. This
procedure trims the encoding value from the argument.
</p>
</descr>
<version>
Added in LazUtils version 2.4.0.
</version>
<seealso>
<link id="#lcl.lcltranslator.TranslateUnitResourceStringsEx">TranslateUnitResourceStringsEx</link>
</seealso>
</element>
<element name="LazTrimLanguageID.Lang">
<short>
Variable parameter with the language identifier examined and modified in the
routine.
</short>
</element>
<element name="FPUpChars">
<short>
Contains uppercase characters for all values in the char type.