Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

AutoVersioning Plugin

<< < (20/41) > >>

kisoft:
Thank you for plugin, JGM!

I download (svn) sources from repository now (rev. 4) and found some problems:
 - You wrongly being used _("... ...") construction. For example in file avSvnRevision.cpp

--- Code: ---wxString svncmd = _("svn info --xml --non-interactive ");
--- End code ---
   Look Wiki for used this construction (http://wiki.codeblocks.org/index.php?title=Unicode_Standards):

--- Code: --- _()

_() is used for text which might be translated to other user-languages

--- End code ---
I does change this line on this:

--- Code: ---wxString svncmd = _T("svn info --xml --non-interactive ");
--- End code ---
I found a big lot similarly uses.

Summary. You must being used _() for text which might be translated to other user-languages and _T() (or wxT()) for keywords.

I being used Russian translation codeblocks.mo for C::B and my plugin. Some keywords in version.ini file in Russian too.

C::B crushed on uninstall you plugin. :(
Somebody may confirm it?

Can do you make changes for right using _() and _T() (or wxT())?

Now I try changes sources for test my opinion.

Good luck!

JGM:

--- Quote from: kisoft on September 28, 2007, 02:29:13 pm ---Thank you for plugin, JGM!

I download (svn) sources from repository now (rev. 4) and found some problems:
 - You wrongly being used _("... ...") construction. For example in file avSvnRevision.cpp

--- End quote ---

Yep thats true I have to fix all that, I just recently learned that while making an application I'm working on multilingual.  :oops: I'm learning every day new things. I have to work on so many things on my job, I have stopped programming to set a proxy server to block all kind of bad things from the students of the school I'm working on.

Trying to figure out how works squid and squidguard, is really a pain in the (you know) :) But I'm almost getting it all to place. First I had to repair a server, configure the array of hard drives and then install the operating system (opted for ubuntu server). Now I'm stuck at squid and squidguard, so many commands :?. transparent proxy blah blah blah. It's like a ghost in my mind  :shock:

Back into post I will fix that as soon as possible. I feel exhausted of so many research on so many things  :?

JGM:

--- Quote from: Denis on September 28, 2007, 06:58:44 am ---Thanks for this plugin! :-)
Is it possible to add ability to insert version data into exe-file info for windows?

--- End quote ---

Some time ago it was opted to make a plugin named version info to generate the rc file with info from the autoversioning plugin. I was going to make that, but I forgot it. :shock:

JGM:

--- Quote from: kisoft on September 28, 2007, 02:29:13 pm --- - You wrongly being used _("... ...") construction. For example in file avSvnRevision.cpp

--- End quote ---

Fixed and committed to revision 6  :D

kisoft:

--- Quote from: JGM on October 02, 2007, 07:25:48 am ---
--- Quote from: kisoft on September 28, 2007, 02:29:13 pm --- - You wrongly being used _("... ...") construction. For example in file avSvnRevision.cpp

--- End quote ---

Fixed and committed to revision 6  :D

--- End quote ---
Thank you!
I does checkout rev.6 sources and I would try your plugin today. Look is better, at first sight.

Usually I being formed .pot file and edit this file into poEdit (for translate to Russian).
"Wrong" lines is very visible. Anyway this method very suit for me.

Good Luck!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version