Skip to content

Commit

Permalink
Add Spanish translation (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 authored Sep 1, 2023
1 parent 728d9fb commit 4cfacea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
--]]

local S = minetest.get_translator(minetest.get_current_modname())

double_jump = {
jump_number = { },
is_jumping = { },
Expand All @@ -37,7 +39,7 @@ local infinite_jumps = minetest.settings:get_bool("double_jump.infinite_jumps")
----------------
if privilege_required then
minetest.register_privilege({"double_jump",
description = "Allows the player to jump twice or more times!",
description = S("Allows the player to jump twice or more times!"),
give_to_singleplayer = false,
give_to_admin = true
})
Expand Down
2 changes: 2 additions & 0 deletions locale/double_jump.es.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# textdomain: double_jump
Allows the player to jump twice or more times!=Permite al jugador ¡brincar dos o más veces!
2 changes: 2 additions & 0 deletions locale/template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# textdomain: double_jump
Allows the player to jump twice or more times!=

0 comments on commit 4cfacea

Please sign in to comment.