File wxCmdLineEntryDesc2_8.patch of Package usbpicprog

--- src/main.h	2008-12-07 13:51:17.000000000 +0100
+++ src/main.h.new	2013-12-05 23:25:03.357034215 +0100
@@ -83,16 +83,16 @@
 #if wxCHECK_VERSION(2,9,0)
 static const wxCmdLineEntryDesc g_cmdLineDesc [] =
 {
-    { wxCMD_LINE_SWITCH, "h", _("help"),       _("displays help on the command line parameters"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },
-    { wxCMD_LINE_SWITCH, "V", _("version"),    _("displays version information of usbpicprog") },
-    { wxCMD_LINE_OPTION, "p", _("pictype"),    _("specify the pic type (eg -p=P18F2550)"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
-    { wxCMD_LINE_SWITCH, "s", _("silent"),     _("do not display the hex file") },
-    { wxCMD_LINE_SWITCH, "w", _("write"),      _("write the device") },
-    { wxCMD_LINE_SWITCH, "r", _("read"),       _("read the device") },
-    { wxCMD_LINE_SWITCH, "v", _("verify"),     _("verify the device") },
-    { wxCMD_LINE_SWITCH, "e", _("erase"),      _("bulk erase the device") },
-    { wxCMD_LINE_SWITCH, "b", _("blankcheck"), _("blankcheck the device") },
-    { wxCMD_LINE_OPTION, "f", _("file"),       _("hexfile"),wxCMD_LINE_VAL_STRING,wxCMD_LINE_PARAM_OPTIONAL },
+    { wxCMD_LINE_SWITCH, wxT_2("h"), wxT_2("help"),       wxT_2("displays help on the command line parameters"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },
+    { wxCMD_LINE_SWITCH, wxT_2("V"), wxT_2("version"),    wxT_2("displays version information of usbpicprog") },
+    { wxCMD_LINE_OPTION, wxT_2("p"), wxT_2("pictype"),    wxT_2("specify the pic type (eg -p=P18F2550)"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
+    { wxCMD_LINE_SWITCH, wxT_2("s"), wxT_2("silent"),     wxT_2("do not display the hex file") },
+    { wxCMD_LINE_SWITCH, wxT_2("w"), wxT_2("write"),      wxT_2("write the device") },
+    { wxCMD_LINE_SWITCH, wxT_2("r"), wxT_2("read"),       wxT_2("read the device") },
+    { wxCMD_LINE_SWITCH, wxT_2("v"), wxT_2("verify"),     wxT_2("verify the device") },
+    { wxCMD_LINE_SWITCH, wxT_2("e"), wxT_2("erase"),      wxT_2("bulk erase the device") },
+    { wxCMD_LINE_SWITCH, wxT_2("b"), wxT_2("blankcheck"), wxT_2("blankcheck the device") },
+    { wxCMD_LINE_OPTION, wxT_2("f"), wxT_2("file"),       wxT_2("hexfile"),wxCMD_LINE_VAL_STRING,wxCMD_LINE_PARAM_OPTIONAL },
 
     { wxCMD_LINE_NONE }
 };
openSUSE Build Service is sponsored by