Update 2 files

- /data/localization/ru.po
- /data/scripts/lib/turretgenerator.lua
This commit is contained in:
Slava
2023-09-02 21:41:23 +00:00
parent d9b94de051
commit 43dd5cfbc9
2 changed files with 9 additions and 9 deletions

View File

@@ -5,8 +5,8 @@ msgid "Smart-Cannon"
msgstr "Смарт-Пушка"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgid "Ionized "
msgstr "Ионизирущее "
msgid " Ionized"
msgstr " Ионизирущее"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgctxt "[outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial]"
@@ -14,8 +14,8 @@ msgid "%1%%2%%3%%4%%5%%6%%7%"
msgstr "%2%%3%%4%%5%%6%%7%%1%"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgid "Cumulative "
msgstr "Кумулятивное"
msgid " Cumulative"
msgstr " Кумулятивное"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgctxt "weapon name"
@@ -43,8 +43,8 @@ msgid "Hookgun"
msgstr "Гарпун"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgid "Stabilizing"
msgstr "Стабилизирующий"
msgid " Holding"
msgstr " Удерживающий"
#: C:/Users/riksl/AppData/Roaming/Avorion/mods/WPE2/data/scripts/lib/turretgenerator.lua:
msgctxt "weapon name"

View File

@@ -161,7 +161,7 @@ function TurretGenerator.generateSmartCannonTurret(rand, dps, tech, material, ra
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
if specType == 1 then
outerAdjective = "Ionized "%_T
outerAdjective = " Ionized"%_T
end
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
@@ -191,7 +191,7 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
local Pen = rand:getInt(0, rarity.value)
if Pen > 0 then
weapon.blockPenetration = Pen
outerAdjective = "Cumulative "%_T
outerAdjective = " Cumulative"%_T
end
if result.size >= 4 then
@@ -324,7 +324,7 @@ function TurretGenerator.generateHookgunTurret(rand, dps, tech, material, rarity
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
if spec then
outerAdjective = "Stabilizing"%_T
outerAdjective = " Holding"%_T
end
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)