tramway-core 1.12.1 → 1.13
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/app/helpers/tramway/core/title_helper.rb +5 -1
- data/config/locales/en/dates.yml +10 -0
- data/config/locales/en/helpers.yml +19 -0
- data/config/locales/en/messages.yml +6 -0
- data/config/locales/en/models.yml +7 -0
- data/config/locales/en/simple_form_extension.yml +8 -0
- data/config/locales/en/state_machines.yml +8 -0
- data/lib/tramway/core/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c07ed465cd6546dc6ac1e57fa6876286172bfb317ccd84ec0358f833667d18fb
|
|
4
|
+
data.tar.gz: dc7460762de2427947949bc59c6dc2fa16af47ca15baafd260ce525332b9abf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4fb5af42164b10eccb81a855ae4cb3735cb80b685a50817d23dcfc6dd6081fa90e45b0e61d8d00c091f99f5d2f7276fcc493e5ce25ff1d94e8ed9d4608398a4f
|
|
7
|
+
data.tar.gz: 8aac6e1b68f642988b51481fdbd58484e65e9213d212d4d7d417b22842da2501808ac16ac4a506f1bf040c761fd209e341dd17ad8fca5df3748841da82e9d93a
|
|
@@ -16,7 +16,11 @@ module Tramway
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def page_title(action, model_name)
|
|
19
|
-
|
|
19
|
+
if I18n.locale == :ru
|
|
20
|
+
t("helpers.actions.#{action}") + ' ' + genitive(model_name)
|
|
21
|
+
else
|
|
22
|
+
t("helpers.actions.#{action}") + ' ' + model_name.model_name.human.downcase
|
|
23
|
+
end
|
|
20
24
|
end
|
|
21
25
|
end
|
|
22
26
|
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
en:
|
|
2
|
+
helpers:
|
|
3
|
+
links:
|
|
4
|
+
enter: Sign In
|
|
5
|
+
save: Save
|
|
6
|
+
back: Back
|
|
7
|
+
sign_out: Sign Out
|
|
8
|
+
actions: Actions
|
|
9
|
+
open: Open
|
|
10
|
+
actions:
|
|
11
|
+
create: Create
|
|
12
|
+
update: Update
|
|
13
|
+
search: Search
|
|
14
|
+
reset: Reset
|
|
15
|
+
download: Download
|
|
16
|
+
scope:
|
|
17
|
+
found: Found
|
|
18
|
+
"yes": yes
|
|
19
|
+
"no": no
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tramway-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: '1.13'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kalashnikov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: reform-rails
|
|
@@ -356,6 +356,12 @@ files:
|
|
|
356
356
|
- config/initializers/assets.rb
|
|
357
357
|
- config/initializers/carrierwave.rb
|
|
358
358
|
- config/initializers/plurals.rb
|
|
359
|
+
- config/locales/en/dates.yml
|
|
360
|
+
- config/locales/en/helpers.yml
|
|
361
|
+
- config/locales/en/messages.yml
|
|
362
|
+
- config/locales/en/models.yml
|
|
363
|
+
- config/locales/en/simple_form_extension.yml
|
|
364
|
+
- config/locales/en/state_machines.yml
|
|
359
365
|
- config/locales/ru/dates.yml
|
|
360
366
|
- config/locales/ru/helpers.yml
|
|
361
367
|
- config/locales/ru/messages.yml
|