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 +4 -4
- data/lib/mumuki/domain.rb +1 -1
- data/lib/mumuki/domain/locales/{activerecord.en.yml → activerecord/en.yml} +0 -0
- data/lib/mumuki/domain/locales/{activerecord.es.yml → activerecord/es.yml} +1 -1
- data/lib/mumuki/domain/locales/{activerecord.pt.yml → activerecord/pt.yml} +0 -0
- data/lib/mumuki/domain/locales/{submission.en.yml → console_submission/en.yml} +1 -1
- data/lib/mumuki/domain/locales/{submission.es.yml → console_submission/es.yml} +1 -1
- data/lib/mumuki/domain/locales/{submission.pt.yml → console_submission/pt.yml} +1 -1
- data/lib/mumuki/domain/submission/console_submission.rb +1 -1
- data/lib/mumuki/domain/version.rb +1 -1
- metadata +8 -11
- data/lib/mumuki/domain/locales/narrator.en.yml +0 -14
- data/lib/mumuki/domain/locales/narrator.es.yml +0 -14
- data/lib/mumuki/domain/locales/narrator.pt.yml +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13303557ded90240baebcf7316275278a8dd93d9d9c8ed2d781ce1743ad192ec
|
|
4
|
+
data.tar.gz: 94602656bf406a46dfaf539d4cb882765e1b9e14c0240bdc7ee3922f54f3b9be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad0d581d23ddb2d34184ea8800c022005d3925bbfd3b23288ed4cebfacf2998855a02b4cef90d49c6b79e22f5d2ad768fa1a3672c26a613f78a9fa7d2d6e988a
|
|
7
|
+
data.tar.gz: 63ce3bcff247621d1f625507c725c32938d3cdbee3b17344696341f295fa24594dd16eebc2f71269b38711b44b654f46ee333ac3c7d0f9fbbc33f194058e80c9
|
data/lib/mumuki/domain.rb
CHANGED
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
@@ -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('
|
|
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
|
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.
|
|
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-
|
|
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
|
|
575
|
-
- lib/mumuki/domain/locales/activerecord
|
|
576
|
-
- lib/mumuki/domain/locales/activerecord
|
|
577
|
-
- lib/mumuki/domain/locales/
|
|
578
|
-
- lib/mumuki/domain/locales/
|
|
579
|
-
- lib/mumuki/domain/locales/
|
|
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}."
|