Skip to content

Commit

Permalink
support for Russian language
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Dec 21, 2020
1 parent d4c3c45 commit f6cf773
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Data/Scripts/text/doc/ru/change_info_gnomes.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$start
$replace
proc gnomeinfo_inventory {gid} {
layout print "/(fn1)"
set x 10
set xi 60
layout print "/(ta$x)[gnomename $gid]"; set x [expr $x + 90]
layout print "/(fn0)"
}
$with
proc gnomeinfo_inventory2 {gid} {
layout print "/(fn1)"
set x 10
set xi 60
layout print "/(ta$x)[gnomename $gid]"; set x [expr $x + 90]
layout print "/(fn0)"
}
$end

$start
$replace
weapoiID
$with
weaponID
$end

$start
$replace
set age [expr int(([gettime] - [get_attrib $gid GnomeAge]) / 1800.0) ]
$with
set age [expr int(([gettime] - [call_method $gid getbirthtime]) / 1800.0) ]
$end

0 comments on commit f6cf773

Please sign in to comment.