diff options
5 files changed, 77 insertions, 25 deletions
diff --git a/_tils/2020-08-12-simple-filename-timestamp.md b/_tils/2020-08-12-simple-filename-timestamp.md index a02c70b..ea88e70 100644 --- a/_tils/2020-08-12-simple-filename-timestamp.md +++ b/_tils/2020-08-12-simple-filename-timestamp.md @@ -1,10 +1,17 @@ --- + title: Simple filename timestamp + date: 2020-08-12 + layout: post + lang: en + ref: simple-filename-timestamp + --- + When writing Jekyll posts or creating log files with dates on them, I usually struggle with finding a direct way of accomplishing that. There's a simple solution: `date -I`. diff --git a/locale/eo/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po b/locale/eo/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po index 774a2b4..749da72 100644 --- a/locale/eo/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po +++ b/locale/eo/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po @@ -3,14 +3,6 @@ msgid "" msgstr "" msgid "" -"title: Simple filename timestamp\n" -"date: 2020-08-12\n" -"layout: post\n" -"lang: en\n" -"ref: simple-filename-timestamp" -msgstr "" - -msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " "simple solution: `date -I`." @@ -33,3 +25,26 @@ msgid "" "left. This means that you can easily sort them (and even tab-complete them) " "with no extra effort or tool required." msgstr "" + +msgid "title: Simple filename timestamp" +msgstr "" + +msgid "date: 2020-08-12" +msgstr "" + +msgid "layout: post" +msgstr "" + +msgid "lang: en" +msgstr "" + +msgid "ref: simple-filename-timestamp" +msgstr "" + +#~ msgid "" +#~ "title: Simple filename timestamp\n" +#~ "date: 2020-08-12\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: simple-filename-timestamp" +#~ msgstr "" diff --git a/locale/fr/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po b/locale/fr/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po index 774a2b4..749da72 100644 --- a/locale/fr/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po +++ b/locale/fr/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po @@ -3,14 +3,6 @@ msgid "" msgstr "" msgid "" -"title: Simple filename timestamp\n" -"date: 2020-08-12\n" -"layout: post\n" -"lang: en\n" -"ref: simple-filename-timestamp" -msgstr "" - -msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " "simple solution: `date -I`." @@ -33,3 +25,26 @@ msgid "" "left. This means that you can easily sort them (and even tab-complete them) " "with no extra effort or tool required." msgstr "" + +msgid "title: Simple filename timestamp" +msgstr "" + +msgid "date: 2020-08-12" +msgstr "" + +msgid "layout: post" +msgstr "" + +msgid "lang: en" +msgstr "" + +msgid "ref: simple-filename-timestamp" +msgstr "" + +#~ msgid "" +#~ "title: Simple filename timestamp\n" +#~ "date: 2020-08-12\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: simple-filename-timestamp" +#~ msgstr "" diff --git a/locale/pt/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po b/locale/pt/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po index 774a2b4..749da72 100644 --- a/locale/pt/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po +++ b/locale/pt/LC_MESSAGES/_tils/2020-08-12-simple-filename-timestamp.po @@ -3,14 +3,6 @@ msgid "" msgstr "" msgid "" -"title: Simple filename timestamp\n" -"date: 2020-08-12\n" -"layout: post\n" -"lang: en\n" -"ref: simple-filename-timestamp" -msgstr "" - -msgid "" "When writing Jekyll posts or creating log files with dates on them, I " "usually struggle with finding a direct way of accomplishing that. There's a " "simple solution: `date -I`." @@ -33,3 +25,26 @@ msgid "" "left. This means that you can easily sort them (and even tab-complete them) " "with no extra effort or tool required." msgstr "" + +msgid "title: Simple filename timestamp" +msgstr "" + +msgid "date: 2020-08-12" +msgstr "" + +msgid "layout: post" +msgstr "" + +msgid "lang: en" +msgstr "" + +msgid "ref: simple-filename-timestamp" +msgstr "" + +#~ msgid "" +#~ "title: Simple filename timestamp\n" +#~ "date: 2020-08-12\n" +#~ "layout: post\n" +#~ "lang: en\n" +#~ "ref: simple-filename-timestamp" +#~ msgstr "" diff --git a/scripts/sync-translations.sh b/scripts/sync-translations.sh index 31d04d5..149c7ff 100755 --- a/scripts/sync-translations.sh +++ b/scripts/sync-translations.sh @@ -16,7 +16,7 @@ for f in $(find . -type f -name '*.md' | grep -v '^./vendor' | grep -v '^./_site fi done -for f in $(find _tils-not -type f -name '*.md' | grep -v '^./vendor/' | grep -v '^./_site/' | grep -v './drafts/' | grep -v './templates/'); do +for f in $(find _tils -type f -name '*.md' | grep -v '^./vendor/' | grep -v '^./_site/' | grep -v './drafts/' | grep -v './templates/'); do l="$(grep '^lang: ..$' "$f" | awk '{print $2}')" if [[ "$l" != 'en' ]]; then ref="$(grep '^ref: ' "$f" | awk '{print $2}')" |