From b08277126c079ff589d7031fb18cf047b016f0b1 Mon Sep 17 00:00:00 2001 From: Kimapr Date: Sat, 21 Dec 2019 11:21:34 +0500 Subject: [PATCH] Hint and russian translation fix --- nc_crystal/init.lua | 10 +++++++--- nc_crystal/locale/nc_crystal.en.tr | 1 + nc_crystal/locale/nc_crystal.ru.tr | 3 ++- nc_sky_isgen/locale/nc_sky_isgen.en.tr | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/nc_crystal/init.lua b/nc_crystal/init.lua index 3642e9c..1baf862 100644 --- a/nc_crystal/init.lua +++ b/nc_crystal/init.lua @@ -15,8 +15,13 @@ local tex_ore = "nc_terrain_stone.png^((nc_lode_ore.png^nc_crystal_living.png)^[ local crystal = modname .. ":crystal" local ore = modname..":ore" +addhint(S"find lode crystal", + ore +) + addhint(S"plant lode crystal", - "lode crystal planting" + "lode crystal planting", + ore ) minetest.register_craftitem(crystal, { @@ -36,8 +41,7 @@ minetest.register_craftitem(crystal, { minetest.sound_play("nc_lode_annealed",{pos=pos}) itemstack:set_count(itemstack:get_count() - 1) if placer then - nodecore.player_stat_add(1, placer, "lode crystal planting", - S"plant lode crystal") + nodecore.player_stat_add(1, placer, "craft", "lode crystal planting") end return itemstack end diff --git a/nc_crystal/locale/nc_crystal.en.tr b/nc_crystal/locale/nc_crystal.en.tr index f89b81a..ec7c9d0 100644 --- a/nc_crystal/locale/nc_crystal.en.tr +++ b/nc_crystal/locale/nc_crystal.en.tr @@ -2,3 +2,4 @@ Lode Crystal=Lode Crystal Lode Crystal Stone=Lode Crystal Stone plant lode crystal=plant lode crystal +find lode crystal=find lode crystal diff --git a/nc_crystal/locale/nc_crystal.ru.tr b/nc_crystal/locale/nc_crystal.ru.tr index 521f9e0..00c76d1 100644 --- a/nc_crystal/locale/nc_crystal.ru.tr +++ b/nc_crystal/locale/nc_crystal.ru.tr @@ -1,4 +1,5 @@ # textdomain: nc_crystal Lode Crystal=Металлический Кристалл Lode Crystal Stone=Камень с Металлический Кристалл -plant lode crystal=посадить металлический кристал +plant lode crystal=посадите металлический кристалл +find lode crystal=найдите металлический кристалл diff --git a/nc_sky_isgen/locale/nc_sky_isgen.en.tr b/nc_sky_isgen/locale/nc_sky_isgen.en.tr index da9adc4..ab686ee 100644 --- a/nc_sky_isgen/locale/nc_sky_isgen.en.tr +++ b/nc_sky_isgen/locale/nc_sky_isgen.en.tr @@ -12,3 +12,4 @@ Unassign this island=Unassign this island Reassign this island=Reassign this island Unregister island=Unregister island Register island=Register island +Get a new island=Get a new island