diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-26 22:13:52 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-26 22:15:20 +0100 | 
| commit | 0b56957297167538addd330e699e2e3cd2731d68 (patch) | |
| tree | 7718aacad23f2800db8a53af9f2d4970bed9c992 /proto-simconnect | |
| parent | c8d8702431e5b4fb275e9952d59efac69ca00960 (diff) | |
compat: use gettext convention for tr()
Diffstat (limited to 'proto-simconnect')
| -rw-r--r-- | proto-simconnect/ftnoir_protocol_sc.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/proto-simconnect/ftnoir_protocol_sc.cpp b/proto-simconnect/ftnoir_protocol_sc.cpp index e84f85ec..1a844429 100644 --- a/proto-simconnect/ftnoir_protocol_sc.cpp +++ b/proto-simconnect/ftnoir_protocol_sc.cpp @@ -174,30 +174,30 @@ module_status simconnect::initialize()                  return error(tr("dll load failed -- %1").arg(SCClientLib.errorString()));          }          else -            return error("can't load SDK -- check selected simconnect version"); +            return error(_("can't load SDK -- check selected simconnect version"));      }      simconnect_open = (importSimConnect_Open) SCClientLib.resolve("SimConnect_Open");      if (simconnect_open == NULL) { -        return error("simconnect: SimConnect_Open function not found in DLL!"); +        return error("Open function not found in DLL!");      }      simconnect_set6DOF = (importSimConnect_CameraSetRelative6DOF) SCClientLib.resolve("SimConnect_CameraSetRelative6DOF");      if (simconnect_set6DOF == NULL) { -        return error("simconnect: SimConnect_CameraSetRelative6DOF function not found in DLL!"); +        return error("CameraSetRelative6DOF function not found in DLL!");      }      simconnect_close = (importSimConnect_Close) SCClientLib.resolve("SimConnect_Close");      if (simconnect_close == NULL) { -        return error("simconnect: SimConnect_Close function not found in DLL!"); +        return error("Close function not found in DLL!");      }      simconnect_calldispatch = (importSimConnect_CallDispatch) SCClientLib.resolve("SimConnect_CallDispatch");      if (simconnect_calldispatch == NULL) { -        return error("simconnect: SimConnect_CallDispatch function not found in DLL!"); +        return error("CallDispatch function not found in DLL!");      }      simconnect_subscribetosystemevent = (importSimConnect_SubscribeToSystemEvent) SCClientLib.resolve("SimConnect_SubscribeToSystemEvent");      if (simconnect_subscribetosystemevent == NULL) { -        return error("simconnect: SimConnect_SubscribeToSystemEvent function not found in DLL!"); +        return error("SubscribeToSystemEvent function not found in DLL!");      }      start();  | 
