Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master

This commit is contained in:
Jenkins
2018-01-03 04:17:11 +00:00
46 changed files with 1482 additions and 52 deletions

View File

@@ -2,8 +2,7 @@
%html{ lang: I18n.locale }
%head
%meta{ charset: 'utf-8' }/
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }/
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' }/
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }/
%link{ rel: 'icon', href: favicon_path, type: 'image/x-icon' }/
%link{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' }/
%link{ rel: 'mask-icon', href: '/mask-icon.svg', color: '#2B90D9' }/

View File

@@ -0,0 +1,15 @@
<p>Dobrodošao <%= @resource.email %> !</p>
<p>Upravo ste napravili nalog na instanci <%= @instance %>.</p>
<p>Da potvrdite Vašu registraciju, molimo Vas kliknite na sledeći link: <br>
<%= link_to 'Potvrdi moj nalog', confirmation_url(@resource, confirmation_token: @token) %></p>
<p>Ako link iznad ne radi, kopirajte i nalepite ovu adresu u adresnu traku: <br>
<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
<p>Takođe pogledajte i <%= link_to 'pravila i uslove korišćenja', terms_url %>.</p>
<p>S poštovanjem,<p>
<p><%= @instance %> tim</p>

View File

@@ -0,0 +1,12 @@
Dobrodošao <%= @resource.email %> !
Upravo ste napravili nalog na instanci <%= @instance %>.
Da potvrdite Vašu registraciju, molimo Vas kliknite na sledeći link:
<%= confirmation_url(@resource, confirmation_token: @token) %>
Takođe pogledajte i pravila i uslove korišćenja <%= terms_url %>
S poštovanjem,
<%= @instance %> tim

View File

@@ -0,0 +1,15 @@
<p>Hello <%= @resource.email %>!</p>
<% if @resource&.unconfirmed_email? %>
<p>We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
<p>We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>.</p>
<% end %>
<p>
If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account.
</p>
<p>Sincerely,<p>
<p>The <%= @instance %> team</p>

View File

@@ -0,0 +1,13 @@
Hello <%= @resource.email %>!
<% if @resource&.unconfirmed_email? %>
We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>.
<% else %>
We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>.
<% end %>
If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account.
Sincerely,
The <%= @instance %> team

View File

@@ -0,0 +1,3 @@
<p>Zdravo <%= @resource.email %>!</p>
<p>Želimo samo da Vas obavestimo da je Vaša lozinka na Mastodont instanci <%= @instance %> promenjena.</p>

View File

@@ -0,0 +1,3 @@
Zdravo <%= @resource.email %>!
Želimo samo da Vas obavestimo da je Vaša lozinka na Mastodont instanci <%= @instance %> promenjena.

View File

@@ -0,0 +1,15 @@
<p>Hello <%= @resource.unconfirmed_email %>!</p>
<p>You requested a change to the email address you use on <%= @instance %>.</p>
<p>To confirm your new email, please click on the following link:<br>
<%= link_to 'Confirm my email address', confirmation_url(@resource, confirmation_token: @token) %></p>
<p>If the above link did not work, copy and paste this URL into your address bar: <br>
<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
<p>Please also check out our <%= link_to 'terms and conditions', terms_url %>.</p>
<p>Sincerely,<p>
<p>The <%= @instance %> team</p>

View File

@@ -0,0 +1,12 @@
Hello <%= @resource.unconfirmed_email %>!
You requested a change to the email address you use on <%= @instance %>.
To confirm your new email, please click on the following link:
<%= confirmation_url(@resource, confirmation_token: @token) %>
Please also check out our terms and conditions <%= terms_url %>
Sincerely,
The <%= @instance %> team

View File

@@ -0,0 +1,8 @@
<p>Zdravo <%= @resource.email %>!</p>
<p>Neko je zatražio link za promenu lozinke na instanci <%= @instance %>. Ovo možete uraditi klikom na link ispod.</p>
<p><%= link_to 'Promeni moju lozinku', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>Ignorišite ovu poruku, ako niste Vi bili ti koji ste zatražili promenu lozinke.</p>
<p>Lozinka se neće promeniti sve dok ne kliknete link iznad i ne napravite novu lozinku.</p>

View File

@@ -0,0 +1,8 @@
Zdravo <%= @resource.email %>!
Neko je zatražio link za promenu lozinke na instanci <%= @instance %>. Ovo možete uraditi preko linka ispod.
<%= edit_password_url(@resource, reset_password_token: @token) %>
Ignorišite ovu poruku, ako niste Vi bili ti koji ste zatražili promenu lozinke.
Lozinka se neće promeniti sve dok ne kliknete link iznad i ne napravite novu lozinku.