Author: michael_meeks
Date: Fri Nov 21 12:58:02 2008
New Revision: 53510
URL: http://svn.opensuse.org/viewcvs/yast?rev=53510&view=rev
Log:
2008-11-21 Michael Meeks
* src/YGi18n.h: add __ macro for static string tagging
* src/pkg-selector-help.h: tag our strings, mangle Christian's
'Jager' to ascii to help (lame y2makepot)
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/YGi18n.h
trunk/gtk/src/pkg-selector-help.h
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=53510&r1=53509&r2=53510&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Fri Nov 21 12:58:02 2008
@@ -1,3 +1,9 @@
+2008-11-21 Michael Meeks
+
+ * src/YGi18n.h: add __ macro for static string tagging
+ * src/pkg-selector-help.h: tag our strings, mangle Christian's
+ 'Jager' to ascii to help (lame y2makepot)
+
2008-11-21 Ricardo Cruz
* src/yzyppwrapper.cc: bug fix 446352: patches were not being shown.
Modified: trunk/gtk/src/YGi18n.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGi18n.h?rev=53510&r1=53509&r2=53510&view=diff
==============================================================================
--- trunk/gtk/src/YGi18n.h (original)
+++ trunk/gtk/src/YGi18n.h Fri Nov 21 12:58:02 2008
@@ -25,6 +25,9 @@
#define TEXTDOMAIN "yast2-gtk"
+// tag for translation but don't translate; no N_ in y2makepot ...
+#define __(a) (a)
+
static inline const char * _( const char * msgid )
{
return ( !msgid || !*msgid ) ? "" : dgettext( TEXTDOMAIN, msgid );
Modified: trunk/gtk/src/pkg-selector-help.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg-selector-help.h?rev=53510&r1=53509&r2=53510&view=diff
==============================================================================
--- trunk/gtk/src/pkg-selector-help.h (original)
+++ trunk/gtk/src/pkg-selector-help.h Fri Nov 21 12:58:02 2008
@@ -3,7 +3,7 @@
*/
static const char *pkg_help =
-"<h1>Purpose</h1>"
+__("<h1>Purpose</h1>"
"<p>This tool lets you install, remove, and update applications.</p>"
"<p>openSUSE's software management is also called 'package management'. A package is "
"generally an application bundle, but multiple packages that extend the application "
@@ -68,10 +68,10 @@
"without performing any changes, simply press the button labeled 'Abort'.</p>"
""
"<blockquote><i>Developed by Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt><br>"
-"Thanks to Christian Jäger for co-designing this tool.</i></blockquote>";
+"Thanks to Christian Jager for co-designing this tool.</i></blockquote>");
static const char *patch_help =
-"<h1>Purpose</h1>"
+__("<h1>Purpose</h1>"
"<p>This tool gives you control on overviewing and picking patches. You may also "
"reverse patches that have been applied to the system.</p>"
""
@@ -89,5 +89,5 @@
"are very restrained in pushing patches; you can be sure that all patches are "
"of signficant severity.</p>"
"<p>If you are looking for applications enhancements, you should check for Upgrades "
-"on the Software Manager.</p>";
+"on the Software Manager.</p>");
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org