Skip to content

Commit

Permalink
fix translation
Browse files Browse the repository at this point in the history
fixes #25
  • Loading branch information
OgelGames committed Dec 26, 2021
1 parent 4149fa4 commit 5b3a060
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions on_receive_fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ function travelnet.on_receive_fields(pos, _, fields, player)
and owner_name ~= ""
then
minetest.chat_send_player(name,
S("This %s belongs to %s. You can't remove it."):format(
description,
tostring(owner_name)
)
S("This @1 belongs to @2. You can't remove it.", description, owner_name)
)
return
end
Expand Down

3 comments on commit 5b3a060

@SwissalpS
Copy link

@SwissalpS SwissalpS commented on 5b3a060 Dec 26, 2021

Choose a reason for hiding this comment

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

The translation files need to be adjusted too for this to fix anything ;)

Was hoping to do this on editableTravelnets branch. #24

@OgelGames
Copy link
Author

Choose a reason for hiding this comment

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

The translation files are already correct by the looks of it:

This @1 belongs to @2. You can't remove it.=Éste @1 pertenece a @2. No lo puedes quitar.

@SwissalpS
Copy link

@SwissalpS SwissalpS commented on 5b3a060 Dec 26, 2021

Choose a reason for hiding this comment

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

  • there is at least one more usage of that string. (Edit: The location I was thinking of might only be in the 'editableStation' branch)
  • In Spanish it's "Este elevador/ascensor" but "Esta estación".
  • In German it's "Der Aufzug" but "Die Station"

Edit: the situation could be simplified in both languages by dropping description variable altogether and calling both types "Stations" in all languages.

Please sign in to comment.