From 927013227fc25e84191cd41b16cb7653b0d85352 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 28 Apr 2016 23:28:55 +0100 Subject: [PATCH] Add some TRANSLATORS comments. --- src/wx/config_dialog.cc | 1 + src/wx/dcp_panel.cc | 1 + src/wx/kdm_dialog.cc | 1 + src/wx/timing_panel.cc | 1 + src/wx/video_panel.cc | 2 ++ 5 files changed, 6 insertions(+) diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index d0c7ffb72..52742f066 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -1395,6 +1395,7 @@ private: t->Add (_log_warning, 1, wxEXPAND | wxALL); _log_error = new wxCheckBox (_panel, wxID_ANY, _("Errors")); t->Add (_log_error, 1, wxEXPAND | wxALL); + /// TRANSLATORS: translate the word "Timing" here; do not include the "Config|" prefix _log_timing = new wxCheckBox (_panel, wxID_ANY, S_("Config|Timing")); t->Add (_log_timing, 1, wxEXPAND | wxALL); _log_debug_decode = new wxCheckBox (_panel, wxID_ANY, _("Debug: decode")); diff --git a/src/wx/dcp_panel.cc b/src/wx/dcp_panel.cc index bc3309a6b..ba952c38d 100644 --- a/src/wx/dcp_panel.cc +++ b/src/wx/dcp_panel.cc @@ -177,6 +177,7 @@ DCPPanel::DCPPanel (wxNotebook* n, boost::shared_ptr film) _reel_type->Append (_("Single reel")); _reel_type->Append (_("Split by video content")); + /// TRANSLATORS: translate the word "Custom" here; do not include the "Reel|" prefix _reel_type->Append (_("Reel|Custom")); _reel_length->SetRange (1, 64); diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index 856808f11..596976bd7 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -61,6 +61,7 @@ KDMDialog::KDMDialog (wxWindow* parent, boost::shared_ptr film) vertical->Add (_screens, 1, wxEXPAND); /* Sub-heading: Timing */ + /// TRANSLATORS: translate the word "Timing" here; do not include the "KDM|" prefix h = new wxStaticText (this, wxID_ANY, S_("KDM|Timing")); h->SetFont (subheading_font); vertical->Add (h, 0, wxALIGN_CENTER_VERTICAL | wxTOP, DCPOMATIC_SIZER_Y_GAP * 2); diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index c8fd9984f..cad346823 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -42,6 +42,7 @@ using boost::optional; TimingPanel::TimingPanel (ContentPanel* p, FilmViewer* viewer) /* horrid hack for apparent lack of context support with wxWidgets i18n code */ + /// TRANSLATORS: translate the word "Timing" here; do not include the "Timing|" prefix : ContentSubPanel (p, S_("Timing|Timing")) , _viewer (viewer) { diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 63e3bbff9..f2f164ad5 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -193,6 +193,8 @@ VideoPanel::VideoPanel (ContentPanel* p) BOOST_FOREACH (PresetColourConversion const & i, PresetColourConversion::all()) { _colour_conversion->Append (std_to_wx (i.name)); } + + /// TRANSLATORS: translate the word "Custom" here; do not include the "Colour|" prefix _colour_conversion->Append (S_("Colour|Custom")); s->Add (_colour_conversion, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT, 6); -- 2.30.2