Author Topic: Code::Blocks' translation  (Read 664321 times)

Offline Wagner de Queiroz

  • Single posting newcomer
  • *
  • Posts: 5
  • eh nós Queiroz!
Re: Code::Blocks' translation
« Reply #180 on: October 15, 2012, 02:31:38 am »
Dear gd_on, I saw that pot file, the svn 8093, thanks for your work with the extraction tool. I have to ask, Its better generate a new .pot file at launchpad  from the last svn or the last stable version? Anybody have experience to upload the code::Blocks at launchpad website?
Powered by Ubuntu

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #181 on: November 18, 2012, 04:59:54 pm »
@Wagner de Queiroz : It should be better to use launchpad, but  I have no idea how to do to update it, and even if it's possible because I'm not the owner of the original file on Launchpad.
So I continue here ...

Updates to the .pot file extracted from svn 8572 are here. It's OK for the new Release Canditates 12.11 RC1.
Translation in French, also updated from svn 8572 in the .po and .mo file is here. Also OK for version 12.11 RC1.
There are 7900 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here.

gd_on
« Last Edit: November 18, 2012, 05:29:18 pm by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code::Blocks' translation
« Reply #182 on: November 18, 2012, 05:14:32 pm »
hello,
@ gd_on
Perhaps '8772' -> 8572' ...
Could you tell me the version of 'wxrc.exe' that you use ?
The extracted version of wxWidgets-2.8.x or 2.9.x-wxWidgets ?
Because the version 2.8.x does not generate the position of the extracted strings.
cordially
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #183 on: November 18, 2012, 05:35:17 pm »
Yes, it's 8572, sorry for the mistyping ... :-[ Corrected in the original post  ;)
I still use wxWidgets 2.8.12 and wxrc found in the utils folder.
Now, I use TDM gcc 4.7.1, so it has been necessary to re-compile and build wxWidgets and wxrc. But, that's all.
I have not tried my tools with wxWidget 2.9.x, sorry.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #184 on: December 09, 2012, 12:58:59 pm »
Updates to the .pot file extracted from svn 8644 and 12.11 Release are here.
Translation in French, also updated from svn 8644 and 12.11 release in the .po and .mo file is here.
There are 7913 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code::Blocks' translation
« Reply #185 on: December 09, 2012, 01:51:59 pm »
hello,
first reading, just a typo in the new translation po.fr:L4964  : "sting" -> "string".
Thank you for this excellent work.
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code::Blocks' translation
« Reply #186 on: December 09, 2012, 02:12:12 pm »
hello,
it seemed that Morten McFly indicated for revision
"On the latest revision in the branch 12.11" and looking -> 8629,
whereas in the trunk -> 8644.
Which should be taken?
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #187 on: December 09, 2012, 06:50:44 pm »
Typo corrected. Thanks.
I don't think there are so many differences in the strings between SVN 8629 and 8644. It's why I said it is compatible.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Hiro5

  • Guest
Re: Code::Blocks' translation
« Reply #188 on: December 29, 2012, 12:10:00 pm »
Seems that there are missing some lines in the .POT/.PO file.

Code
msgid "&Show tips at startup"
msgstr ""

msgid "Did you know..."
msgstr ""

msgid "&Next Tip"
msgstr ""

It translates some stuff in the "Tip of de day" dialog.
Maybe something is missing in the extraction tool.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #189 on: December 29, 2012, 06:02:26 pm »
May be ... or not.
It depends where are those strings and if they are marked (in a .cpp, .h, ...file) as translatable (with _(...)) or not translatable (with _T(...)).
If they are in a .xrc file they also can be found, normally.
An other problem, is ... I can't locate them in the sources. They are somewhere, sure, but in which file ? I have not found them  :(

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Code::Blocks' translation
« Reply #190 on: December 29, 2012, 06:30:57 pm »
These strings are part of the wxWidgets wxTipDialog in tipdlg.cpp and can not be translated in C::B.
They should automatically be used localized, if you have installed the i18n package of wxWidgets.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #191 on: December 29, 2012, 06:40:05 pm »
Thanks Jens for the info.
I had also just found them in wxwidgets\locale\fr.po (in my case).
If with poedit, I create a fr.mo and put it in the same directory where is All_codeblocks.mo, it works. (I'm on Windows)

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: Code::Blocks' translation
« Reply #192 on: January 23, 2013, 06:42:50 pm »
Updates to the .pot file extracted from svn 8812 are here.
Translation in French, also updated from svn 8812 in the .po and .mo file is here.
There are 7147 character chains. There is still some work to do, not obvious without the context >:(. So, if you meet them and have some propositions, or find errors, don't hesitate to mail me (or send a PM). 8)

See previous posts for other informations.
The extraction tool is here.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code::Blocks' translation
« Reply #193 on: January 23, 2013, 06:58:56 pm »
hello,
thank you for the work that I will use and analyze.
cordially
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Code::Blocks' translation
« Reply #194 on: January 30, 2013, 05:57:14 pm »
@gd_on
hello,
I am currently working on GNU AVR GCC and after building C::B r8818 and added your translation file, I can not find the compiler in the list.
A search tells me the last file "codeblocks.po" :
Code
#: ../plugins/compilergcc/compilerGNUAVR.cpp:19
msgid "GNU AVR GCC Compiler"
msgstr "Compilateur GNU ARM GCC"

I do not have time to check the rest ...
Sincerely
PS : sorry it's 
Quote
All_codeblocks_fr_8644_12.11.7z
now old
« Last Edit: January 30, 2013, 07:19:56 pm by LETARTARE »
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl