mumuki-domain 6.6.1 → 6.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ccf761c5b469ba65886d7d672d9008f1c6fe1dd8d46284f57c61bd95ed6ab6c
4
- data.tar.gz: d2f88a156f28f15a26180ecb8744ec0d64bc55202eeff8167bec1843682b1667
3
+ metadata.gz: 13303557ded90240baebcf7316275278a8dd93d9d9c8ed2d781ce1743ad192ec
4
+ data.tar.gz: 94602656bf406a46dfaf539d4cb882765e1b9e14c0240bdc7ee3922f54f3b9be
5
5
  SHA512:
6
- metadata.gz: c5218f2f513870bca9ec4f0a2dd79fa368b7ce8ee67012cc8eca6a59010493964b5cb99db6d66a82ea5f7de52cd00801d757d8354f2ca061f1756f5799fda369
7
- data.tar.gz: 115ac23ec78d20e9949dc85a218b9c702c5938e4259c1b4c217ac2b4ccfb5499562ef89175bcd768f4f37cb2775e273f6f30b65431f6cdf252c4a47bca06e9f9
6
+ metadata.gz: ad0d581d23ddb2d34184ea8800c022005d3925bbfd3b23288ed4cebfacf2998855a02b4cef90d49c6b79e22f5d2ad768fa1a3672c26a613f78a9fa7d2d6e988a
7
+ data.tar.gz: 63ce3bcff247621d1f625507c725c32938d3cdbee3b17344696341f295fa24594dd16eebc2f71269b38711b44b654f46ee333ac3c7d0f9fbbc33f194058e80c9
@@ -12,7 +12,7 @@ require 'mumukit/platform'
12
12
  require 'mumukit/randomizer'
13
13
  require 'mumukit/sync'
14
14
 
15
- I18n.load_translations_path File.join(__dir__, 'domain', 'locales', '*.yml')
15
+ I18n.load_translations_path File.join(__dir__, 'domain', 'locales', '**', '*.yml')
16
16
 
17
17
  module Mumuki
18
18
  module Domain
@@ -23,7 +23,7 @@ es:
23
23
  guide:
24
24
  attributes:
25
25
  base:
26
- in_use: 'La guía aún están siendo utilizada en la organización %{organization}'
26
+ in_use: 'La guía aún está siendo utilizada en la organización %{organization}'
27
27
  topic:
28
28
  attributes:
29
29
  base:
@@ -1,4 +1,4 @@
1
1
  en:
2
- submission:
2
+ console_submission:
3
3
  try_again: Oops, something went wrong in Mumuki. Restart the exercise, wait a few seconds and try again.
4
4
 
@@ -1,4 +1,4 @@
1
1
  es:
2
- submission:
2
+ console_submission:
3
3
  try_again: ¡Ups! Algo salió mal en mumuki. Reiniciá el ejercicio, esperá unos segundos y volvé a intentar.
4
4
 
@@ -1,4 +1,4 @@
1
1
  pt:
2
- submission:
2
+ console_submission:
3
3
  try_again: Opa, algo deu errado em Mumuki. Reinicie o exercício, aguarde alguns segundos e tente novamente.
4
4
 
@@ -6,7 +6,7 @@ class Mumuki::Domain::Submission::ConsoleSubmission < Mumuki::Domain::Submission
6
6
  end
7
7
 
8
8
  def format_query_result!(results)
9
- results[:result] = I18n.t('submission.try_again') if results[:status].aborted?
9
+ results[:result] = I18n.t('console_submission.try_again') if results[:status].aborted?
10
10
  results[:status] = results[:status].to_submission_status
11
11
  results
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Domain
3
- VERSION = '6.6.1'
3
+ VERSION = '6.6.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.1
4
+ version: 6.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-12 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -571,15 +571,12 @@ files:
571
571
  - lib/mumuki/domain/factories/usage_factory.rb
572
572
  - lib/mumuki/domain/factories/user_factory.rb
573
573
  - lib/mumuki/domain/file.rb
574
- - lib/mumuki/domain/locales/activerecord.en.yml
575
- - lib/mumuki/domain/locales/activerecord.es.yml
576
- - lib/mumuki/domain/locales/activerecord.pt.yml
577
- - lib/mumuki/domain/locales/narrator.en.yml
578
- - lib/mumuki/domain/locales/narrator.es.yml
579
- - lib/mumuki/domain/locales/narrator.pt.yml
580
- - lib/mumuki/domain/locales/submission.en.yml
581
- - lib/mumuki/domain/locales/submission.es.yml
582
- - lib/mumuki/domain/locales/submission.pt.yml
574
+ - lib/mumuki/domain/locales/activerecord/en.yml
575
+ - lib/mumuki/domain/locales/activerecord/es.yml
576
+ - lib/mumuki/domain/locales/activerecord/pt.yml
577
+ - lib/mumuki/domain/locales/console_submission/en.yml
578
+ - lib/mumuki/domain/locales/console_submission/es.yml
579
+ - lib/mumuki/domain/locales/console_submission/pt.yml
583
580
  - lib/mumuki/domain/seed.rb
584
581
  - lib/mumuki/domain/status.rb
585
582
  - lib/mumuki/domain/status/discussion/closed.rb
@@ -1,14 +0,0 @@
1
- en:
2
- narrator:
3
- retry_0: Let's try again!
4
- retry_1: Keep on!
5
- retry_2: Let's fix it!
6
- introduction_0: "Oops, it didn't work :frowning:."
7
- introduction_1: "Oops, it didn't work :frowning:."
8
- introduction_2: "Oops, it didn't work :frowning:."
9
- middle_0: Also, %{tip}.
10
- middle_1: Also, %{tip}.
11
- middle_2: Also, %{tip}.
12
- ending_0: Finally, %{tip}.
13
- ending_1: Finally, %{tip}.
14
- ending_2: Finally, %{tip}.
@@ -1,14 +0,0 @@
1
- es:
2
- narrator:
3
- retry_0: ¡Intentemos de nuevo!
4
- retry_1: 'Pero a no desesperar, intentemos otra vez :muscle:'
5
- retry_2: ¡Corrijamos el problema!
6
- introduction_0: 'Parece que algo no funcionó :see_no_evil:.'
7
- introduction_1: 'Eh, ¿qué pasó acá :frowning:?'
8
- introduction_2: 'Parece que algo no anduvo bien :sweat_smile:'
9
- middle_0: "Además, %{tip}."
10
- middle_1: "También %{tip}."
11
- middle_2: "Por otro lado, %{tip}."
12
- ending_0: "Por último, %{tip}."
13
- ending_1: "Ah, algo más: %{tip}."
14
- ending_2: "Y para cerrar, %{tip}."
@@ -1,14 +0,0 @@
1
- pt:
2
- narrator:
3
- retry_0: Vamos tentar de novo!
4
- retry_1: 'Mas não se desespere, vamos tentar novamente :muscle:'
5
- retry_2: Corrigimos o problema!
6
- introduction_0: 'Parece que algo não funcionou :see_no_evil:.'
7
- introduction_1: 'Ei, o que aconteceu aqui :frowning:?'
8
- introduction_2: 'Parece que algo não correu bem :sweat_smile:'
9
- middle_0: "Além disso, %{tip}."
10
- middle_1: "Também %{tip}."
11
- middle_2: "Por outro lado, %{tip}."
12
- ending_0: "Finalmente, %{tip}."
13
- ending_1: "Oh, algo mais: %{tip}."
14
- ending_2: "E para fechar, %{tip}."