Skip to content

Add Translatable Tags - #5481

Merged
TheLimeGlass merged 3 commits into
masterfrom
feature/translatable-component
Mar 10, 2023
Merged

Add Translatable Tags#5481
TheLimeGlass merged 3 commits into
masterfrom
feature/translatable-component

Conversation

@UnderscoreTud

@UnderscoreTud UnderscoreTud commented Mar 1, 2023

Copy link
Copy Markdown
Member

Description

This PR implements translatable tags in Skript's formatting system. The syntax is <translate:key[:value1:value2:...]>, where values are optional

An example of a translation without values:
image

An example of a translation with values:
image


Target Minecraft Versions: any
Requirements: none
Related Issues: #4875

@UnderscoreTud UnderscoreTud added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Mar 1, 2023

@AyhamAl-Ali AyhamAl-Ali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good ⚡

@AyhamAl-Ali

AyhamAl-Ali commented Mar 1, 2023

Copy link
Copy Markdown
Member

This requires docs Text Tutorial update, can you open an issue for that on skript-docs? maybe a PR? :D

@UnderscoreTud

Copy link
Copy Markdown
Member Author

Oh, I don't know HTML

@TheLimeGlass
TheLimeGlass merged commit 2fcb4d4 into master Mar 10, 2023
@TheLimeGlass
TheLimeGlass deleted the feature/translatable-component branch March 10, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants