Commit Graph

358 Commits

Author SHA1 Message Date
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Henri Verbeet 187065e1c3 wrc: Avoid an unused function warning when HAVE_LIBGETTEXTPO is not defined. 2012-01-31 13:46:36 +01:00
Alexandre Julliard 811da88cfc wrc: Fix parsing of virtkey accelerators. 2012-01-30 12:46:20 +01:00
Francois Gouget 1a512846e2 wrc: Add a trailing '\n' to the error() calls. 2012-01-27 18:05:54 +01:00
Alexandre Julliard ceadc43c78 wrc: Add support for translating accelerators through po files. 2012-01-24 18:10:32 +01:00
Alexandre Julliard ceb26b809b wrc: Fix lookup of strings that contain a context. 2011-11-18 19:26:42 +01:00
Alexandre Julliard 1eeaa874b3 wrc: Increase the font size when translating a dialog to a language that needs a larger font. 2011-10-31 16:47:13 +01:00
Alexandre Julliard f13f25343c wrc: Set the WS_EX_LAYOUTRTL flag when translating a dialog to a RTL language. 2011-10-31 16:46:58 +01:00
Alexandre Julliard 413f5ccba5 wrc: Print warnings for mismatched dialogs during po file generation. 2011-10-31 16:46:22 +01:00
Alexandre Julliard f4ec097c9b wrc: Load translations from mo files instead of po. 2011-10-22 20:13:40 +02:00
Alexandre Julliard 4215722988 wrc: Store the current po file in a global variable. 2011-10-22 17:44:38 +02:00
Francois Gouget 9c11faf619 wrc: Fix the spelling of the --endianness option. 2011-08-24 19:07:45 +02:00
Francois Gouget 32b310c737 wrc: If the message context is 'do not translate', then don't add the string to the PO file. 2011-08-24 19:07:45 +02:00
Frédéric Delanoy 701aabb141 tools: Assorted spelling fixes. 2011-07-29 12:09:12 +02:00
Henri Verbeet 6c0e6df1b7 wrc: Don't include gettext-po.h if we don't have the corresponding library. 2011-07-25 22:05:20 +02:00
Alexandre Julliard a92d60efb5 wrc: Run through the translation process even if libgettext-po is missing. 2011-07-25 10:42:42 +02:00
Marcus Meissner b07408cf82 wrc: Fixed some small leaks in PO code (Coverity). 2011-06-28 11:57:51 -05:00
Alexandre Julliard 49c31e3bf8 makefiles: Use the generic install flags for the tools directories. 2011-06-12 12:47:48 +02:00
Frédéric Delanoy a53468b489 wrc: Fix spelling/grammar in manpage. 2011-05-27 17:53:39 +02:00
Akihiro Sagawa 96361b3951 wrc: Don't match a po message if a same msgid message is defined, but its msgctxt is null. 2011-02-01 18:14:09 +01:00
Alexandre Julliard 36bc86bfb3 wrc: Remove the context prefix when generating the po file for English. 2011-01-14 18:26:12 +01:00
Alexandre Julliard c0b813f002 po: Use more standard names for the Serbian locales. 2011-01-07 12:11:41 +01:00
Alexandre Julliard 45ef8e8a18 wrc: Treat empty translation strings as missing. 2011-01-07 10:20:29 +01:00
Huw Davies d5c66bc23d wrc: Initialise variable. 2011-01-05 17:54:33 +01:00
Alexandre Julliard 1898f22ca5 wrc: Do not use translations that are marked fuzzy. 2011-01-04 20:27:59 +01:00
Alexandre Julliard d8c986e062 wrc: Add support for loading translations from po files. 2011-01-04 11:18:45 +01:00
Alexandre Julliard 10700bf6b2 wrc: Add support for generating .po files from existing resources. 2011-01-04 11:18:10 +01:00
Alexandre Julliard df45a347ac wrc: Store location information in strings. 2010-12-30 13:08:30 +01:00
Alexandre Julliard d0a6c806a9 wrc: Explicitly define structure creation functions instead of playing with macros. 2010-12-30 12:30:36 +01:00
Alexandre Julliard 5fabc5cca7 wrc: Copy the strmake utility function from winegcc. 2010-12-30 12:27:13 +01:00
André Hentschel a49eac930a wrc: Allow comma after popup name. 2010-12-14 11:44:09 +01:00
Alexandre Julliard 577f202d25 wrc: Only allow 7-bit ASCII characters in wide string constants. 2010-12-05 16:33:13 +01:00
Alexandre Julliard 15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +01:00
Alexandre Julliard e6340f1652 wrc: Add support for target options, and define _WIN64 for 64-bit builds. 2010-09-29 20:13:28 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 0fbe445871 wrc: Display a warning in pedantic mode when using memory options in 32-bit resources. 2010-07-22 11:41:40 +02:00
Alexandre Julliard cdf6947080 wrc: Avoid use of toupper/isupper on signed chars. 2010-06-16 12:48:51 +02:00
Gerald Pfeifer 3aa6cff4ce wrc: Remove variable type which is not really used from rsrcid_to_token. 2010-05-05 10:53:05 +02:00
Kirill Smelkov 277aba1d76 wrc: Drop hardcoded INCLUDEDIR.
INCLUDEDIR should be defined in Makefile.in, and if not, we should notice.
2010-04-22 11:27:52 +02:00
Kirill Smelkov f4ff08f483 wrc: Use INCLUDEDIR when compiling. 2010-04-22 11:27:44 +02:00
Alexandre Julliard 1ffab3ab4e wrc: Make the bitmap size checking more generic, and add support for V5 bitmaps. 2010-04-21 14:07:50 +02:00
Alexandre Julliard cb9be96437 wrc: Move temp file management from wpp directly into the load_file function. 2010-03-30 15:33:54 +02:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01:00
Rob Shearman 903f686899 wrc: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings. 2010-01-22 12:18:20 +01:00
Alexandre Julliard 82f910eb62 wrc: Merge the menu and menuex structures. 2010-01-04 12:41:16 +01:00
Alexandre Julliard 1b305dd2df wrc: Merge the menuitem and menuitemex structures. 2010-01-04 12:31:22 +01:00
Alexandre Julliard 0fb8203654 wrc: Merge the dialog and dialogex structures. 2010-01-04 12:23:37 +01:00
Michael Stefaniuc b90a74c724 Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.".
This reverts commit 1405c00ecb.
Wine now requires a new enough flex version.
2009-12-30 13:36:19 +01:00
Alexandre Julliard da3ee66505 wrc: Include unistd.h before the Windows headers. 2009-10-06 16:18:04 +02:00
Alexandre Julliard a4e22d4928 tools: Build all the tools with -D__WINESRC__. 2009-10-05 14:55:25 +02:00
Gerald Pfeifer bdb73f5c72 wrc: Fix eight conditions in compare_menuex_item. 2009-09-16 15:26:06 -05:00
Francois Gouget b4e7155c1a wrc: Add a '\n' to a parser_warning() call. 2009-08-26 13:09:16 +02:00
Alexandre Julliard be7558fc30 wrc: Print a warning when encountering utf8 strings in non-utf8 codepage. 2009-08-20 15:33:03 +02:00
Marcus Meissner 39d4d12c08 wrc: Handle "no files == stdin". 2009-08-10 13:09:43 +02:00
Alexandre Julliard fc8c8a5251 wrc: Report an error when encountering non-ASCII characters. 2009-07-16 11:15:15 +02:00
Alexandre Julliard 5d56995696 wrc: Avoid a crash if a file didn't contain any resources. 2009-07-16 11:15:00 +02:00
Michael Stefaniuc d67a9d92ea wrc: Reset the language before processing multiple rc files. 2009-07-10 12:24:09 +02:00
Alexandre Julliard 683dc30e82 wrc: Clean up command line parsing for multiple files support. 2009-06-29 13:12:59 +02:00
Alexandre Julliard 1405c00ecb wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions. 2009-06-23 15:53:01 +02:00
Alexandre Julliard e25bc79da1 wrc: Add support for loading multiple input files at once. 2009-06-22 12:23:39 +02:00
Alexandre Julliard cf63bb880e wrc: Print better error messages for functions that set errno. 2009-02-16 15:35:15 +01:00
Michael Stefaniuc 2b066327ec tools: Remove unused alloca.h include. 2009-02-13 13:00:02 +01:00
Marcus Meissner fc3b99b90a wrc: Free type to avoid leaks (Coverity). 2009-02-02 15:21:44 +01:00
Dmitry Timoshkov c34b64d6d9 wrc: Warn for duplicate dialog ids. 2009-01-14 12:22:40 +01:00
Francois Gouget bfa7fded98 wrc: Add a trailing '\n' to some warning and error messages. 2008-12-17 15:27:16 +01:00
Francois Gouget 28b97861b9 wrc: parser_error() does not need a trailing '\n'. 2008-11-25 11:50:15 +01:00
Alexandre Julliard 87e12632fa wrc: Fix the duplicate resource check for user-defined types. 2008-11-04 10:07:07 +01:00
Huw Davies 2e3e696a2c wrc: Include errno.h. 2008-10-20 22:33:43 +02:00
Rob Shearman e3afab2691 wrc: Don't accept "0" as a valid codepage in "#pragma code_page" directives. 2008-10-20 11:37:27 +02:00
Rob Shearman d1c1543893 wrc: Check for overflows when parsing integer constants. 2008-10-18 19:33:28 +02:00
Alexandre Julliard f80cd0db71 tools: Convert source files to utf-8. 2008-10-18 19:22:54 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Alexandre Julliard 28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Alexandre Julliard cff332fbfd wrc: Add support for Unicode accelerator strings. 2008-04-08 11:54:47 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Michael Stefaniuc fae9640f4d wrc: Sync the codepage mapping to the LANG_* identifiers from include/winnt.h. 2008-04-02 11:14:35 +02:00
Mikołaj Zalewski 19053786bb wrc: verify-translation: Allow the translators to set BS_MULTILINE on buttons without an error. 2008-03-31 12:12:53 +02:00
Mikołaj Zalewski 7487051555 wrc: verify-translation: Remove dumping of stringtables. 2008-03-31 12:12:36 +02:00
Mikołaj Zalewski c933dbf1b4 wrc: verify-translation: Compare all the controls of dialogs, not only the first one. 2008-03-31 12:12:29 +02:00
Michael Stefaniuc 865c31b811 wrc: Add the code page mapping for LANG_ROMANSH. 2008-03-28 09:51:10 +01:00
Alexandre Julliard 0a16b6b81f wrc: parser_error must append a newline. 2008-03-22 10:32:07 +01:00
Mikołaj Zalewski fee6076a2b wrc: Convert standard control classes names into ids also for UTF-8 resource files. 2008-03-03 11:59:17 +01:00
Alexandre Julliard 41fbacefa1 Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead. 2008-02-19 15:42:49 +01:00
Rob Shearman 878ea5d2e2 Add the nounistd option to all lex source files. 2008-02-19 13:39:25 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Austin English 90f89fa74d tools: Spelling fixes. 2008-01-18 12:52:09 +01:00
Michael Stefaniuc 7f5757f683 tools: Remove duplicate includes. 2007-11-19 13:54:52 +01:00
Michael Stefaniuc e01e8a0192 wrc: Remove redundant NULL check before free(). Found by Smatch. 2007-10-22 12:36:08 +02:00
Francois Gouget 7e92283678 wrc: Modify the error, warning and tracing functions to behave like all the other Wine tracing methods, that is to not append a '\n' to the message. 2007-10-19 11:46:11 +02:00
Dmitry Timoshkov fcd6f662ac wrc: Constify some data. 2007-08-30 11:48:47 +02:00
Alexandre Julliard 549351ab09 wrc: Strip C code based on the name of the include file.
Get rid of the old C code stripping support that wasn't used anymore.
2007-06-28 14:10:07 +02:00
Alexandre Julliard 1f11333c7b makefiles: Build programs that link against libwine twice with appropriate rpaths.
One rpath is for installing and one is for running inside the build tree.
2007-06-20 20:03:30 +02:00
Michael Stefaniuc cb2574722e wrc: Fix redundant checks for NULL before free(). Found by Smatch. 2007-06-14 13:14:56 +02:00
Michael Stefaniuc f69d6fd450 wrc: Fix non-ANSI function declaration. Found by sparse. 2007-06-05 12:19:03 +02:00
Mikołaj Zalewski c74f6d9d7a wrc: Change the format of the output of "wrc --verify-translation". 2007-03-27 12:34:05 +02:00
Mikołaj Zalewski fbd25173a8 wrc: Add HTML resources support to wrc --verify-translation. 2007-03-27 12:31:38 +02:00
Alexandre Julliard a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00