@tig said:
@rodericx said:
its possible to translate ? i mean i dont know much about ruby (nothing actually), then this interesting plugin i wanted to use in spanish... then i see in the file : HouseBuilder_extention.rb some calls... like
# Floor tool
> > cmd3 = UI;;Command.new(("Floor tool")) { Sketchup.active_model.select_tool HouseBuilder;;FloorTool.new }
> > cmd3.small_icon = "HouseBuilder/hb_floortool_S.png"
> > cmd3.large_icon = "HouseBuilder/hb_floortool_L.png"
> > cmd3.tooltip = "Creates a floor."
> > hb_tb.add_item(cmd3)
then i want to know if i can replace the texts between "" without affect the plugin?.
Text within "" or even '' can be replaced with anything else you want - i.e. a translation... UNLESS it's a path to a file xxx/xxx/xxx.png etc DON'T change anything else - the worse that can happen is it won't work !
Keep a copy of the original !
Hello!!
I'm a spanish user of Sketchup, i'm translating a lot of plugins for SU to spanish language.
I have finished the translation of House Builder ver. 1.0, and it works fine in Mac, only one problem, some units in the options of the tools are in inches, and i work in metres but it's a minor problem, the rest is OK.
I can't translate The House Builder ver. 1.2 because the files HouseBuilder.rb and HouseBuilderTool.rb are encoded, i have translated the HouseBuilder_extension.rb only, the icons appear and the tooltip too in spanish, but don't works in Mac, it appears the same problem:
Error al cargar archivo HouseBuilder_extension.rb
private method `split' called for nil:NilClass
I would like upload the Spanish version of House Builder v. 1.0 for all users and the others plugins. Please, tell me how.