Differences

This shows you the differences between the selected revisions of the page.

2021-12-01 2021-12-01
syntax highlighting + grammar (martin) grammar + consistency + syntax highlighting + formatting (martin)
Line 22: Line 22:
</code> </code>
-Where the ''file'' is either a form (dialog) definition (''.dfm'' extension), a resource strings file (''.rc'' extension) or strings for [[ui_installer|setup application]] (''.isl'' extension). The key should give you some idea about the purpose of the string. For form definitions, it is a context and the name of the component using the string.+Where the ''File'' is either a form (windows/dialog) definition (a ''.dfm'' extension), a resource strings file (an ''.rc'' extension) or strings for [[ui_installer|setup application]] (an ''.isl'' extension). The key should give you some idea about the purpose of the string. For form definitions, it is a context and the name of the component using the string.
Example: Example:
-<code>+<code ini>
[SiteAdvanced.dfm] [SiteAdvanced.dfm]
-MainPanel.PageControl.ScpSheet.ShellGroup.Caption="Shell"+MainPanel.PageControl.ScpSheet.ShellGroup.<nohilite>Caption</nohilite>="Shell"
</code> </code>
-The "Shell" is the title (caption) of the shell group box on //[[ui_login_scp|SCP/Shell page]]// of Advanced Site Settings dialog.+The //"Shell"// is the title (caption) of the shell group box on //[[ui_login_scp|SCP/Shell page]]// of Advanced Site Settings dialog.
-The strings that need to be translated are marked with ''<translate>'' keyword in place of "translated string" (initially all strings are marked this way).+The strings that need to be translated are marked with ''<translate>'' keyword in place of "Translated string" (initially all strings are marked this way).
Use UTF-8 encoding when editing the INI file. Use UTF-8 encoding when editing the INI file.

Last modified: by martin