From b7416bf6933af73c7d9dc947f9aa834db82e488c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 21 Sep 2024 23:17:38 +0800 Subject: [PATCH] Document `OptimizedTranslation.generate()` only works in editor --- doc/classes/OptimizedTranslation.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/OptimizedTranslation.xml b/doc/classes/OptimizedTranslation.xml index 124f430f1b5..bc158984d72 100644 --- a/doc/classes/OptimizedTranslation.xml +++ b/doc/classes/OptimizedTranslation.xml @@ -14,6 +14,7 @@ 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.