mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 17:41:13 +02:00
Add i18n-hint comment; clean up FutureStrings.h
This commit is contained in:
@@ -95,25 +95,3 @@ Some example strings are also given first, to document the syntax.
|
|||||||
|
|
||||||
// //////////////////////////////////////////////// End examples
|
// //////////////////////////////////////////////// End examples
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Update version dialog
|
|
||||||
XC("Update Audacity", "update dialog"),
|
|
||||||
XC("&Skip", "update dialog"),
|
|
||||||
XC("&Install update", "update dialog"),
|
|
||||||
XC("Changelog", "update dialog"),
|
|
||||||
XC("Read more on GitHub", "update dialog"),
|
|
||||||
XC("Error checking for update", "update dialog"),
|
|
||||||
XC("Unable to connect to Audacity update server.", "update dialog"),
|
|
||||||
XC("Update data was corrupted.", "update dialog"),
|
|
||||||
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"),
|
|
||||||
|
@@ -162,8 +162,8 @@ void DevicePrefs::PopulateOrExchange(ShuttleGui & S)
|
|||||||
}
|
}
|
||||||
S.EndStatic();
|
S.EndStatic();
|
||||||
|
|
||||||
// XC("Recording", "preference")
|
// i18n-hint: modifier as in "Recording preferences", not progressive verb
|
||||||
S.StartStatic(XO("Recording"));
|
S.StartStatic(XC("Recording", "preference"));
|
||||||
{
|
{
|
||||||
S.StartMultiColumn(2);
|
S.StartMultiColumn(2);
|
||||||
{
|
{
|
||||||
|
@@ -41,7 +41,8 @@ BEGIN_EVENT_TABLE(RecordingPrefs, PrefsPanel)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
RecordingPrefs::RecordingPrefs(wxWindow * parent, wxWindowID winid)
|
RecordingPrefs::RecordingPrefs(wxWindow * parent, wxWindowID winid)
|
||||||
: PrefsPanel(parent, winid, XO("Recording")) // XC("Recording", "preference")
|
// i18n-hint: modifier as in "Recording preferences", not progressive verb
|
||||||
|
: PrefsPanel(parent, winid, XC("Recording", "preference"))
|
||||||
{
|
{
|
||||||
gPrefs->Read(wxT("/GUI/TrackNames/RecordingNameCustom"), &mUseCustomTrackName, false);
|
gPrefs->Read(wxT("/GUI/TrackNames/RecordingNameCustom"), &mUseCustomTrackName, false);
|
||||||
mOldNameChoice = mUseCustomTrackName;
|
mOldNameChoice = mUseCustomTrackName;
|
||||||
|
@@ -30,7 +30,8 @@ class ShuttleGui;
|
|||||||
|
|
||||||
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
|
#define RECORDING_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ \
|
||||||
L"Recording", \
|
L"Recording", \
|
||||||
XO("Recording") /* XC("Recording", "preference") */ \
|
/* i18n-hint: modifier as in "Recording preferences", not progressive verb */ \
|
||||||
|
XC("Recording", "preference") \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
|
#define AUDIO_PRE_ROLL_KEY (wxT("/AudioIO/PreRoll"))
|
||||||
|
@@ -88,6 +88,7 @@ UpdateNoticeDialog::UpdateNoticeDialog(wxWindow* parent)
|
|||||||
AccessibleLinksFormatter preferencesMessage(thirdParagraph);
|
AccessibleLinksFormatter preferencesMessage(thirdParagraph);
|
||||||
|
|
||||||
preferencesMessage.FormatLink(
|
preferencesMessage.FormatLink(
|
||||||
|
// i18n-hint: a page in the Preferences dialog; use same name
|
||||||
wxT("%s"), XO("Preferences > Application"), [this]() {
|
wxT("%s"), XO("Preferences > Application"), [this]() {
|
||||||
GlobalPrefsDialog dialog(this /* parent */, nullptr);
|
GlobalPrefsDialog dialog(this /* parent */, nullptr);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user