From d7957cd47676041eb692aae5f246f8a820a0d4f1 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Sun, 28 Jul 2024 11:42:06 -0500 Subject: [PATCH] Fix typo and capitalization of some items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depp → Deep Ceramic Pot flowers → Ceramic Pot Flowers Lotus Flower pink → Lotus Flower Pink Sherd → Shard --- api.lua | 2 +- locale/template.txt | 48 ++++++++++++++++++++++----------------------- mod_support_mcl.lua | 12 ++++++------ nodes.lua | 32 ++++++++++++++++-------------- stairs.lua | 8 ++++---- 5 files changed, 52 insertions(+), 50 deletions(-) diff --git a/api.lua b/api.lua index ab1a581..7b9ed2d 100644 --- a/api.lua +++ b/api.lua @@ -2068,7 +2068,7 @@ function Everness.encyclopedia_ui_register_page(self) local pname = player:get_player_name() if not minetest.check_player_privs(pname, 'everness_encyclopedia') then - minetest.chat_send_player(pname, S('You need "everness_encyclopedia" privilige to access this button.')) + minetest.chat_send_player(pname, S('You need "everness_encyclopedia" privilege to access this button.')) unified_inventory.set_inventory_formspec(player, unified_inventory.current_page[pname]) return end diff --git a/locale/template.txt b/locale/template.txt index 873f241..b2c7435 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -2,7 +2,7 @@ @1 will intersect protection on growth.= Compost chance: @1%= Everness Encyclopedia= -You need "everness_encyclopedia" privilige to access this button.= +You need "everness_encyclopedia" privilege to access this button.= Empty Bucket= Mineral Water Bucket= Lava Bucket= @@ -93,8 +93,8 @@ Double Willow Wood Slab= Double Magma Cobblestone Slab= Double Volcanic Rock Slab= Double Volcanic Rock with Magma Slab= -Double Coral Depp Ocean Sandstone Block Slab= -Double Coral Depp Ocean Sandstone Brick Slab= +Double Coral Deep Ocean Sandstone Block Slab= +Double Coral Deep Ocean Sandstone Brick Slab= Double Coral White Sandstone Slab= Double Coral White Sandstone Pillar Slab= Double Coral White Sandstone Brick Slab= @@ -169,10 +169,10 @@ Volcanic Rock Stair= Volcanic Rock Slab= Volcanic Rock with Magma Stair= Volcanic Rock with Magma Slab= -Coral Depp Ocean Sandstone Block Stair= -Coral Depp Ocean Sandstone Block Slab= -Coral Depp Ocean Sandstone Brick Stair= -Coral Depp Ocean Sandstone Brick Slab= +Coral Deep Ocean Sandstone Block Stair= +Coral Deep Ocean Sandstone Block Slab= +Coral Deep Ocean Sandstone Brick Stair= +Coral Deep Ocean Sandstone Brick Slab= Coral White Sandstone Stair= Coral White Sandstone Slab= Coral White Sandstone Pillar Stair= @@ -243,8 +243,8 @@ Volcanic Rock Wall= Volcanic Rock with Magma Wall= Coal Ore= Pyrite Ore= -Ceramic Sherds. Use archeological pickaxe to have a chance of getting various different sherds.= -Ceramic Sherds= +Ceramic Shards. Use archeological pickaxe to have a chance of getting various different shards.= +Ceramic Shards= Pyrite Block= Forged Pyrite Block= Pyrite Brick= @@ -375,12 +375,12 @@ Cursed Mud= Cobweb= Cave Flower= Cave Flower with Particles= -Lotus Flower pink= -Lotus Flower pink Animated= -Lotus Flower purple= -Lotus Flower purple Animated= -Lotus Flower white= -Lotus Flower white Animated= +Lotus Flower Pink= +Lotus Flower Pink Animated= +Lotus Flower Purple= +Lotus Flower Purple Animated= +Lotus Flower White= +Lotus Flower White Animated= Lotus Leaf= Lotus Leaf Dry= Forsaken Fire= @@ -521,15 +521,15 @@ Lava Source= Flowing Lava= Water Geyser= Water Geyser Active= -Ceramic Pot blank= -Ceramic Pot blank Sherd= -Ceramic Pot flowers= -Ceramic Pot flowers Sherd= -Ceramic Pot lines= -Ceramic Pot lines Sherd= -Ceramic Pot tribal= -Ceramic Pot tribal Sherd= -If destroyed by archelogical pick axe, it will drop ceramic sherds instead of ceramic pot item.= +Ceramic Pot Blank= +Ceramic Pot Blank Shard= +Ceramic Pot Flowers= +Ceramic Pot Flowers Shard= +Ceramic Pot Lines= +Ceramic Pot Lines Shard= +Ceramic Pot Tribal= +Ceramic Pot Tribal Shard= +If destroyed by archelogical pick axe, it will drop ceramic shards instead of ceramic pot item.= (owned by @1)= Sand Castle Wall= Forsaken Desert Chiseled Stone= diff --git a/mod_support_mcl.lua b/mod_support_mcl.lua index 51d2b28..6140157 100644 --- a/mod_support_mcl.lua +++ b/mod_support_mcl.lua @@ -630,12 +630,12 @@ mcl_stairs.register_stair_and_slab( 'everness:coral_deep_ocean_sandstone_block', { pickaxey = 2 }, { 'everness_deep_ocean_sandstone_block.png' }, - S('Coral Depp Ocean Sandstone Block Stair'), - S('Coral Depp Ocean Sandstone Block Slab'), + S('Coral Deep Ocean Sandstone Block Stair'), + S('Coral Deep Ocean Sandstone Block Slab'), Everness.node_sound_stone_defaults(), 6, 2, - S('Double Coral Depp Ocean Sandstone Block Slab'), + S('Double Coral Deep Ocean Sandstone Block Slab'), nil ) @@ -644,12 +644,12 @@ mcl_stairs.register_stair_and_slab( 'everness:coral_deep_ocean_sandstone_brick', { pickaxey = 2 }, { 'everness_deep_ocean_sandstone_brick.png' }, - S('Coral Depp Ocean Sandstone Brick Stair'), - S('Coral Depp Ocean Sandstone Brick Slab'), + S('Coral Deep Ocean Sandstone Brick Stair'), + S('Coral Deep Ocean Sandstone Brick Slab'), Everness.node_sound_stone_defaults(), 6, 2, - S('Double Coral Depp Ocean Sandstone Brick Slab'), + S('Double Coral Deep Ocean Sandstone Brick Slab'), nil ) diff --git a/nodes.lua b/nodes.lua index e8d2584..cb49dd1 100644 --- a/nodes.lua +++ b/nodes.lua @@ -124,8 +124,8 @@ Everness:register_node('everness:stone_with_pyrite', { }) Everness:register_node('everness:mineral_stone_with_ceramic_sherds', { - description = S('Ceramic Sherds. Use archeological pickaxe to have a chance of getting various different sherds.'), - short_description = S('Ceramic Sherds'), + description = S('Ceramic Shards. Use archeological pickaxe to have a chance of getting various different shards.'), + short_description = S('Ceramic Shards'), tiles = { 'everness_mineral_stone.png^[sheet:2x2:1,1^everness_ceramic_sherds_ore.png' }, groups = { cracky = 3, @@ -3741,12 +3741,13 @@ local lotus_flower_def = { } -- For detection by update_translations script. --- S('Lotus Flower pink'); S('Lotus Flower pink Animated') --- S('Lotus Flower purple'); S('Lotus Flower purple Animated') --- S('Lotus Flower white'); S('Lotus Flower white Animated') -for _, color in ipairs({ 'pink', 'purple', 'white' }) do +-- S('Lotus Flower Pink'); S('Lotus Flower Pink Animated') +-- S('Lotus Flower Purple'); S('Lotus Flower Purple Animated') +-- S('Lotus Flower White'); S('Lotus Flower White Animated') +for _, color in ipairs({ 'Pink', 'Purple', 'White' }) do local def = table.copy(lotus_flower_def) - local flower_name = 'Lotus Flower ' .. color + local flower_name = 'Lotus Flower ' .. color + color = string.lower(color) def.description = S(flower_name) def.short_description = S(flower_name) @@ -11672,14 +11673,15 @@ Everness:register_node('everness:water_geyser_active', { }) -- For detection by update_translations script. --- S('Ceramic Pot blank'); S('Ceramic Pot blank Sherd') --- S('Ceramic Pot flowers'); S('Ceramic Pot flowers Sherd') --- S('Ceramic Pot lines'); S('Ceramic Pot lines Sherd') --- S('Ceramic Pot tribal'); S('Ceramic Pot tribal Sherd') -for i, v in ipairs({ 'blank', 'flowers', 'lines', 'tribal' }) do - local pot_name = 'Ceramic Pot ' .. v +-- S('Ceramic Pot Blank'); S('Ceramic Pot Blank Shard') +-- S('Ceramic Pot Flowers'); S('Ceramic Pot Flowers Shard') +-- S('Ceramic Pot Lines'); S('Ceramic Pot Lines Shard') +-- S('Ceramic Pot Tribal'); S('Ceramic Pot Tribal Shard') +for i, v in ipairs({ 'Blank', 'Flowers', 'Lines', 'Tribal' }) do + local pot_name = 'Ceramic Pot ' .. v + v = string.lower(v) Everness:register_node('everness:ceramic_pot_' .. v, { - description = S(pot_name) .. '. ' .. S('If destroyed by archelogical pick axe, it will drop ceramic sherds instead of ceramic pot item.'), + description = S(pot_name) .. '. ' .. S('If destroyed by archelogical pick axe, it will drop ceramic shards instead of ceramic pot item.'), short_description = S(pot_name), drawtype = 'mesh', mesh = 'everness_ceramic_pot.obj', @@ -11859,7 +11861,7 @@ for i, v in ipairs({ 'blank', 'flowers', 'lines', 'tribal' }) do }) Everness:register_craftitem('everness:ceramic_pot_sherd_' .. v, { - description = S(pot_name .. ' Sherd'), + description = S(pot_name .. ' Shard'), inventory_image = 'everness_ceramic_pot_' .. v .. '_sherd.png', }) diff --git a/stairs.lua b/stairs.lua index 3d69c80..5bf5fe1 100644 --- a/stairs.lua +++ b/stairs.lua @@ -450,8 +450,8 @@ stairs.register_stair_and_slab( 'everness:coral_deep_ocean_sandstone_block', { cracky = 2 }, { 'everness_deep_ocean_sandstone_block.png' }, - S('Coral Depp Ocean Sandstone Block Stair'), - S('Coral Depp Ocean Sandstone Block Slab'), + S('Coral Deep Ocean Sandstone Block Stair'), + S('Coral Deep Ocean Sandstone Block Slab'), Everness.node_sound_stone_defaults(), true ) @@ -461,8 +461,8 @@ stairs.register_stair_and_slab( 'everness:coral_deep_ocean_sandstone_brick', { cracky = 2 }, { 'everness_deep_ocean_sandstone_brick.png' }, - S('Coral Depp Ocean Sandstone Brick Stair'), - S('Coral Depp Ocean Sandstone Brick Slab'), + S('Coral Deep Ocean Sandstone Brick Stair'), + S('Coral Deep Ocean Sandstone Brick Slab'), Everness.node_sound_stone_defaults(), true )