Auto-remove POT dating.
authorRadek Czajka <rczajka@rczajka.pl>
Mon, 2 Nov 2020 12:18:22 +0000 (13:18 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Mon, 2 Nov 2020 12:18:22 +0000 (13:18 +0100)
.gitattributes [new file with mode: 0644]
scripts/remove-pot-creation-dates.sh [new file with mode: 0755]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..796e7e0
--- /dev/null
@@ -0,0 +1 @@
+*.po filter=remove-pot-creation-dates
diff --git a/scripts/remove-pot-creation-dates.sh b/scripts/remove-pot-creation-dates.sh
new file mode 100755 (executable)
index 0000000..9946abc
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sed '/^"POT-Creation-Date:/d'
+