Debian Codegraph @

qtfred/help-src/doc/dialogs/CustomStringsDialog.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8"/>
5 <title>Custom Strings - QtFRED Help</title>
6 <link rel="stylesheet" type="text/css" href="../css/help.css"/>
7 </head>
8 <body>
9 <nav class="breadcrumb"><a href="../index.html">QtFRED Help</a> &rsaquo; Mission &rsaquo; <a href="MissionSpecsDialog.html">Mission Specs</a> &rsaquo; Custom Strings</nav>
10 <h1>Custom Strings</h1>
11 <p>Accessed via <strong>Custom Strings</strong> in the <a href="MissionSpecsDialog.html">Mission Specs</a> dialog.</p>
12 <p>Attaches arbitrary key-value-text entries to the mission. Each entry has three
13 fields: a key for lookup, a value, and a longer text field. The intended use is
14 localization support; the value holds an XSTR ID number and the text holds the
15 matching string, allowing Lua scripts to resolve translatable strings by key.
16 The fields are general purpose and can serve any other use case where a key,
17 a value, and a block of text need to be stored together.</p>
18
19 <h2>Fields</h2>
20 <table>
21 <tr><th>Field</th><th>Description</th></tr>
22 <tr><td>Key</td><td>The name used to look up this entry.</td></tr>
23 <tr><td>Value</td><td>A short string associated with the key, typically an
24 XSTR ID number.</td></tr>
25 <tr><td>Text</td><td>The longer string content, typically the translatable text
26 matching the XSTR ID.</td></tr>
27 </table>
28
29 <h2>Editing</h2>
30 <p>Fill in all three fields and click <strong>Add</strong> to create a new entry.
31 Select an entry in the list to load it into the fields, modify as needed, and click
32 <strong>Update</strong> to apply changes. Click <strong>Remove</strong> to delete
33 the selected entry.</p>
34 </body>
35 </html>