Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets Translator (formally doCkranslator)
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] Translator (formally doCkranslator)
Page : 1 2 3 4 5
Eduardo Mucelli English 83 fabounet [Read]
06 March 2011 à 12:44

fabounet, Tuesday 01 March 2011 à 04:49


Subscription date : 30 November 2007
Messages : 17118
Hi,
actually I had to revert the previous merge, because you worked on an older version (just 1 rev different I guess)
it's always a good idea to do a "bzr pull" before any commit.

about the code style I've tried to make things clearer (it was no so easy to understand the code because I don't speak portuguese )
sometimes fixing mispells (like destiny -> destination, which then became cDestination I think)
sometimes also the indentation went crazy for no reason and I had to re-indent some parts.

there is no real code style but having all applets built on the same model will greatly help the maintenance.
for instance putting all config options inside a self.config dictionnary, or prepending an underscore to internal functions (they would be defined as static in C).

also I've fixed a lot of bugs (essentially the applet had problems with simple quotes, and with translations that don't have a dictionnay, like japanese translations)

so yes the code has changed a lot recently, I've tried to make detailled commits and write a lot of commentaries in my code.
I think we can define a sort of rules to keep changes easier to track.

Eduardo Mucelli, Tuesday 01 March 2011 à 10:22


Subscription date : 05 August 2009
Messages : 285
That is interesting because the core, and applets comments are normally written in French, and I thought I could write my one in Portuguese without problems.
Build applets "in the same model will greatly help the maintenance", which implicit model is this one? I keep a Changelog for every applet, would help keep track on it.

matttbe, Wednesday 02 March 2011 à 09:50


Subscription date : 24 January 2009
Messages : 12573
Eduardo :
That is interesting because the core, and applets comments are normally written in French, and I thought I could write my one in Portuguese without problems.
A lot of them have been translated to English and most of new comments are in English but it's boring to translate all old comments from English to French. But yes, sorry for that

fabounet :
there is no real code style but having all applets built on the same model will greatly help the maintenance.
so... maybe it can be interesting to write a few lines in a the README file about that
But of course, if all of us tries to respect a same code style, it's easier for the maintenance but if there is no model, it's not easy to respect the same code style but the maintenance isn't impossible
It's not easy to work together and it's still harder when we don't work in the same place but it's not a reason to stop working

PS: @Eduardo: be cool, fabounet is French!

fabounet, Sunday 06 March 2011 à 12:44


Subscription date : 30 November 2007
Messages : 17118
That is interesting because the core, and applets comments are normally written in French, and I thought I could write my one in Portuguese without problems.

yep and it's my fault
I'm now writing comments in english, and as Matttbe said, it's so annoying to translate old comments !

ok to write a small README
although the most important points are to use the interface and write comments

Applets | Applets

Subjects Author Language Messages Last message
[Locked] Translator (formally doCkranslator)
Page : 1 2 3 4 5
Eduardo Mucelli English 83 fabounet [Read]
06 March 2011 à 12:44


Glx-Dock / Cairo-Dock List of forums Applets | Applets Translator (formally doCkranslator) Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.