mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
Fill in the comment block at the top of the .pot files and preserve
it when regenerating them.
This commit is contained in:
parent
9479bb623b
commit
70976f30ea
@ -194,7 +194,9 @@ update-pot:
|
|||||||
if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \
|
if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \
|
||||||
rm -f $$pot.tmp; \
|
rm -f $$pot.tmp; \
|
||||||
else \
|
else \
|
||||||
mv -f $$pot.tmp $$pot; \
|
printf '/^#$$/+1,$$d\nw\nq\n' | ed - $$pot; \
|
||||||
|
sed '1,/^#$$/d' $$pot.tmp >> $$pot; \
|
||||||
|
rm -f $$pot.tmp; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# SOME DESCRIPTIVE TITLE.
|
# Portable object template file for the sudoers plugin
|
||||||
# This file is put in the public domain.
|
# This file is put in the public domain.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
# Todd C. Miller <Todd.Miller@courtesan.com>, 2011-2013
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# SOME DESCRIPTIVE TITLE.
|
# Portable object template file for sudo
|
||||||
# This file is put in the public domain.
|
# This file is put in the public domain.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
# Todd C. Miller <Todd.Miller@courtesan.com>, 2011-2013
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user