ecm_translations2 4.0.1 → 4.1.0
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/config/locales/de.yml +2 -5
- data/config/locales/en.yml +2 -5
- data/db/migrate/001_create_ecm_translations_translations.rb +1 -1
- data/db/migrate/002_add_unique_index_to_locale_and_key_on_ecm_translations_translations.rb +1 -1
- data/lib/ecm/translations.rb +11 -0
- data/lib/ecm/translations/engine.rb +2 -0
- data/lib/ecm/translations/version.rb +1 -1
- data/lib/ecm_translations2.rb +1 -12
- metadata +4 -5
- data/lib/ecm/translations/routing.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 341ac1bd9e808f7c54e6dd942af165673d1077a6
|
4
|
+
data.tar.gz: 0264b3da784d41c5e69d88fe853e4f42c20f0837
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b01140719efa56e0c0df4f2a29206b53205ff8fa844d335c02976597e03030ceb551becec0b2d9088bf72b3e6143e95a220180c029e0a9764e24cd9bba3d82e
|
7
|
+
data.tar.gz: cac8003b4106d3cade524586a0b12e23eb7351435f79bd3945d125b6b4e639aced68c2df154c276788b3486aedeb0215663e701ed7b61b50909f1fa8da697556
|
data/config/locales/de.yml
CHANGED
@@ -13,9 +13,6 @@ de:
|
|
13
13
|
ecm/translations/translation:
|
14
14
|
one: Übersetzung
|
15
15
|
other: Übersetzungen
|
16
|
-
activeadmin:
|
17
|
-
menu:
|
18
|
-
ecm:
|
19
|
-
translations: Übersetzungen
|
20
16
|
routes:
|
21
|
-
|
17
|
+
ecm_translations_engine: uebersetzungen
|
18
|
+
# ecm_translations: uebersetzungen
|
data/config/locales/en.yml
CHANGED
@@ -13,9 +13,6 @@ en:
|
|
13
13
|
ecm/translations/translation:
|
14
14
|
one: Translation
|
15
15
|
other: Translations
|
16
|
-
activeadmin:
|
17
|
-
menu:
|
18
|
-
ecm:
|
19
|
-
translations: translations
|
20
16
|
routes:
|
21
|
-
|
17
|
+
ecm_translations_engine: translations
|
18
|
+
# ecm_translations: translations
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class AddUniqueIndexToLocaleAndKeyOnEcmTranslationsTranslations < ActiveRecord::Migration
|
1
|
+
class AddUniqueIndexToLocaleAndKeyOnEcmTranslationsTranslations < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
3
|
add_index(:ecm_translations_translations, [:locale, :key], unique: true)
|
4
4
|
end
|
data/lib/ecm_translations2.rb
CHANGED
@@ -1,13 +1,2 @@
|
|
1
|
+
require 'ecm/translations'
|
1
2
|
require 'ecm/translations/engine'
|
2
|
-
require 'ecm/translations/configuration'
|
3
|
-
require 'ecm/translations/routing'
|
4
|
-
|
5
|
-
module Ecm
|
6
|
-
module Translations
|
7
|
-
def self.table_name_prefix
|
8
|
-
'ecm_translations_'
|
9
|
-
end
|
10
|
-
|
11
|
-
extend Configuration
|
12
|
-
end
|
13
|
-
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_translations2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -279,9 +279,9 @@ files:
|
|
279
279
|
- config/locales/en.yml
|
280
280
|
- db/migrate/001_create_ecm_translations_translations.rb
|
281
281
|
- db/migrate/002_add_unique_index_to_locale_and_key_on_ecm_translations_translations.rb
|
282
|
+
- lib/ecm/translations.rb
|
282
283
|
- lib/ecm/translations/configuration.rb
|
283
284
|
- lib/ecm/translations/engine.rb
|
284
|
-
- lib/ecm/translations/routing.rb
|
285
285
|
- lib/ecm/translations/version.rb
|
286
286
|
- lib/ecm_translations2.rb
|
287
287
|
- lib/generators/ecm/translations/install/install_generator.rb
|
@@ -310,9 +310,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
310
|
version: '0'
|
311
311
|
requirements: []
|
312
312
|
rubyforge_project:
|
313
|
-
rubygems_version: 2.
|
313
|
+
rubygems_version: 2.6.11
|
314
314
|
signing_key:
|
315
315
|
specification_version: 4
|
316
316
|
summary: ECM Translations 2 Module.
|
317
317
|
test_files: []
|
318
|
-
has_rdoc:
|