Skip to content

Conversation

BrunoMine
Copy link
Contributor

This allows you to select the language of the translated string.
Can you test with intltest.
Referenced Issue

doc/developer.md Outdated
-- The second `count` is the actual replacement.
print(NS("You have one item.", "You have @1 items.", count, count))

The `SS` and `SNS` are equivalent to `S` and `SNS` respectively,
Copy link
Member

Choose a reason for hiding this comment

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

Typo, should be NS.

@ShadowNinja
Copy link
Member

I don't know if I like this. It can never be fully functional -- there are only a few things that can be translated dynamically.

@BrunoMine
Copy link
Contributor Author

Sorry for the wrong word (word and no world) at commit.

there are only a few things that can be translated dynamically.

I think that there are only a few things that can not be translated dynamically.
Some relevant examples:
doc <=(That is enough to justify)
adventures
PVP games (for all see the rules)

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

Successfully merging this pull request may close these issues.

2 participants