jkf 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/jkf/parser.rb CHANGED
@@ -1,13 +1,11 @@
1
1
  module Jkf
2
- # Define parser namespace
3
2
  module Parser
4
- # Parse error
5
3
  class ParseError < StandardError; end
6
4
  end
7
5
  end
8
6
 
9
- require "jkf/parser/base"
10
- require "jkf/parser/kifuable"
11
- require "jkf/parser/kif"
12
- require "jkf/parser/ki2"
13
- require "jkf/parser/csa"
7
+ require_relative 'parser/base'
8
+ require_relative 'parser/kifuable'
9
+ require_relative 'parser/kif'
10
+ require_relative 'parser/ki2'
11
+ require_relative 'parser/csa'
data/lib/jkf/version.rb CHANGED
@@ -1,4 +1,3 @@
1
1
  module Jkf
2
- # Gem version
3
- VERSION = "0.5.0".freeze
2
+ VERSION = '0.5.2'
4
3
  end
data/lib/jkf.rb CHANGED
@@ -1,7 +1,7 @@
1
- require "kconv"
2
- require "jkf/version"
3
- require "jkf/parser"
4
- require "jkf/converter"
1
+ require 'kconv'
2
+ require_relative 'jkf/version'
3
+ require_relative 'jkf/parser'
4
+ require_relative 'jkf/converter'
5
5
 
6
6
  # JSON Kifu Format
7
7
  module Jkf
@@ -14,7 +14,7 @@ module Jkf
14
14
  # @param [String] filename
15
15
  #
16
16
  # @return [String] KIF, KI2, CSA, JKF(JSON)
17
- def parse_file(filename, encoding: "Shift_JIS")
17
+ def parse_file(filename, encoding: 'Shift_JIS')
18
18
  parser = case ::File.extname(filename)
19
19
  when /kif/
20
20
  ::Jkf::Parser::Kif.new
@@ -43,7 +43,7 @@ module Jkf
43
43
  parsers.each do |parser|
44
44
  begin
45
45
  result = parser.parse(str)
46
- rescue
46
+ rescue StandardError
47
47
  next
48
48
  end
49
49
  break
data/manifest.scm CHANGED
@@ -49,34 +49,6 @@ RuboCop when files are modified.")
49
49
  (home-page "https://github.com/guard/guard-compat")
50
50
  (license license:expat)))
51
51
 
