elibri_onix_dict 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/.document +5 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +33 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +26 -0
  6. data/Rakefile +55 -0
  7. data/lib/elibri_onix_dict.rb +37 -0
  8. data/lib/elibri_onix_dict/onix_3_0/base.rb +43 -0
  9. data/lib/elibri_onix_dict/onix_3_0/serialized/AudienceRangePrecision.yml +15 -0
  10. data/lib/elibri_onix_dict/onix_3_0/serialized/AudienceRangeQualifier.yml +9 -0
  11. data/lib/elibri_onix_dict/onix_3_0/serialized/Availability.yml +15 -0
  12. data/lib/elibri_onix_dict/onix_3_0/serialized/ContributorRole.yml +92 -0
  13. data/lib/elibri_onix_dict/onix_3_0/serialized/DateFormat.yml +20 -0
  14. data/lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml +272 -0
  15. data/lib/elibri_onix_dict/onix_3_0/serialized/LanguageRole.yml +36 -0
  16. data/lib/elibri_onix_dict/onix_3_0/serialized/NotificationType.yml +20 -0
  17. data/lib/elibri_onix_dict/onix_3_0/serialized/OtherTextType.yml +30 -0
  18. data/lib/elibri_onix_dict/onix_3_0/serialized/PricePrintedOnProduct.yml +16 -0
  19. data/lib/elibri_onix_dict/onix_3_0/serialized/PriceTypeCode.yml +15 -0
  20. data/lib/elibri_onix_dict/onix_3_0/serialized/ProductAvailabilityType.yml +15 -0
  21. data/lib/elibri_onix_dict/onix_3_0/serialized/ProductFormCode.yml +78 -0
  22. data/lib/elibri_onix_dict/onix_3_0/serialized/ProductRelationType.yml +17 -0
  23. data/lib/elibri_onix_dict/onix_3_0/serialized/PublishingStatusCode.yml +43 -0
  24. data/lib/elibri_onix_dict/onix_3_0/serialized/ResourceContentType.yml +51 -0
  25. data/lib/elibri_onix_dict/onix_3_0/serialized/ResourceMode.yml +20 -0
  26. data/lib/elibri_onix_dict/onix_3_0/serialized/SalesRestrictionType.yml +9 -0
  27. data/lib/elibri_onix_dict/onix_3_0/serialized/SupplierRole.yml +26 -0
  28. data/lib/elibri_onix_dict/onix_3_0/serialized/TitleType.yml +20 -0
  29. data/lib/elibri_onix_dict/releases.rb +6 -0
  30. data/lib/elibri_onix_dict/version.rb +14 -0
  31. data/test/elibri_onix_dict_release_3_0_test.rb +20 -0
  32. data/test/elibri_onix_dict_test.rb +10 -0
  33. data/test/helper.rb +19 -0
  34. metadata +173 -0
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "http://rubygems.org"
2
+
3
+ group :development do
4
+ gem "pry"
5
+ gem "minitest", ">= 0"
6
+ gem "bundler", ">= 1.0.0"
7
+ gem "jeweler", "~> 1.6.2"
8
+ gem "rcov", ">= 0"
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,33 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ coderay (0.9.8)
5
+ git (1.2.5)
6
+ jeweler (1.6.4)
7
+ bundler (~> 1.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ method_source (0.6.6)
11
+ ruby_parser (~> 2.0.5)
12
+ minitest (2.6.1)
13
+ pry (0.9.6.2)
14
+ coderay (~> 0.9.8)
15
+ method_source (~> 0.6.5)
16
+ ruby_parser (~> 2.0.5)
17
+ slop (~> 2.1.0)
18
+ rake (0.9.2)
19
+ rcov (0.9.11)
20
+ ruby_parser (2.0.6)
21
+ sexp_processor (~> 3.0)
22
+ sexp_processor (3.0.7)
23
+ slop (2.1.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (>= 1.0.0)
30
+ jeweler (~> 1.6.2)
31
+ minitest
32
+ pry
33
+ rcov
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Marcin Urbanski
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,26 @@
1
+ = elibri_onix_dict
2
+
3
+ ree-1.8.7-2011.03 :005 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code 'BA'
4
+ => #<Elibri::ONIX::Dict::Release_3_0::ProductFormCode:0x1ace440 @onix_code="BA", @name={"pl"=>"książka", "en"=>"book"}, @const_name="BOOK">
5
+
6
+ ree-1.8.7-2011.03 :006 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode::BOOK
7
+ => "BA"
8
+
9
+ ree-1.8.7-2011.03 :007 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA').name
10
+ => "książka"
11
+
12
+ ree-1.8.7-2011.03 :008 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA').name(:en)
13
+ => "book"
14
+
15
+ ree-1.8.7-2011.03 :012 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except('BA', 'CD', 'CZ', 'AA')
16
+
17
+
18
+ ree-1.8.7-2011.03 :012 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL
19
+
20
+
21
+
22
+ == Copyright
23
+
24
+ Copyright (c) 2011 Marcin Urbanski. See LICENSE.txt for
25
+ further details.
26
+
data/Rakefile ADDED
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ require './lib/elibri_onix_dict/version.rb'
16
+ Jeweler::Tasks.new do |gem|
17
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
+ gem.name = "elibri_onix_dict"
19
+ gem.version = Elibri::ONIX::Dict::Version::STRING
20
+ gem.homepage = "http://github.com/elibri/elibri_onix_dict"
21
+ gem.license = "MIT"
22
+ gem.summary = %Q{EDItEUR ONIX format dictionary helpers used in eLibri publication system}
23
+ gem.description = %Q{EDItEUR ONIX format dictionary helpers used in eLibri publication system}
24
+ gem.email = "marcin@urbanski.vdl.pl"
25
+ gem.authors = ["Marcin Urbanski"]
26
+ # dependencies defined in Gemfile
27
+ end
28
+ Jeweler::RubygemsDotOrgTasks.new
29
+
30
+ require 'rake/testtask'
31
+ Rake::TestTask.new(:test) do |test|
32
+ test.libs << 'lib' << 'test'
33
+ test.pattern = 'test/**/*_test.rb'
34
+ test.verbose = true
35
+ end
36
+
37
+ require 'rcov/rcovtask'
38
+ Rcov::RcovTask.new do |test|
39
+ test.libs << 'test'
40
+ test.pattern = 'test/**/*_test.rb'
41
+ test.verbose = true
42
+ test.rcov_opts << '--exclude "gems/*"'
43
+ end
44
+
45
+ task :default => :test
46
+
47
+ require 'rake/rdoctask'
48
+ Rake::RDocTask.new do |rdoc|
49
+ version = Elibri::ONIX::Dict::Version::STRING
50
+
51
+ rdoc.rdoc_dir = 'rdoc'
52
+ rdoc.title = "elibri_onix_dict #{version}"
53
+ rdoc.rdoc_files.include('README*')
54
+ rdoc.rdoc_files.include('lib/**/*.rb')
55
+ end
@@ -0,0 +1,37 @@
1
+
2
+ require 'elibri_onix_dict/version'
3
+ require 'elibri_onix_dict/releases'
4
+
5
+ $KCODE = "UTF-8"
6
+
7
+
8
+ module Elibri
9
+ module ONIX
10
+ module Dict
11
+ module Release_3_0;
12
+ extend self
13
+
14
+ def load_dictionaries!
15
+ serialized_path = File.join(File.dirname(__FILE__), "elibri_onix_dict", "onix_3_0", "serialized", "*.yml")
16
+ serialized_path = File.expand_path(serialized_path)
17
+
18
+ Dir[serialized_path].each do |file|
19
+ klass_name = File.basename(file, '.yml') # 'ResourceMode'
20
+ klass = Class.new(Elibri::ONIX::Dict::Release_3_0::Base)
21
+ # Elibri::ONIX::Dict::Release_3_0::ResourceMode
22
+ const_set(klass_name, klass)
23
+ klass.const_set(:ALL, YAML::load_file(file))
24
+
25
+ klass::ALL.each do |dict_item|
26
+ klass.const_set(dict_item.const_name, dict_item.onix_code) if dict_item.const_name
27
+ end
28
+ end
29
+ end
30
+
31
+ end
32
+
33
+ Release_3_0.load_dictionaries!
34
+
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,43 @@
1
+
2
+
3
+ module Elibri
4
+ module ONIX
5
+ module Dict
6
+ module Release_3_0
7
+
8
+ # Klasa podstawowa dla wszystkich słowników ONIX`a
9
+ class Base
10
+
11
+ attr_reader :onix_code, :name, :const_name
12
+
13
+ # ruby-1.9.2-head > dict_item.name(:en)
14
+ # => "author"
15
+ def name(locale = :pl)
16
+ @name[locale.to_s]
17
+ end
18
+
19
+
20
+ def self.find_by_onix_code(searched_onix_code)
21
+ self.all.find {|dict_item| dict_item.onix_code == searched_onix_code }
22
+ end
23
+
24
+
25
+ def self.all
26
+ self.const_get(:ALL) # Wartość stałej 'ALL' pobierz dynamicznie - z klasy pochodnej...
27
+ end
28
+
29
+
30
+ # Zwróć listę wszystkich elementów słownika, poza tymi o kodach przekazanych jako argument
31
+ def self.all_except(*onix_codes)
32
+ onix_codes.flatten!
33
+ self.all.reject {|dict_item| onix_codes.include?(dict_item.onix_code) }
34
+ end
35
+
36
+
37
+ end
38
+
39
+
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,15 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::AudienceRangePrecision
4
+ onix_code: '03'
5
+ const_name: FROM
6
+ name:
7
+ en: from
8
+ pl: od
9
+
10
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::AudienceRangePrecision
11
+ onix_code: '04'
12
+ const_name: TO
13
+ name:
14
+ en: to
15
+ pl: do
@@ -0,0 +1,9 @@
1
+
2
+
3
+ ---
4
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::AudienceRangeQualifier
5
+ onix_code: '18'
6
+ const_name: READING_AGE
7
+ name:
8
+ en: reading age
9
+ pl: wiek czytelnika
@@ -0,0 +1,15 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::Availability
4
+ onix_code: '21'
5
+ const_name: IN_STOCK
6
+ name:
7
+ en: In Stock
8
+ pl: Na stanie
9
+
10
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::Availability
11
+ onix_code: '40'
12
+ const_name: NOT_AVAILABLE
13
+ name:
14
+ en: Not available
15
+ pl: niedostępne
@@ -0,0 +1,92 @@
1
+ ---
2
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
3
+ onix_code: A01
4
+ const_name: AUTHOR
5
+ name:
6
+ en: author
7
+ pl: autor
8
+
9
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
10
+ onix_code: A02
11
+ const_name: GHOSTWRITER
12
+ name:
13
+ en: ghostwriter
14
+ pl: współautor
15
+
16
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
17
+ onix_code: A03
18
+ const_name: SCENARIST
19
+ name:
20
+ en: scenarist
21
+ pl: scenarzysta
22
+
23
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
24
+ onix_code: A10
25
+ const_name: ORIGINATOR
26
+ name:
27
+ en: originator
28
+ pl: pomysłodawca
29
+
30
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
31
+ onix_code: A12
32
+ const_name: ILLUSTRATOR
33
+ name:
34
+ en: illustrator
35
+ pl: ilustrator
36
+
37
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
38
+ onix_code: A13
39
+ const_name: PHOTOGRAPHER
40
+ name:
41
+ en: photographer
42
+ pl: fotograf
43
+
44
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
45
+ onix_code: A15
46
+ const_name: AUTHOR_OF_PREFACE
47
+ name:
48
+ en: author of preface
49
+ pl: autor wstępu
50
+
51
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
52
+ onix_code: A35
53
+ const_name: DRAWER
54
+ name:
55
+ en: drawer
56
+ pl: rysownik
57
+
58
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
59
+ onix_code: A36
60
+ const_name: COVER_DESIGNER
61
+ name:
62
+ en: cover designer
63
+ pl: projektant okładki
64
+
65
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
66
+ onix_code: B01
67
+ const_name: EDITOR
68
+ name:
69
+ en: editor
70
+ pl: redaktor
71
+
72
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
73
+ onix_code: B02
74
+ const_name: REVISOR
75
+ name:
76
+ en: revisor
77
+ pl: korektor
78
+
79
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
80
+ onix_code: B06
81
+ const_name: TRANSLATOR
82
+ name:
83
+ en: translator
84
+ pl: tłumacz
85
+
86
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContributorRole
87
+ onix_code: E07
88
+ const_name: READ_BY
89
+ name:
90
+ en: read by
91
+ pl: lektor
92
+
@@ -0,0 +1,20 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::DateFormat
4
+ onix_code: '00'
5
+ const_name: YYYYMMDD
6
+ name:
7
+ en: YYYYMMDD
8
+ pl: RRRRMMDD
9
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::DateFormat
10
+ onix_code: '01'
11
+ const_name: YYYYMM
12
+ name:
13
+ en: YYYYMM
14
+ pl: RRRRMM
15
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::DateFormat
16
+ onix_code: '05'
17
+ const_name: YYYY
18
+ name:
19
+ en: YYYY
20
+ pl: RRRR
@@ -0,0 +1,272 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
4
+ onix_code: afr
5
+ name:
6
+ en: afrikaans
7
+ pl: afrikaans
8
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
9
+ onix_code: ara
10
+ name:
11
+ en: arabic
12
+ pl: arabski
13
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
14
+ onix_code: arm
15
+ name:
16
+ en: Armenian
17
+ pl: armeński
18
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
19
+ onix_code: aze
20
+ name:
21
+ en: Azerbaijani
22
+ pl: azerbejdżański
23
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
24
+ onix_code: bat
25
+ name:
26
+ en: Baltic languages
27
+ pl: języki bałtyckie
28
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
29
+ onix_code: bel
30
+ name:
31
+ en: Belarusian
32
+ pl: białoruski
33
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
34
+ onix_code: ben
35
+ name:
36
+ en: Bengali
37
+ pl: bengalski
38
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
39
+ onix_code: bos
40
+ name:
41
+ en: Bosnian
42
+ pl: bośniacki
43
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
44
+ onix_code: bul
45
+ name:
46
+ en: Bulgarian
47
+ pl: bułgarski
48
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
49
+ onix_code: che
50
+ name:
51
+ en: Chechen
52
+ pl: czeczeński
53
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
54
+ onix_code: chi
55
+ name:
56
+ en: Chinese
57
+ pl: chiński
58
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
59
+ onix_code: csb
60
+ name:
61
+ en: Kashubian
62
+ pl: kaszubski
63
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
64
+ onix_code: cze
65
+ name:
66
+ en: Czech
67
+ pl: czeski
68
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
69
+ onix_code: dan
70
+ name:
71
+ en: Danish
72
+ pl: duński
73
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
74
+ onix_code: dut
75
+ name:
76
+ en: Dutch
77
+ pl: holenderski
78
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
79
+ onix_code: egy
80
+ name:
81
+ en: Egyptian
82
+ pl: egipski
83
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
84
+ onix_code: eng
85
+ name:
86
+ en: English
87
+ pl: angielski
88
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
89
+ onix_code: epo
90
+ name:
91
+ en: Esperanto
92
+ pl: Esperanto
93
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
94
+ onix_code: fin
95
+ name:
96
+ en: Finnish
97
+ pl: fiński
98
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
99
+ onix_code: fre
100
+ name:
101
+ en: French
102
+ pl: francuski
103
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
104
+ onix_code: gem
105
+ name:
106
+ en: Germanic languages
107
+ pl: języki germańskie
108
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
109
+ onix_code: ger
110
+ name:
111
+ en: German
112
+ pl: niemiecki
113
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
114
+ onix_code: gle
115
+ name:
116
+ en: Irish
117
+ pl: irlandzki
118
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
119
+ onix_code: heb
120
+ name:
121
+ en: Hebrew
122
+ pl: hebrajski
123
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
124
+ onix_code: hin
125
+ name:
126
+ en: Hindi
127
+ pl: hindi
128
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
129
+ onix_code: hrv
130
+ name:
131
+ en: Croatian
132
+ pl: chorwacki
133
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
134
+ onix_code: hun
135
+ name:
136
+ en: Hungarian
137
+ pl: węgierski
138
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
139
+ onix_code: ira
140
+ name:
141
+ en: Iranian languages
142
+ pl: irański
143
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
144
+ onix_code: ita
145
+ name:
146
+ en: Italian
147
+ pl: włoski
148
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
149
+ onix_code: jpn
150
+ name:
151
+ en: Japanese
152
+ pl: japoński
153
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
154
+ onix_code: lat
155
+ name:
156
+ en: Latin
157
+ pl: łaciński
158
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
159
+ onix_code: lav
160
+ name:
161
+ en: Latvian
162
+ pl: łotewski
163
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
164
+ onix_code: lit
165
+ name:
166
+ en: Lithuanian
167
+ pl: litewski
168
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
169
+ onix_code: ltz
170
+ name:
171
+ en: Luxembourgish; Letzeburgesch
172
+ pl: luksemburski
173
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
174
+ onix_code: mol
175
+ name:
176
+ en: Moldavian
177
+ pl: mołdawski
178
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
179
+ onix_code: mon
180
+ name:
181
+ en: Mongolian
182
+ pl: mongolski
183
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
184
+ onix_code: mul
185
+ name:
186
+ en: Multiple languages
187
+ pl: wiele języków
188
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
189
+ onix_code: nap
190
+ name:
191
+ en: Neapolitan
192
+ pl: neapolitański
193
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
194
+ onix_code: nep
195
+ name:
196
+ en: Nepali
197
+ pl: nepalski
198
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
199
+ onix_code: nor
200
+ name:
201
+ en: Norwegian
202
+ pl: norweski
203
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
204
+ onix_code: per
205
+ name:
206
+ en: Persian
207
+ pl: perski
208
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
209
+ onix_code: pol
210
+ name:
211
+ en: Polish
212
+ pl: polski
213
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
214
+ onix_code: por
215
+ name:
216
+ en: Portuguese
217
+ pl: portugalski
218
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
219
+ onix_code: rum
220
+ name:
221
+ en: Romanian
222
+ pl: rumuński
223
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
224
+ onix_code: rus
225
+ name:
226
+ en: Russian
227
+ pl: rosyjski
228
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
229
+ onix_code: slo
230
+ name:
231
+ en: Slovak
232
+ pl: słowacki
233
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
234
+ onix_code: slv
235
+ name:
236
+ en: Slovenian
237
+ pl: słoweński
238
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
239
+ onix_code: spa
240
+ name:
241
+ en: Spanish
242
+ pl: hiszpański
243
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
244
+ onix_code: srp
245
+ name:
246
+ en: Serbian
247
+ pl: serbski
248
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
249
+ onix_code: swe
250
+ name:
251
+ en: Swedish
252
+ pl: szwedzki
253
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
254
+ onix_code: syr
255
+ name:
256
+ en: Syriac
257
+ pl: syryjski
258
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
259
+ onix_code: tur
260
+ name:
261
+ en: Turkish
262
+ pl: turecki
263
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
264
+ onix_code: ukr
265
+ name:
266
+ en: Ukrainian
267
+ pl: ukraiński
268
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
269
+ onix_code: vie
270
+ name:
271
+ en: Vietnamese
272
+ pl: wietnamski