[Plugin] VisTools
-
Version 2.x is coming .....
Language translators, and proofreaders needed.
I did the German (de) and Spanish (es) files, and they need proofing. (It's been 35 years since I took Spanish in high school, and I only 'dabble' in German when doing genealogy research.)
The files need to be Unix line endings (EOL) and UTF-8 encoded. They are named "basic_utf8_XX.hash" and "debug_utf8_XX.hash", where XX is replaced by the lowercase language code. (ie: 'en', 'es', 'pl', 'fr', etc...)
The plugin will "auto" find these files, or the user can choose a specific lang from those that are present. (In 'en' mode, the hash files are not actually loaded... as the Ruby code knows what the English strings are.)
<----<<<< PM me if you'd like to do a certain Language translation, or proofread/correct the 'de' or 'es' files.
If a debug hash file is not available for a certain language (but the UI strings in a basic hash file are present,) then the UI will be in that local language, and console output will be in English (if the user has turned it ON.)
So... the priority is on the 'basic' hash files, in order to show the UI elements in the local language.replaceable parameters
%s
will be replaced by a number, like:34
'%s'
will be replaced by an entity flag, like:'#<Sketchup::Face:0x624452c>'
The helper file for pasting into Google Translate.. or whatever
NOTE! The above file, and the hash file in the next post, will be used with ver 2.x,... they do NOT work with ver 1.0 (if that's why y'all are downloading, but not volunteering to translate.)
Translator links: Google Translate : MicroSoft Translator -
You can try the translaters I used: http://www.thomthom.net/software/vertex_tools/translations
-
Thanks go out to Defisto for proofing and editing the Spanish 'es' files !!!
-
OK.. here's the basic hash template file:
The 'XX' in the name needs to be replaced with a 2 char. language code.
Within the file, change the "XX" hash values to the local translation.Please use parenthesis ( ) as I have, and punctuation periods, or '...' where I have, in the translations.
Also repeat the use of capitalized words, as they are in the English keys.The
%s
params can be moved in the translated strings, to where they are more appropriate for the particular language.
Here is the template file for the debug strings.
The technical terms should match those in the localized editions of Sketchup.
-
Added the "debug" string template file in the post above...
see: http://forums.sketchucation.com/viewtopic.php?f=323&t=36465&p=350210#p350210 -
Great to see all this activity!
-
I am on the road for the French language!
-
I can do some Hungarian - need to install the plugin and see what it exactly does so that I understand why the expressions are what they are.
-
-
@unknownuser said:
limit=%s
I have translated the word "limit" by "limite" in French : must or not ? (I suppose yes
Not yet tested
you must rename them ...utf8_fr.hash.txt I suppose?
-
Looks good... Thank you.
But... we need the Plugin Description in Francais, Si vous plaît:
"Adds some useful tools within SketchUp, like Hide / Show entities and layers, Freeze / Unfreeze for components, and Show / Unfreeze all."
Combination of Google & Microsoft Translators:
%(#8000BF)["Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Gel / Dégel pour des composants, et de Montrer / Dégeler tous."]
Sound OK ??
-
Quasi perfect
"Ajoute quelques outils utiles dans SketchUp, comme Cacher / Montrer des entités et des calques, Geler / Dégeler pour des composants, et Montrer / Dégeler tous." -
OK.. thanks Pilou ... got and updated the file.
FEI (For Everyone's Information): I finally quit "fiddling" and sent Dana the "FreezeTools" ver 2.0.0 package, so he can have a first look. He'll likely put the package up on Github, until we are satisfied, that there are no major issues. Then he or I, will put the package on the EXTENDSketchup site.
Known "to do":
- Reformat and expand the Help html file.
- Tweak the "All" commands so they are correctly walking the nested groups / components, and performing their tasks the way they should.
- Make sure if possible we do not have strange behavour during Undo and Redo operations.
-
Note: Dana will be away till late next week (Thursday or so,) and will not be able to begin reviewing the new version til then.
Your patience is appreciated. -
Actually, I'll be back around the 5th of September
-
THE ISOLATE LAYER DOESN'T WORK. i'M RUNNING SKETCHUP 8 PRO.
Here's the ruby console errors.
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:241
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SU_Utils/Utilities.rb:45Is there a fix or version 2.0 for skecthup 8 pro?
Thanks.
-
First of all, the Active Layer cannot be hidden, so if you expected that, it will not happen.
Isolate Layer seems to work OK in my v2.0.0 ...
I had sent it to Dana for his approval, but he had just started a new job, and was heavily working on the ExtendSketchup plugin... so nothing has happened.
Dana.. how about if we have TIG and/or ThomThom take a look ??
-
If you have v1... zip downloaded from the direct link, then it doesn't contain the
begin..rescue..end
protection of the newer version that you can download manually from the site that is linked to
However, as even this could also jump out of the layer manipulation loop prematurely you can fix the tool's code thus...Edit the Utilities.rb file in the SU_Utils subfolder, using Notepad or a similar plain text editor like Notepad++...
Use its 'Find and Replace' tool to change the two lines of code that say
l.visible = false
with this
l.visible = false **unless l == @model.active_layer**
This will stop you trying to make the active layer invisible which is disallowed...
Save it and restart Sketchup.
Now the two layer tools that try to switch layers 'off' should work without errors... -
Thanks Dan/TIG for replying! You guys rock.
-
Ishboo,
I use this utility alot with large projects and it no longer works with sketchup 8.0.15158. Could you please check why it does not load? Was there a change in the sdk that conflicts with your ruby scrpit?
Many thanks,
David
Advertisement