Commit Graph

39 Commits

Author SHA1 Message Date
Alexandre Julliard c562952f92 tools: Add a helper function to read the contents of a file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 10:57:30 +01:00
Alexandre Julliard 952d849e48 wrc: Move write_resfile() into genres.c and remove writeres.c.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Alexandre Julliard f9ee0d2f05 tools: Avoid using wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-07 18:03:11 +02:00
Alexandre Julliard 9e3959bd9b tools: Add a few helper functions for file names and extensions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard 55701c6672 tools: Add a helper function to create temp files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-29 21:38:11 +02:00
Alexandre Julliard fe888bbbb6 wrc: Avoid converting Unicode strings back to Ansi.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:34:59 +01:00
Alexandre Julliard 2045950096 wrc: Export the convert_string_utf8() helper function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 10:25:28 +01:00
Enol Puente ec3181633b wrc: Add Asturian locale.
Signed-off-by: Enol Puente <enolp@softastur.org>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 21:47:09 +02:00
Alexandre Julliard ab6e4c8b73 wrc: Avoid using wine/unicode.h on Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-12 13:04:26 +02:00
Alexandre Julliard 395bef5200 wrc: Support more languages.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-24 19:48:19 +01:00
Michael Stefaniuc 79a6dd21ad wrc: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 13:57:03 +02:00
Austin English 63df3cab7c wrc: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 09:29:41 +01:00
Alexandre Julliard 8f08aee04d wrc: Only add translations for specific fields in version blocks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 11:29:42 +02:00
Akihiro Sagawa 52931c7523 wrc: Add support for translating version info through po files.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:14:08 +01:00
Alexandre Julliard 98de631eb1 wrc: Define WINE_UNICODE_API directly in the source. 2013-10-28 14:20:58 +01:00
Frédéric Delanoy 5f607a95df wrc: Use BOOL type where appropriate. 2013-09-30 20:35:02 +02:00
Frédéric Delanoy a46da0e86a wrc: Use BOOL type where appropriate. 2013-09-23 20:32:29 +02:00
Francois Gouget 6cf05f914d include: Remove some non-standard sublang synonyms. 2013-07-08 17:17:57 +02:00
Alexandre Julliard 28ece74fd8 Use the official Microsoft definitions for Gaelic languages. 2013-06-19 20:09:51 +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 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 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
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
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