Module: wine
Branch: master
Commit: 2bbd5ed9c9637f978d3fd8d4a47ad7b0c863afce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2bbd5ed9c9637f978d3fd8d4a…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Wed Aug 19 01:05:53 2009 +0200
winspool.drv: Add the Romanian translation.
---
dlls/winspool.drv/Makefile.in | 1 +
dlls/winspool.drv/Ro.rc | 42 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool.drv/Makefile.in b/dlls/winspool.drv/Makefile.in
index d0b6410..1d80880 100644
--- a/dlls/winspool.drv/Makefile.in
+++ b/dlls/winspool.drv/Makefile.in
@@ -28,6 +28,7 @@ RC_SRCS = \
No.rc \
Pl.rc \
Pt.rc \
+ Ro.rc \
Ru.rc \
Si.rc \
Sv.rc \
diff --git a/dlls/winspool.drv/Ro.rc b/dlls/winspool.drv/Ro.rc
new file mode 100644
index 0000000..ab3d9a6
--- /dev/null
+++ b/dlls/winspool.drv/Ro.rc
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2005 Huw Davies
+ * Copyright 2009 Michael Stefaniuc
+ *
+ * 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 "wspool.h"
+
+LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+FILENAME_DIALOG DIALOG LOADONCALL MOVEABLE DISCARDABLE 6, 18, 245, 47
+STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
+CAPTION "Tipărire în fișier"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "&Nume fișier de ieșire:", -1, 7, 13, 194, 13, WS_VISIBLE
+ EDITTEXT EDITBOX, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK", IDOK, 199, 10, 40, 14, WS_VISIBLE
+ PUSHBUTTON "Renunță", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
+END
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_CAPTION "Port local"
+ IDS_FILE_EXISTS "Fișierul de ieșire există deja. Dați clic pe OK pentru al suprascrie."
+ IDS_CANNOT_OPEN "Nu am putut crea fișierul de ieșire."
+}
Module: tools
Branch: master
Commit: b730ab459a41acdb1cef34026130aad04a26e086
URL: http://source.winehq.org/git/tools.git/?a=commit;h=b730ab459a41acdb1cef3402…
Author: Paul Vriens <Paul.Vriens.Wine(a)gmail.com>
Date: Fri Aug 14 16:25:44 2009 +0200
transl: Add the possibility to switch between 'Normal' and 'Pedantic'.
---
transl/index.php | 9 +++++----
transl/lib.php | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 4 deletions(-)
diff --git a/transl/index.php b/transl/index.php
index 3249265..66071ad 100644
--- a/transl/index.php
+++ b/transl/index.php
@@ -40,10 +40,11 @@ while ($line = fgets($summary, 1024))
<?php echo $TITLE_DESCR ?>
<p>This page shows the state of the translations of <a href="http://www.winehq.org/">Wine</a>.
-Note that some resources marked as translated may be in fact in English - sometimes developers
-add new English resources into every language file. This automatic tool doesn't detect this -
-it needs to be found manually by the translators. If you would like to read about how to
-improve Wine translations check <?php echo $WINE_WIKI_TRANSLATIONS ?>.
+Note that some resources marked as translated may in fact still be English. Sometimes developers
+add new English resources into every language file. This automatic tool has a 'Pedantic' mode that
+detects most of these but currently has a lot of false positives. If you would like to read about
+how to improve Wine translations check
+<?php echo $WINE_WIKI_TRANSLATIONS ?>.
</p>
<table class="index">
diff --git a/transl/lib.php b/transl/lib.php
index 11f3d52..aceee55 100644
--- a/transl/lib.php
+++ b/transl/lib.php
@@ -262,6 +262,12 @@ function dump_menu_root($link = TRUE)
echo "Wine translations";
if ($link)
echo "</a>";
+
+ if (strpos($_SERVER['PHP_SELF'], "index.php"))
+ {
+ $url = "index.php";
+ dump_pedantic($url, TRUE);
+ }
}
function dump_menu_lang($lang, $link = TRUE)
@@ -274,6 +280,12 @@ function dump_menu_lang($lang, $link = TRUE)
echo get_lang_name($lang);
if ($link)
echo "</a>";
+
+ if (strpos($_SERVER['PHP_SELF'], "lang.php"))
+ {
+ $url = "lang.php?lang=".urlencode($lang);
+ dump_pedantic($url, FALSE);
+ }
}
function dump_menu_resfile($lang, $resfile, $link = TRUE)
@@ -286,6 +298,12 @@ function dump_menu_resfile($lang, $resfile, $link = TRUE)
echo get_resfile_name($resfile);
if ($link)
echo "</a>";
+
+ if (strpos($_SERVER['PHP_SELF'], "resfile.php"))
+ {
+ $url = "resfile.php?lang=".urlencode($lang)."&resfile=".urlencode($resfile);
+ dump_pedantic($url, FALSE);
+ }
}
function dump_menu_resource($lang, $resfile, $type, $id)
@@ -294,6 +312,28 @@ function dump_menu_resource($lang, $resfile, $type, $id)
echo " > ";
echo get_resource_name($type, $id);
+
+ $url = "resource.php?lang=".urlencode($lang)."&resfile=".urlencode($resfile)."&type=".urlencode($type)."&id=".urlencode($id);
+ dump_pedantic($url, FALSE);
+}
+
+function dump_pedantic($url, $highest_level = FALSE)
+{
+ echo "<a style=\"float: right; margin-top: -13px;\" href=\"".$url;
+ if (is_pedantic())
+ {
+ echo "\" title=\"'Normal' mode will only show errors.\"";
+ echo ">Switch to 'Normal' mode</a>";
+ }
+ else
+ {
+ if ($highest_level)
+ echo "?pedantic=\"";
+ else
+ echo "&pedantic=\"";
+ echo "title=\"'Pedantic' mode will show more potential translation issues.\"";
+ echo ">Switch to 'Pedantic' mode</a>";
+ }
}
?>