Synfig Project Forum

Forums for Synfig Project
It is currently Sun May 19, 2013 7:59 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Mirror of an object
PostPosted: Fri Feb 12, 2010 12:17 pm 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
Hi all,

I need to mirroring a "complex" object.

Is an encapsulation of a sequence of BLine and Width tools.

How can I do?

There are maybe problems if the object is zoomed.

Thanx


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Sun Feb 14, 2010 8:33 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
You can mirror on X, Y or both by using a Stretch Layer. Set its amount parameter accordingly.
X mirror: (1, -1)
Y mirror: (-1,1)
X&Y mirror: (-1,-1)
If you need to do a rotated mirror use a rotate layer later and link the origin of the rotation to the origin of stretch.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Mon Feb 15, 2010 7:39 am 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
:P
GREAT :!: :!: :!:

So Easy? :!:

---------------------------------

Another question...

There is an Italian translation of Synfig?

If so, where is and, how can install'it?

THANX :!:


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Mon Feb 15, 2010 9:31 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
Quote:
There is an Italian translation of Synfig?

There isn't.
You can help on translating if you want.
http://synfig.org/wiki/Translation
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Wed Feb 17, 2010 4:49 am 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
OK,

I try to do it, I've so little time but... :)

I sadly must work under win, so I can't generate a .po file (I think) for tranlations...

Can you provide me one or, where can I find the last version?

Thanx

P.S : Maybe a new area for translators could be generated in the forum?


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Wed Feb 17, 2010 5:19 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
Translate the source code implies modify the .po files. Those files are re-generated when you make update-po in each folder. That's the best way to warp a up to date po file that covers all the new translation strings commited in the git repo.
Anyway, for a new clean translation you can start by modifying the already existing one for Spanish.
Check it out here.
synfig-core/po/es.po
synfig-studio/po/es.po

Use them as base files, and don't forget to fill all the fields!
For easy translation use http://www.poedit.net/download.php It has a windows version.
Once you have the modified po files, rename them to it.po respectively and post them here or at the patch tracker. You should determine your language by running msginit but I'm not sure if it would work in windows, so you have to hack it a bit by reusing the current es.po file. It is the more close one to your language.

Once posted, I'll take care on commit them :)

-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Wed Feb 17, 2010 2:05 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
I'm not really sure that Synfig for Windows works in anything but English. We really need someone in a non-English speaking country to compile it and figure out if it works or not. Maybe when I get Virtual machines working under Win7 I'll set up some non-English machines. In my copious leisure time....

Chris


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Thu Feb 18, 2010 9:15 am 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
Hi Chris,
I've a very little experience coding-compiling c/c++ codes under win.

I've Xp at home, wich compiler must be used? Not free I suppose...

X Genete
I'm at near half way translating core-it, some phrases are very difficult to fit in goal.
In other words, I'm not always sure to understand the exact context, any suggestions?

BottyE


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Thu Feb 18, 2010 10:17 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
BottyE wrote:
I'm at near half way translating core-it, some phrases are very difficult to fit in goal.
In other words, I'm not always sure to understand the exact context, any suggestions?

Do not translate them if you're not sure. After you use the program extensively then you'll find the right word for each one.
Also you can look into the code where the string is used. It is marked in the po file.
Be sure that you're using the po files from git repo and tell me which is the commit from where you get it from. I eventually would need to move to that branch to be able to merge to the current HEAD.
Good luck
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Mon Feb 22, 2010 12:18 pm 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
Hi Genete, how are you?

Translating text I've found this :
synfig-core-po-it.po (see the es file at line 2299)
#: src/synfig/paramdesc.cpp:64
msgid "_Composite"
msgstr "_Composito" <-OK

#: src/synfig/paramdesc.cpp:65
msgid "_Straight"
msgstr "_Directo" -> msgstr "_Diretto" <- Both WRONG!?

#: src/synfig/paramdesc.cpp:66
msgid "_Onto"
msgstr "_Encima" -> msgstr "_Sopra" WRONG -> msgstr "S_opra" <- OK!?

... and so on ...

Reading .cpp code it seems that theese voices are menu's voices and the _ set before the chr in the word is the shortcut to call the menu voice typing ALT+< the char after the _ >

If what I suppose is right maybe the spanish translation is wrong and I must translate accordly to this.

If so (or otherwise the same) what I must do if no common letter is available in Italian word regard the English one?

...maybe...

msgid "_Onto"
msgstr "Encima _O"

or

msgid "_Onto"
msgstr "Encima ALT + O"


Thanx

BottyE


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Mon Feb 22, 2010 12:38 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
Short cuts letters not necessarily have to be the same for each language. The only requisite is that the shortcut letter were no repeated in the same menu list for the same language (when possible).
So,
Quote:
msgstr "_Directo" -> msgstr "_Diretto"

are both fine, they use the 'D' shortcut although the English one uses the 'S' (Straight).

-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Tue Mar 09, 2010 1:53 pm 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
Hi there!

A first traslation version of po files is complete.

How can I can compile sources under win or KUbuntu in order to verify "on live" the result before post you files?

KU make ...
Win ?

Thanx


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Tue Mar 09, 2010 8:14 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
BottyE wrote:
Hi there!

A first traslation version of po files is complete.

How can I can compile sources under win or KUbuntu in order to verify "on live" the result before post you files?

KU make ...
Win ?

Thanx

Better to compile under linux:
Please follow the following instructions:
http://synfig.org/wiki/Dev:Build_Instructions
to build the current source code.

There are some things that you should consider:
1) When you get the code using git clone you get a copy of the current repo and its selected branch points to the current master branch.
2) You probably have modified the files for an intermediate commit of the master branch. You have to identify the commit where you did retrieve the po file in order to not produce conflicts when applying the patch of your it.po file.
3) Before apply the patch you have to recreate the current translation of your local branch by following these instructions: http://synfig.org/wiki/Dev:Translation. It implies to tell the country code and so.
4) Once the it.po file is created (for synfig-core and for synfigs-studio) you can replace them by the two new ones and compile again. Then test the translated version. Remember that the build instructions can place the binary produced in synfig/install/bin depending on if you used the proper $prefix environment variable.
If you picked up the Spanish po files from the links I gave to you then current master branch is the one where you could apply the new translation easily because you don't need to climb up in the git history.

Once you're happy please send me the po files to apply them to the master branch
Good luck!
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Wed Mar 10, 2010 10:40 am 
Offline
User avatar

Joined: Fri Feb 12, 2010 11:09 am
Posts: 93
Location: Italia
Hi Genete,

I've lost myself!

What's git clone?
What ETL,
wich branch,
where I can find the country code
it's msginit a shell command?

I'm really a newbye!

Pls guide me step by step (one at a time) for evrey phase!

At the moment I attach the draft of the po files (renamed in add as txt).

THANKX for your patience.


Attachments:
synfig-studio-po-it.po.txt [127.76 KiB]
Downloaded 72 times
synfig-core-po-it.po.txt [90.89 KiB]
Downloaded 80 times
Top
 Profile  
 
 Post subject: Re: Mirror of an object
PostPosted: Wed Mar 10, 2010 10:57 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4119
Location: Spain
If you dont' mind I can apply those files by my self. It won't be a problem.
Don't burn yourself trying to understand that (git, clone, ETL, etc.) if you really don't want to become a developer.
Once I apply the po files you can review the translation in the new version (which is planned to end of April).
Later you can easily update the translation by similar work like now. Using translation helping programs speed up the proccess.
Please stay tunned for new relases. The best moment for a translation update is jsut before the release because all the strings that need translation are ready.

Thanks for your contribution.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group