wwwjdic 14.0.0 → 15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +19 -0
  3. data/Gemfile +5 -1
  4. data/README.md +461 -192
  5. data/Rakefile +7 -2
  6. data/copyright.md +17 -29
  7. data/examples/basics.rb +51 -45
  8. data/examples/translate.rb +135 -86
  9. data/examples/uri.rb +34 -78
  10. data/html/CHANGELOG.html +48 -31
  11. data/html/COPYING_md.html +31 -35
  12. data/html/Gemfile.html +28 -32
  13. data/html/Object.html +71 -71
  14. data/html/README_md.html +326 -159
  15. data/html/Rakefile.html +29 -33
  16. data/html/WWWJDic.html +137 -98
  17. data/html/WWWJDic/ParsableDuckType.html +55 -55
  18. data/html/WWWJDic/Parser.html +88 -88
  19. data/html/WWWJDic/Parsers.html +33 -33
  20. data/html/WWWJDic/Parsers/Dict.html +71 -73
  21. data/html/WWWJDic/Parsers/Display.html +66 -66
  22. data/html/WWWJDic/Parsers/Key.html +67 -67
  23. data/html/WWWJDic/Parsers/Search.html +59 -58
  24. data/html/WWWJDic/Parsers/Server.html +66 -66
  25. data/html/WWWJDic/Splitter.html +173 -172
  26. data/html/WWWJDic/Utils.html +34 -34
  27. data/html/WWWJDic/Utils/Downloader.html +33 -33
  28. data/html/WWWJDic/Utils/Downloader/Downloader.html +91 -89
  29. data/html/WWWJDic/Utils/Raisers.html +95 -95
  30. data/html/WWWJDic/WWWJDic.html +343 -345
  31. data/html/copyright_md.html +37 -51
  32. data/html/created.rid +55 -57
  33. data/html/index.html +334 -164
  34. data/html/js/darkfish.js +84 -84
  35. data/html/js/navigation.js.gz +0 -0
  36. data/html/js/search.js +110 -110
  37. data/html/js/search_index.js +1 -1
  38. data/html/js/search_index.js.gz +0 -0
  39. data/html/js/searcher.js +229 -229
  40. data/html/js/searcher.js.gz +0 -0
  41. data/html/table_of_contents.html +44 -75
  42. data/lib/wwwjdic.rb +7 -11
  43. data/lib/wwwjdic/application.rb +13 -7
  44. data/lib/wwwjdic/constants.rb +16 -8
  45. data/lib/wwwjdic/locales/de.yml +5 -4
  46. data/lib/wwwjdic/locales/en.yml +5 -4
  47. data/lib/wwwjdic/locales/es.yml +5 -4
  48. data/lib/wwwjdic/locales/fr.yml +6 -4
  49. data/lib/wwwjdic/locales/hu.yml +6 -4
  50. data/lib/wwwjdic/locales/it.yml +6 -4
  51. data/lib/wwwjdic/locales/ja.yml +8 -4
  52. data/lib/wwwjdic/locales/nl.yml +5 -4
  53. data/lib/wwwjdic/locales/ru.yml +5 -4
  54. data/lib/wwwjdic/locales/sl.yml +5 -4
  55. data/lib/wwwjdic/locales/sv.yml +5 -4
  56. data/lib/wwwjdic/parser.rb +8 -4
  57. data/lib/wwwjdic/parsers/dict.rb +9 -7
  58. data/lib/wwwjdic/parsers/display.rb +6 -2
  59. data/lib/wwwjdic/parsers/key.rb +8 -3
  60. data/lib/wwwjdic/parsers/search.rb +8 -3
  61. data/lib/wwwjdic/parsers/server.rb +6 -2
  62. data/lib/wwwjdic/utils/downloader.rb +21 -23
  63. data/lib/wwwjdic/utils/raisers.rb +7 -3
  64. data/lib/wwwjdic/utils/splitter.rb +20 -14
  65. data/lib/wwwjdic/version.rb +2 -6
  66. data/test/test_helper.rb +5 -1
  67. data/test/test_wwwjdic.rb +6 -2
  68. data/test/wwwjdic/locales/de.yml +7 -1
  69. data/test/wwwjdic/locales/en.yml +7 -1
  70. data/test/wwwjdic/locales/es.yml +7 -1
  71. data/test/wwwjdic/locales/fr.yml +7 -1
  72. data/test/wwwjdic/locales/hu.yml +7 -1
  73. data/test/wwwjdic/locales/it.yml +10 -3
  74. data/test/wwwjdic/locales/ja.yml +9 -2
  75. data/test/wwwjdic/locales/nl.yml +7 -1
  76. data/test/wwwjdic/locales/ru.yml +7 -1
  77. data/test/wwwjdic/locales/sl.yml +7 -1
  78. data/test/wwwjdic/locales/sv.yml +7 -1
  79. data/test/wwwjdic/locales/test_locales.rb +12 -9
  80. data/test/wwwjdic/parsers/test_dict.rb +6 -2
  81. data/test/wwwjdic/parsers/test_display.rb +6 -2
  82. data/test/wwwjdic/parsers/test_key.rb +6 -2
  83. data/test/wwwjdic/parsers/test_server.rb +6 -2
  84. data/test/wwwjdic/test_application.rb +12 -8
  85. data/test/wwwjdic/test_parsable_duck_type.rb +6 -2
  86. data/test/wwwjdic/utils/test_downloader.rb +5 -1
  87. data/test/wwwjdic/utils/test_raisers.rb +10 -6
  88. data/wwwjdic.gemspec +30 -14
  89. metadata +50 -22
  90. data/acknowledgements.md +0 -55
  91. data/authors.md +0 -67
  92. data/html/acknowledgements_md.html +0 -150
  93. data/html/authors_md.html +0 -182
