Few more fixes to the integrations l10n

This commit is contained in:
Jyri-Petteri Paloposki 2021-01-11 01:40:00 +02:00
parent 221e8e301a
commit 096afeacd7
5 changed files with 13 additions and 13 deletions

View file

@ -15,7 +15,7 @@
<p><%= I18n.t 'integrations.cron_1' %></p>
<textarea id="cron" name="cron">0 5 * * * /usr/bin/curl -0 "<%= root_url %>todos.txt?due=6&token=<%= current_user.token %>" | /usr/bin/mail -e -s 'Tracks actions due in the next 7 days' youremail@yourdomain.com</textarea>
<textarea id="cron" name="cron">0 5 * * * /usr/bin/curl -0 "<%= root_url %>todos.txt?due=6&token=<%= current_user.token %>" | /usr/bin/mail -e -s '<%= I18n.t 'integrations.cron_email_subject' %>' youremail@example.com</textarea>
<p><%= raw I18n.t 'integrations.cron_2', feeds_link: link_to(I18n.t('integrations.feeds_link_text'), feeds_path) %></p>
@ -29,7 +29,7 @@
</ul>
<p><%= I18n.t 'integrations.message_gateway.rich_api_tip' %></p>
<p><%= raw I18n.t 'integrations.message_gateway.configuration', site_yml: '<tt>site.yml</tt>', to_name: '<tt>to:</tt>', from_name: '<tt>from:</tt>' %></p>
<p><%= raw I18n.t 'integrations.message_gateway.one_user_configuration', single_user_var_name: '<tt>single_user</tt>', code: "<pre>TRACKS_MAIL_RECEIVER=" + current_user.login + " /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>" %></p>
<p><%= raw I18n.t 'integrations.message_gateway.one_user_configuration', single_user_value: '<tt>single_user</tt>', code: "<pre>TRACKS_MAIL_RECEIVER=" + current_user.login + " /PATH/TO/TRACKS/bin/rails r -e production 'MessageGateway.receive(STDIN.read)'</pre>" %></p>
<a name="mailgun"> </a>
<h2><%= I18n.t 'integrations.sections.mailgun' %></h2>
@ -45,11 +45,11 @@
<li><%= raw I18n.t 'integrations.mailgun.instructions.3', preferences_link: link_to(t('layouts.navigation.preferences'), preferences_url), sms_email_name: Preference.human_attribute_name('sms_email') %></li>
<li><%= I18n.t 'integrations.mailgun.instructions.4', sms_context_name: Preference.human_attribute_name('sms_context') %></li>
<li><%= I18n.t 'integrations.mailgun.instructions.5' %></li>
<li><%= I18n.t 'integrations.mailgun.instructions.6', code: '<pre class=code>
<li><%= raw I18n.t 'integrations.mailgun.instructions.6', code: '<pre class=code>
mailmap:
tracks@user.mailgun.org:
- me@myhome.domain.net
- mr.user@work.company.com
- me@myhome.example.net
- mr.user@work.example.com
</pre>' %></li>
</ul>
<p><%= I18n.t 'integrations.mailgun.gateway_instructions' %></p>

View file

@ -418,7 +418,7 @@ de:
description: 'If Tracks is running on the same server as your mail server, you can use the integrated mail handler built into tracks. Steps to set it up:'
rich_api_tip: 'You can also use the Rich Todo API to send in tasks like "do laundry @ Home" or "Call Bill > project X". The subject of the message will fill description, context, and project, while the body will populate the tasks''s note.'
configuration: "You may need to configure your %{site_yml} to tell the message gateway to look at the %{to_name} field or %{from_name} field to lookup Tracks' user from the email address in that field."
one_user_configuration: "You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to %{single_user_var_name} and pass the login of the user: %{code}"
one_user_configuration: "You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to %{single_user_value} and pass the login of the user in the pipe command: %{code}"
instructions:
'1': 'Go to %{preferences_link} and set your "%{sms_email_name}" and "%{sms_context_name}" for todos sent in via email (which could come from an SMS message)'
'2': In sendmail/qmail/postfix/whatever, set up an email address alias to pipe messages to %{command}
@ -431,7 +431,7 @@ de:
'1': Go to %{mailgun_link} and register for a free account.
'2': "Go to 'Routes' in the Mailgun control panel, and add a new route:"
'2a': "'Filter expression' should be set to 'catch_all()'"
'2b': "'Action' should be 'forward(\"http://mytracksserver.domain.com/mailgun/mime\")'"
'2b': "'Action' should be 'forward(\"http://mytracksserver.example.com/mailgun/mime\")'"
'3': 'Go to %{preferences_link} and enter your incoming Mailgun email address (e.g. tracks@user.mailgun.com) in the "%{sms_email_name}" box.'
'4': 'Select a default context for emails to be put in with "%{sms_context_name"'
'5': "Add your Mailgun API key (not the Public API key) to the Tracks 'site.yml'"

View file

@ -425,7 +425,7 @@ en:
description: 'If Tracks is running on the same server as your mail server, you can use the integrated mail handler built into Tracks. Steps to set it up:'
rich_api_tip: 'You can also use the Rich Todo API to send in tasks like "do laundry @ Home" or "Call Bill > project X". The subject of the message will fill description, context, and project, while the body will populate the tasks''s note.'
configuration: "You may need to configure your %{site_yml} to tell the message gateway to look at the %{to_name} field or %{from_name} field to lookup Tracks' user from the email address in that field."
one_user_configuration: "You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to %{single_user_var_name} and pass the login of the user: %{code}"
one_user_configuration: "You can also send all email to a specific Tracks user. Configure mail_dispatch in site.yml to %{single_user_value} and pass the login of the user in the pipe command: %{code}"
instructions:
'1': 'Go to %{preferences_link} and set your "%{sms_email_name}" and "%{sms_context_name}" for todos sent in via email (which could come from an SMS message)'
'2': In sendmail/qmail/postfix/whatever, set up an email address alias to pipe messages to %{command}
@ -438,7 +438,7 @@ en:
'1': Go to %{mailgun_link} and register for a free account.
'2': "Go to 'Routes' in the Mailgun control panel, and add a new route:"
2a: "'Filter expression' should be set to 'catch_all()'"
2b: "'Action' should be 'forward(\"http://mytracksserver.domain.com/mailgun/mime\")'"
2b: "'Action' should be 'forward(\"http://mytracksserver.example.com/mailgun/mime\")'"
'3': 'Go to %{preferences_link} and enter your incoming Mailgun email address (e.g. tracks@user.mailgun.com) in the "%{sms_email_name}" box.'
'4': 'Select a default context for emails to be put in with "%{sms_context_name}"'
'5': "Add your Mailgun API key (not the Public API key) to the Tracks 'site.yml'"

View file

@ -467,8 +467,8 @@ fi:
sähköpostin kautta lisättäviä toimenpiteitä varten (jotka voisivat muodostua
myös SMS-viestin perusteella)
one_user_configuration: 'Voit myös merkitä kaikki saapuvat sähköpostit tietyn
Tracks-käyttäjän tehtäviksi. Muuta site.yml-tiedoston asetusta mail_dispatch
%{single_user_var_name} ja välitä käyttäjän tunnus: %{code}'
Tracks-käyttäjän toimenpiteiksi. Muuta site.yml-tiedoston asetusta email_dispatch arvoon
%{single_user_value} ja välitä käyttäjän tunnus putkituskomennossa: %{code}'
configuration: Sinun täytyy ehkä muuttaa asetus %{site_yml}-tiedostossa, jotta
viestiväylä osaa käyttää %{to_name}-kenttää tai %{from_name}-kenttää löytääkseen
sähköpostia vastaavan Tracks-käyttäjän.

View file

@ -376,7 +376,7 @@ nl:
description: 'Als Tracks draait op dezelfde server als jouw mailserver, dan kan je de geïntegreerde mail handler gebruiken van Tracks. Om dit in te stellen:'
rich_api_tip: 'Je kan ook de Rich Todo API gebruiken om acties te maken zoals "do laundry @ Home" of "Call Bill > project X". Het onderwerp van het bericht zal de bijschrijving van de actie vullen, de context, en het project, terwijl de body van het bericht de notities van de actie zal vullen.'
configuration: "Het kan nodig zijn om jouw %{site_yml} te configureren om de message gateway te laten kijken naar het %{to_name} veld of het %{from_name} veld om de Tracks-gebruiker op te zoeken met het emailadres uit dat veld."
one_user_configuration: "Je kan ook alle email naar een specifieke Tracks gebruiker sturen. Stel mail_dispatch in site.yml in op %{single_user_var_name} en geeft de login van de gebruiker door: %{code}"
one_user_configuration: "Je kan ook alle email naar een specifieke Tracks gebruiker sturen. Stel mail_dispatch in site.yml in op %{single_user_value} en geeft de login van de gebruiker door: %{code}"
instructions:
'1': 'Ga naar %{preferences_link} en stel in "%{sms_email_name}" en "%{sms_context_name}" voor acties die verzonden zijn via email (die bijv. komen via een SMS message)'
'2': In sendmail/qmail/postfix/whatever, stel een email address alias in om berichten door te sturen naar %{command}
@ -389,7 +389,7 @@ nl:
'1': Go to %{mailgun_link} and register for a free account.
'2': "Go to 'Routes' in the Mailgun control panel, and add a new route:"
2a: "'Filter expression' should be set to 'catch_all()'"
2b: "'Action' should be 'forward(\"http://mytracksserver.domain.com/mailgun/mime\")'"
2b: "'Action' should be 'forward(\"http://mytracksserver.example.com/mailgun/mime\")'"
'3': 'Go to %{preferences_link} and enter your incoming Mailgun email address (e.g. tracks@user.mailgun.com) in the "%{sms_email_name}" box.'
'4': 'Select a default context for emails to be put in with "%{sms_context_name"'
'5': "Add your Mailgun API key (not the Public API key) to the Tracks 'site.yml'"