mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-15 16:17:41 +02:00
Localize "<untitled>"
This commit is contained in:
parent
17a4958173
commit
b0a89070c2
@ -1321,9 +1321,12 @@ void ProjectFileIO::SetProjectTitle(int number)
|
|||||||
// is none.
|
// is none.
|
||||||
if (number >= 0)
|
if (number >= 0)
|
||||||
{
|
{
|
||||||
|
name =
|
||||||
/* i18n-hint: The %02i is the project number, the %s is the project name.*/
|
/* i18n-hint: The %02i is the project number, the %s is the project name.*/
|
||||||
name = wxString::Format(_("[Project %02i] Audacity \"%s\""), number + 1,
|
XO("[Project %02i] Audacity \"%s\"")
|
||||||
name.empty() ? "<untitled>" : (const char *)name);
|
.Format( number + 1,
|
||||||
|
name.empty() ? XO("<untitled>") : Verbatim((const char *)name))
|
||||||
|
.Translation();
|
||||||
}
|
}
|
||||||
// If we are not showing numbers, then <untitled> shows as 'Audacity'.
|
// If we are not showing numbers, then <untitled> shows as 'Audacity'.
|
||||||
else if (name.empty())
|
else if (name.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user