# HG changeset patch # User zas_ # Date 1246291348 0 # Node ID 351dd18c7db0df930fba1763e1bfb00680d5aaf0 # Parent 025a9139b15d2aad0768909649d68449873771ff Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files. diff -r 025a9139b15d -r 351dd18c7db0 po/POTFILES.in --- a/po/POTFILES.in Sun Jun 28 13:41:51 2009 +0000 +++ b/po/POTFILES.in Mon Jun 29 16:02:28 2009 +0000 @@ -1,11 +1,11 @@ geeqie.desktop.in +plugins/import/geeqie-import-geeqie.desktop.in +plugins/import/geeqie-import-gqview.desktop.in plugins/rotate/rotate.desktop.in plugins/symlink/symlink.desktop.in -plugins/ufraw/geeqie-ufraw-recursive.desktop.in plugins/ufraw/geeqie-ufraw.desktop.in plugins/ufraw/geeqie-ufraw-id.desktop.in -plugins/ufraw/geeqie-import-gqview.desktop.in -plugins/ufraw/geeqie-import-geeqie.desktop.in +plugins/ufraw/geeqie-ufraw-recursive.desktop.in src/advanced_exif.c src/bar.c src/bar_comment.c @@ -15,23 +15,37 @@ src/bar_keywords.c src/bar_sort.c src/cache.c +src/cache-loader.c src/cache_maint.c +src/cellrenderericon.c +src/collect.c src/collect-dlg.c src/collect-io.c src/collect-table.c -src/collect.c src/color-man.c +src/compat.c +src/debug.c src/desktop_file.c +src/dnd.c src/dupe.c src/editors.c +src/exif.c src/exif-common.c -src/exif.c +src/filecache.c src/filedata.c +src/filefilter.c +src/format_canon.c +src/format_fuji.c +src/format_nikon.c +src/format_olympus.c +src/format_raw.c src/fullscreen.c +src/gq-marshal.c src/histogram.c src/history_list.c +src/image.c +src/image-load.c src/image-overlay.c -src/image.c src/img-view.c src/layout.c src/layout_config.c @@ -40,25 +54,46 @@ src/lirc.c src/logwindow.c src/main.c +src/md5-util.c src/menu.c src/metadata.c +src/misc.c src/options.c +src/pan-calendar.c +src/pan-folder.c +src/pan-grid.c +src/pan-item.c +src/pan-timeline.c +src/pan-util.c src/pan-view.c +src/pixbuf-renderer.c +src/pixbuf_util.c src/preferences.c src/print.c src/rcfile.c src/remote.c src/search.c src/secure_save.c +src/similar.c +src/slideshow.c src/thumb.c +src/thumb_standard.c src/trash.c src/ui_bookmark.c src/ui_fileops.c src/ui_help.c +src/ui_menu.c +src/ui_misc.c src/ui_pathsel.c +src/ui_spinner.c src/ui_tabcomp.c +src/ui_tree_edit.c +src/ui_utildlg.c +src/uri_utils.c src/utilops.c src/view_dir.c +src/view_dir_list.c +src/view_dir_tree.c src/view_file.c src/view_file_icon.c src/view_file_list.c diff -r 025a9139b15d -r 351dd18c7db0 po/regen_potfiles.sh --- a/po/regen_potfiles.sh Sun Jun 28 13:41:51 2009 +0000 +++ b/po/regen_potfiles.sh Mon Jun 29 16:02:28 2009 +0000 @@ -2,6 +2,9 @@ #generate a patch to update POTFILES.in #Use like this: ./regen_potfiles.sh | patch -p0 -(cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$ -diff -u POTFILES.in POTFILES.in.$$ -rm -f POTFILES.in.$$ +TMP=POTFILES.in.$$ +((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do + (echo $f | sed 's#^../##') +done) | sort > $TMP +diff -u POTFILES.in $TMP +rm -f $TMP