Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Someone
Tuesday, March 11th, 2008 at 3:18:05pm UTC 

  1. common-install-prehook-impl::
  2.         mkdir -p po
  3.         -XGETTEXT=/usr/bin/kde-xgettext EXTRACTATTR=/usr/bin/extractattr sh $(DEB_SRCDIR)/admin/cvs.sh extract-messages 
  4.         -for file in po/*pot; do \
  5.                 sed "s/charset=CHARSET/charset=UTF-8/" -i $$file; \
  6.         done
  7.  
  8.         msgcat kde.pot po/kdelibs.pot > kdelibs.pot-merged
  9.         mv kdelibs.pot-merged po/kdelibs.pot
  10.  
  11.         # generate .po files for .desktop etc files
  12.         if [ -f debian/kubuntu-desktop-i18n/createdesktop.pl ]; then \
  13.           sh debian/kubuntu-desktop-i18n/findfiles LIST; \
  14.           cat LIST; \
  15.           perl debian/kubuntu-desktop-i18n/createdesktop.pl --file-list=LIST --base-dir=. > desktop.$(DEB_SOURCE_PACKAGE).tmp; \
  16.           msguniq --to-code=UTF-8 --no-wrap -o desktop.$(DEB_SOURCE_PACKAGE) desktop.$(DEB_SOURCE_PACKAGE).tmp 2>/dev/null; \
  17.           python debian/kubuntu-desktop-i18n/msgsplit desktop.$(DEB_SOURCE_PACKAGE); \
  18.           mv desktop.$(DEB_SOURCE_PACKAGE) po/desktop_$(DEB_SOURCE_PACKAGE).pot; \
  19.           rm -f desktop.$(DEB_SOURCE_PACKAGE) desktop.$(DEB_SOURCE_PACKAGE).tmp; \
  20.           # add translation domain to files \
  21.           for file in `cat LIST`; do \
  22.             echo X-Ubuntu-Gettext-Domain=desktop_$(DEB_SOURCE_PACKAGE) >> $${file}; \
  23.           done; \
  24.           rm -f LIST; \
  25.         fi

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right