some fixes #8
No reviewers
Labels
No Label
bug
compat-mode:mineclone2
compat-mode:minetest_game
crash
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrkubax10/industrialtest#8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "usrib/industrialtest:mcla-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
S()
function callsfixes #5
Thanks for your contribution! Could you clean up commit history to remove merge commits? This way I can just do merge and not squash and merge to preserve original commits.
b733d72cda
toc2ad845ca2
sorry I dont know how do this
I can do it for you then.
@ -648,3 +648,3 @@
industrialtest.api.registerResourceDust=function(name,displayName,resources,color,registerMaceratorRecipe)
minetest.register_craftitem("industrialtest:"..name.."_dust",{
description=S(displayName.." Dust"),
description=S("@1 Dust", displayName),
The reason why I wrote these function calls this way is because in some languages (like Polish) words have to be translated together, otherwise sometimes you will get incorrect results. For example "proszek" means "dust" and "miedź" is "copper", translating these words separately and concatenating into single string would result in "Miedź proszek" which is not right at all. Correct translation would be "Miedziany proszek".
I understand, but using the correct method could benefit the translators, in addition, this allows the @1 or @2 to be ordered correctly for each language in the translation templates, for example in Polish you can alternate "@2 something @1 " and in Spanish we order it "@1 something @2" in their respective translation templates. Or even skip "@1" and type the word directly.
Consider using the correct S() function calls, I think it is beneficial.
Since the resulting lookup string passed to
S
contains both words you can translate it however you want.yes, please
Closing due to inactivity.
Pull request closed