Binary file
@@ -4,18 +4,18 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
 
7
- <title>Table of Contents - wwwjdic 14.0.0</title>
7
+ <title>Table of Contents - wwwjdic 15.0.0</title>
8
8
 
9
9
  <script type="text/javascript">
10
10
  var rdoc_rel_prefix = "./";
11
11
  var index_rel_prefix = "./";
12
12
  </script>
13
13
 
14
- <script src="./js/navigation.js" defer></script>
15
- <script src="./js/search.js" defer></script>
16
- <script src="./js/search_index.js" defer></script>
17
- <script src="./js/searcher.js" defer></script>
18
- <script src="./js/darkfish.js" defer></script>
14
+ <script defer src="./js/navigation.js"></script>
15
+ <script defer src="./js/search.js"></script>
16
+ <script defer src="./js/search_index.js"></script>
17
+ <script defer src="./js/searcher.js"></script>
18
+ <script defer src="./js/darkfish.js"></script>
19
19
 
20
20
  <link href="./css/fonts.css" rel="stylesheet">
21
21
  <link href="./css/rdoc.css" rel="stylesheet">
@@ -23,9 +23,9 @@
23
23
 
24
24
 
25
25
 
26
- <body id="top" class="table-of-contents">
26
+ <body class="table-of-contents" id="top">
27
27
  <main role="main">
28
- <h1 class="class">Table of Contents - wwwjdic 14.0.0</h1>
28
+ <h1 class="class">Table of Contents - wwwjdic 15.0.0</h1>
29
29
 
30
30
 
31
31
 
@@ -37,6 +37,8 @@
37
37
 
38
38
  <ul>
39
39
 
40
+ <li><a href="CHANGELOG.html#label-Version+15.0.0">Version 15.0.0</a>
41
+
40
42
  <li><a href="CHANGELOG.html#label-Version+14.0.0">Version 14.0.0</a>
41
43
 
42
44
  <li><a href="CHANGELOG.html#label-Version+13.0.1">Version 13.0.1</a>
@@ -124,7 +126,7 @@
124
126
  </ul>
125
127
 
126
128
  </li>
127
-
129
+
128
130
  <li class="file">
129
131
  <a href="COPYING_md.html">COPYING</a>
130
132
 
@@ -177,12 +179,12 @@
177
179
  </ul>
178
180
 
179
181
  </li>
180
-
182
+
181
183
  <li class="file">
182
184
  <a href="Gemfile.html">Gemfile</a>
183
185
 
184
186
  </li>
185
-
187
+
186
188
  <li class="file">
187
189
  <a href="README_md.html">README</a>
188
190
 
@@ -190,69 +192,35 @@
190
192
 
