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