#4619: Tracker for Haiku internationalization progress -----------------------------+---------------------------------------------- Reporter: pulkomandy | Owner: pulkomandy Type: enhancement | Status: in-progress Priority: low | Milestone: R1 Component: Kits/Locale Kit | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: -----------------------------+---------------------------------------------- Comment(by humdinger): I had a quick look at some of the "done" apps. Since it came up in #5555, the AboutRequested() isn't ready yet because the bolded app name is still fixed size. Would this be an adequate solution (plus the translation TR macros of course): {{{ void QuickLaunch::AboutRequested() { char *appname = "QuickLaunch"; int namelength = strlen(appname); char text[512]; sprintf(text, "%s v0.9.4\n" "\twritten by Humdinger\n" "\tCopyright 2010\n\n" "QuickLaunch quickly starts any installed application. " "Just start to enter an app's name and choose " "from a list of all matching programs.\n", appname); BAlert *alert = new BAlert("about", text, "Thank you"); BTextView *view = alert->TextView(); BFont font; view->SetStylable(true); view->GetFont(&font); font.SetSize(font.Size()+4); font.SetFace(B_BOLD_FACE); view->SetFontAndColor(0, namelength, &font); alert->Go(); } }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/4619#comment:14> Haiku <http://dev.haiku-os.org> Haiku - the operating system.