191
193
  <li><a href="README_md.html#label-WWWJDic">WWWJDic</a>
192
194
 
193
- <li><a href="README_md.html#label-Description">Description</a>
194
-
195
- <li><a href="README_md.html#label-Documentation">Documentation</a>
196
-
197
- <li><a href="README_md.html#label-Installing+WWWJDic">Installing WWWJDic</a>
198
-
199
- <li><a href="README_md.html#label-Supported+Ruby+Versions+and+Implementations">Supported Ruby Versions and Implementations</a>
200
-
201
- <li><a href="README_md.html#label-Support">Support</a>
202
-
203
- <li><a href="README_md.html#label-Contributing">Contributing</a>
195
+ <li><a href="README_md.html#label-Table+of+Contents">Table of Contents</a>
204
196
 
205
- <li><a href="README_md.html#label-License">License</a>
197
+ <li><a href="README_md.html#label-Background">Background</a>
206
198
 
207
- <li><a href="README_md.html#label-Links">Links</a>
199
+ <li><a href="README_md.html#label-Install">Install</a>
208
200
 
209
201
  <li><a href="README_md.html#label-Savannah">Savannah</a>
210
202
 
211
203
  <li><a href="README_md.html#label-RubyGems">RubyGems</a>
212
204
 
213
- <li><a href="README_md.html#label-Other+links">Other links</a>
205
+ <li><a href="README_md.html#label-Usage">Usage</a>
214
206
 
215
- <li><a href="README_md.html#label-Usage+Examples">Usage Examples</a>
207
+ <li><a href="README_md.html#label-Maintainers">Maintainers</a>
216
208
 
217
- <li><a href="README_md.html#label-Parameters">Parameters</a>
209
+ <li><a href="README_md.html#label-Thanks">Thanks</a>
218
210
 
219
- </ul>
220
-
221
- </li>
222
-
223
- <li class="file">
224
- <a href="Rakefile.html">Rakefile</a>
225
-
226
- </li>
227
-
228
- <li class="file">
229
- <a href="acknowledgements_md.html">acknowledgements</a>
230
-
231
- <ul>
232
-
233
- <li><a href="acknowledgements_md.html#label-Acknowledgements">Acknowledgements</a>
211
+ <li><a href="README_md.html#label-Contributing">Contributing</a>
234
212
 
235
- <li><a href="acknowledgements_md.html#label-An+HTTP-2FHTTPS-2FFTP+file+downloader+library-2FCLI+based+upon+MiniPortile-27s+HTTP+implementation.">An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile&#39;s HTTP implementation.</a>
213
+ <li><a href="README_md.html#label-License">License</a>
236
214
 
237
215
  </ul>
238
216
 
239
217
  </li>
240
-
241
- <li class="file">
242
- <a href="authors_md.html">authors</a>
243
-
244
- <ul>
245
218
 
246
- <li><a href="authors_md.html#label-Project+and+gem+owned+by">Project and gem owned by</a>
247
-
248
- <li><a href="authors_md.html#label-Authors+list+-28in+appearing+order-29">Authors list (in appearing order)</a>
249
-
250
- <li><a href="authors_md.html#label-Translations+Authors+-28in+appearing+order-29">Translations Authors (in appearing order)</a>
251
-
252
- </ul>
219
+ <li class="file">
220
+ <a href="Rakefile.html">Rakefile</a>
253
221
 
254
222
  </li>
255
-
223
+
256
224
  <li class="file">
257
225
  <a href="copyright_md.html">copyright</a>
258
226
 
@@ -270,16 +238,12 @@
270
238
 
271
239
  <li><a href="copyright_md.html#label-Silk+Icons">Silk Icons</a>
272
240
 
273
- <li><a href="copyright_md.html#label-jquery.js">jquery.js</a>
274
-
275
- <li><a href="copyright_md.html#label-Sizzle.js">Sizzle.js</a>
276
-
277
241
  <li><a href="copyright_md.html#label-JsonIndex+generator+-28navigation.js+-26+search.js+-26+search_index.js+-26+searcher.js-29">JsonIndex generator (navigation.js &amp; search.js &amp; search_index.js &amp; searcher.js)</a>
278
242
 
279
243
  </ul>
280
244
 
