-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refine rich text and other i18n #17802
Conversation
✅ Package size is not changedInterface Check Report! WARNING this pull request has changed these public interfaces:
@@ -2093,9 +2093,9 @@
get font(): TTFFont | null;
set font(value: TTFFont | null);
/**
* @en
- * Whether use system font name or not.
+ * Whether to use system font name or not.
*
* @zh
* 是否使用系统字体。
*/
|
cocos/2d/components/rich-text.ts
Outdated
@@ -23,7 +23,18 @@ | |||
THE SOFTWARE. | |||
*/ | |||
|
|||
import { ccclass, executeInEditMode, executionOrder, help, menu, tooltip, multiline, type, displayOrder, serializable } from 'cc.decorator'; | |||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我看引擎都是单行引用,这边需要也改一下
@@ -162,7 +162,6 @@ export class RichText extends Component { | |||
* 富文本显示的文本内容。 | |||
*/ | |||
@multiline | |||
@tooltip('i18n:richtext.string') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -168,7 +168,6 @@ export class UIRenderer extends Renderer { | |||
*/ | |||
@type(Material) | |||
@displayOrder(0) | |||
@displayName('CustomMaterial') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/cocos/3d-tasks/issues/18563 the ui performance of the synchronous cache mode should remain consistent with the label. |
Re: #
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: