From 2dd21c11c02df8858e2a5585ad238637dd2c73b9 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Thu, 23 Mar 2017 14:34:29 +0200 Subject: [PATCH] updated README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1b1fcad..c8edbdbd 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ With proper SPF, DKIM and PTR records (DMARC wouldn't hurt either) I got perfect ##### Requirements: * Docker * docker-compose - + 1. Download Mailtrain files using git: `git clone git://github.com/andris9/mailtrain.git` (or download [zipped repo](https://github.com/andris9/mailtrain/archive/master.zip)) and open Mailtrain folder `cd mailtrain` 2. Run `sudo docker build -t mailtrain-node:latest .` 3. Copy default.toml to production.toml. Run `sudo mkdir -p /etc/mailtrain && sudo cp config/default.toml /etc/mailtrain/production.toml` @@ -310,7 +310,7 @@ Enclose translatable strings to `{{#translate}}` tags * Translations are loaded from Gettext MO files. In order to generate such files you need a Gettext translations editor. [POEdit](https://poedit.net/) is a great choice. -* To update the translation catalog ([mailtrain.pot](./languages/mailtrain.pot)) run `grunt` from command line. This fetches all translatable strings from JavaScript and Handlebars files and merges these into the translation catalog +* To create the translation catalog run `grunt` from command line. This fetches all translatable strings from JavaScript and Handlebars files and merges these into the translation catalog located at */languages/mailtrain.pot* * To add a new language use this catalog file as source. Once you want to update your translation file from the updated catalog, then select "Catalogue" -> "Update from POT file..." in POEdit and select mailtrain.pot. This would merge all new translations from the POT file to your PO file. *If you have saved the PO file in [./languages](./languages) then POEdit should auto generate required MO file whenever you hit save for the PO file.