Translations files mirrored in both languages: en & pt-BR

jamesperet 10 年 前
コミット
e03cda364c
共有4 個のファイルを変更した49 個の追加5 個の削除を含む
  1. 0 0
      config/locales/bootstrap.en.yml
  2. 18 0
      config/locales/bootstrap.pt-BR.yml
  3. 5 5
      config/locales/simple_form.en.yml
  4. 26 0
      config/locales/simple_form.pt-BR.yml

config/locales/en.bootstrap.yml → config/locales/bootstrap.en.yml


+ 18 - 0
config/locales/bootstrap.pt-BR.yml

@@ -0,0 +1,18 @@
1
+# Sample localization file for English. Add more files in this directory for other locales.
2
+# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+pt-BR:
5
+  helpers:
6
+    actions: "Ações"
7
+    links:
8
+      back: "Voltar"
9
+      cancel: "Cancelar"
10
+      confirm: "Você tem certeza?"
11
+      destroy: "Deletar"
12
+      new: "Novo"
13
+      edit: "Editar"
14
+    titles:
15
+      edit: "Editar %{model}"
16
+      save: "Salvar %{model}"
17
+      new: "Nova %{model}"
18
+      delete: "Deletar %{model}"

+ 5 - 5
config/locales/simple_form.en.yml

@@ -1,15 +1,15 @@
1
-en:
1
+pt-BR:
2 2
   simple_form:
3
-    "yes": 'Yes'
4
-    "no": 'No'
3
+    "sim": 'Sim'
4
+    "não": 'Não'
5 5
     required:
6
-      text: 'required'
6
+      text: 'necessario'
7 7
       mark: '*'
8 8
       # You can uncomment the line below if you need to overwrite the whole required html.
9 9
       # When using html, text and mark won't be used.
10 10
       # html: '<abbr title="required">*</abbr>'
11 11
     error_notification:
12
-      default_message: "Please review the problems below:"
12
+      default_message: "Por favor revise os problemas abaixo:"
13 13
     # Labels and hints examples
14 14
     # labels:
15 15
     #   defaults:

+ 26 - 0
config/locales/simple_form.pt-BR.yml

@@ -0,0 +1,26 @@
1
+en:
2
+  simple_form:
3
+    "yes": 'Yes'
4
+    "no": 'No'
5
+    required:
6
+      text: 'required'
7
+      mark: '*'
8
+      # You can uncomment the line below if you need to overwrite the whole required html.
9
+      # When using html, text and mark won't be used.
10
+      # html: '<abbr title="required">*</abbr>'
11
+    error_notification:
12
+      default_message: "Please review the problems below:"
13
+    # Labels and hints examples
14
+    # labels:
15
+    #   defaults:
16
+    #     password: 'Password'
17
+    #   user:
18
+    #     new:
19
+    #       email: 'E-mail to sign in.'
20
+    #     edit:
21
+    #       email: 'E-mail.'
22
+    # hints:
23
+    #   defaults:
24
+    #     username: 'User name to sign in.'
25
+    #     password: 'No special characters, please.'
26
+