Skip to content
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

Does the plugin work with 3.2.3 ? #10

Closed
anisc opened this issue Feb 10, 2021 · 2 comments
Closed

Does the plugin work with 3.2.3 ? #10

anisc opened this issue Feb 10, 2021 · 2 comments

Comments

@anisc
Copy link

anisc commented Feb 10, 2021

I'm having this error when i'm trying to enable the plugin with 3.2.3
Unable to load addon script from path: 'res://addons/arabic-text/ALabel_plugin.gd' There seems to be an error in the code, please check the syntax.
and sevral other error:
ALabel.gb : error (30,1): the method "wordwrap" isn't declared in the current class.
ALabel_plugin.gd : error (5,81) Parse Error: Couldn't fully preload the script, possible cyclic reference or compilation error. Use "load()" instead if a cyclic reference is intended.

@anisc anisc closed this as completed Feb 11, 2021
@anisc
Copy link
Author

anisc commented Feb 11, 2021

Had to add this wrap_text to ALabel.gd on line 31
wordwrap.wrap_text(input, get_font("font"), get_rect().size)
but now it doesn't seem to be working when using the translation server for godot

3akev pushed a commit that referenced this issue Feb 12, 2021
@3akev
Copy link
Owner

3akev commented Feb 12, 2021

Sorry for the late response. That's the cyclic reference fixed ... No idea how it got in there, I swear!
For the translation server, maybe another issue should be opened. I'll try to look into it, but know that I, ironically, haven't used it yet, so any details would be a great help.

Edit: Just saw #11, discussion can continue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants