소스 검색

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

Document that `OptimizedTranslation.generate()` only works in editor
Rémi Verschelde 1 년 전
부모
커밋
2c1b8dda74
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/OptimizedTranslation.xml

+ 1 - 0
doc/classes/OptimizedTranslation.xml

@@ -14,6 +14,7 @@
 			<param index="0" name="from" type="Translation" />
 			<description>
 				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>
 		</method>
 	</methods>