@@ -68,18 +68,18 @@ struct ResolutionShortcut {
6868};
6969
7070static ResolutionShortcut resolutions[] = {
71- {_ (L" 640\u00D7 480 (SD fullscreen)" ), 640 , 480 }, // U+00D7 multiplication sign
72- {_ (L" 704\u00D7 480 (SD anamorphic)" ), 704 , 480 },
73- {_ (L" 640\u00D7 360 (SD widescreen)" ), 640 , 360 },
74- {_ (L" 704\u00D7 396 (SD widescreen)" ), 704 , 396 },
75- {_ (L" 640\u00D7 352 (SD widescreen MOD16)" ), 640 , 352 },
76- {_ (L" 704\u00D7 400 (SD widescreen MOD16)" ), 704 , 400 },
77- {_ (L" 1024\u00D7 576 (SuperPAL widescreen)" ), 1024 , 576 },
78- {_ (L" 1280\u00D7 720 (HD 720p)" ), 1280 , 720 },
79- {_ (L" 1920\u00D7 1080 (FHD 1080p)" ), 1920 , 1080 },
80- {_ (L" 2560\u00D7 1440 (QHD 1440p)" ), 2560 , 1440 },
81- {_ (L" 3840\u00D7 2160 (4K UHD 2160p)" ), 3840 , 2160 },
82- {_ (L" 1080\u00D7 1920 (FHD vertical)" ), 1080 , 1920 },
71+ {wxGetTranslation (L" 640\u00D7 480 (SD fullscreen)" ), 640 , 480 }, // U+00D7 multiplication sign
72+ {wxGetTranslation (L" 704\u00D7 480 (SD anamorphic)" ), 704 , 480 },
73+ {wxGetTranslation (L" 640\u00D7 360 (SD widescreen)" ), 640 , 360 },
74+ {wxGetTranslation (L" 704\u00D7 396 (SD widescreen)" ), 704 , 396 },
75+ {wxGetTranslation (L" 640\u00D7 352 (SD widescreen MOD16)" ), 640 , 352 },
76+ {wxGetTranslation (L" 704\u00D7 400 (SD widescreen MOD16)" ), 704 , 400 },
77+ {wxGetTranslation (L" 1024\u00D7 576 (SuperPAL widescreen)" ), 1024 , 576 },
78+ {wxGetTranslation (L" 1280\u00D7 720 (HD 720p)" ), 1280 , 720 },
79+ {wxGetTranslation (L" 1920\u00D7 1080 (FHD 1080p)" ), 1920 , 1080 },
80+ {wxGetTranslation (L" 2560\u00D7 1440 (QHD 1440p)" ), 2560 , 1440 },
81+ {wxGetTranslation (L" 3840\u00D7 2160 (4K UHD 2160p)" ), 3840 , 2160 },
82+ {wxGetTranslation (L" 1080\u00D7 1920 (FHD vertical)" ), 1080 , 1920 },
8383};
8484
8585wxSpinCtrl *spin_ctrl (wxWindow *parent, int min, int max, int *value) {
@@ -92,7 +92,7 @@ wxComboBox *resolution_shortcuts(wxWindow *parent, int width, int height) {
9292 wxComboBox *ctrl = new wxComboBox (parent, -1 , " " , wxDefaultPosition, wxDefaultSize, 0 , nullptr , wxCB_READONLY);
9393
9494 for (auto const & res : resolutions) {
95- ctrl->Append (_ (res.name ));
95+ ctrl->Append (wxGetTranslation (res.name ));
9696 if (res.width == width && res.height == height)
9797 ctrl->SetSelection (ctrl->GetCount () - 1 );
9898 }
0 commit comments