Module: tools
Branch: master
Commit: 298f63b842913c784ed32c8b2dc1162cd496a48c
URL: http://source.winehq.org/git/tools.git/?a=commit;h=298f63b842913c784ed32c8b…
Author: Paul Vriens <Paul.Vriens.Wine(a)gmail.com>
Date: Fri Jul 17 10:59:15 2009 +0200
transl: Better highlight issues in Dialog resource when comparing to English(US).
---
transl/php/lib_res.php | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/transl/php/lib_res.php b/transl/php/lib_res.php
index 534e16d..cbb60a8 100644
--- a/transl/php/lib_res.php
+++ b/transl/php/lib_res.php
@@ -890,7 +890,18 @@ class DialogResource extends Resource
return ($this_ctrl['id'] != $other_ctrl['id']) ||
(($this_ctrl['style'] | $ignore_style) != ($other_ctrl['style'] | $ignore_style)) ||
($this_ctrl['exStyle'] != $other_ctrl['exStyle']) ||
- !is_equal_unicode_or_id($this_ctrl['className'], $other_ctrl['className']);
+ (!is_equal_unicode_or_id($this_ctrl['className'], $other_ctrl['className'])) ||
+ // We should have either id's or text in both
+ (is_int($this_ctrl['text']) ^ is_int($other_ctrl['text'])) ||
+ // If it's an id they should be equal
+ (is_int($this_ctrl['text']) &&
+ !is_equal_unicode_or_id($this_ctrl['text'], $other_ctrl['text'])) ||
+ // If either text is empty they should be equal
+ (!is_int($this_ctrl['text']) && ((count($this_ctrl['text']) == 0) || (count($other_ctrl['text']) == 0)) &&
+ !is_equal_unicode_or_id($this_ctrl['text'], $other_ctrl['text'])) ||
+ // If we have text in both they should not be equal
+ (!is_int($this_ctrl['text']) && ((count($this_ctrl['text']) != 0) && (count($other_ctrl['text']) != 0)) &&
+ is_equal_unicode_or_id($this_ctrl['text'], $other_ctrl['text']));
}
function dump($master_res = NULL)
Module: wine
Branch: master
Commit: 3eb5da4b6ecf664f6568d033758e91cacb5c9444
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3eb5da4b6ecf664f6568d0337…
Author: Ricardo Filipe <ricardojdfilipe(a)gmail.com>
Date: Fri Jul 17 04:21:13 2009 -0700
cryptdlg: Add Portuguese translation.
---
dlls/cryptdlg/Makefile.in | 1 +
dlls/cryptdlg/cryptdlg_Pt.rc | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/dlls/cryptdlg/Makefile.in b/dlls/cryptdlg/Makefile.in
index 311e805..0cc2d3f 100644
--- a/dlls/cryptdlg/Makefile.in
+++ b/dlls/cryptdlg/Makefile.in
@@ -15,6 +15,7 @@ RC_SRCS = \
cryptdlg_Ko.rc \
cryptdlg_Lt.rc \
cryptdlg_Nl.rc \
+ cryptdlg_Pt.rc \
cryptdlg_Ro.rc
@MAKE_DLL_RULES@
diff --git a/dlls/cryptdlg/cryptdlg_Pt.rc b/dlls/cryptdlg/cryptdlg_Pt.rc
new file mode 100644
index 0000000..92d179c
--- /dev/null
+++ b/dlls/cryptdlg/cryptdlg_Pt.rc
@@ -0,0 +1,40 @@
+/*
+ * cryptdlg dll Portuguese resources
+ *
+ * Copyright 2008 Ricardo Filipe
+ *
+ * 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 "cryptres.h"
+
+#pragma code_page(65001)
+
+LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_CERT_POLICY "Política de Certificados"
+ IDS_POLICY_ID "Identificador da Política: "
+ IDS_POLICY_QUALIFIER_INFO "Informação do Qualificador da Política"
+ IDS_POLICY_QUALIFIER_ID "ID do Qualificador da Política="
+ IDS_CPS "CPS" /* Certification Practice Statement */
+ IDS_USER_NOTICE "Aviso ao Utilizador"
+ IDS_QUALIFIER "Qualificador"
+ IDS_NOTICE_REF "Referência do Aviso"
+ IDS_ORGANIZATION "Organização="
+ IDS_NOTICE_NUM "Número do Aviso="
+ IDS_NOTICE_TEXT "Texto do Aviso="
+}