aboutsummaryrefslogtreecommitdiff
path: root/locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-04 17:38:20 -0300
committernixpkgs-review <nixpkgs-review@example.com>2020-11-04 17:38:31 -0300
commit74e220677ac2cb1bef16d0f62092d56db6f62e1d (patch)
tree584206f01cc1b1a2dffedbffb943d4d7fb601ac2 /locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po
parentUpdate mdpo version: 0.2.36 -> 0.2.37 (diff)
downloadeuandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.gz
euandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.xz
Add all code blocks to translation po files
Diffstat (limited to 'locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po')
-rw-r--r--locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po42
1 files changed, 42 insertions, 0 deletions
diff --git a/locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po b/locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po
index 7164578..1409e61 100644
--- a/locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po
+++ b/locale/fr/LC_MESSAGES/_tils/2020-09-04-send-emails-using-the-command-line-for-fun-and-profit.po
@@ -54,3 +54,45 @@ msgstr ""
msgid "Send yourself some emails to see it working!"
msgstr ""
+
+msgid ""
+"# file /etc/ssmtp/ssmtp.conf\n"
+"FromLineOverride=YES\n"
+"MailHub=smtp.gmail.com:587\n"
+"UseSTARTTLS=YES\n"
+"UseTLS=YES\n"
+"rewriteDomain=gmail.com\n"
+"root=username@gmail.com\n"
+"AuthUser=username\n"
+"AuthPass=password\n"
+msgstr ""
+
+msgid "echo body | mail -aFrom:email@example.com email@example.com -s subject\n"
+msgstr ""
+
+msgid ""
+"# report a backup cronjob, attaching logs\n"
+"set -e\n"
+"\n"
+"finish() {\n"
+" status=$?\n"
+" if [[ $status = 0 ]]; then\n"
+" STATUS=\"SUCCESS (status $status)\"\n"
+" else\n"
+" STATUS=\"FAILURE (status $status)\"\n"
+" fi\n"
+"\n"
+" mail user@example.com \\\n"
+" -s \"Backup job report on $(hostname): ${STATUS}\" \\\n"
+" --content-type 'text/plain; charset=utf-8' \\\n"
+" -A\"$LOG_FILE\" <<< 'The log report is in the attachment.'\n"
+"}\n"
+"trap finish EXIT\n"
+"\n"
+"do-long-backup-cmd-here\n"
+msgstr ""
+
+msgid ""
+"# share the output of a cmd with someone\n"
+"some-program | mail someone@example.com -s \"The weird logs that I was talking about\"\n"
+msgstr ""