Skip to content

Commit

Permalink
Fix typo in EditorImportPlugin docs
Browse files Browse the repository at this point in the history
"[param custom_importer] ca be" -> "[param custom_importer] can be"
  • Loading branch information
esainane committed Aug 9, 2024
1 parent c73ac74 commit d974279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/classes/EditorImportPlugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<param index="2" name="custom_importer" type="String" default="&quot;&quot;" />
<param index="3" name="generator_parameters" type="Variant" default="null" />
<description>
This function can only be called during the [method _import] callback and it allows manually importing resources from it. This is useful when the imported file generates external resources that require importing (as example, images). Custom parameters for the ".import" file can be passed via the [param custom_options]. Additionally, in cases where multiple importers can handle a file, the [param custom_importer] ca be specified to force a specific one. This function performs a resource import and returns immediately with a success or error code. [param generator_parameters] defines optional extra metadata which will be stored as [code skip-lint]generator_parameters[/code] in the [code]remap[/code] section of the [code].import[/code] file, for example to store a md5 hash of the source data.
This function can only be called during the [method _import] callback and it allows manually importing resources from it. This is useful when the imported file generates external resources that require importing (as example, images). Custom parameters for the ".import" file can be passed via the [param custom_options]. Additionally, in cases where multiple importers can handle a file, the [param custom_importer] can be specified to force a specific one. This function performs a resource import and returns immediately with a success or error code. [param generator_parameters] defines optional extra metadata which will be stored as [code skip-lint]generator_parameters[/code] in the [code]remap[/code] section of the [code].import[/code] file, for example to store a md5 hash of the source data.
</description>
</method>
</methods>
Expand Down
2 changes: 1 addition & 1 deletion doc/translations/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -45450,7 +45450,7 @@ msgid ""
"file generates external resources that require importing (as example, "
"images). Custom parameters for the \".import\" file can be passed via the "
"[param custom_options]. Additionally, in cases where multiple importers can "
"handle a file, the [param custom_importer] ca be specified to force a "
"handle a file, the [param custom_importer] can be specified to force a "
"specific one. This function performs a resource import and returns "
"immediately with a success or error code. [param generator_parameters] "
"defines optional extra metadata which will be stored as [code skip-"
Expand Down

0 comments on commit d974279

Please sign in to comment.