1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

Fix some English grammar biases...

... Avoid small out-of-context words and phrases in translation catalog that
are then substituted into larger translated phrases with blanks.

(What if my language has declensions?  How do I know the right form to use
for the phrases?)

Instead, give the translators larger in-context phrases to work with, even if
that requires replications of phrases with small variations.
This commit is contained in:
Paul Licameli
2017-10-08 12:49:21 -04:00
parent 0bca8d15f9
commit 0ec42f3dd2
5 changed files with 111 additions and 70 deletions

View File

@@ -250,17 +250,28 @@ static wxString AskCopyOrEdit()
wxBoxSizer *vbox;
dialog.SetSizer(vbox = safenew wxBoxSizer(wxVERTICAL));
wxStaticText *message = safenew wxStaticText(&dialog, -1, wxString::Format(_("\
When importing uncompressed audio files you can either copy them \
into the project, or read them directly from their current location (without copying).\n\n\
Your current preference is set to %s.\n\n\
\
Reading the files directly allows you to play or edit them almost immediately. \
This is less safe than copying in, because you must retain the files with their \
original names in their original location.\n\
File > Check Dependencies will show the original names and location of any files that you are reading directly.\n\n\
\
How do you want to import the current file(s)?"), oldCopyPref == wxT("copy") ? _("copy in") : _("read directly")));
wxString clause1 = _(
"When importing uncompressed audio files you can either copy them into the project,"
" or read them directly from their current location (without copying).\n\n"
);
wxString clause2 = oldCopyPref == wxT("copy")
? _("Your current preference is set to copy in.\n\n")
: _("Your current preference is set to read directly.\n\n")
;
wxString clause3 = _(
"Reading the files directly allows you to play or edit them almost immediately. "
"This is less safe than copying in, because you must retain the files with their "
"original names in their original locations.\n"
"File > Check Dependencies will show the original names and locations of any files "
"that you are reading directly.\n\n"
"How do you want to import the current file(s)?"
);
wxStaticText *message =
safenew wxStaticText(&dialog, -1, clause1 + clause2 + clause3);
message->Wrap(500);
message->SetName(message->GetLabel());