281
245
  </li>
282
-
246
+
283
247
  </ul>
284
248
 
285
249
 
@@ -382,9 +346,9 @@
382
346
  <span class="container">WWWJDic::Utils::Downloader::Downloader</span>
383
347
 
384
348
  <li class="method">
385
- <a href="WWWJDic/WWWJDic.html#method-c-new">::new</a>
349
+ <a href="WWWJDic/Parser.html#method-c-new">::new</a>
386
350
  &mdash;
387
- <span class="container">WWWJDic::WWWJDic</span>
351
+ <span class="container">WWWJDic::Parser</span>
388
352
 
389
353
  <li class="method">
390
354
  <a href="WWWJDic/Splitter.html#method-c-new">::new</a>
@@ -392,9 +356,14 @@
392
356
  <span class="container">WWWJDic::Splitter</span>
393
357
 
394
358
  <li class="method">
395
- <a href="WWWJDic/Parser.html#method-c-new">::new</a>
359
+ <a href="WWWJDic/WWWJDic.html#method-c-new">::new</a>
396
360
  &mdash;
397
- <span class="container">WWWJDic::Parser</span>
361
+ <span class="container">WWWJDic::WWWJDic</span>
362
+
363
+ <li class="method">
364
+ <a href="WWWJDic.html#method-c-parser">::parser</a>
365
+ &mdash;
366
+ <span class="container">WWWJDic</span>
398
367
 
399
368
  <li class="method">
400
369
  <a href="WWWJDic/Splitter.html#method-i-content">#content</a>
@@ -441,16 +410,6 @@
441
410
  &mdash;
442
411
  <span class="container">WWWJDic::Parser</span>
443
412
 
444
- <li class="method">
445
- <a href="WWWJDic/Parsers/Dict.html#method-i-parse">#parse</a>
446
- &mdash;
447
- <span class="container">WWWJDic::Parsers::Dict</span>
448
-
449
- <li class="method">
450
- <a href="WWWJDic/Parsers/Display.html#method-i-parse">#parse</a>
451
- &mdash;
452
- <span class="container">WWWJDic::Parsers::Display</span>
453
-
454
413
  <li class="method">
455
414
  <a href="WWWJDic/Parsers/Key.html#method-i-parse">#parse</a>
456
415
  &mdash;
@@ -466,6 +425,16 @@
466
425
  &mdash;
467
426
  <span class="container">WWWJDic::Parsers::Server</span>
468
427
 
428
+ <li class="method">
429
+ <a href="WWWJDic/Parsers/Display.html#method-i-parse">#parse</a>
430
+ &mdash;
431
+ <span class="container">WWWJDic::Parsers::Display</span>
432
+
433
+ <li class="method">
434
+ <a href="WWWJDic/Parsers/Dict.html#method-i-parse">#parse</a>
435
+ &mdash;
436
+ <span class="container">WWWJDic::Parsers::Dict</span>
437
+
469
438
  <li class="method">
470
439
  <a href="WWWJDic/Utils/Raisers.html#method-i-raiser_array">#raiser_array</a>
471
440
  &mdash;
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -16,12 +16,12 @@
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
18
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # SPDX-FileCopyrightText: 2014 Marco Bresciani
21
+ #
22
+ # SPDX-License-Identifier: GPL-3.0-or-later
19
23
  #++
20
24
 
21
- require 'digest/md5'
22
- require 'i18n'
23
- require 'uri'
24
-
25
25
  require_relative 'wwwjdic/application'
26
26
  require_relative 'wwwjdic/parser'
27
27
  require_relative 'wwwjdic/parsers/dict'
@@ -31,7 +31,7 @@ require_relative 'wwwjdic/parsers/search'
31
31
  require_relative 'wwwjdic/parsers/server'
32
32
 
33
33
  # Author:: {Marco Bresciani}[mailto:marcobresciani_1974@libero.it]
34
- # Copyright:: Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
34
+ # Copyright:: (C) 2014 Marco Bresciani
35
35
  # License:: GNU General Public License version 3
36
36
  module WWWJDic
37
37
 
@@ -44,11 +44,7 @@ module WWWJDic
44
44
  WWWJDic.new(parser)
45
45
  end
46
46
 
