Browse Source

Merge pull request #97284 from timothyqiu/optimized-translation-gen

Document that `OptimizedTranslation.generate()` only works in editor
Rémi Verschelde 11 months ago
parent
commit
2c1b8dda74
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/OptimizedTranslation.xml

+ 1 - 0
doc/classes/OptimizedTranslation.xml

@@ -14,6 +14,7 @@
 			<param index="0" name="from" type="Translation" />
 			<param index="0" name="from" type="Translation" />
 			<description>
 			<description>
 				Generates and sets an optimized translation from the given [Translation] resource.
 				Generates and sets an optimized translation from the given [Translation] resource.
+				[b]Note:[/b] This method is intended to be used in the editor. It does nothing when called from an exported project.
 			</description>
 			</description>
 		</method>
 		</method>
 	</methods>
 	</methods>