Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Code::Blocks' translation

<< < (55/56) > >>

LETARTARE:
Thanks.
But what is the role in 'wxSmith' of  'XXXX% ' ?

Miguel Gimenez:
It is a placeholder reserving space for the real string:

--- Code: ---        wxStaticText* txt_Gauge_Empty = XRCCTRL(*this, "txt_Gauge_Empty", wxStaticText);
        txt_Gauge_Empty->SetLabel(wxString::Format(_("%3d%% Empty"), percentEmpty));

--- End code ---

LETARTARE:
Thanks

gd_on:
In cbeditor.cpp, lines 932 and 934, you have strings "%sUntitled%d" and "Untitled%d". Only the first one is a (small !) problem in poedit.
It's possible to add a spaces like "%s Untitled %d" and "Untitled %d". Like that, poedit is "happy" !
But, this is really a detail!

Miguel Gimenez:
Fixed in r13204 using only one string with no modifiers.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version