47
- # ------------------------------ here starts the list of private methods
48
-
49
- private
50
-
51
- # Provides the parameters' parsers object.
47
+ # Provides the parameters' parsers object.
52
48
  def self.parser
53
49
  parsers = {dict: Parsers::Dict.new, display: Parsers::Display.new,
54
50
  key: Parsers::Key.new, search: Parsers::Search.new,
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -16,6 +16,10 @@
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
18
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # SPDX-FileCopyrightText: 2014 Marco Bresciani
21
+ #
22
+ # SPDX-License-Identifier: GPL-3.0-or-later
19
23
  #++
20
24
 
21
25
  require 'i18n'
@@ -29,7 +33,7 @@ module WWWJDic
29
33
  # This class is a simple API to interact with WWWJDic Backboor
30
34
  # Entry/API.
31
35
  # Author:: {Marco Bresciani}[mailto:marcobresciani_1974@libero.it]
32
- # Copyright:: Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
36
+ # Copyright:: (C) 2014 Marco Bresciani
33
37
  # License:: GNU General Public License version 3
34
38
  class WWWJDic
35
39
 
@@ -106,14 +110,16 @@ module WWWJDic
106
110
  end
107
111
 
108
112
  # Save a file, with specified +filename+, that contains the current
109
- # wwwjdic configuration, in JSON format. Uses the internal state to
110
- # retrieve data from the URI. Defaults to 'wwwjdic' with no specific
111
- # extension.
113
+ # wwwjdic configuration, in JSON format.
114
+ # Uses the internal state to retrieve data from the URI.
115
+ # Defaults to 'wwwjdic' with no specific extension.
112
116
  #
113
117
  # Usage::
114
118
  # - <tt>a_string = new_wwwjdic.json_translate filename</tt>
115
- # Params::
116
- # - +filename+: [String] is the filename to be saved.
119
+ # @param word [String] the word to translate
120
+ # @param args [Hash] the customization arguments
121
+ # @param filename [String] the name of the file where to save JSON
122
+ # @return [Object]
117
123
  def json_translate(word = nil, args = {}, filename = nil)
118
124
  translation = translate(word, args)
119
125
 
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -20,13 +20,13 @@
20
20
 
21
21
  module WWWJDic
22
22
  # Allowed parameters for configuration
23
- ALLOWED_PARAMS = [:dict, :display, :key, :server].freeze
23
+ ALLOWED_PARAMS = %i[dict display key server].freeze
24
24
 
25
25
  # All parameters for configuration
26
26
  ALL_PARAMS = ALLOWED_PARAMS + [:search]
27
27
 
28
28
  # Numeric codes for language-specific dictionaries
29
- AVAIL_LANGS = {en: '1', de: 'G', fr: 'H', ru: 'I', sv: 'J', hu: 'K', es: 'L', nl: 'M', sl: 'N', it: 'O'}.freeze
29
+ AVAIL_LANGS = { en: '1', de: 'G', fr: 'H', ru: 'I', sv: 'J', hu: 'K', es: 'L', nl: 'M', sl: 'N', it: 'O' }.freeze
30
30
 
31
31
  # Numeric codes for dictionaries usage
32
32
  DICTIONARY_CODES = [('1'..'9').to_a, ('A'..'R').to_a].flatten
@@ -41,7 +41,7 @@ module WWWJDic
41
41
  DICTS_BY_NAMES = Hash[DICTIONARY_NAMES.zip(DICTIONARY_CODES)]
42
42
 
43
43
  # Display modes
44
- DISPLAY = {regular: 'M', raw: 'Z'}.freeze
44
+ DISPLAY = { regular: 'M', raw: 'Z' }.freeze
45
45
 
46
46
  # k is the key type:
47
47
  #
@@ -72,7 +72,10 @@ module WWWJDic
72
72
  # for EUC, ISO-2022-JP or UCS, S for Shift_JIS and U for UTF-8,
73
73
  # followed by the search string. Up to 99 example sentences may be
74
74
  # displayed.
75
- KEYS = {english: 'E', common: 'P', exact: 'Q', both: 'R', japanese: 'J', start_kanji: 'K', any_kanji: 'L', kanji: 'M', glossing: 'G', no_repeated: 'H', jis_kanji: 'H', multi_radical: 'X'}.freeze
75
+ KEYS = { english: 'E', common: 'P', exact: 'Q', both: 'R',
76
+ japanese: 'J', start_kanji: 'K', any_kanji: 'L', kanji: 'M',
77
+ glossing: 'G', no_repeated: 'H', jis_kanji: 'H',
78
+ multi_radical: 'X' }.freeze
76
79
 
77
80
  # KANJIDIC letter codes (see
78
81
  # http://www.edrdg.org/kanjidic/kanjidic.html)
@@ -100,14 +103,19 @@ module WWWJDic
100
103
  # [E] the index in Henshall (A Guide To Remembering Japanese
101
104
  # Characters);
102
105
  # [Y] the PinYin (Chinese) pronunciation(s) of the kanji;
103
- KANJIDIC_CODES = {unicode: 'U', nelson: 'N', radical: 'B', classical: 'C', stroke: 'S', grade: 'G', halpern: 'H', frequency: 'F', skip: 'P', gakken: 'K', heisig: 'L', spahn: 'I', corner: 'Q', morohashi_index: 'MN', morohashi_page: 'MP', henshall: 'E', pinyin: 'Y'}.freeze
106
+ KANJIDIC_CODES = { unicode: 'U', nelson: 'N', radical: 'B',
107
+ classical: 'C', stroke: 'S', grade: 'G',
108
+ halpern: 'H', frequency: 'F', skip: 'P',
109
+ gakken: 'K', heisig: 'L', spahn: 'I', corner: 'Q',
110
+ morohashi_index: 'MN', morohashi_page: 'MP',
111
+ henshall: 'E', pinyin: 'Y' }.freeze
104
112
 
105
113
  # Reference URI for Backdoor Entry/API
106
114
  URI_DEFAULT = 'http://www.edrdg.org/cgi-bin/wwwjdic/wwwjdic.cgi?'.freeze
107
115
 
108
116
  # Monash URI for Backdoor Entry/API
109
- URI_OLD = 'http://www.csse.monash.edu.au/~jwb/cgi-bin/wwwjdic.cgi?'.freeze
117
+ URI_OLD = 'http://nihongo.monash.edu/cgi-bin/wwwjdic?'.freeze
110
118
 
111
119
  # URIs for Backdoor Entry/API
112
- URIS = {edrdg: URI_DEFAULT, monash: URI_OLD}.freeze
120
+ URIS = { edrdg: URI_DEFAULT, monash: URI_OLD }.freeze
113
121
  end
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -16,6 +16,10 @@
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
18
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # SPDX-FileCopyrightText: 2014 Marco Bresciani
21
+ #
22
+ # SPDX-License-Identifier: GPL-3.0-or-later
19
23
  #++
20
24
 
21
25
  de:
@@ -26,6 +30,3 @@ de:
26
30
  value: "Der Wert %{value} ist nicht im zulässigen Bereich."
27
31
  warn:
28
32
  deprecated: Diese Methode ist veraltet.
29
- test:
30
- kotoba: Sprache
31
- test: test data
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -16,6 +16,10 @@
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
18
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # SPDX-FileCopyrightText: 2014 Marco Bresciani
21
+ #
22
+ # SPDX-License-Identifier: GPL-3.0-or-later
19
23
  #++
20
24
 
21
25
  en:
@@ -26,6 +30,3 @@ en:
26
30
  value: "Value %{value} is not in allowed range."
27
31
  warn:
28
32
  deprecated: This method has been deprecated.
29
- test:
30
- kotoba: word
31
- test: test data
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # wwwjdic
3
- # Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani
3
+ # © 2014 Marco Bresciani
4
4
  #
5
5
  # This file is part of wwwjdic.
6
6
  #
@@ -16,6 +16,10 @@
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
18
  # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+ # SPDX-FileCopyrightText: 2014 Marco Bresciani
21
+ #
22
+ # SPDX-License-Identifier: GPL-3.0-or-later
19
23
  #++
20
24
 
21
25
  es:
@@ -26,6 +30,3 @@ es:
26
30
  value: "Valor %{value} no está dentro del rango permitido."
27
31
  warn:
28
32
  deprecated: Este método ha quedado obsoleto.
29
- test:
30
- kotoba: palabra
31
- test: test data