From a8ae482cbec2a47e6c796a22ff1d72b1ee3cfaf5 Mon Sep 17 00:00:00 2001 From: Rendo Date: Mon, 21 Jul 2025 04:08:20 +0500 Subject: [PATCH] translations --- project.godot | 2 +- translations/plants.csv | 18 ++++++++++++++++++ translations/plants.en.translation | Bin 3102 -> 3630 bytes translations/plants.ru.translation | Bin 4225 -> 5189 bytes translations/rewards.csv | 13 +++++++++++++ translations/rewards.csv.import | 17 +++++++++++++++++ translations/rewards.en.translation | Bin 0 -> 922 bytes translations/rewards.ru.translation | Bin 0 -> 1501 bytes 8 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 translations/rewards.csv create mode 100644 translations/rewards.csv.import create mode 100644 translations/rewards.en.translation create mode 100644 translations/rewards.ru.translation diff --git a/project.godot b/project.godot index 337068a..8cd719b 100644 --- a/project.godot +++ b/project.godot @@ -122,7 +122,7 @@ cheat_unlock_all={ [internationalization] -locale/translations=PackedStringArray("res://translations/plants.en.translation", "res://translations/plants.ru.translation", "res://translations/zombies.en.translation", "res://translations/zombies.ru.translation", "res://translations/gui.en.translation", "res://translations/gui.ru.translation") +locale/translations=PackedStringArray("res://translations/plants.en.translation", "res://translations/plants.ru.translation", "res://translations/zombies.en.translation", "res://translations/zombies.ru.translation", "res://translations/gui.en.translation", "res://translations/gui.ru.translation", "res://translations/rewards.en.translation", "res://translations/rewards.ru.translation") [layer_names] diff --git a/translations/plants.csv b/translations/plants.csv index c0e9c49..025a0ce 100644 --- a/translations/plants.csv +++ b/translations/plants.csv @@ -81,3 +81,21 @@ wallnut_desc,"[p]Absorbs zombie damage. Does nothing special[/p] [p]Reload time: [color=DARK_RED]20 seconds[/color].[/p]","Принимает на себя урон от зомби. Ничего интересного. Очки здоровья: [color=DARK_RED]120 укусов[/color] Время перезарядки: [color=DARK_RED]20 секунд[/color]." +nerdus,Pickly cactus,Колкий кактус +nerdus_desc,"He is very critical about other’s behaviour. He likes to pay people back in kind. +Health points: [color=darkred] 400 bites[/color]. +Reload time: [color=darkred] 10 seconds[/color]. +Damage conversion: [color=darkred]1 bite = 1.6 peas [/color].","Он очень критичен к поведению других. Ему нравится отплачивать людям добром за добро. +Очки здоровья: [color=darkred] 400 укусов[/color]. +Время перезарядки: [color=darkred] 10 секунд[/color]. +Конвертация урона: [color=darkred]1 укус = 1.6 горошин [/color]." +cucumber,Cucumber,Огурец +cucumber_desc,"He has a little trouble with differentiating left and right, so he doesn't make this choice at all. +Health points: [color=darkred] 6 bites[/color]. +Reload time: [color=darkred] 5 seconds[/color]. +Seed damage: [color=darkred] 4 peas[/color]. +Firerate: [color=darkred] 5 seconds[/color].","Он имеет небольшие проблемы с различением левого и правого, поэтому он не думает об этом вовсе. +Очки здоровья: [color=darkred] 6 укусов[/color]. +Время перезарядки: [color=darkred] 5 секунд[/color]. +Урон семечка: [color=darkred] 4 горошин[/color]. +Скорость стрельбы: [color=darkred] 5 секунд[/color]." diff --git a/translations/plants.en.translation b/translations/plants.en.translation index d431b30050502477ceb40a06eb9acba004e1ec69..7bf2ec433bb7ef0a4837df2fc6804918acf307d9 100644 GIT binary patch delta 704 zcmbOyu})?~5u>XL0|Uc#o&KwL6; zJEJ!v%VcIIbH1KAjh`=YFfg0}ihpI8Y{9filL^RV1mZ+*m(9z894;W62Z*26AOACl zlYs$=9kDb{O3_2_SlAvpPB2Q6~n*iQZcQ6 zwi5pTvK1x%#WMV7GBGfS(>MDUeH0`S3sfGoiR}g7BPNjIdUVx{h6Z-mXD0|UcOF+y9 Z#PUFVgk$p*=3^W@>_9e1ZBTHKGXQ<&EIj}K diff --git a/translations/plants.ru.translation b/translations/plants.ru.translation index dc540f9aafb0dec1177753bf8891460136b86fdb..0f8214377959d516a2375c2716892c7956d0a2f0 100644 GIT binary patch delta 872 zcmZWnOKTHR6uwE?22EpYDXn(nsTOUa#0G+5q2RNNcB9pmv5R5_L9r0rCo{n+8WZ&5 zMnuqGFv)aqY%+1>195TgKXBvLjaxy#bCc9Z2R`mSukW1m&2=WgzoHv0xU0ZzpxD#+!e~2x|`t(TrWV-Ug`H@X4^)LqL#kfBcM+OYF zwtU|Io>1yA?t*W{k3XCHltQvaLXRYlEnPWsYH%E`33vrkDR^D&8!aW38igU~`BTa1 zFQ35j84ke!at{Gdhy8rwV7kc9xy?=9=8)eK4v)8uYs$t^{E{Q$wzkt*?)DVZ|+Fz#iDpK;5S2?QljH>BP;rY5{Dikmt1z!oCnA%Z4N zQw2kfTOa~=9d&In-mtgh(O-v-rq{TqJNFBosdTC%~SsR#_f&5LXRwqAoj%iv_RR+3Bn$2$uiCu@ zFq>VeLT*8Yz_?f!mpT`rtf|=208-hmb%-56lShOe@Oap)iLtDt=z$nSz|p{nXigk< zN<}^EnYF5$$JhwUh`89rwiNBl7{coe(H`SE_43G;H;lu9KGQ$7r?)ZbO9N;BvYwq9d3i|5FbpC;lNHAHv(iGqvw?hJlaDca zGcr#WVltl`$+SU|5hw=2iQX=o-!U^VC;{0Z%rx1ESzQSxyQq&vq=B7*K?EoO!fZel Y@<1%kyLmCQBrh)mP!4QNP;ihl0J{V#+W-In diff --git a/translations/rewards.csv b/translations/rewards.csv new file mode 100644 index 0000000..89b8c17 --- /dev/null +++ b/translations/rewards.csv @@ -0,0 +1,13 @@ +key,en,ru +rwd_aloe,Heals plants right in front of him that have third of hp.,"Лечит растения спереди от него, если у них треть здоровья." +rwd_cucumber,Shoots deadly projectiles up and down.,Стреляет смертоносными снарядами вверх и вниз. +rwd_garlic,Redirects zombies on another lanes.,Перенаправляет зомби на другие линии. +rwd_nerdus,Returns taken damage and redirects zombies that get hit.,Возвращает полученный урон и перенаправляет зомби на другие линии. +rwd_potatomine,Explodes when stepped on when he is primed.,Взрывается когда на него наступают когда заряжен. +rwd_snowpea,Shoots slowing peas at zombies.,Стреляет замедляющими снарядами в зомби. +rwd_sunflower,Produces sun.,Производит солнышки. +rwd_threepeater,Shoots peas in three lanes.,Стреляет по трём линиям. +rwd_wallnut,Protects plants from zombies.,Защищает растения от зомби. +,, +moneybag,Money bag,Мешок с монетами +rwd_moneybag,Now you have some money to buy new plants.,Теперь у вас есть деньги чтобы затариться в магазине. diff --git a/translations/rewards.csv.import b/translations/rewards.csv.import new file mode 100644 index 0000000..5e333f6 --- /dev/null +++ b/translations/rewards.csv.import @@ -0,0 +1,17 @@ +[remap] + +importer="csv_translation" +type="Translation" +uid="uid://xvsya47m66cl" + +[deps] + +files=["res://translations/rewards.en.translation", "res://translations/rewards.ru.translation"] + +source_file="res://translations/rewards.csv" +dest_files=["res://translations/rewards.en.translation", "res://translations/rewards.ru.translation"] + +[params] + +compress=true +delimiter=0 diff --git a/translations/rewards.en.translation b/translations/rewards.en.translation new file mode 100644 index 0000000000000000000000000000000000000000..0f219f69bc878dc1b21be1666b66ffe3b4488823 GIT binary patch literal 922 zcma)*PiPZC6vn4bjA_yoTWL1b5EG*jwbGtaZI(im8YxsmQV}BAZR@lq2NVYsCba{A|8T9#6yoF^w1un-%GQl2L&Je`1XDCX5Q?~ZX_Bx z&st%G5+=|KE*CT907>+2ZhyKH2RR3(?(nZ^^UQqW*B)&{(wxzg~!z~A09?l0Uv!`TU{Mf~$X^iy-Ai1t8X0lyIk zp!U`?O> zkNkU&m;67V)bG?De|gEykunb$26T~Bzv+Btr2Yap3YMAwX$4CAcZ0bbUtYg}b^^L2 znnRR-{hW9M?FQ6K_w!@VYc=F_eRLkWZ>YB|c#zY6j|2MJ4g)G^TrAoJu@n~6K#y1H z=VAAi@3#AEHgl)zNROCnutxN4T}W@d7kMN7dF-m-6Ng+5Q?P@EBInE=r$MMyV&=JW zUw!6dpTB9h8y4Pm85>hohw;_ckjry-w`!1Wd2bo0Xmne&o6^Ecb-Z0%ca>MF2Q^X6 zIP{JdyD4~Kw)oOZi#JydbBFJNVELw3tUpq^J=W5^g^VyC#YX5ol5BUz_+lt#3}Ez< iDafMNKjcR$*3*ljYcXGFJ~&$n(@grh>6{|?EB^p6;NLC) literal 0 HcmV?d00001 diff --git a/translations/rewards.ru.translation b/translations/rewards.ru.translation new file mode 100644 index 0000000000000000000000000000000000000000..c1a9c7025061a834a2f8bd552418d453449ce38c GIT binary patch literal 1501 zcmbtUOK4L;6rI{?{h+w9xF|T_Lj1Ktp@@nL1yK=%Sa2hT*Z6FsX;SiDKt!}@C~a*? ztb&4Hbm7+5e9W_-SETNpS&O=LDS|5(dd}p%5~Kye2{$uy?wvd5p1DcvLhPgnM;m6^ z2G|bR`C&IXl)PzQ>C0MaCuOD{Pp|f@M2-*qD+D;~yP1x~N zCSj%GZYJ&|?6fVmHT%-mkS#U=8L}P68n7MFj*U5Ci!E3VTFzkHwfa-G*otj`E^*y< zLx49qZZ?@7XdH7A+2pVbP>2@TZkWk*q`P~yO5+2EbIuL1m$4XY3bGzfiV@A(oDoq1 zA|;N^u-_QlF?WP(?m0TK-v>Js;=P!eO2Ur8*1<^O%izc5b}VjTP5X9q=D{5}d$6W4 zhPGThez$rquxivUVe=hYItBLJ$(mnuLITs2iu!2tR=imfoYmNHKI0p0z4??-|tKrO>5{G zwXmW(o^}DjkBr{_ist44nwzlEbm1rdf;*cB&t>ZJg?feJ%)6iq*_u$5 zap=}YV^*n*o@NtBJ#LzBR!^}~k4ZoPb)jX=E0lSGhgc7Oc1x{Gm_JDVwqp2W{{w9P BtRDaX literal 0 HcmV?d00001