1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Add a string for after 3.0.3, to disambiguate "Recording"...

... as suggested by Sampo Hippeläinen.
This commit is contained in:
Paul Licameli 2021-06-10 11:52:34 -04:00
parent ee8caa2452
commit 3ebebbb360
5 changed files with 20 additions and 5 deletions

View File

@ -139,3 +139,11 @@ XC("Error downloading update.", "update dialog"),
XC("Can't open the Audacity download link.", "update dialog"),
// i18n-hint Substitution of version number for %s.
XC("Audacity %s is available!", "update dialog"),
// For after 3.0.3
// See three occurrences of this XC in comments elsewhere;
// to be uncommented, replacing an XO; and the i18n-hint comment to be moved
// to one of them (one is enough)
// i18n-hint: modifier as in "Recording preferences", not progressive verb
XC("Recording", "preference"),

View File

@ -162,6 +162,7 @@ void DevicePrefs::PopulateOrExchange(ShuttleGui & S)
}
S.EndStatic();
// XC("Recording", "preference")
S.StartStatic(XO("Recording"));
{
S.StartMultiColumn(2);

View File

@ -41,7 +41,7 @@ BEGIN_EVENT_TABLE(RecordingPrefs, PrefsPanel)
END_EVENT_TABLE()
RecordingPrefs::RecordingPrefs(wxWindow * parent, wxWindowID winid)
: PrefsPanel(parent, winid, XO("Recording"))
: PrefsPanel(parent, winid, XO("Recording")) // XC("Recording", "preference")
{
gPrefs->Read(wxT("/GUI/TrackNames/RecordingNameCustom"), &mUseCustomTrackName, false);
mOldNameChoice = mUseCustomTrackName;

View File

@ -28,7 +28,10 @@ class ShuttleGui;
#define AILA_DEF_NUMBER_ANALYSIS 5
#endif
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Recording") }
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
L"Recording", \
XO("Recording") /* XC("Recording", "preference") */ \
}
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
#define DEFAULT_PRE_ROLL_SECONDS 5.0

View File

@ -92,13 +92,16 @@ END_EVENT_TABLE()
static const TranslatableString
/* i18n-hint: These are strings for the status bar, and indicate whether Audacity
is playing or recording or stopped, and whether it is paused. */
is playing or recording or stopped, and whether it is paused;
progressive verb form */
sStatePlay = XO("Playing")
/* i18n-hint: These are strings for the status bar, and indicate whether Audacity
is playing or recording or stopped, and whether it is paused. */
is playing or recording or stopped, and whether it is paused;
progressive verb form */
, sStateStop = XO("Stopped")
/* i18n-hint: These are strings for the status bar, and indicate whether Audacity
is playing or recording or stopped, and whether it is paused. */
is playing or recording or stopped, and whether it is paused;
progressive verb form */
, sStateRecord = XO("Recording")
;