diff --git a/Zome.rb b/Zome.rb index 1c760ca..e5692da 100644 --- a/Zome.rb +++ b/Zome.rb @@ -13,9 +13,9 @@ def LH.[](key) end zome_extension = SketchupExtension.new('Zome', 'Zome/main.rb') - zome_extension.version = '1.3.0' + zome_extension.version = '1.3.1' zome_extension.copyright = '2018' - zome_extension.description = LH['Zome Creator - PolarZonahedron'] + zome_extension.description = LH['Zome Creator - PolarZonohedron'] zome_extension.creator = 'Jo Takion ' Sketchup.register_extension(zome_extension, true) diff --git a/Zome.rbz b/Zome.rbz index 71d80a9..17035d3 100644 Binary files a/Zome.rbz and b/Zome.rbz differ diff --git a/Zome/main.rb b/Zome/main.rb index cc53e43..cabb4ba 100644 --- a/Zome/main.rb +++ b/Zome/main.rb @@ -1,4 +1,4 @@ -#https://github.com/takion/zome-polar-rhombizonahedron jo@redcat.ninja +#https://github.com/takion/zome-polar-rhombizonohedron jo@redcat.ninja require 'sketchup.rb' module Takion @@ -28,7 +28,7 @@ def initialize def start @mo = Sketchup.active_model Sketchup::set_status_text(LH["Zome modelisation in progress..."]) - @mo.start_operation LH["PolarZonahedron - Structure Processing"] + @mo.start_operation LH["PolarZonohedron - Structure Processing"] @t1 = Time.now @entities = @mo.active_entities.add_group.entities end @@ -151,7 +151,7 @@ def rapport_complet params #msg += " "+LH["Segments total length"]+": #{segments_lenth} \n" msg += " "+LH["Number of Ties"]+": #{@tirants_nb} \n" - msg += "\n© "+LH["Zome Creator - OpenSource software developed by Jo"]+" - jo@redcat.ninja \nhttps://github.com/takion/zome-polar-rhombizonahedron/" + msg += "\n© "+LH["Zome Creator - OpenSource software developed by Jo"]+" - jo@redcat.ninja \nhttps://github.com/takion/zome-polar-rhombizonohedron/" return msg end @@ -184,7 +184,7 @@ def zome_al end } begin - results = UI.inputbox prompts,defaults,drops,LH['Polar Zonahedron based on shape angle and edges'] + results = UI.inputbox prompts,defaults,drops,LH['Polar Zonohedron based on shape angle and edges'] return unless results 0.upto(config.length-1){ |i| @gen_zome[config[i][0]] = results[i] @@ -254,7 +254,7 @@ def zome_ah end } begin - results = UI.inputbox prompts,defaults,drops,LH['PolarZonahedron by shapes angle and height'] + results = UI.inputbox prompts,defaults,drops,LH['PolarZonohedron by shapes angle and height'] return unless results 0.upto(config.length-1){ |i| @gen_zome[config[i][0]] = results[i] @@ -330,7 +330,7 @@ def zome_ad end } begin - results = UI.inputbox prompts,defaults,drops,LH['PolarZonahedron by shapes angle and diameter'] + results = UI.inputbox prompts,defaults,drops,LH['PolarZonohedron by shapes angle and diameter'] return unless results 0.upto(config.length-1){ |i| @gen_zome[config[i][0]] = results[i] @@ -402,7 +402,7 @@ def zome_dh end } begin - results = UI.inputbox prompts,defaults,drops,LH['Polar Zonahedron based on diameter and height'] + results = UI.inputbox prompts,defaults,drops,LH['Polar Zonohedron based on diameter and height'] return unless results 0.upto(config.length-1){ |i| @gen_zome[config[i][0]] = results[i] diff --git a/Zome/resources/fr/Zome.strings b/Zome/resources/fr/Zome.strings index e693099..e8693ce 100644 --- a/Zome/resources/fr/Zome.strings +++ b/Zome/resources/fr/Zome.strings @@ -1,10 +1,10 @@ -"Zome Creator - PolarZonahedron"="Créateur de Zome - RhombiZonaèdre Polaire"; +"Zome Creator - PolarZonohedron"="Créateur de Zome - RhombiZonaèdre Polaire"; "by diameter and height"="par diamètre et hauteur"; "by angle and edges"="par angle et arête"; "by angle and height"="par angle et hauteur"; "by angle and diameter"="angle et diametre"; "Zome modelisation in progress..."="Modélisation du Zome en cours ..."; -"PolarZonahedron - Structure Processing"="RhombiZonaèdre Polaire - Modélisation de la Structure"; +"PolarZonohedron - Structure Processing"="RhombiZonaèdre Polaire - Modélisation de la Structure"; "Faces"="Face"; "Squelette"="Squelette"; "Horizontal"="Horizontal"; @@ -47,8 +47,8 @@ "Height at the top"="Hauteur au Sommet"; "Horizontal|None"="Horizontal|Aucun"; "Angle between the axes and the edge of the top layer"="Angle entre l'axe et l'arête du dernier niveaux"; -"Polar Zonahedron"="RhombiZonaèdre Polaire"; -"PolarZonahedron by shapes angle and height"="Zonaèdre Polaire sur Angle de forme et Hauteur"; -"PolarZonahedron by shapes angle and diameter"="Zonaèdre Polaire sur Angle de forme et Diamètre"; +"Polar Zonohedron"="RhombiZonaèdre Polaire"; +"PolarZonohedron by shapes angle and height"="Zonaèdre Polaire sur Angle de forme et Hauteur"; +"PolarZonohedron by shapes angle and diameter"="Zonaèdre Polaire sur Angle de forme et Diamètre"; "Polar Zonohedron based on diameter and height"="Zonaèdre Polaire sur Diamètre et Hauteur"; -"Polar Zonahedron based on shape angle and edges"="Zonaèdre Polaire sur Angle de forme et Arête"; +"Polar Zonohedron based on shape angle and edges"="Zonaèdre Polaire sur Angle de forme et Arête";