52
- (define-public ruby-ruby-dep
53
- (package
54
- (name "ruby-ruby-dep")
55
- (version "1.5.0")
56
- (source (origin
57
- (method git-fetch)
58
- (uri (git-reference
59
- (url "https://github.com/e2/ruby_dep")
60
- (commit "4e79416a55dff4b3ff50e73c8fbd0455de1e68b7")))
61
- (file-name (git-file-name name version))
62
- (sha256
63
- (base32
64
- "0vv2bm4lghh5pl8zi0ihp6hpbp7xlk8d5h888nhxr725in0ypy9x"))))
65
- (build-system ruby-build-system)
66
- (arguments
67
- `(#:test-target "spec"
68
- #:tests? #f ;FIXME: needs gem_isolator, but cyclic dependencies
69
- ))
70
- (native-inputs (list ruby-rspec))
71
- (synopsis
72
- "Creates a version constraint of supported Rubies, suitable for a
73
- gemspec file")
74
- (description
75
- "This package creates a version constraint of supported Rubies,
76
- suitable for a gemspec file.")
77
- (home-page "https://github.com/e2/ruby_dep")
78
- (license license:expat)))
79
-
80
52
  (define-public ruby-gem-isolator
81
53
  (package
82
54
  (name "ruby-gem-isolator")
@@ -96,7 +68,7 @@ suitable for a gemspec file.")
96
68
  #:tests? #f ;FIXME: uninitialized constant Pathname
97
69
  ))
98
70
  (native-inputs (list ruby-rspec ruby-nenv ruby-rubocop))
99
- (propagated-inputs (list ruby-ruby-dep))
71
+ (propagated-inputs (list ruby-dep))
100
72
  (synopsis
101
73
  "Good for testing dependencies of a gem and/or different gem version
102
74
  combinations")
@@ -137,6 +109,7 @@ different gem version combinations.")
137
109
  ruby-rubocop-rake
138
110
  ruby-rubocop-rspec
139
111
  ruby-rspec
140
- ruby-guard-rspec
141
112
  ruby-simplecov
113
+ ruby-benchmark-ips
114
+ ruby-rubocop-performance
142
115
  ruby))
data/po/all.pot CHANGED
@@ -7,7 +7,7 @@
7
7
  msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
- "POT-Creation-Date: 2023-06-18 15:22+0900\n"
10
+ "POT-Creation-Date: 2023-07-22 08:02+0900\n"
11
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,86 +19,88 @@ msgstr ""
19
19
  #. type: Title #
20
20
  #: README.md:1
21
21
  #, markdown-text, no-wrap
22
- msgid "Jkf"
22
+ msgid "jkf gem"
23
23
  msgstr ""
24
24
 
25
25
  #. type: Plain text
26
- #: README.md:3
26
+ #: README.md:4
27
27
  #, markdown-text
28
28
  msgid ""
29
29
  "[![Gem "
30
30
  "Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/jkf) "
31
31
  "[![Build "
32
32
  "Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)](https://travis-ci.org/iyuuya/jkf) "
33
- "[![CI](https://github.com/iyuuya/jkf/actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/workflows/ci.yml) "
34
- "[![Inline "
35
- "docs](http://inch-ci.org/github/iyuuya/jkf.svg?branch=develop)](http://inch-ci.org/github/iyuuya/jkf)"
33
+ "[![CI](https://github.com/iyuuya/jkf/actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/workflows/ci.yml)"
36
34
  msgstr ""
37
35
 
38
36
  #. type: Plain text
39
- #: README.md:6
37
+ #: README.md:7
38
+ #, markdown-text
39
+ msgid ""
40
+ "jkf gemは[JSON棋譜フォーマット (JKF)][jkf]をRubyに移植したものです。 柿木形式([棋譜ファイル KIF "
41
+ "形式][kakinoki]、KI2)、[CSA標準棋譜ファイル形式][csa]の構文解析とJKFへの変換、JKFからKIF, KI2, "
42
+ "CSAへの変換に対応しています。"
43
+ msgstr ""
44
+
45
+ #. type: Plain text
46
+ #: README.md:11
40
47
  #, markdown-text
41
48
  msgid ""
42
- "jkfはJSON棋譜フォーマット( https://github.com/na2hiro/json-kifu-format "
43
- ")をRubyに移植したものです。 KIF, KI2, CSAをパースしJKFへ変換、JKFからKIF, KI2, CSAへの変換に対応しています。"
49
+ "[csa]: http://www2.computer-shogi.org/protocol/record_v22.html [jkf]: "
50
+ "https://github.com/na2hiro/Kifu-for-JS/tree/master/packages/json-kifu-format "
51
+ "[kakinoki]: http://kakinoki.o.oo7.jp/kif_format.html"
44
52
  msgstr ""
45
53
 
46
54
  #. type: Title ##
47
- #: README.md:7
55
+ #: README.md:12
48
56
  #, markdown-text, no-wrap
49
- msgid "Installation"
57
+ msgid "インストール"
50
58
  msgstr ""
51
59
 
52
60
  #. type: Plain text
53
- #: README.md:10
61
+ #: README.md:15
54
62
  #, markdown-text
55
- msgid "アプリケーションにインストールする場合(bundlerを使用する場合)、Gemfileに以下のように記述してください。"
56
- msgstr ""
57
-
58
- #. type: Fenced code block (ruby)
59
- #: README.md:11
60
- #, no-wrap
61
- msgid "gem 'jkf'\n"
63
+ msgid "アプリケーションにインストールする場合([Bundler][bundler]を使用する場合)、`Gemfile`に以下のように記述してください。"
62
64
  msgstr ""
63
65
 
64
66
  #. type: Plain text
65
- #: README.md:16
67
+ #: README.md:17
66
68
  #, markdown-text
67
- msgid "さらにbundleコマンドを実行することでインストールできます。"
69
+ msgid "[bundler]: https://bundler.io/"
68
70
  msgstr ""
69
71
 
70
- #. type: Plain text
72
+ #. type: Fenced code block (ruby)
71
73
  #: README.md:18
72
- #, markdown-text, no-wrap
73
- msgid " $ bundle\n"
74
+ #, no-wrap
75
+ msgid "gem 'jkf'\n"
74
76
  msgstr ""
75
77
 
76
78
  #. type: Plain text
77
- #: README.md:20
79
+ #: README.md:23
78
80
  #, markdown-text
79
- msgid "または、gem installコマンドを使って直接インストールすることもできます。"
81
+ msgid "さらに`bundle`コマンドを実行することでインストールできます。"
80
82
  msgstr ""
81
83
 
82
84
  #. type: Plain text
83
- #: README.md:22
84
- #, markdown-text, no-wrap
85
- msgid " $ gem install jkf\n"
85
+ #: README.md:25
86
+ #, markdown-text
87
+ msgid "または、`gem install`コマンドを使って直接インストールもできます。"
86
88
  msgstr ""
87
89
 
88
90
  #. type: Title ##
89
- #: README.md:23
91
+ #: README.md:26
90
92
  #, markdown-text, no-wrap
91
- msgid "Usage"
93
+ msgid "使い方"
92
94
  msgstr ""
93
95
 
94
96
  #. type: Plain text
95
- #: README.md:26
97
+ #: README.md:29
96
98
  #, markdown-text
97
- msgid "KIF, KI2, CSAそれぞれParserConverterが用意してあります。"
99
+ msgid "KIF, KI2, CSAそれぞれ構文解析器 {Jkf::Parser} と変換器 {Jkf::Converter} が用意してあります。"
98
100
  msgstr ""
99
101
 
100
102
  #. type: Fenced code block (ruby)
101
- #: README.md:27
103
+ #: README.md:30
102
104
  #, no-wrap
103
105
  msgid ""
104
106
  "kif_parser = Jkf::Parser::Kif.new\n"
@@ -107,7 +109,7 @@ msgid ""
107
109
  msgstr ""
108
110
 
109
111
  #. type: Fenced code block (ruby)
110
- #: README.md:33
112
+ #: README.md:36
111
113
  #, no-wrap
112
114
  msgid ""
113
115
  "kif_converter = Jkf::Converter::Kif.new\n"
@@ -116,13 +118,15 @@ msgid ""
116
118
  msgstr ""
117
119
 
118
120
  #. type: Plain text
119
- #: README.md:40
121
+ #: README.md:43
120
122
  #, markdown-text
121
- msgid "`parser#parse(str)`でjkfへの変換、`#convert(jkf)`でjkfから各フォーマットへ変換できます。"
123
+ msgid ""
124
+ "{Jkf::Parser::Base#parse} でJKFへの変換、 {Jkf::Converter::Base#convert} "
125
+ "でJKFから各形式へ変換できます。"
122
126
  msgstr ""
123
127
 
124
128
  #. type: Fenced code block (ruby)
125
- #: README.md:41
129
+ #: README.md:44
126
130
  #, no-wrap
127
131
  msgid ""
128
132
  "jkf = kif_parser.parse(kif_str) #=> Hash\n"
@@ -131,7 +135,7 @@ msgid ""
131
135
  msgstr ""
132
136
 
133
137
  #. type: Fenced code block (ruby)
134
- #: README.md:47
138
+ #: README.md:50
135
139
  #, no-wrap
136
140
  msgid ""
137
141
  "kif = kif_converter.convert(jkf) #=> String\n"
@@ -140,31 +144,43 @@ msgid ""
140
144
  msgstr ""
141
145
 
142
146
  #. type: Title ##
143
- #: README.md:53
147
+ #: README.md:56
144
148
  #, markdown-text, no-wrap
145
- msgid "Contributing"
149
+ msgid "貢献"
146
150
  msgstr ""
147
151
 
148
152
  #. type: Plain text
149
- #: README.md:57
153
+ #: README.md:59
150
154
  #, markdown-text
151
- msgid "バグレポートやプルリクエストはGithubでよろしくお願いします。 https://github.com/iyuuya/jkf."
155
+ msgid "バグレポートやプルリクエストは[GitHubのリポジトリ][repo]でよろしくお願いします。"
152
156
  msgstr ""
153
157
 
154
158
  #. type: Plain text
155
- #: README.md:59
159
+ #: README.md:61
160
+ #, markdown-text
161
+ msgid "[repo]: https://github.com/iyuuya/jkf"
162
+ msgstr ""
163
+
164
+ #. type: Plain text
165
+ #: README.md:63
156
166
  #, markdown-text
157
167
  msgid "Guixで開発されている場合は`guix shell`で`rake test`によるテスト実行ができます。"
158
168
  msgstr ""
159
169
 
160
170
  #. type: Title ##
161
- #: README.md:60
171
+ #: README.md:64
162
172
  #, markdown-text, no-wrap
163
- msgid "License"
173
+ msgid "利用許諾"
164
174
  msgstr ""
165
175
 
166
176
  #. type: Plain text
167
- #: README.md:64
177
+ #: README.md:67
178
+ #, markdown-text
179
+ msgid "ライセンスは[MIT License][mit]です。"
180
+ msgstr ""
181
+
182
+ #. type: Plain text
183
+ #: README.md:68
168
184
  #, markdown-text
169
- msgid "ライセンスはMITです。 [MIT License](http://opensource.org/licenses/MIT)."
185
+ msgid "[mit]: http://opensource.org/licenses/MIT"
170
186
  msgstr ""
data/po/en.po CHANGED
@@ -4,8 +4,8 @@
4
4
  msgid ""
5
5
  msgstr ""
6
6
  "Project-Id-Version: jkf gem\n"
7
- "POT-Creation-Date: 2023-06-18 15:22+0900\n"
8
- "PO-Revision-Date: 2023-06-18 15:23+0900\n"
7
+ "POT-Creation-Date: 2023-07-22 08:02+0900\n"
8
+ "PO-Revision-Date: 2023-07-22 08:08+0900\n"
9
9
  "Last-Translator: gemmaro <gemmaro.dev@gmail.com>\n"
10
10
  "Language-Team: none\n"
11
11
  "Language: en\n"
@@ -16,98 +16,94 @@ msgstr ""
16
16
  #. type: Title #
17
17
  #: README.md:1
18
18
  #, no-wrap
19
- msgid "Jkf"
20
- msgstr "Jkf"
19
+ msgid "jkf gem"
20
+ msgstr "jkf gem"
21
21
 
22
22
  #. type: Plain text
23
- #: README.md:3
23
+ #: README.md:4
24
24
  msgid ""
25
25
  "[![Gem Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/"
26
26
  "jkf) [![Build Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)]"
27
27
  "(https://travis-ci.org/iyuuya/jkf) [![CI](https://github.com/iyuuya/jkf/"
28
28
  "actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/"
29
- "workflows/ci.yml) [![Inline docs](http://inch-ci.org/github/iyuuya/jkf.svg?"
30
- "branch=develop)](http://inch-ci.org/github/iyuuya/jkf)"
29
+ "workflows/ci.yml)"
31
30
  msgstr ""
32
31
  "[![Gem Version](https://badge.fury.io/rb/jkf.svg)](https://badge.fury.io/rb/"
33
- "jkf)\n"
34
- "[![Build Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)]"
35
- "(https://travis-ci.org/iyuuya/jkf)\n"
36
- "[![CI](https://github.com/iyuuya/jkf/actions/workflows/ci.yml/badge.svg)]"
37
- "(https://github.com/iyuuya/jkf/actions/workflows/ci.yml)\n"
38
- "[![Inline docs](http://inch-ci.org/github/iyuuya/jkf.svg?branch=develop)]"
39
- "(http://inch-ci.org/github/iyuuya/jkf)"
32
+ "jkf) [![Build Status](https://travis-ci.org/iyuuya/jkf.svg?branch=master)]"
33
+ "(https://travis-ci.org/iyuuya/jkf) [![CI](https://github.com/iyuuya/jkf/"
34
+ "actions/workflows/ci.yml/badge.svg)](https://github.com/iyuuya/jkf/actions/"
35
+ "workflows/ci.yml)"
40
36
 
41
37
  #. type: Plain text
42
- #: README.md:6
38
+ #: README.md:7
43
39
  msgid ""
44
- "jkfはJSON棋譜フォーマット( https://github.com/na2hiro/json-kifu-format )を"
45
- "Rubyに移植したものです。 KIF, KI2, CSAをパースしJKFへ変換、JKFからKIF, KI2, "
46
- "CSAへの変換に対応しています。"
40
+ "jkf gem[JSON棋譜フォーマット (JKF)][jkf]Rubyに移植したものです。 柿木形式"
41
+ "([棋譜ファイル KIF 形式][kakinoki]、KI2)、[CSA標準棋譜ファイル形式][csa]の"
42
+ "構文解析とJKFへの変換、JKFからKIF, KI2, CSAへの変換に対応しています。"
47
43
  msgstr ""
48
- "jkf is a Ruby port of [json-kifu-format](https://github.com/na2hiro/json-"
49
- "kifu-format).\n"
50
- "It supports both of the conversion from KIF, KI2, or CSA to jkf, and the one "
51
- "from jkf to KIF, KI2, or CSA."
52
-
53
- #. type: Title ##
54
- #: README.md:7
55
- #, no-wrap
56
- msgid "Installation"
57
- msgstr "Installation"
44
+ "The jkf gem is a Ruby port of [json-kifu-format (JKF)][jkf].\n"
45
+ "It supports both of the conversion from KIF (see [棋譜ファイル KIF 形式][kakinoki]), KI2, or CSA (see [CSA標準棋譜ファイル形式][csa]) to JKF, and the one from JKF to KIF, KI2, or CSA."
58
46
 
59
47
  #. type: Plain text
60
- #: README.md:10
48
+ #: README.md:11
61
49
  msgid ""
62
- "アプリケーションにインストールする場合(bundlerを使用する場合)、Gemfileに以下"
63
- "のように記述してください。"
50
+ "[csa]: http://www2.computer-shogi.org/protocol/record_v22.html [jkf]: "
51
+ "https://github.com/na2hiro/Kifu-for-JS/tree/master/packages/json-kifu-format "
52
+ "[kakinoki]: http://kakinoki.o.oo7.jp/kif_format.html"
64
53
  msgstr ""
65
- "If you install this gem to your application (with Bundler), add this to "
66
- "Gemfile."
54
+ "[csa]: http://www2.computer-shogi.org/protocol/record_v22.html\n"
55
+ "[jkf]: https://github.com/na2hiro/Kifu-for-JS/tree/master/packages/json-kifu-format\n"
56
+ "[kakinoki]: http://kakinoki.o.oo7.jp/kif_format.html"
67
57
 
68
- #. type: Fenced code block (ruby)
69
- #: README.md:11
58
+ #. type: Title ##
59
+ #: README.md:12
70
60
  #, no-wrap
71
- msgid "gem 'jkf'\n"
72
- msgstr "gem 'jkf'\n"
61
+ msgid "インストール"
62
+ msgstr "Installation"
73
63
 
74
64
  #. type: Plain text
75
- #: README.md:16
76
- msgid "さらにbundleコマンドを実行することでインストールできます。"
77
- msgstr "Then run bundle to install this gem."
65
+ #: README.md:15
66
+ msgid ""
67
+ "アプリケーションにインストールする場合([Bundler][bundler]を使用する場合)、"
68
+ "`Gemfile`に以下のように記述してください。"
69
+ msgstr "If you install this gem to your application (with [Bundler][bundler]), add this to `Gemfile`."
78
70
 
79
71
  #. type: Plain text
72
+ #: README.md:17
73
+ msgid "[bundler]: https://bundler.io/"
74
+ msgstr "[bundler]: https://bundler.io/"
75
+
76
+ #. type: Fenced code block (ruby)
80
77
  #: README.md:18
81
78
  #, no-wrap
82
- msgid " $ bundle\n"
83
- msgstr " $ bundle\n"
79
+ msgid "gem 'jkf'\n"
80
+ msgstr "gem 'jkf'\n"
84
81
 
85
82
  #. type: Plain text
86
- #: README.md:20
87
- msgid "または、gem installコマンドを使って直接インストールすることもできます。"
88
- msgstr "Or directly install with gem install command."
83
+ #: README.md:23
84
+ msgid "さらに`bundle`コマンドを実行することでインストールできます。"
85
+ msgstr "Then run `bundle` to install this gem."
89
86
 
90
87
  #. type: Plain text
91
- #: README.md:22
92
- #, no-wrap
93
- msgid " $ gem install jkf\n"
94
- msgstr " $ gem install jkf\n"
88
+ #: README.md:25
89
+ msgid "または、`gem install`コマンドを使って直接インストールもできます。"
90
+ msgstr "Or directly install with `gem install` command."
95
91
 
96
92
  #. type: Title ##
97
- #: README.md:23
93
+ #: README.md:26
98
94
  #, no-wrap
99
- msgid "Usage"
95
+ msgid "使い方"
100
96
  msgstr "Usage"
101
97
 
102
98
  #. type: Plain text
103
- #: README.md:26
104
- msgid "KIF, KI2, CSAそれぞれParserとConverterが用意してあります。"
105
- msgstr ""
106
- "This gem has the Parser and the Converter for each formats: KIF, KI2, and "
107
- "CSA."
99
+ #: README.md:29
100
+ msgid ""
101
+ "KIF, KI2, CSAそれぞれ構文解析器 {Jkf::Parser} と変換器 {Jkf::Converter} が用"
102
+ "意してあります。"
103
+ msgstr "This gem has the parser {Jkf::Parser} and the converter {Jkf::Converter} for each formats: KIF, KI2, and CSA."
108
104
 
109
105
  #. type: Fenced code block (ruby)
110
- #: README.md:27
106
+ #: README.md:30
111
107
  #, no-wrap
112
108
  msgid ""
113
109
  "kif_parser = Jkf::Parser::Kif.new\n"
@@ -119,7 +115,7 @@ msgstr ""
119
115
  "csa_parser = Jkf::Parser::Csa.new\n"
120
116
 
121
117
  #. type: Fenced code block (ruby)
122
- #: README.md:33
118
+ #: README.md:36
123
119
  #, no-wrap
124
120
  msgid ""
125
121
  "kif_converter = Jkf::Converter::Kif.new\n"
@@ -131,16 +127,16 @@ msgstr ""
131
127
  "csa_converter = Jkf::Converter::Csa.new\n"
132
128
 
133
129
  #. type: Plain text
134
- #: README.md:40
130
+ #: README.md:43
135
131
  msgid ""
136
- "`parser#parse(str)`でjkfへの変換、`#convert(jkf)`でjkfから各フォーマットへ変"
137
- "換できます。"
132
+ "{Jkf::Parser::Base#parse} でJKFへの変換、 {Jkf::Converter::Base#convert} で"
133
+ "JKFから各形式へ変換できます。"
138
134
  msgstr ""
139
- "`parser#parse(str)` to convert into jkf.\n"
140
- "`#convert(jkf)` to convert into each formats from jkf."
135
+ "{Jkf::Parser::Base#parse} to convert into JKF.\n"
136
+ "{Jkf::Converter::Base#convert} to convert into each formats from JKF."
141
137
 
142
138
  #. type: Fenced code block (ruby)
143
- #: README.md:41
139
+ #: README.md:44
144
140
  #, no-wrap
145
141
  msgid ""
146
142
  "jkf = kif_parser.parse(kif_str) #=> Hash\n"
@@ -152,7 +148,7 @@ msgstr ""
152
148
  "jkf = csa_parser.parse(csa_str) #=> Hash\n"
153
149
 
154
150
  #. type: Fenced code block (ruby)
155
- #: README.md:47
151
+ #: README.md:50
156
152
  #, no-wrap
157
153
  msgid ""
158
154
  "kif = kif_converter.convert(jkf) #=> String\n"
@@ -164,37 +160,42 @@ msgstr ""
164
160
  "csa = csa_converter.convert(jkf) #=> String\n"
165
161
 
166
162
  #. type: Title ##
167
- #: README.md:53
163
+ #: README.md:56
168
164
  #, no-wrap
169
- msgid "Contributing"
165
+ msgid "貢献"
170
166
  msgstr "Contributing"
171
167
 
172
168
  #. type: Plain text
173
- #: README.md:57
169
+ #: README.md:59
174
170
  msgid ""
175
- "バグレポートやプルリクエストはGithubでよろしくお願いします。 https://github."
176
- "com/iyuuya/jkf."
177
- msgstr ""
178
- "Feel free to report bugs or send pull requests at [GitHub](https://github."
179
- "com/iyuuya/jkf)."
171
+ "バグレポートやプルリクエストは[GitHubのリポジトリ][repo]でよろしくお願いしま"
172
+ "す。"
173
+ msgstr "Feel free to report bugs or send pull requests at [the GitHub repository][repo]."
180
174
 
181
175
  #. type: Plain text
182
- #: README.md:59
176
+ #: README.md:61
177
+ msgid "[repo]: https://github.com/iyuuya/jkf"
178
+ msgstr "[repo]: https://github.com/iyuuya/jkf"
179
+
180
+ #. type: Plain text
181
+ #: README.md:63
183
182
  msgid ""
184
183
  "Guixで開発されている場合は`guix shell`で`rake test`によるテスト実行ができま"
185
184
  "す。"
186
185
  msgstr "If you work on Guix, run tests by `guix shell`."
187
186
 
188
187
  #. type: Title ##
189
- #: README.md:60
188
+ #: README.md:64
190
189
  #, no-wrap
191
- msgid "License"
190
+ msgid "利用許諾"
192
191
  msgstr "License"
193
192
 
194
193
  #. type: Plain text
195
- #: README.md:64
196
- msgid ""
197
- "ライセンスはMITです。 [MIT License](http://opensource.org/licenses/MIT)."
198
- msgstr ""
199
- "This gem is licensed under the [MIT License](http://opensource.org/licenses/"
200
- "MIT)."
194
+ #: README.md:67
195
+ msgid "ライセンスは[MIT License][mit]です。"
196
+ msgstr "This gem is provided under the [MIT License][mit]."
197
+
198
+ #. type: Plain text
199
+ #: README.md:68
200
+ msgid "[mit]: http://opensource.org/licenses/MIT"
201
+ msgstr "[mit]: http://opensource.org/licenses/MIT"