User forums > Help

Use C::B->Tools with Poedit

(1/3) > >>

LETARTARE:
With C::B, I use 'Poedit' from 'Tools' with the parameter

--- Quote ---"$(PROJECT_DIR)$(PROJECT_NAME)"
--- End quote ---

(the "" allow spaces in macros)

is a project 'project.cbp' and $(PROJECT_NAME) = 'project' and the file 'project.po' in $(PROJECT_DIR)

the call of 'Poedit' load properly 'project.po' with the most part of project
except C:: B.

Indeed, the project name
--- Quote ---'codeblocks.cbp' -> 'Code::Blocks'
--- End quote ---
and returns the error Poedit 123 (incorrect syntax)

Do you have a solution?

Thank you in advance

oBFusCATed:
What? A better explanation will help us to help you.

LETARTARE:
I'll try ...

'Poedit' looks for the file 'code::blocks.po'
But the symbols '::' are forbidden to name a file.
Should provide 'codeblocks.po'

oBFusCATed:
Try a bit harder, I still don't understand what you're trying to achieve and what is the problem.

LETARTARE:
Thank you for your answers, but the Google translation is not easy ...

I try to open from C::B, a file 'po' corresponding to the active project
If the project is called 'foo', translation file called 'foo.po'
I forgot to mention that I generate this file 'foo.po' from the project name 'foo'
I put it in the project directory

Normally call 'Poedit' (with the parameters of the first post) by the menu 'Tools-> Poedit'  to open 'foo.po' in 'Poedit'

If the project is called 'Code::Blocks', Poedit not find the file 'Code::Blocks.po' because this file is illegal to write with Win32

--- Quote ---'::' Is forbidden to name a file with Vista
--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version