On 2011-02-13 at 13:57:50 [+0100], Siarzhuk Zharski <zharik@xxxxxx> wrote: > > Below is a quote from one of my "patch applying" commit: > [ ... ] > > - BString name(B_TRANSLATE("Pad ")); > > - name << i + 1; > > + BString name(B_TRANSLATE("Pad")); > > + name << " " << i + 1; > > BMessage* windowSettings = new BMessage(windowMessage); > > MainWindow* window = new MainWindow(name.String(), frame, > > windowSettings); > > Mentioned problem with trailing spaces has it's origins in the HTA > system. Current implementation doesn't mark the spaces in any way, so > original English line ended with space looks identical to one without > the space at the end. So, usually this space is not transferred to > localized string during translation on HTA. And as result, the localized > UI will look different than original English one. For example look on > this http://dl.dropbox.com/u/15787359/missing_spaces.png > > Now about the "fixing" it in the source code. From my point of view > this is just useless obfuscation and should be prohibited. Indeed. Let's fix the tool instead. cheers, Oliver