Hi.
i tried your script with c::b ;) and got this error, witch seems legit:
The project name 'Code::Blocks wx2.8.x - Unix' contains an illegal character ':'
i think this should not be a error message, but it should replace the illegal character with something like '_' or '-' ....
I'm also running linux, and i have problems with the ".exe" thing.... it is to hard to implement a check wit "PLATFORM" and remove the .exe from execute string.
greetings
I fixed an error in 'wxTranslate_plugin.script':L80 :
Rexe = _T("wxrc294.exe") -> 'Rexe = _T("wxrc.exe")'
new version'0.3.2'
I changed the site, but the download is still on the old version 0.3.1 ??
Also you need to make the change by hand, until 'SourceForge' make changes.
thanks
Thank you for the positive test.
About possible improvements :
1- waiting for a fix, you can change the line 'wxtranslate_plugin.script:L93'
Dirlocale = _T("trlocale") + ::wxFILE_SEP_PATH
2- I agree, it is more consistent ( -> v 0.4.3),
3- this is more difficult because it complicates the menus and allow many combinations to predict,
I put it on the list of requests.
A soon.
I have done this test in "wxTranslate\trunk\main.cpp:L32"
wxString foo = _("My name is");
wxString foo2 = _(" My name ë è ô");
The construction is correct.
'List' indicates :
1- 'main.cpp' (2715 bytes)
* Warning(s) :
L34: warning: The following msgid contains non-ASCII characters.
L34: invalid multibyte sequence
'Extract' works well !
And in '*.po' :
#: main.cpp:32
msgid "My name is"
msgstr ""
#: main.cpp:34
msgid " My name ë è ô"
msgstr ""
Version 'xgettext.exe' is '0.18.1'
Is it repaired?
Cordially
@eranon
1- A remark for the strings (not) to translate:
_("Welcome") and _T(" Thô") or wxT(" Thô")
2- For 'xgettext.exe' for encoding files scanned :
--from-code=NAME encoding of input files (except for Python, Tcl, Glade)
default : --from-code=ascii
'wxTranslate' uses
3- For comments:
-c, --add-comments place all comment blocks preceding keyword lines in output file
but I did not try; to do ...
4- Generally 'wxgettext.exe' extract all strings marked with the keyword :
-k, --keyword do not to use default keywords
(only languages C, C++, ObjectiveC, Shell, Python, Lisp, EmacsLisp, librep, Scheme, Java
C#, awk, Tcl, Perl, PHP, GCC-source, Glade)
'wxTranslate' uses :
-k= '_' or '_T' or 'wxT'
For you, what's the point of removing the comments?