-
Notifications
You must be signed in to change notification settings - Fork 156
Translate #664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
VinAdmin
wants to merge
22
commits into
minetest-mods:master
Choose a base branch
from
VinAdmin:dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Translate #664
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
26a3495
Changed the old method of transfers to a new one
VinAdmin 71fdf9b
update
VinAdmin af1c97d
изменены переводы, добавлен русский язык
VinAdmin a303a7b
изменены переводы, добавлен русский язык
VinAdmin d26d007
Обновление переводов
VinAdmin 22857a2
translation correction
VinAdmin 61f3b36
update translate tool_workshop
VinAdmin d1381f2
engine level translation
VinAdmin 0eeae4f
added Russian translations
VinAdmin 7f378fa
adjusted the size of the chest shape
VinAdmin a988709
deleted old code
VinAdmin c094a96
fix
VinAdmin 143484b
Update for translation function
VinAdmin 9cba8a3
fix translate
VinAdmin 4d7f6e8
update translate
VinAdmin b96a1fd
code analiz
VinAdmin dea737e
update translate
VinAdmin 54490da
Временный фик питания
VinAdmin 1d828db
update translate
VinAdmin 39faf96
Merge branch 'master' into apocalypse
VinAdmin e5ef958
Merge branch 'master' into dev
VinAdmin c8f51c3
formatting function removed
VinAdmin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,3 +164,4 @@ pip-log.txt | |
#gedit backup files | ||
*~ | ||
|
||
.idea/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# textdomain: concrete | ||
Blast-resistant Concrete Block=Взрывостойкий бетонный блок | ||
Blast-resistant Concrete=Взрывостойкий бетон | ||
Concrete Post Platform=Бетонная платформа для столбов | ||
Concrete Post=Бетонный столб |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# technic_concrete translation template | ||
# textdomain: concrete | ||
Blast-resistant Concrete Block= | ||
Blast-resistant Concrete= | ||
Concrete Post Platform= | ||
Concrete Post= | ||
|
||
Rebar = | ||
Concrete Block = | ||
Blast-resistant Concrete Block = | ||
Concrete Post Platform = | ||
Concrete Post = | ||
|
||
##### not used anymore ##### | ||
|
||
# technic_concrete translation template | ||
Rebar = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# textdomain: extranodes | ||
|
||
Marble=Мрамор | ||
Marble Bricks=Мраморные кирпичи | ||
Granite=Гранит | ||
Granite Bricks=Гранитные кирпичи | ||
Concrete=Конкретный | ||
Zinc Block=Цинковый блок | ||
Cast Iron Block=Чугунный блок | ||
Carbon Steel Block=Блок из углеродистой стали | ||
Stainless Steel Block=Блок из нержавеющей стали | ||
Insulator/cable clip=Изолятор/зажим для кабеля | ||
Steel strut with insulator/cable clip=Стальная стойка с изолятором/кабельным зажимом |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
# technic_extranodes translation template | ||
# textdomain: extranodes | ||
Marble= | ||
Marble Bricks= | ||
Granite= | ||
Granite Bricks= | ||
Concrete= | ||
Zinc Block= | ||
Cast Iron Block= | ||
Carbon Steel Block= | ||
Stainless Steel Block= | ||
Insulator/cable clip= | ||
Steel strut with insulator/cable clip= | ||
|
||
Marble = | ||
Marble Bricks = | ||
Granite = | ||
Concrete = | ||
|
||
##### not used anymore ##### | ||
|
||
# technic_extranodes translation template | ||
Marble = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,12 @@ | ||
-- namespace: technic | ||
-- (c) 2012-2013 by RealBadAngel <[email protected]> | ||
|
||
if not minetest.get_translator then | ||
error("[technic] Your Minetest version is no longer supported." | ||
.. " (version < 5.0.0)") | ||
end | ||
|
||
local load_start = os.clock() | ||
|
||
technic = rawget(_G, "technic") or {} | ||
technic.creative_mode = minetest.settings:get_bool("creative_mode") | ||
|
||
|
||
local modpath = minetest.get_modpath("technic") | ||
technic.modpath = modpath | ||
|
||
|
||
-- Boilerplate to support intllib | ||
if rawget(_G, "intllib") then | ||
technic.getter = intllib.Getter() | ||
else | ||
-- Intllib copypasta: TODO replace with the client-side translation API | ||
technic.getter = function(s,a,...) | ||
if a==nil then return s end | ||
a={a,...} | ||
return s:gsub("(@?)@(%(?)(%d+)(%)?)", function(e,o,n,c) | ||
if e==""then | ||
return a[tonumber(n)]..(o==""and c or"") | ||
end | ||
return "@"..o..n..c | ||
end) | ||
end | ||
end | ||
local S = technic.getter | ||
|
||
-- Read configuration file | ||
dofile(modpath.."/config.lua") | ||
|
||
|
@@ -61,7 +34,3 @@ dofile(modpath.."/tools/init.lua") | |
-- Aliases for legacy node/item names | ||
dofile(modpath.."/legacy.lua") | ||
|
||
if minetest.settings:get_bool("log_mods") then | ||
print(S("[Technic] Loaded in %f seconds"):format(os.clock() - load_start)) | ||
end | ||
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
local S = technic.getter | ||
local S = minetest.get_translator("technic") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you please be so nice to use |
||
|
||
minetest.register_craftitem("technic:silicon_wafer", { | ||
description = S("Silicon Wafer"), | ||
|
@@ -146,7 +146,7 @@ for p = 0, 35 do | |
local block = "technic:uranium"..psuffix.."_block" | ||
local ov = p == 7 and minetest.override_item or nil; | ||
(ov or minetest.register_craftitem)(ingot, { | ||
description = string.format(S("%.1f%%-Fissile Uranium Ingot"), p/10), | ||
description = S("@1%-Fissile Uranium Ingot", p/10), | ||
inventory_image = "technic_uranium_ingot.png", | ||
groups = {uranium_ingot=1, not_in_creative_inventory=nici}, | ||
}); | ||
|
@@ -183,7 +183,7 @@ for p = 0, 35 do | |
-- a 3.5%-fissile uranium block. | ||
local radioactivity = math.floor(math.sqrt((1+5.55*p/35) * 18 / (1+5.55*7/35)) + 0.5); | ||
(ov or minetest.register_node)(block, { | ||
description = string.format(S("%.1f%%-Fissile Uranium Block"), p/10), | ||
description = S("@1-Fissile Uranium Block", string.format("%.1f%%", p/10)), | ||
tiles = {"technic_uranium_block.png"}, | ||
is_ground_content = true, | ||
groups = {uranium_block=1, not_in_creative_inventory=nici, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated change. Please limit this PR to translating only.