MCPcopy Create free account
hub / github.com/audacity/audacity / PopulateAudacityPage

Method PopulateAudacityPage

src/AboutDialog.cpp:359–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357#define ABOUT_DIALOG_WIDTH 506
358
359void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
360{
361 CreateCreditsList();
362
363
364 /* i18n-hint: The translation of "translator_credits" will appear
365 * in the credits in the About Audacity window. Use this to add
366 * your own name(s) to the credits.
367 *
368 * For example: "English translation by Dominic Mazzoni." */
369 auto translatorCreditsMsgid = XO("translator_credits");
370 auto translatorCredits = translatorCreditsMsgid.Translation();
371 if ( translatorCredits == translatorCreditsMsgid.MSGID().GET() )
372 // We're in an English locale
373 translatorCredits.clear();
374 else
375 translatorCredits += wxT("<br>");
376
377 wxStringOutputStream o;
378 wxTextOutputStream informationStr( o ); // string to build up list of information in
379 informationStr
380 << wxT("<center>")
381 << XO("<h3>")
382 << ProgramName
383 << wxT(" ")
384 << wxString(AUDACITY_VERSION_STRING)
385 << wxT("</center></h3>")
386 /* i18n-hint: The program's name substitutes for %s */
387 << XO("%s the free, open source, cross-platform software for recording and editing sounds.")
388 .Format(ProgramName)
389
390 << wxT("<h3>")
391 << XO("Credits")
392 << wxT("</h3>")
393
394 << wxT("<p><b>")
395 /* i18n-hint: The program's name substitutes for %s */
396 << XO("%s Team Members").Format( ProgramName )
397 << wxT("</b><br>")
398 << GetCreditsByRole(roleTeamMember)
399
400 << wxT("<p><b> ")
401 << XO("Emeritus:")
402 << wxT("</b><br>")
403 /* i18n-hint: The program's name substitutes for %s */
404 << XO("Distinguished %s Team members, not currently active")
405 .Format( ProgramName )
406 << wxT("<br><br>")
407 << GetCreditsByRole(roleEmeritusTeam)
408
409 << wxT("<p><b>")
410 << XO("Contributors")
411 << wxT("</b><br>")
412 << GetCreditsByRole(roleContributor)
413
414 << wxT("<p><b>")
415 << XO("Website and Graphics")
416 << wxT("</b><br>")

Callers

nothing calls this directly

Calls 15

VerbatimFunction · 0.85
wxStaticBitmapClass · 0.85
FormatHtmlTextFunction · 0.85
TranslationMethod · 0.80
MSGIDMethod · 0.80
StartNotebookPageMethod · 0.80
GetRedMethod · 0.80
GetGreenMethod · 0.80
GetBlueMethod · 0.80
SetBackgroundColourMethod · 0.80
RescaleMethod · 0.80
AddWindowMethod · 0.80

Tested by

no test coverage detected