]> git.pld-linux.org Git - packages/rpm.git/commitdiff
any field in header witchout translation is translated using gettext.
authorpawelk <pawelk@pld-linux.org>
Sun, 17 Feb 2002 01:16:11 +0000 (01:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-gettext-in-header.patch -> 1.1

rpm-gettext-in-header.patch [new file with mode: 0644]

diff --git a/rpm-gettext-in-header.patch b/rpm-gettext-in-header.patch
new file mode 100644 (file)
index 0000000..0e2a11e
--- /dev/null
@@ -0,0 +1,13 @@
+--- ./lib/header.c.org Sun Feb 17 01:50:51 2002
++++ ./lib/header.c     Sun Feb 17 01:52:01 2002
+@@ -1282,8 +1282,8 @@
+       }
+     }
+-
+-    return entry->data;
++/* when everything fail, try gettext */
++    return _(entry->data);
+ }
+ /**
This page took 0.035636 seconds and 4 git commands to generate.