Invitation system translations

James Peret vor 10 Jahren
Ursprung
Commit
7fca0a5249

+ 1 - 1
app/views/invites/invite.html.erb

@@ -5,7 +5,7 @@
5 5
 			<%= bootstrap_flash %>
6 6
 			<%= content_tag(:div, class: 'page-header') do %>
7 7
 				<%= content_tag(:h1) do %>
8
-					<%= t 'agent.invite' %>
8
+					<%= t 'invite.header' %>
9 9
 				<% end %>
10 10
 			<% end %>
11 11
 		<% end %>

+ 16 - 16
config/locales/devise_invitable.en.yml

@@ -1,23 +1,23 @@
1
-en:
1
+pt-BR:
2 2
   devise:
3 3
     invitations:
4
-      send_instructions: 'An invitation email has been sent to %{email}.'
5
-      invitation_token_invalid: 'The invitation token provided is not valid!'
6
-      updated: 'Your password was set successfully. You are now signed in.'
7
-      no_invitations_remaining: "No invitations remaining"
8
-      invitation_removed: 'Your invitation was removed.'
4
+      send_instructions: 'Um email com intruções foi enviado para %{email}.'
5
+      invitation_token_invalid: 'O codigo de validação não é valido'
6
+      updated: 'Suas informações foram salvas com sucesso. Você está logado agora.'
7
+      no_invitations_remaining: "Nenhum convite sobrando"
8
+      invitation_removed: 'Seu convite foi removido'
9 9
       new:
10
-        header: "Send invitation"
11
-        submit_button: "Send an invitation"
10
+        header: "Enviar Convite"
11
+        submit_button: "Enviar convite"
12 12
       edit:
13
-        header: "Set your password"
14
-        submit_button: "Set my password"
13
+        header: "Forneça sua senha"
14
+        submit_button: "Salvar senha"
15 15
       user:
16
-        updated: 'Your password was set successfully. You are now signed in.'
16
+        updated: 'Suas informações foram salvas com sucesso. Você está logado agora.'
17 17
     mailer:
18 18
       invitation_instructions:
19
-        subject: 'Invitation instructions'
20
-        hello: 'Hello %{email}'
21
-        someone_invited_you: 'Someone has invited you to %{url}, you can accept it through the link below.'
22
-        accept: 'Accept invitation'
23
-        ignore: "If you don't want to accept the invitation, please ignore this email.<br />Your account won't be created until you access the link above and set your password."
19
+        subject: 'Instruções do convite'
20
+        hello: 'Olá %{email}'
21
+        someone_invited_you: 'Você foi convidado para %{url}, você pode aceitar seguindo o link abaixo.'
22
+        accept: 'Aceitar convite'
23
+        ignore: 'Se você não quiser participar, simplesmente não siga este email.<br />Sua conta não vai ser criada até você seguir o link abaixo e cadastrar uma senha.'

+ 23 - 0
config/locales/devise_invitable.pt-BR.yml

@@ -0,0 +1,23 @@
1
+en:
2
+  devise:
3
+    invitations:
4
+      send_instructions: 'An invitation email has been sent to %{email}.'
5
+      invitation_token_invalid: 'The invitation token provided is not valid!'
6
+      updated: 'Your password was set successfully. You are now signed in.'
7
+      no_invitations_remaining: "No invitations remaining"
8
+      invitation_removed: 'Your invitation was removed.'
9
+      new:
10
+        header: "Send invitation"
11
+        submit_button: "Send an invitation"
12
+      edit:
13
+        header: "Set your password"
14
+        submit_button: "Set my password"
15
+      user:
16
+        updated: 'Your password was set successfully. You are now signed in.'
17
+    mailer:
18
+      invitation_instructions:
19
+        subject: 'Invitation instructions'
20
+        hello: 'Hello %{email}'
21
+        someone_invited_you: 'Someone has invited you to %{url}, you can accept it through the link below.'
22
+        accept: 'Accept invitation'
23
+        ignore: "If you don't want to accept the invitation, please ignore this email.<br />Your account won't be created until you access the link above and set your password."

+ 4 - 0
config/locales/email.en.yml

@@ -20,8 +20,12 @@ en:
20 20
     step5: 'Win rewards'
21 21
     start: 'Start'
22 22
   invite:
23
+    header: 'Invitations'
23 24
     send: 'Send Invite'
25
+    invitations_sent: 'Invitations sent'
26
+    resend_invitation: 'Resend Invitation'
24 27
     last_invite_sent: 'sent'
28
+    invite_accpeted: 'Invite Accepted'
25 29
   invite_email:
26 30
     email_subject: 'Join the Avalanche'
27 31
     welcome: 'Join the Avalanche'

+ 5 - 1
config/locales/email.pt-BR.yml

@@ -20,8 +20,12 @@ pt-BR:
20 20
     step5: 'Ganhe recompensas'
21 21
     start: 'Começar'
22 22
   invite:
23
+    header: 'Convites'
23 24
     send: 'Enviar convite'
24
-    last_invite_sent: 'Enviado em'
25
+    invitations_sent: 'Convites enviados'
26
+    resend_invitation: "Reenviar Convite"
27
+    last_invite_sent: 'Enviado '
28
+    invite_accpeted: 'Convite aceito'
25 29
   invite_email:
26 30
     email_subject: 'Participe da Avalanche'
27 31
     welcome: 'Participe da Avalanche'

+ 1 - 0
config/locales/en.yml

@@ -253,6 +253,7 @@ en:
253 253
     next: Next
254 254
     edit: Edit
255 255
     cancel: Cancel
256
+    invite: Invitations
256 257
   blog:
257 258
     by: By
258 259
     ago: ago

+ 1 - 0
config/locales/pt-BR.yml

@@ -255,6 +255,7 @@ pt-BR:
255 255
     next: Próximo
256 256
     edit: Editar
257 257
     cancel: Cancelar
258
+    invite: Convites
258 259
   blog:
259 260
     by: Por
260 261
     ago: atras