enju_leaf 1.3.2 → 1.3.4
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/README.md +38 -0
- data/Rakefile +9 -1
- data/app/assets/javascripts/enju_leaf.js +1 -1
- data/app/assets/javascripts/{enju.menu.js → menu.js} +0 -0
- data/app/assets/javascripts/mobile.js +1 -1
- data/app/assets/stylesheets/enju.css +2 -0
- data/app/views/devise/registrations/edit.html.erb +1 -1
- data/app/views/page/about.en.html.erb +7 -7
- data/app/views/page/about.ja.html.erb +7 -7
- data/app/views/page/configuration.html.erb +2 -0
- data/app/views/page/opensearch.xml.builder +1 -0
- data/app/views/page/system_information.html.erb +7 -1
- data/config/locales/en.yml +7 -203
- data/config/locales/ja.yml +7 -193
- data/lib/enju_leaf.rb +0 -1
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +4 -19
- data/lib/generators/enju_leaf/seed/seed_generator.rb +29 -0
- data/lib/generators/enju_leaf/setup/setup_generator.rb +13 -14
- data/lib/generators/enju_leaf/setup/templates/Procfile +1 -1
- data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +13 -12
- data/lib/tasks/enju_leaf_tasks.rake +2 -1
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/schema.rb +0 -390
- data/spec/views/page/configuration.html.erb_spec.rb +1 -1
- metadata +76 -253
- data/README.rdoc +0 -30
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/roles.yml +0 -29
- data/lib/generators/enju_leaf/setup/templates/db/fixtures/user_groups.yml +0 -7
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/db/migrate/032_create_checkins.rb +0 -17
- data/spec/dummy/db/migrate/033_create_checkouts.rb +0 -25
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -26
- data/spec/dummy/db/migrate/055_create_bookmarks.rb +0 -22
- data/spec/dummy/db/migrate/121_create_checked_items.rb +0 -17
- data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +0 -16
- data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +0 -17
- data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +0 -25
- data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +0 -18
- data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -13
- data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +0 -13
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +0 -17
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -15
- data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +0 -17
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -23
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +0 -15
- data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +0 -21
- data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
- data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +0 -9
- data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
- data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +0 -9
- data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +0 -6
- data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +0 -6
- data/spec/dummy/db/migrate/20111231145823_add_share_bookmarks_to_user.rb +0 -5
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +0 -5
- data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +0 -5
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +0 -6
- data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +0 -8
- data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
- data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +0 -18
- data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +0 -12
- data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +0 -6
- data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +0 -5
- data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20141020120523_add_library_id_to_checkout.rb +0 -6
- data/spec/dummy/db/migrate/20150106001709_create_demands.rb +0 -14
- data/spec/dummy/db/migrate/20150421023923_create_identities.rb +0 -15
- data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +0 -5
- data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +0 -9
- data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +0 -11
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +0 -5
- data/spec/fixtures/agent_import_files.yml +0 -44
- data/spec/fixtures/agent_import_results.yml +0 -26
- data/spec/fixtures/agent_relationship_types.yml +0 -34
- data/spec/fixtures/agent_relationships.yml +0 -25
- data/spec/fixtures/agent_types.yml +0 -35
- data/spec/fixtures/agents.yml +0 -326
- data/spec/fixtures/baskets.yml +0 -80
- data/spec/fixtures/carrier_type_has_checkout_types.yml +0 -30
- data/spec/fixtures/checked_items.yml +0 -34
- data/spec/fixtures/checkins.yml +0 -54
- data/spec/fixtures/checkout_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/checkout_stat_has_users.yml +0 -23
- data/spec/fixtures/checkout_types.yml +0 -33
- data/spec/fixtures/checkouts.yml +0 -162
- data/spec/fixtures/circulation_statuses.yml +0 -119
- data/spec/fixtures/create_types.yml +0 -47
- data/spec/fixtures/creates.yml +0 -66
- data/spec/fixtures/donates.yml +0 -31
- data/spec/fixtures/event_categories.yml +0 -55
- data/spec/fixtures/events.yml +0 -116
- data/spec/fixtures/exemplifies.yml +0 -168
- data/spec/fixtures/import_requests.yml +0 -25
- data/spec/fixtures/item_has_use_restrictions.yml +0 -60
- data/spec/fixtures/items.yml +0 -303
- data/spec/fixtures/lending_policies.yml +0 -98
- data/spec/fixtures/licenses.yml +0 -29
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -27
- data/spec/fixtures/manifestation_relationship_types.yml +0 -29
- data/spec/fixtures/manifestation_relationships.yml +0 -30
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -27
- data/spec/fixtures/medium_of_performances.yml +0 -29
- data/spec/fixtures/message_requests.yml +0 -27
- data/spec/fixtures/message_templates.yml +0 -105
- data/spec/fixtures/owns.yml +0 -27
- data/spec/fixtures/picture_files.yml +0 -64
- data/spec/fixtures/produce_types.yml +0 -31
- data/spec/fixtures/produces.yml +0 -150
- data/spec/fixtures/realize_types.yml +0 -39
- data/spec/fixtures/realizes.yml +0 -87
- data/spec/fixtures/request_status_types.yml +0 -63
- data/spec/fixtures/request_types.yml +0 -55
- data/spec/fixtures/reserve_stat_has_manifestations.yml +0 -23
- data/spec/fixtures/reserve_stat_has_users.yml +0 -23
- data/spec/fixtures/reserve_transitions.yml +0 -88
- data/spec/fixtures/reserves.yml +0 -162
- data/spec/fixtures/resource_import_files.yml +0 -44
- data/spec/fixtures/resource_import_results.yml +0 -29
- data/spec/fixtures/series_statements.yml +0 -45
- data/spec/fixtures/subscribes.yml +0 -45
- data/spec/fixtures/subscriptions.yml +0 -27
- data/spec/fixtures/use_restrictions.yml +0 -92
- data/spec/fixtures/user_checkout_stats.yml +0 -27
- data/spec/fixtures/user_group_has_checkout_types.yml +0 -110
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ca08f8d46ba44a4dc2fedd7e4e603330e53365bc35f21d61bbf06fa38caaf36
|
|
4
|
+
data.tar.gz: 9ba8e77dacd2653bc5dda6bdec6a194cb5511944f83bc962656426c6f4ac8bad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86b2152db5e578eb2b1d94ee9359e20560b5277e6e65f9a03113da23b658c1611d89688a737659334ad1db625abab96dac7a3783cc3da0c58af34c3ceb434a05
|
|
7
|
+
data.tar.gz: 7bec97e965c36e73e5ddbe036bce8ef704dd962ea86f7e956d3b2fd150e89d1bf8d6aaad505e0dd77451cc639c6f9a87781ebc51b3e24c119b585a3e48a9cc55
|
data/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Next-L Enju Leaf
|
|
2
|
+
[](https://travis-ci.com/next-l/enju_leaf)
|
|
3
|
+
[](https://coveralls.io/github/next-l/enju_leaf?branch=1.3)
|
|
4
|
+
[](https://hakiri.io/github/next-l/enju_leaf/1.3)
|
|
5
|
+
|
|
6
|
+
Next-L Enju Leaf は、[Project Next-L](https://www.next-l.jp) で開発している図書館管理システムです。
|
|
7
|
+
|
|
8
|
+
Next-L Enju Leaf is an integrated library system developed by [Project
|
|
9
|
+
Next-L](https://www.next-l.jp).
|
|
10
|
+
|
|
11
|
+
## Project Next-L とは (What is Project Next-L?)
|
|
12
|
+
[Project Next-L](https://www.next-l.jp)
|
|
13
|
+
とは、日本の図書館関係者有志の手で新しい図書館管理システムを作り上げるプロジェクトです。
|
|
14
|
+
|
|
15
|
+
[Project Next-L](https://www.next-l.jp) is a project to build a new integrated
|
|
16
|
+
library system maintained by Japanese volunteers interested in libraries.
|
|
17
|
+
|
|
18
|
+
## 動作デモ (Demonstration)
|
|
19
|
+
* https://enju.next-l.jp
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## マニュアル (Manual)
|
|
23
|
+
* https://next-l.github.io/manual/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## インストール (Install)
|
|
27
|
+
* https://github.com/next-l/enju_leaf/wiki/Install
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 関連するプロジェクト (Related projects)
|
|
31
|
+
* [Next-L Enju Root](https://github.com/next-l/enju_root)
|
|
32
|
+
* [Next-L Enju Flower](https://github.com/next-l/enju_flower)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## 製作者・貢献者 (Authors and contributors)
|
|
36
|
+
* [TANABE, Kosuke](https://github.com/nabeta) ([@nabeta](https://twitter.com/nabeta))
|
|
37
|
+
* [Project Next-L](https://www.next-l.jp) ([@ProjectNextL](https://twitter.com/ProjectNextL))
|
|
38
|
+
|
data/Rakefile
CHANGED
|
@@ -16,7 +16,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
|
16
16
|
rdoc.rdoc_dir = 'rdoc'
|
|
17
17
|
rdoc.title = 'EnjuLeaf'
|
|
18
18
|
rdoc.options << '--line-numbers'
|
|
19
|
-
rdoc.rdoc_files.include('README.
|
|
19
|
+
rdoc.rdoc_files.include('README.md')
|
|
20
20
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
21
21
|
end
|
|
22
22
|
|
|
@@ -33,3 +33,11 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
task :default => :spec
|
|
36
|
+
|
|
37
|
+
require 'rake/testtask'
|
|
38
|
+
|
|
39
|
+
Rake::TestTask.new(:test) do |t|
|
|
40
|
+
t.libs << 'test'
|
|
41
|
+
t.pattern = 'test/**/*_test.rb'
|
|
42
|
+
t.verbose = false
|
|
43
|
+
end
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<h2 class="title"><%= t('activerecord.models.registration') %></h2>
|
|
3
3
|
<div id="content_list">
|
|
4
4
|
|
|
5
|
-
<%= form_for(resource, as: resource_name, url:
|
|
5
|
+
<%= form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| %>
|
|
6
6
|
<%= devise_error_messages! %>
|
|
7
7
|
|
|
8
8
|
<div class="field">
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
<li>This system depends on the following sofrare.
|
|
21
21
|
<ul>
|
|
22
22
|
<li>
|
|
23
|
-
<a href="
|
|
24
|
-
<a href="
|
|
23
|
+
<a href="https://www.ruby-lang.org/">Ruby</a>,
|
|
24
|
+
<a href="https://www.rubyonrails.org/">Ruby on Rails</a>,
|
|
25
25
|
<%= database_adapter -%>,
|
|
26
|
-
<a href="
|
|
26
|
+
<a href="https://lucene.apache.org/solr/">Apache Solr</a>
|
|
27
27
|
</li>
|
|
28
28
|
</ul>
|
|
29
29
|
</li>
|
|
30
30
|
<li>This system has been using bibliographic data from the following services and databases.
|
|
31
31
|
<ul>
|
|
32
|
-
<li><a href="
|
|
33
|
-
<li><a href="
|
|
32
|
+
<li><a href="https://iss.ndl.go.jp/">NDL Search</a></li>
|
|
33
|
+
<li><a href="https://crd.ndl.go.jp/jp/public/">National Diet Library Collaborative Reference Database</a></li>
|
|
34
34
|
</ul>
|
|
35
35
|
</li>
|
|
36
36
|
<li>This system has been using book jacket images from the following service.
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
|
|
52
52
|
<div id="submenu" class="ui-corner-all ui-widget-content">
|
|
53
53
|
<ul>
|
|
54
|
-
<li><a href="
|
|
54
|
+
<li><a href="https://www.next-l.jp/">Project Next-L</a></li>
|
|
55
55
|
<li><a href="https://github.com/next-l/enju_leaf">this project on GitHub</a></li>
|
|
56
|
-
<li><a href="
|
|
56
|
+
<li><a href="https://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">Mailing list</a> (in Japanese)</li>
|
|
57
57
|
</ul>
|
|
58
58
|
</div>
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
<li>このシステムは、以下のソフトウェアを利用しています。
|
|
20
20
|
<ul>
|
|
21
21
|
<li>
|
|
22
|
-
<a href="
|
|
23
|
-
<a href="
|
|
22
|
+
<a href="https://www.ruby-lang.org/">Ruby</a>,
|
|
23
|
+
<a href="https://www.rubyonrails.org/">Ruby on Rails</a>,
|
|
24
24
|
<%= database_adapter -%>,
|
|
25
|
-
<a href="
|
|
25
|
+
<a href="https://lucene.apache.org/solr/">Apache Solr</a>
|
|
26
26
|
</li>
|
|
27
27
|
</ul>
|
|
28
28
|
</li>
|
|
29
29
|
<li>このシステムは、以下のサービスやデータベースから得た書誌データを利用しています。
|
|
30
30
|
<ul>
|
|
31
|
-
<li><a href="
|
|
32
|
-
<li><a href="
|
|
31
|
+
<li><a href="https://iss.ndl.go.jp/">国立国会図書館サーチ (NDLサーチ)</a></li>
|
|
32
|
+
<li><a href="https://crd.ndl.go.jp/jp/public/">国立国会図書館レファレンス協同データベース</a></li>
|
|
33
33
|
</ul>
|
|
34
34
|
</li>
|
|
35
35
|
<li>このシステムは、以下のサービスから得た書影を利用しています。
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
|
|
51
51
|
<div id="submenu" class="ui-corner-all ui-widget-content">
|
|
52
52
|
<ul>
|
|
53
|
-
<li><a href="
|
|
53
|
+
<li><a href="https://www.next-l.jp/">Project Next-L</a></li>
|
|
54
54
|
<li><a href="https://github.com/next-l/enju_leaf">GitHubでのプロジェクトのページ</a></li>
|
|
55
|
-
<li><a href="
|
|
55
|
+
<li><a href="https://www.next-l.jp/?page=%A5%E1%A1%BC%A5%EA%A5%F3%A5%B0%A5%EA%A5%B9%A5%C8">メーリングリスト</a></li>
|
|
56
56
|
</ul>
|
|
57
57
|
</div>
|
|
@@ -125,6 +125,8 @@
|
|
|
125
125
|
<li><%= link_to t('activerecord.models.realize_type'), realize_types_path -%></li>
|
|
126
126
|
<li><%= link_to t('activerecord.models.produce_type'), produce_types_path -%></li>
|
|
127
127
|
-->
|
|
128
|
+
<li><%= link_to t('activerecord.models.manifestation_custom_property'), manifestation_custom_properties_path -%></li>
|
|
129
|
+
<li><%= link_to t('activerecord.models.item_custom_property'), item_custom_properties_path -%></li>
|
|
128
130
|
</ul>
|
|
129
131
|
</div>
|
|
130
132
|
</div>
|
|
@@ -8,7 +8,13 @@
|
|
|
8
8
|
<li>Gems:
|
|
9
9
|
<ul>
|
|
10
10
|
<% @specs.sort_by{|e| e.name }.each do |spec| %>
|
|
11
|
-
<li
|
|
11
|
+
<li>
|
|
12
|
+
<%= spec.name %>: <%= spec.version.to_s %>
|
|
13
|
+
<% if spec.source.is_a? Bundler::Source::Git %>
|
|
14
|
+
from <%= spec.source.uri %>
|
|
15
|
+
(at <%= spec.source.options['revision'].slice(0..7) %>)
|
|
16
|
+
<% end %>
|
|
17
|
+
</li>
|
|
12
18
|
<% end %>
|
|
13
19
|
</ul>
|
|
14
20
|
</li>
|
data/config/locales/en.yml
CHANGED
|
@@ -1,200 +1,11 @@
|
|
|
1
1
|
en:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- Fri
|
|
10
|
-
- Sat
|
|
11
|
-
abbr_month_names:
|
|
12
|
-
-
|
|
13
|
-
- Jan
|
|
14
|
-
- Feb
|
|
15
|
-
- Mar
|
|
16
|
-
- Apr
|
|
17
|
-
- May
|
|
18
|
-
- Jun
|
|
19
|
-
- Jul
|
|
20
|
-
- Aug
|
|
21
|
-
- Sep
|
|
22
|
-
- Oct
|
|
23
|
-
- Nov
|
|
24
|
-
- Dec
|
|
25
|
-
day_names:
|
|
26
|
-
- Sunday
|
|
27
|
-
- Monday
|
|
28
|
-
- Tuesday
|
|
29
|
-
- Wednesday
|
|
30
|
-
- Thursday
|
|
31
|
-
- Friday
|
|
32
|
-
- Saturday
|
|
33
|
-
formats:
|
|
34
|
-
default: ! '%Y-%m-%d'
|
|
35
|
-
long: ! '%B %d, %Y'
|
|
36
|
-
short: ! '%b %d'
|
|
37
|
-
month_names:
|
|
38
|
-
-
|
|
39
|
-
- January
|
|
40
|
-
- February
|
|
41
|
-
- March
|
|
42
|
-
- April
|
|
43
|
-
- May
|
|
44
|
-
- June
|
|
45
|
-
- July
|
|
46
|
-
- August
|
|
47
|
-
- September
|
|
48
|
-
- October
|
|
49
|
-
- November
|
|
50
|
-
- December
|
|
51
|
-
order:
|
|
52
|
-
- :year
|
|
53
|
-
- :month
|
|
54
|
-
- :day
|
|
55
|
-
datetime:
|
|
56
|
-
distance_in_words:
|
|
57
|
-
about_x_hours:
|
|
58
|
-
one: about 1 hour
|
|
59
|
-
other: about %{count} hours
|
|
60
|
-
about_x_months:
|
|
61
|
-
one: about 1 month
|
|
62
|
-
other: about %{count} months
|
|
63
|
-
about_x_years:
|
|
64
|
-
one: about 1 year
|
|
65
|
-
other: about %{count} years
|
|
66
|
-
almost_x_years:
|
|
67
|
-
one: almost 1 year
|
|
68
|
-
other: almost %{count} years
|
|
69
|
-
half_a_minute: half a minute
|
|
70
|
-
less_than_x_minutes:
|
|
71
|
-
one: less than a minute
|
|
72
|
-
other: less than %{count} minutes
|
|
73
|
-
less_than_x_seconds:
|
|
74
|
-
one: less than 1 second
|
|
75
|
-
other: less than %{count} seconds
|
|
76
|
-
over_x_years:
|
|
77
|
-
one: over 1 year
|
|
78
|
-
other: over %{count} years
|
|
79
|
-
x_days:
|
|
80
|
-
one: 1 day
|
|
81
|
-
other: ! '%{count} days'
|
|
82
|
-
x_minutes:
|
|
83
|
-
one: 1 minute
|
|
84
|
-
other: ! '%{count} minutes'
|
|
85
|
-
x_months:
|
|
86
|
-
one: 1 month
|
|
87
|
-
other: ! '%{count} months'
|
|
88
|
-
x_seconds:
|
|
89
|
-
one: 1 second
|
|
90
|
-
other: ! '%{count} seconds'
|
|
91
|
-
prompts:
|
|
92
|
-
day: Day
|
|
93
|
-
hour: Hour
|
|
94
|
-
minute: Minute
|
|
95
|
-
month: Month
|
|
96
|
-
second: Seconds
|
|
97
|
-
year: Year
|
|
98
|
-
errors: &errors
|
|
99
|
-
format: ! '%{attribute} %{message}'
|
|
100
|
-
messages:
|
|
101
|
-
accepted: must be accepted
|
|
102
|
-
blank: can't be blank
|
|
103
|
-
present: must be blank
|
|
104
|
-
confirmation: ! "doesn't match %{attribute}"
|
|
105
|
-
empty: can't be empty
|
|
106
|
-
equal_to: must be equal to %{count}
|
|
107
|
-
even: must be even
|
|
108
|
-
exclusion: ': This %{attribute} is not allowed'
|
|
109
|
-
greater_than: must be greater than %{count}
|
|
110
|
-
greater_than_or_equal_to: must be greater than or equal to %{count}
|
|
111
|
-
inclusion: is not included in the list
|
|
112
|
-
invalid: is invalid
|
|
113
|
-
less_than: must be less than %{count}
|
|
114
|
-
less_than_or_equal_to: must be less than or equal to %{count}
|
|
115
|
-
not_a_number: is not a number
|
|
116
|
-
not_an_integer: must be an integer
|
|
117
|
-
odd: must be odd
|
|
118
|
-
record_invalid: ! 'Validation failed: %{errors}'
|
|
119
|
-
restrict_dependent_destroy:
|
|
120
|
-
one: "Cannot delete record because a dependent %{record} exists"
|
|
121
|
-
many: "Cannot delete record because dependent %{record} exist"
|
|
122
|
-
taken: has already been taken
|
|
123
|
-
too_long:
|
|
124
|
-
one: is too long (maximum is 1 character)
|
|
125
|
-
other: is too long (maximum is %{count} characters)
|
|
126
|
-
too_short:
|
|
127
|
-
one: is too short (minimum is 1 character)
|
|
128
|
-
other: is too short (minimum is %{count} characters)
|
|
129
|
-
wrong_length:
|
|
130
|
-
one: is the wrong length (should be 1 character)
|
|
131
|
-
other: is the wrong length (should be %{count} characters)
|
|
132
|
-
other_than: "must be other than %{count}"
|
|
133
|
-
template:
|
|
134
|
-
body: ! 'There were problems with the following fields:'
|
|
135
|
-
header:
|
|
136
|
-
one: 1 error prohibited this %{model} from being saved
|
|
137
|
-
other: ! '%{count} errors prohibited this %{model} from being saved'
|
|
138
|
-
helpers:
|
|
139
|
-
select:
|
|
140
|
-
prompt: Please select
|
|
141
|
-
submit:
|
|
142
|
-
create: Create %{model}
|
|
143
|
-
submit: Save %{model}
|
|
144
|
-
update: Update %{model}
|
|
145
|
-
number:
|
|
146
|
-
currency:
|
|
147
|
-
format:
|
|
148
|
-
delimiter: ! ','
|
|
149
|
-
format: ! '%u%n'
|
|
150
|
-
precision: 2
|
|
151
|
-
separator: .
|
|
152
|
-
significant: false
|
|
153
|
-
strip_insignificant_zeros: false
|
|
154
|
-
unit: $
|
|
155
|
-
format:
|
|
156
|
-
delimiter: ! ','
|
|
157
|
-
precision: 3
|
|
158
|
-
separator: .
|
|
159
|
-
significant: false
|
|
160
|
-
strip_insignificant_zeros: false
|
|
161
|
-
human:
|
|
162
|
-
decimal_units:
|
|
163
|
-
format: ! '%n %u'
|
|
164
|
-
units:
|
|
165
|
-
billion: Billion
|
|
166
|
-
million: Million
|
|
167
|
-
quadrillion: Quadrillion
|
|
168
|
-
thousand: Thousand
|
|
169
|
-
trillion: Trillion
|
|
170
|
-
unit: ''
|
|
171
|
-
format:
|
|
172
|
-
delimiter: ''
|
|
173
|
-
precision: 3
|
|
174
|
-
significant: true
|
|
175
|
-
strip_insignificant_zeros: true
|
|
176
|
-
storage_units:
|
|
177
|
-
format: ! '%n %u'
|
|
178
|
-
units:
|
|
179
|
-
byte:
|
|
180
|
-
one: Byte
|
|
181
|
-
other: Bytes
|
|
182
|
-
gb: GB
|
|
183
|
-
kb: KB
|
|
184
|
-
mb: MB
|
|
185
|
-
tb: TB
|
|
186
|
-
percentage:
|
|
187
|
-
format:
|
|
188
|
-
delimiter: ''
|
|
189
|
-
format: "%n%"
|
|
190
|
-
precision:
|
|
191
|
-
format:
|
|
192
|
-
delimiter: ''
|
|
193
|
-
support:
|
|
194
|
-
array:
|
|
195
|
-
last_word_connector: ! ', and '
|
|
196
|
-
two_words_connector: ! ' and '
|
|
197
|
-
words_connector: ! ', '
|
|
2
|
+
activerecord:
|
|
3
|
+
errors:
|
|
4
|
+
template:
|
|
5
|
+
body: 'There were problems with the following fields:'
|
|
6
|
+
header:
|
|
7
|
+
one: 1 error prohibited this %{model} from being saved
|
|
8
|
+
other: "%{count} errors prohibited this %{model} from being saved"
|
|
198
9
|
time:
|
|
199
10
|
am: am
|
|
200
11
|
formats:
|
|
@@ -205,10 +16,3 @@ en:
|
|
|
205
16
|
only_year_and_month: "%m, %Y"
|
|
206
17
|
only_month: "%m"
|
|
207
18
|
pm: pm
|
|
208
|
-
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
|
209
|
-
activemodel:
|
|
210
|
-
errors:
|
|
211
|
-
<<: *errors
|
|
212
|
-
activerecord:
|
|
213
|
-
errors:
|
|
214
|
-
<<: *errors
|
data/config/locales/ja.yml
CHANGED
|
@@ -1,190 +1,11 @@
|
|
|
1
1
|
ja:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- 金
|
|
10
|
-
- 土
|
|
11
|
-
abbr_month_names:
|
|
12
|
-
-
|
|
13
|
-
- 1月
|
|
14
|
-
- 2月
|
|
15
|
-
- 3月
|
|
16
|
-
- 4月
|
|
17
|
-
- 5月
|
|
18
|
-
- 6月
|
|
19
|
-
- 7月
|
|
20
|
-
- 8月
|
|
21
|
-
- 9月
|
|
22
|
-
- 10月
|
|
23
|
-
- 11月
|
|
24
|
-
- 12月
|
|
25
|
-
day_names:
|
|
26
|
-
- 日曜日
|
|
27
|
-
- 月曜日
|
|
28
|
-
- 火曜日
|
|
29
|
-
- 水曜日
|
|
30
|
-
- 木曜日
|
|
31
|
-
- 金曜日
|
|
32
|
-
- 土曜日
|
|
33
|
-
formats:
|
|
34
|
-
default: ! '%Y/%m/%d'
|
|
35
|
-
long: ! '%Y年%m月%d日(%a)'
|
|
36
|
-
short: ! '%m/%d'
|
|
37
|
-
month_names:
|
|
38
|
-
-
|
|
39
|
-
- 1月
|
|
40
|
-
- 2月
|
|
41
|
-
- 3月
|
|
42
|
-
- 4月
|
|
43
|
-
- 5月
|
|
44
|
-
- 6月
|
|
45
|
-
- 7月
|
|
46
|
-
- 8月
|
|
47
|
-
- 9月
|
|
48
|
-
- 10月
|
|
49
|
-
- 11月
|
|
50
|
-
- 12月
|
|
51
|
-
order:
|
|
52
|
-
- :year
|
|
53
|
-
- :month
|
|
54
|
-
- :day
|
|
55
|
-
datetime:
|
|
56
|
-
distance_in_words:
|
|
57
|
-
about_x_hours:
|
|
58
|
-
one: 約1時間
|
|
59
|
-
other: 約%{count}時間
|
|
60
|
-
about_x_months:
|
|
61
|
-
one: 約1ヶ月
|
|
62
|
-
other: 約%{count}ヶ月
|
|
63
|
-
about_x_years:
|
|
64
|
-
one: 約1年
|
|
65
|
-
other: 約%{count}年
|
|
66
|
-
almost_x_years:
|
|
67
|
-
one: 1年弱
|
|
68
|
-
other: ! '%{count}年弱'
|
|
69
|
-
half_a_minute: 30秒前後
|
|
70
|
-
less_than_x_minutes:
|
|
71
|
-
one: 1分以内
|
|
72
|
-
other: ! '%{count}分未満'
|
|
73
|
-
less_than_x_seconds:
|
|
74
|
-
one: 1秒以内
|
|
75
|
-
other: ! '%{count}秒未満'
|
|
76
|
-
over_x_years:
|
|
77
|
-
one: 1年以上
|
|
78
|
-
other: ! '%{count}年以上'
|
|
79
|
-
x_days:
|
|
80
|
-
one: 1日
|
|
81
|
-
other: ! '%{count}日'
|
|
82
|
-
x_minutes:
|
|
83
|
-
one: 1分
|
|
84
|
-
other: ! '%{count}分'
|
|
85
|
-
x_months:
|
|
86
|
-
one: 1ヶ月
|
|
87
|
-
other: ! '%{count}ヶ月'
|
|
88
|
-
x_seconds:
|
|
89
|
-
one: 1秒
|
|
90
|
-
other: ! '%{count}秒'
|
|
91
|
-
prompts:
|
|
92
|
-
day: 日
|
|
93
|
-
hour: 時
|
|
94
|
-
minute: 分
|
|
95
|
-
month: 月
|
|
96
|
-
second: 秒
|
|
97
|
-
year: 年
|
|
98
|
-
errors: &errors
|
|
99
|
-
format: ! '%{attribute}%{message}'
|
|
100
|
-
messages:
|
|
101
|
-
accepted: を受諾してください。
|
|
102
|
-
blank: を入力してください。
|
|
103
|
-
present: は入力しないでください。
|
|
104
|
-
confirmation: と%{attribute}の入力が一致しません。
|
|
105
|
-
empty: を入力してください。
|
|
106
|
-
equal_to: は%{count}にしてください。
|
|
107
|
-
even: は偶数にしてください。
|
|
108
|
-
exclusion: ': この%{attribute}は使用できません。'
|
|
109
|
-
greater_than: は%{count}より大きい値にしてください。
|
|
110
|
-
greater_than_or_equal_to: は%{count}以上の値にしてください。
|
|
111
|
-
inclusion: は一覧にありません。
|
|
112
|
-
invalid: は不正な値です。
|
|
113
|
-
less_than: は%{count}より小さい値にしてください。
|
|
114
|
-
less_than_or_equal_to: は%{count}以下の値にしてください。
|
|
115
|
-
not_a_number: は数値で入力してください。
|
|
116
|
-
not_an_integer: は整数で入力してください。
|
|
117
|
-
odd: は奇数にしてください。
|
|
118
|
-
record_invalid: バリデーションに失敗しました。 %{errors}
|
|
119
|
-
restrict_dependent_destroy: ! '%{record}が存在しているので削除できません。'
|
|
120
|
-
taken: はすでに存在します。
|
|
121
|
-
too_long: は%{count}文字以内で入力してください。
|
|
122
|
-
too_short: は%{count}文字以上で入力してください。
|
|
123
|
-
wrong_length: は%{count}文字で入力してください。
|
|
124
|
-
other_than: "は%{count}以外の値にしてください。"
|
|
125
|
-
template:
|
|
126
|
-
body: 次の項目を確認してください。
|
|
127
|
-
header:
|
|
128
|
-
one: ! '%{model}にエラーが発生しました。'
|
|
129
|
-
other: ! '%{model}に%{count}個のエラーが発生しました。'
|
|
130
|
-
helpers:
|
|
131
|
-
select:
|
|
132
|
-
prompt: 選択してください。
|
|
133
|
-
submit:
|
|
134
|
-
create: 登録する
|
|
135
|
-
submit: 保存する
|
|
136
|
-
update: 更新する
|
|
137
|
-
number:
|
|
138
|
-
currency:
|
|
139
|
-
format:
|
|
140
|
-
delimiter: ! ','
|
|
141
|
-
format: ! '%n%u'
|
|
142
|
-
precision: 0
|
|
143
|
-
separator: .
|
|
144
|
-
significant: false
|
|
145
|
-
strip_insignificant_zeros: false
|
|
146
|
-
unit: 円
|
|
147
|
-
format:
|
|
148
|
-
delimiter: ! ','
|
|
149
|
-
precision: 3
|
|
150
|
-
separator: .
|
|
151
|
-
significant: false
|
|
152
|
-
strip_insignificant_zeros: false
|
|
153
|
-
human:
|
|
154
|
-
decimal_units:
|
|
155
|
-
format: ! '%n %u'
|
|
156
|
-
units:
|
|
157
|
-
billion: 十億
|
|
158
|
-
million: 百万
|
|
159
|
-
quadrillion: 千兆
|
|
160
|
-
thousand: 千
|
|
161
|
-
trillion: 兆
|
|
162
|
-
unit: ''
|
|
163
|
-
format:
|
|
164
|
-
delimiter: ''
|
|
165
|
-
precision: 3
|
|
166
|
-
significant: true
|
|
167
|
-
strip_insignificant_zeros: true
|
|
168
|
-
storage_units:
|
|
169
|
-
format: ! '%n%u'
|
|
170
|
-
units:
|
|
171
|
-
byte: バイト
|
|
172
|
-
gb: ギガバイト
|
|
173
|
-
kb: キロバイト
|
|
174
|
-
mb: メガバイト
|
|
175
|
-
tb: テラバイト
|
|
176
|
-
percentage:
|
|
177
|
-
format:
|
|
178
|
-
delimiter: ''
|
|
179
|
-
format: "%n%"
|
|
180
|
-
precision:
|
|
181
|
-
format:
|
|
182
|
-
delimiter: ''
|
|
183
|
-
support:
|
|
184
|
-
array:
|
|
185
|
-
last_word_connector: と
|
|
186
|
-
two_words_connector: と
|
|
187
|
-
words_connector: と
|
|
2
|
+
activerecord:
|
|
3
|
+
errors:
|
|
4
|
+
template:
|
|
5
|
+
body: 次の項目を確認してください
|
|
6
|
+
header:
|
|
7
|
+
one: "%{model}にエラーが発生しました"
|
|
8
|
+
other: "%{model}に%{count}個のエラーが発生しました"
|
|
188
9
|
time:
|
|
189
10
|
am: 午前
|
|
190
11
|
formats:
|
|
@@ -195,10 +16,3 @@ ja:
|
|
|
195
16
|
only_year_and_month: "%Y年%m月"
|
|
196
17
|
only_month: "%m月"
|
|
197
18
|
pm: 午後
|
|
198
|
-
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
|
199
|
-
activemodel:
|
|
200
|
-
errors:
|
|
201
|
-
<<: *errors
|
|
202
|
-
activerecord:
|
|
203
|
-
errors:
|
|
204
|
-
<<: *errors
|