summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-23 16:14:00 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-23 16:14:00 +0200
commit2c1b8dda748a27ef6cf9498ef3cc2786a4fc413a (patch)
tree88f7f0468d5c2d03d16773c712fff57003534137 /doc
parentc47eb5c3015795fd9ac0db17f5de3b57746c3bf8 (diff)
parentb7416bf6933af73c7d9dc947f9aa834db82e488c (diff)
downloadredot-engine-2c1b8dda748a27ef6cf9498ef3cc2786a4fc413a.tar.gz
Merge pull request #97284 from timothyqiu/optimized-translation-gen
Document that `OptimizedTranslation.generate()` only works in editor
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/OptimizedTranslation.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/OptimizedTranslation.xml b/doc/classes/OptimizedTranslation.xml
index 124f430f1b..bc158984d7 100644
--- a/doc/classes/OptimizedTranslation.xml
+++ b/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>