#!/bin/sh -e ## 03_gimp_acquire_menu.dpatch.dpatch by Aurelien Jarno ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Group XSane actions in their own submenu in the Acquire menu. if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 @DPATCH@ diff -urNad xsane-0.995~/src/xsane-text.h xsane-0.995/src/xsane-text.h --- xsane-0.995~/src/xsane-text.h 2007-08-13 09:16:43.000000000 +0200 +++ xsane-0.995/src/xsane-text.h 2007-11-22 11:24:49.170421498 +0100 @@ -869,8 +869,8 @@ #define XSANE_GIMP_INSTALL_HELP _("This function provides access to scanners and other image acquisition devices through the SANE (Scanner Access Now Easy) interface.") /* Menu path must not be translated, this is done by the gimp. Only translate the text behind the last "/" */ -#define XSANE_GIMP_MENU_DIALOG _("/File/Acquire/XSane: Device dialog...") -#define XSANE_GIMP_MENU _("/File/Acquire/XSane: ") +#define XSANE_GIMP_MENU_DIALOG _("/File/Acquire/XSane/Device dialog...") +#define XSANE_GIMP_MENU _("/File/Acquire/XSane/") #define XSANE_GIMP_MENU_DIALOG_OLD _("/Xtns/XSane/Device dialog...") #define XSANE_GIMP_MENU_OLD _("/Xtns/XSane/")