Browse Source

Document `OptimizedTranslation.generate()` only works in editor

Haoyu Qiu 11 months ago
parent
commit
b7416bf693
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>