diff working copy against last commited version Index: gnome-system-monitor-fate302198.diff =================================================================== --- gnome-system-monitor-fate302198.diff (revision 3a424944d3ee1feaba9ceb5b1a139f87) +++ gnome-system-monitor-fate302198.diff (working copy) @@ -577,3 +577,15 @@ _("Available disk space:"), markup, 0); g_free(markup); +Index: po/POTFILES.in +=================================================================== +--- po/POTFILES.in ++++ po/POTFILES.in +@@ -10,6 +10,7 @@ src/disks.cpp + src/e_date.c + src/gnome-system-monitor.schemas.in + src/gsm_color_button.c ++src/hardware.cpp + src/interface.cpp + src/load-graph.cpp + src/lsof.cpp Index: gnome-system-monitor-fate304741.diff =================================================================== --- gnome-system-monitor-fate304741.diff (revision 3a424944d3ee1feaba9ceb5b1a139f87) +++ gnome-system-monitor-fate304741.diff (working copy) @@ -435,3 +435,15 @@ private: ProcData(); /* undefined */ ProcData(const ProcData &); +Index: gnome-system-monitor-2.28.0/po/POTFILES.in +=================================================================== +--- gnome-system-monitor-2.28.0.orig/po/POTFILES.in ++++ gnome-system-monitor-2.28.0/po/POTFILES.in +@@ -2,6 +2,7 @@ + # List of source files containing translatable strings. + # Please keep this file sorted alphabetically. + gnome-system-monitor.desktop.in.in ++src/acpiview.cpp + src/argv.cpp + src/argv.h + src/callbacks.cpp Index: gnome-system-monitor.changes =================================================================== --- gnome-system-monitor.changes (revision 3a424944d3ee1feaba9ceb5b1a139f87) +++ gnome-system-monitor.changes (working copy) @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed May 22 19:38:45 CEST 2013 - sbrabec@suse.cz + +- Fix translatability of strings in patches + gnome-system-monitor-fate302198.diff and + gnome-system-monitor-fate304741.diff. +- Add support for gnome-patch-translation and + translation-update-upstream (bnc#723244, bnc#808337). + ------------------------------------------------------------------- Thu Mar 28 04:38:15 UTC 2013 - lzwang@suse.com Index: gnome-system-monitor.spec =================================================================== --- gnome-system-monitor.spec (revision 3a424944d3ee1feaba9ceb5b1a139f87) +++ gnome-system-monitor.spec (working copy) @@ -25,6 +25,7 @@ BuildRequires: gconf2-devel BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-icon-theme-devel +BuildRequires: gnome-patch-translation BuildRequires: gtk2-devel BuildRequires: gtkmm2-devel BuildRequires: intltool @@ -32,6 +33,7 @@ BuildRequires: librsvg-devel BuildRequires: libwnck-devel BuildRequires: libxml2-devel +BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: hal-devel BuildRequires: hwinfo-devel @@ -76,6 +78,8 @@ %lang_package %prep %setup -q +translation-update-upstream +gnome-patch-translation-prepare %patch1 %patch2 -p1 %patch3 -p1 @@ -83,6 +87,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +gnome-patch-translation-update %build autoreconf -si