tramway-core 1.12.1 → 1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16172a47127987a0492d51f269ccd76ab319bf8323636ba20f3ac36745fb2007
4
- data.tar.gz: ac86409a6b1fbc1462f07a5a5b999ff81755a9af28c8b3e834a786983915f006
3
+ metadata.gz: c07ed465cd6546dc6ac1e57fa6876286172bfb317ccd84ec0358f833667d18fb
4
+ data.tar.gz: dc7460762de2427947949bc59c6dc2fa16af47ca15baafd260ce525332b9abf0
5
5
  SHA512:
6
- metadata.gz: 6e45054851f49dbc7c1aff4c267c5eb0a6c95a95569808649313991699160bf90e93f96293c69658ad5b23a60b5b188ab585eb1da8ec05e902a689544e3f82d6
7
- data.tar.gz: 58786a322921c254d038f39dfc3d4b8338f78f77bb7a8d6c6826b916c8b6957530a034229ad42dfc93165f0f1ffb5d9e9c779a86a9510b54bdd7bb20ab25ae77
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
- t("helpers.actions.#{action}") + ' ' + genitive(model_name)
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,10 @@
1
+ en:
2
+ date:
3
+ from: from
4
+ to: to
5
+ formats:
6
+ default: "%m/%d/%Y"
7
+ month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
8
+ time:
9
+ formats:
10
+ default: "%m/%d/%Y %H:%M"
@@ -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
@@ -0,0 +1,6 @@
1
+ en:
2
+ tramway:
3
+ core:
4
+ shared:
5
+ messages:
6
+ some_errors_was_found: There are errors
@@ -0,0 +1,7 @@
1
+ en:
2
+ activerecord:
3
+ attributes:
4
+ tramway/core/application_record:
5
+ created_at: Created at
6
+ updated_at: Updated at
7
+ state: State
@@ -0,0 +1,8 @@
1
+ en:
2
+ simple_form:
3
+ extension:
4
+ selectize:
5
+ add: Add
6
+ file:
7
+ select: Select file
8
+ change: Change file
@@ -0,0 +1,8 @@
1
+ en:
2
+ activerecord:
3
+ state_machines:
4
+ tramway/core/application_record:
5
+ state:
6
+ states:
7
+ active: Active
8
+ removed: Removed
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.12.1'
3
+ VERSION = '1.13'
4
4
  end
5
5
  end
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.12.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-07 00:00:00.000000000 Z
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