Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function PANEL:OnPresetSelected( item )

local name = item:GetValue( 1 )

self.txtRename:SetText( name )
self.txtRename:SetText( language.GetPhrase( name ) )
for id, pnl in ipairs( self.txtRename:GetParent():GetChildren() ) do pnl:SetEnabled( true ) end

self.pnlDetails:Clear()
Expand Down
27 changes: 27 additions & 0 deletions garrysmod/resource/localization/en/tool.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,33 @@ preset.addnew_field=Choose a name for a new preset with current tool values (not
preset.badname_title=Bad preset name
preset.badname_desc=You've entered an invalid preset name\! Your preset was not saved\!

preset.bloom.really_sunny=Really Sunny
preset.bloom.snow_day=Snow Day
preset.bloom.dusk=Dusk
preset.bloom.bad_eyes=Bad Eyes
preset.bloom.cold=Cold
preset.bloom.sunshine=Sunshine
preset.bloom.2010s_action_game=2010s Action Game
preset.bloom.degree_in_graphic_design=Degree in Graphic Design
preset.colormod.trinity_dies=Trinity Dies
preset.colormod.black_and_white=Black and White
preset.colormod.cartoon_land=Cartoon Land
preset.colormod.re_coloured=Re-coloured
preset.colormod.really_old_photo=Really Old Photo
preset.colormod.old_red_tint=Old Red Tint
preset.face.i_dont_care_anyway=I don't care anyway
preset.face.quite_annoyed=Quite Annoyed
preset.face.blowing=Blowing
preset.face.im_sorry=I'm Sorry
preset.face.joker=Joker
preset.face.cant_believe_it=Can't believe it
preset.face.happy=Happy
preset.finger.flat=Flat
preset.finger.point=Point
preset.finger.thumbs_up=Thumbs Up
preset.fog.heaven=Heaven
preset.fog.radioactive_man=Radioactive Man

tool.axis.name=Axis
tool.axis.desc=Create axis constraints
tool.axis.help=An axis constraint is what connects wheels to a car. The connected objects will be free to rotate on one axis. You can make the objects spin less freely by increasing friction.
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/1-really sunny.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Really Sunny"
"#preset.bloom.really_sunny"
{
"pp_bloom_color" "3.136000"
"pp_bloom_color_b" "255"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/2-snow day.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Snow Day"
"#preset.bloom.snow_day"
{
"pp_bloom_color" "0.000000"
"pp_bloom_color_b" "240"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/3-dusk.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Dusk"
"#preset.bloom.dusk"
{
"pp_bloom_color" "5.000000"
"pp_bloom_color_b" "5"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/4-bad eyes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Bad Eyes"
"#preset.bloom.bad_eyes"
{
"pp_bloom_color" "1.000000"
"pp_bloom_color_b" "255"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/5-cold.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Cold"
"#preset.bloom.cold"
{
"pp_bloom_color" "0.000000"
"pp_bloom_color_b" "255"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/6-sunshine.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Sunshine"
"#preset.bloom.sunshine"
{
"pp_bloom_color" "1.000000"
"pp_bloom_color_b" "255"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/bloom/7-2010s action game.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"2010s Action Game"
"#preset.bloom.2010s_action_game"
{
"pp_bloom_sizex" "17.00"
"pp_bloom_darken" "0.50"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Degree in Graphic Design"
"#preset.colormod.degree_in_graphic_design"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/2-trinity dies.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Trinity Dies"
"#preset.colormod.trinity_dies"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/3-black and white.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Black and White"
"#preset.colormod.black_and_white"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/4-cartoon land.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Cartoon Land"
"#preset.colormod.cartoon_land"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/5-re-coloured.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Re-coloured"
"#preset.colormod.re_coloured"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/6-really old photo.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Really Old Photo"
"#preset.colormod.really_old_photo"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/colormod/7-old red tint.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Old Red Tint"
"#preset.colormod.old_red_tint"
{
"pp_colormod" "1"
"pp_colormod_addb" "0"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/1-i don_t care anyway.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"I don't care anyway"
"#preset.face.i_dont_care_anyway"
{
"faceposer_flex0" "0.018677"
"faceposer_flex1" "0.998291"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/2-quite annoyed.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Quite Annoyed"
"#preset.face.quite_annoyed"
{
"faceposer_flex0" "1"
"faceposer_flex1" "1"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/3-blowing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Blowing"
"#preset.face.blowing"
{
"faceposer_flex0" "1.000000"
"faceposer_flex1" "1.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/4-i_m sorry.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"I'm Sorry"
"#preset.face.im_sorry"
{
"faceposer_flex0" "1.000000"
"faceposer_flex1" "1.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/5-joker.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Joker"
"#preset.face.joker"
{
"faceposer_flex0" "1.000000"
"faceposer_flex1" "1.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/6-can_t believe it.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Can't believe it"
"#preset.face.cant_believe_it"
{
"faceposer_flex0" "1.000000"
"faceposer_flex1" "1.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/face/7-happy.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Happy"
"#preset.face.happy"
{
"faceposer_flex0" "1.000000"
"faceposer_flex1" "1.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/finger/1-flat.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Flat"
"#preset.finger.flat"
{
"finger_0" "-4.2 -29.2"
"finger_1" "0.0 -2.1"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/finger/2-point.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Point"
"#preset.finger.point"
{
"finger_0" "31.3 -6.3"
"finger_1" "0.0 14.6"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/finger/3-thumbs up.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Thumbs Up"
"#preset.finger.thumbs_up"
{
"finger_0" "2.1 -20.8"
"finger_1" "-50.0 -14.6"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/fog/1-heaven.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Heaven"
"#preset.fog.heaven"
{
"Fog_Color" "249.000000 255.000000 243.000000"
"fog_colorskybox" "249.000000 255.000000 243.000000"
Expand Down
2 changes: 1 addition & 1 deletion garrysmod/settings/presets/fog/2-radioactive man.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Radioactive Man"
"#preset.fog.radioactive_man"
{
"Fog_Color" "0.000000 255.000000 13.000000"
"fog_colorskybox" "0.000000 255.000000 13.000000"
Expand Down