Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in StringTableEntry
The name of the Yarn script in which this line was originally found.
Field in StringTableEntry
The line ID for this line. This value will be the same across all localizations.
Field in StringTableEntry
The line number in the file indicated by File at which the original version of this line can be found.
Struct in Yarn.Unity
Inherits from System.ValueType
Name | Description |
---|---|
Name | Description |
---|---|
Field in
A string used as part of a mechanism for checking if translated versions of this string are out of date.
This field contains the first 8 characters of the SHA-256 hash of the line's text as it appeared in the base localization CSV file.
When a new StringTableEntry is created in a localized CSV file for a .yarn file, the Lock value is copied over from the base CSV file, and used for the translated entry.
Because the base localization CSV is regenerated every time the .yarn file is imported, the base localization Lock value will change if a line's text changes. This means that if the base lock and translated lock differ, the translated line is out of date, and needs to be updated.
Name | Description |
---|---|
Initializes a new instance of the StringTableEntry struct, copying values from an existing instance.
A comment used to describe this line to translators.
The name of the Yarn script in which this line was originally found.
The line ID for this line. This value will be the same across all localizations.
The language that the line is written in.
The line number in the file indicated by File at which the original version of this line can be found.
A string used as part of a mechanism for checking if translated versions of this string are out of date.
The name of the node in which this line was originally found.
The text of this line, in the language specified by Language .
Creates a CSV-formatted string containing data from entries
.
Reads comma-separated value data from sourceText
, and produces a collection of StringTableEntry structs.
|
Method in StringTableEntry
Reads comma-separated value data from sourceText
, and produces a collection of StringTableEntry structs.
Name | Description |
---|---|
The parsed collection of StringTableEntry structs.
string
sourceText
A string containing CSV-formatted data.
| The values to generate the spreadsheet from. |
Constructor in StringTableEntry
Initializes a new instance of the StringTableEntry struct, copying values from an existing instance.
Name | Description |
---|---|
The instance to copy values from.