Commit Graph

33 Commits (4437ce7a8cd7e0508d26fede84fcaf5d040a8c05)

Author SHA1 Message Date
Ilya Shipitsin 08538280d0 cppcheck cleanup:
[openvpn_config.c:194]: (style) The function 'ConfigFileOptionExist' is never used.
[localization.c:299]: (style) The function 'LocalizedDialogBox' is never used.
[main.c:549]: (style) The function 'PrintErrorDebug' is never used.
[main.c:583]: (style) The function 'init_security_attributes_allow_all' is never used.
[misc.c:180]: (style) The function 'wcseq' is never used.
2015-12-22 23:21:14 +05:00
Ilya Shipitsin bc94c7e951 fix
$ cppcheck .
Checking localization.c...
[localization.c:224]: (error) va_list 'args' was opened but not closed by va_end().
2015-12-15 18:15:42 +05:00
Heiko Hund c00191f51e use UI language set by user for l10n, closes #27 2013-04-15 19:23:24 +02:00
Heiko Hund 3751dbe8f4 convert connection time from UTC to local time 2012-11-06 15:25:14 +01:00
Heiko Hund 2e53dbd254 localize connection time display in tray tooltip 2012-11-06 14:54:53 +01:00
Heiko Hund 56654663f5 fall back to English resource if string is missing 2012-07-26 08:57:27 +02:00
Heiko Hund 82eb645a5e localize buttons in message boxes when possible 2012-07-20 17:44:48 +02:00
Heiko Hund f420d7dcbb use CRT's _countof instead of proprietary _tsizeof 2012-03-29 17:40:34 +02:00
Alon Bar-Lev c9eb68c77f use automake in build
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Edited to not use libtool and implicit automake rule to build resource object
2012-03-28 10:59:44 +00:00
Alon Bar-Lev 45421c2514 cleanup: resolve warnings missing malloc include
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2012-03-28 10:44:54 +00:00
Heiko Hund 18376e2f2e tag unused variables to stop compiler warnings 2012-03-28 10:44:51 +00:00
Heiko Hund 54d74f5861 always compile a unicode binary 2011-08-29 13:56:32 +00:00
Heiko Hund 651238c1ef use SetWindowLongPtr() for x64 compatibility 2011-07-26 09:13:07 +02:00
Heiko Hund 697ffc57f9 fix prototype of dlgproc functions 2011-07-26 09:05:16 +02:00
Heiko Hund d46789bc27 fix parameter type in FillLangListProc() 2011-07-20 16:26:27 +02:00
Heiko Hund 92c6bc6276 set gui language for common controls as well 2010-04-15 20:28:11 +02:00
Heiko Hund 223cf23748 use GetSystemDefaultLCID() for determination of the system language 2010-04-15 19:20:26 +02:00
Heiko Hund a6e6d88115 refactor option handling code 2010-04-09 06:18:58 +02:00
Heiko Hund 61cb987f4d make it work when compiled as unicode 2010-03-21 10:07:14 +01:00
Heiko Hund f542c42738 use _tsizeof to get the buffer size 2010-03-13 09:35:33 +01:00
Heiko Hund 6939cb8792 replace GUI_* with PACKAGE_* macros 2010-03-11 22:58:45 +01:00
Heiko Hund 0948302b70 remove execute bits from source files 2010-03-10 10:28:52 +01:00
Heiko Hund ac6c155243 added function CreateLocalizedDialogParam() 2009-02-05 13:52:27 +00:00
Heiko Hund 4003e9bf3a rearranged GetGUILanguage function a bit 2009-02-04 16:39:41 +00:00
Heiko Hund a907b9d877 made it compile again 2009-02-04 15:56:11 +00:00
Heiko Hund 5783d7da94 cleaned up resource IDs 2009-02-04 15:54:37 +00:00
Heiko Hund 35c1bf35c9 removed useless code 2009-02-04 06:29:07 +00:00
Heiko Hund c9edb6f40b fixed recursive call to GetGUILanguage in error case 2009-02-03 12:11:07 +00:00
Heiko Hund 6f37fd999f added support for GUI localization at runtime 2009-02-02 17:27:09 +00:00
Heiko Hund 2f3ca9d6c2 - added API to retrieve localized dialog template
- using instance from global options struct
2009-01-26 21:03:39 +00:00
Heiko Hund 1ea8d5b8f7 added functions for localized dialog, string and icon resources 2009-01-18 20:37:32 +00:00
Heiko Hund d46af68a82 added function to load localized dialog 2009-01-16 22:54:50 +00:00
Heiko Hund 746451bafa added functions to load localized resources 2009-01-16 16:58:03 +00:00