Module: wine
Branch: master
Commit: 5dbbe5a7f1ac1c250d0f084f28a517fb60fce2b4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dbbe5a7f1ac1c250d0f084f2…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com>
Date: Fri Dec 18 23:23:49 2009 +0100
mapi32: Add French translation.
---
dlls/mapi32/Fr.rc | 33 +++++++++++++++++++++++++++++++++
dlls/mapi32/Makefile.in | 1 +
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/dlls/mapi32/Fr.rc b/dlls/mapi32/Fr.rc
new file mode 100644
index 0000000..ab14e4a
--- /dev/null
+++ b/dlls/mapi32/Fr.rc
@@ -0,0 +1,33 @@
+/*
+* MAPI32 French resources
+*
+* Copyright 2009 Frédéric Delanoy
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License as published by the Free Software Foundation; either
+* version 2.1 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this library; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+*
+*/
+
+#include "res.h"
+
+/* UTF-8 */
+#pragma code_page(65001)
+
+LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
+
+STRINGTABLE
+{
+ IDS_NO_MAPI_CLIENT, "L'envoi de courriel a échoué car aucun client mail MAPI n'est installé."
+ IDS_SEND_MAIL, "Envoyer un courriel"
+}
diff --git a/dlls/mapi32/Makefile.in b/dlls/mapi32/Makefile.in
index 8a9233b..eecd69c 100644
--- a/dlls/mapi32/Makefile.in
+++ b/dlls/mapi32/Makefile.in
@@ -16,6 +16,7 @@ C_SRCS = \
RC_SRCS = \
De.rc \
En.rc \
+ Fr.rc \
Lt.rc \
version.rc
Module: wine
Branch: master
Commit: 4e18ac601f9ea1adebc1c2d36af6d75054e0ca6d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e18ac601f9ea1adebc1c2d36…
Author: Juan Lang <juan.lang(a)gmail.com>
Date: Fri Dec 18 10:34:25 2009 -0800
crypt32: Don't get confused matching URLs with a colon in the userinfo portion (e.g. user:password@domain).
---
dlls/crypt32/chain.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index 28a2206..b2160f3 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -686,8 +686,12 @@ static BOOL url_matches(LPCWSTR constraint, LPCWSTR name,
authority_end = strchrW(name, '?');
if (!authority_end)
authority_end = name + strlenW(name);
- /* Remove any port number from the authority */
- for (colon = authority_end; colon >= name && *colon != ':'; colon--)
+ /* Remove any port number from the authority. The userinfo portion
+ * of an authority may contain a colon, so stop if a userinfo portion
+ * is found (indicated by '@').
+ */
+ for (colon = authority_end; colon >= name && *colon != ':' &&
+ *colon != '@'; colon--)
;
if (*colon == ':')
authority_end = colon;