problems with language translation

Thomas Giese thomas at giese-welt.de
Wed Jan 29 19:24:15 UTC 2003


Mathias-H. Weber wrote:

> > I run kdevelop 2.1.5 on kde 3.1, but had the same problem with older
> > versions. I also posted on this list time ago, but sorry it still does
> > not work. I cannot do the "make messages and merge" step. allways i get
> > the error: "msgmerge: could not open project.pot for read: file not
> > found" (tranlated from german). Now indeed there is no such file, my
>
> If anybody can really solve the problem (and not only show a workaround) I
> am heavily interested!

I found this solution at bugs.kde.org, but I can't find the original posting 
anymore.
This is working on my system (suse 8.1 with kdevelop 2.1.4):

**********************************************************************************
Set $KDEDIR to the correct path,

change the file <project-dir>/admin/Makefile.common:
(- means delete line, + means add line)

 	MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@
 package-merge:
-	@MAKE=$(MAKE) POFILES=$(POFILES) PACKAGE=$(PACKAGE) \
-	  $(SHELL) admin/cvs.sh package-merge
+	@admindir=$(admindir); \
+	if test "x$$admindir" = x; then \
+	  admindir=.; until test -f $$admindir/admin/cvs.sh; do \
+	    admindir=$$admindir/..; \
+	    if test `cd $$admindir && pwd` = / ; then break; fi; \
+	  done; \
+	  admindir=$$admindir/admin; \
+	  if test -f $$admindir/cvs.sh; then :; else \
+	    echo "Can't find the admin/ directory in any parent of the"; \
+	    echo "current directory.  Please set it with admindir=..."; \
+	    exit 1; \
+	  fi; \
+	fi; \
+	MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
+	  $(SHELL) $$admindir/cvs.sh package-merge

 configure.in: configure.files $(shell test -f configure.files && cat 
configure.files) subdirs
 configure.files: subdirs
*******************************************************************************


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list