Fill in descriptions for import options in the class reference
This commit is contained in:
committed by
Yuri Sizov
parent
60f3b7967c
commit
bc58a8a34e
@@ -1,15 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="ResourceImporterCSVTranslation" inherits="ResourceImporter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Imports comma-separated values
|
||||
</brief_description>
|
||||
<description>
|
||||
Comma-separated values are a plain text table storage format. The format's simplicity makes it easy to edit in any text editor or spreadsheet software. This makes it a common choice for game localization.
|
||||
[b]Example CSV file:[/b]
|
||||
[codeblock]
|
||||
keys,en,es,ja
|
||||
GREET,"Hello, friend!","Hola, amigo!",こんにちは
|
||||
ASK,How are you?,Cómo está?,元気ですか
|
||||
BYE,Goodbye,Adiós,さようなら
|
||||
QUOTE,"""Hello"" said the man.","""Hola"" dijo el hombre.",「こんにちは」男は言いました
|
||||
[/codeblock]
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="Importing translations">https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_translations.html</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="compress" type="bool" setter="" getter="" default="true">
|
||||
If [code]true[/code], creates an [OptimizedTranslation] instead of a [Translation]. This makes the resulting file smaller at the cost of a small CPU overhead.
|
||||
</member>
|
||||
<member name="delimiter" type="int" setter="" getter="" default="0">
|
||||
The delimiter to use in the CSV file. The default value matches the common CSV convention. Tab-separated values are sometimes called TSV files.
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user