|
Line 0
Link Here
|
|
|
1 |
package Koha::CodeList::Unimarc::MediumOfPerformance; |
| 2 |
|
| 3 |
# This file is part of Koha. |
| 4 |
# |
| 5 |
# Koha is free software; you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 3 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
# |
| 10 |
# Koha is distributed in the hope that it will be useful, but |
| 11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 17 |
|
| 18 |
use Modern::Perl; |
| 19 |
use utf8; |
| 20 |
|
| 21 |
use Koha::I18N; |
| 22 |
|
| 23 |
sub voices { |
| 24 |
return { |
| 25 |
'val' => N__('alto'), |
| 26 |
'vbr' => N__('baritone'), |
| 27 |
'vbs' => N__('bass'), |
| 28 |
'vca' => N__('child alto'), |
| 29 |
'vcs' => N__('child soprano'), |
| 30 |
'vct' => N__('countertenor'), |
| 31 |
'vcv' => N__('child voice'), |
| 32 |
'vma' => N__('man\'s voice'), |
| 33 |
'vms' => N__('mezzo-soprano'), |
| 34 |
'vrc' => N__('reciting child\'s voice'), |
| 35 |
'vre' => N__('reciting voice'), |
| 36 |
'vrm' => N__('reciting man\'s voice'), |
| 37 |
'vrw' => N__('reciting woman\'s voice'), |
| 38 |
'vso' => N__('soprano'), |
| 39 |
'vte' => N__('tenor'), |
| 40 |
'vun' => N__('voice - unspecified'), |
| 41 |
'vwo' => N__('woman\'s voice'), |
| 42 |
'vzz' => N__('voice - other'), |
| 43 |
}; |
| 44 |
} |
| 45 |
|
| 46 |
sub woodwinds { |
| 47 |
return { |
| 48 |
'wba' => N__('bassoon'), |
| 49 |
'wbh' => N__('basset-horn'), |
| 50 |
'wbp' => N__('bagpipe'), |
| 51 |
'wcl' => N__('clarinet'), |
| 52 |
'wcr' => N__('cromorne'), |
| 53 |
'wdb' => N__('double bassoon'), |
| 54 |
'wdi' => N__('didjeridu'), |
| 55 |
'wdu' => N__('dulcian'), |
| 56 |
'wdv' => N__('dvojnice'), |
| 57 |
'weh' => N__('english horn'), |
| 58 |
'wfg' => N__('flageolet'), |
| 59 |
'wfi' => N__('fife'), |
| 60 |
'wfl' => N__('flute'), |
| 61 |
'wga' => N__('tabor pipe'), |
| 62 |
'wge' => N__('gemshorn'), |
| 63 |
'whp' => N__('hornpipe'), |
| 64 |
'wmo' => N__('mouth organ'), |
| 65 |
'wmu' => N__('musette'), |
| 66 |
'wna' => N__('ney'), |
| 67 |
'woa' => N__('oboe d\'amore'), |
| 68 |
'wob' => N__('oboe'), |
| 69 |
'woh' => N__('oboe da caccia'), |
| 70 |
'wpi' => N__('piccolo'), |
| 71 |
'wpo' => N__('pommer'), |
| 72 |
'wpp' => N__('panpipes'), |
| 73 |
'wra' => N__('racket'), |
| 74 |
'wre' => N__('recorder'), |
| 75 |
'wro' => N__('rothophone'), |
| 76 |
'wsa' => N__('saxophone'), |
| 77 |
'wsh' => N__('shakuhachi'), |
| 78 |
'wsn' => N__('zurna'), |
| 79 |
'wsr' => N__('sarrusophone'), |
| 80 |
'wsu' => N__('sordun'), |
| 81 |
'wun' => N__('woodwind - unspecified'), |
| 82 |
'wvu' => N__('vox humana'), |
| 83 |
'wzz' => N__('woodwind - other'), |
| 84 |
}; |
| 85 |
} |
| 86 |
|
| 87 |
sub brass { |
| 88 |
return { |
| 89 |
'bah' => N__('alphorn'), |
| 90 |
'bbd' => N__('bombardon'), |
| 91 |
'bbh' => N__('bersag horn'), |
| 92 |
'bbu' => N__('bugle'), |
| 93 |
'bca' => N__('carnyx'), |
| 94 |
'bch' => N__('cow horn'), |
| 95 |
'bcl' => N__('clarion'), |
| 96 |
'bco' => N__('cornet'), |
| 97 |
'bct' => N__('cornett'), |
| 98 |
'bdx' => N__('duplex'), |
| 99 |
'beu' => N__('euphonium'), |
| 100 |
'bhh' => N__('hunting horn'), |
| 101 |
'bho' => N__('horn'), |
| 102 |
'bht' => N__('herald\'s trumpet'), |
| 103 |
'bkb' => N__('keyed bugle'), |
| 104 |
'bol' => N__('oliphant'), |
| 105 |
'bop' => N__('ophicleide'), |
| 106 |
'bph' => N__('post horn'), |
| 107 |
'brh' => N__('russian horn'), |
| 108 |
'bse' => N__('serpent'), |
| 109 |
'bsh' => N__('shofar'), |
| 110 |
'bsr' => N__('sarrusophone'), |
| 111 |
'btb' => N__('trombone'), |
| 112 |
'btr' => N__('trumpet'), |
| 113 |
'btu' => N__('tuba'), |
| 114 |
'bun' => N__('brass - unspecified'), |
| 115 |
'bvb' => N__('valved bugle'), |
| 116 |
'bwt' => N__('wagner tuba'), |
| 117 |
'bzz' => N__('brass - other'), |
| 118 |
}; |
| 119 |
} |
| 120 |
|
| 121 |
sub strings_bowed { |
| 122 |
return { |
| 123 |
'sar' => N__('arpeggione'), |
| 124 |
'sba' => N__('baryton'), |
| 125 |
'sbt' => N__('bassett'), |
| 126 |
'sbu' => N__('bumbass'), |
| 127 |
'scr' => N__('crwth'), |
| 128 |
'sdb' => N__('double bass'), |
| 129 |
'sdf' => N__('five-string double bass'), |
| 130 |
'sfi' => N__('fiddle, viol (family)'), |
| 131 |
'sli' => N__('lira da braccio'), |
| 132 |
'sln' => N__('lirone'), |
| 133 |
'sny' => N__('keyed fiddle'), |
| 134 |
'sob' => N__('octobass'), |
| 135 |
'spo' => N__('kit'), |
| 136 |
'sps' => N__('psalmodicon'), |
| 137 |
'sre' => N__('rebec'), |
| 138 |
'stm' => N__('trumpet marine'), |
| 139 |
'sun' => N__('strings, bowed - unspecified'), |
| 140 |
'sva' => N__('viola'), |
| 141 |
'svc' => N__('cello'), |
| 142 |
'sve' => N__('violone'), |
| 143 |
'svg' => N__('viol'), |
| 144 |
'svl' => N__('violin'), |
| 145 |
'szz' => N__('strings, bowed - other'), |
| 146 |
}; |
| 147 |
} |
| 148 |
|
| 149 |
sub strings_plucked { |
| 150 |
return { |
| 151 |
'tal' => N__('archlute'), |
| 152 |
'tat' => N__('harp-psaltery'), |
| 153 |
'tbb' => N__('barbitos'), |
| 154 |
'tbi' => N__('biwa'), |
| 155 |
'tbj' => N__('banjo'), |
| 156 |
'tbl' => N__('balalaika'), |
| 157 |
'tbo' => N__('bouzouki'), |
| 158 |
'tci' => N__('cittern'), |
| 159 |
'tct' => N__('citole'), |
| 160 |
'tcz' => N__('cobza'), |
| 161 |
'tgu' => N__('guitar'), |
| 162 |
'tha' => N__('harp'), |
| 163 |
'thg' => N__('hawaiian guitar'), |
| 164 |
'tih' => N__('Irish harp'), |
| 165 |
'tkh' => N__('kithara'), |
| 166 |
'tko' => N__('kora'), |
| 167 |
'tkt' => N__('koto'), |
| 168 |
'tlf' => N__('lute (family)'), |
| 169 |
'tlg' => N__('lyre-guitar'), |
| 170 |
'tlu' => N__('lute'), |
| 171 |
'tma' => N__('mandolin'), |
| 172 |
'tmd' => N__('mandore'), |
| 173 |
'tpi' => N__('pipa'), |
| 174 |
'tps' => N__('psaltery'), |
| 175 |
'tpx' => N__('phorminx'), |
| 176 |
'tqa' => N__('qānūn'), |
| 177 |
'tsh' => N__('shamisen'), |
| 178 |
'tsi' => N__('sitār'), |
| 179 |
'tth' => N__('theorbo'), |
| 180 |
'ttn' => N__('tanbur'), |
| 181 |
'tud' => N__('oud'), |
| 182 |
'tuk' => N__('ukulele'), |
| 183 |
'tun' => N__('strings, plucked - unspecified'), |
| 184 |
'tzi' => N__('zither'), |
| 185 |
'tzz' => N__('strings, plucked - other'), |
| 186 |
}; |
| 187 |
} |
| 188 |
|
| 189 |
sub keyboard { |
| 190 |
return { |
| 191 |
'kac' => N__('accordion'), |
| 192 |
'kce' => N__('celesta'), |
| 193 |
'kcl' => N__('clavichord'), |
| 194 |
'kco' => N__('claviorgan'), |
| 195 |
'kcy' => N__('clavicytherium'), |
| 196 |
'kfp' => N__('fortepiano'), |
| 197 |
'kgl' => N__('glockenspiel'), |
| 198 |
'khm' => N__('harmonium'), |
| 199 |
'khp' => N__('harpsichord'), |
| 200 |
'kmp' => N__('melopiano'), |
| 201 |
'kor' => N__('organ'), |
| 202 |
'kpf' => N__('piano'), |
| 203 |
'kps' => N__('plucked string keyboard'), |
| 204 |
'kre' => N__('regals'), |
| 205 |
'ksi' => N__('sirenion'), |
| 206 |
'ksp' => N__('sostenente piano'), |
| 207 |
'kst' => N__('spinet'), |
| 208 |
'kun' => N__('keyboard - unspecified'), |
| 209 |
'kvg' => N__('virginal'), |
| 210 |
'kzz' => N__('keyboard - other'), |
| 211 |
}; |
| 212 |
} |
| 213 |
|
| 214 |
sub percussion { |
| 215 |
return { |
| 216 |
'pab' => N__('aeolian bells'), |
| 217 |
'pad' => N__('arabian drum'), |
| 218 |
'pag' => N__('agogo'), |
| 219 |
'pan' => N__('anvil'), |
| 220 |
'pbb' => N__('boobams'), |
| 221 |
'pbd' => N__('bass drum'), |
| 222 |
'pbl' => N__('bells'), |
| 223 |
'pbo' => N__('bongos'), |
| 224 |
'pbp' => N__('metal bells plate'), |
| 225 |
'pca' => N__('castanets'), |
| 226 |
'pcb' => N__('cabaca'), |
| 227 |
'pcc' => N__('chinese cymbals'), |
| 228 |
'pcg' => N__('conga'), |
| 229 |
'pch' => N__('chains'), |
| 230 |
'pci' => N__('dulcimer'), |
| 231 |
'pcr' => N__('crash cymbal'), |
| 232 |
'pct' => N__('crotales'), |
| 233 |
'pcv' => N__('claves'), |
| 234 |
'pcw' => N__('cowbell'), |
| 235 |
'pcy' => N__('cymbal'), |
| 236 |
'pdr' => N__('drum'), |
| 237 |
'pds' => N__('drums'), |
| 238 |
'pfc' => N__('finger cymbals'), |
| 239 |
'pfd' => N__('friction drum'), |
| 240 |
'pfl' => N__('flexatone'), |
| 241 |
'pgn' => N__('gun'), |
| 242 |
'pgo' => N__('gong'), |
| 243 |
'pgu' => N__('güiro'), |
| 244 |
'pha' => N__('hammer'), |
| 245 |
'phb' => N__('handbell'), |
| 246 |
'phh' => N__('hi-hat'), |
| 247 |
'pje' => N__('jembe'), |
| 248 |
'pji' => N__('jingles'), |
| 249 |
'pli' => N__('lithophone'), |
| 250 |
'plj' => N__('lujon'), |
| 251 |
'pmb' => N__('marimba'), |
| 252 |
'pmd' => N__('military drum'), |
| 253 |
'pme' => N__('metallophone'), |
| 254 |
'pnv' => N__('nail violin'), |
| 255 |
'pra' => N__('ratchet'), |
| 256 |
'prs' => N__('rain stick'), |
| 257 |
'prt' => N__('roto-toms'), |
| 258 |
'psc' => N__('sizzle cymbals'), |
| 259 |
'pse' => N__('sound-effect instrument'), |
| 260 |
'psl' => N__('slit-drum'), |
| 261 |
'psm' => N__('sistrum'), |
| 262 |
'psn' => N__('siren'), |
| 263 |
'psp' => N__('sandpaper'), |
| 264 |
'pss' => N__('sound sculpture'), |
| 265 |
'pst' => N__('steel drum'), |
| 266 |
'psw' => N__('switch whip'), |
| 267 |
'ptb' => N__('tabor'), |
| 268 |
'ptc' => N__('turkish crescent'), |
| 269 |
'pte' => N__('temple block'), |
| 270 |
'ptg' => N__('tuned gong'), |
| 271 |
'pti' => N__('timpani'), |
| 272 |
'ptl' => N__('triangle'), |
| 273 |
'ptm' => N__('thunder machine'), |
| 274 |
'pto' => N__('tarol'), |
| 275 |
'ptr' => N__('tambourine'), |
| 276 |
'ptt' => N__('tom-tom'), |
| 277 |
'pun' => N__('percussion - unspecified'), |
| 278 |
'pvi' => N__('vibraphone'), |
| 279 |
'pvs' => N__('vibra-slap'), |
| 280 |
'pwh' => N__('whip'), |
| 281 |
'pwm' => N__('wind machine'), |
| 282 |
'pwo' => N__('woodblocks'), |
| 283 |
'pxr' => N__('xylorimba'), |
| 284 |
'pxy' => N__('xylophone'), |
| 285 |
'pzz' => N__('percussion - other'), |
| 286 |
}; |
| 287 |
} |
| 288 |
|
| 289 |
sub electronic { |
| 290 |
return { |
| 291 |
'eco' => N__('computer'), |
| 292 |
'ecs' => N__('computerized musical station'), |
| 293 |
'ect' => N__('computerized tape'), |
| 294 |
'eds' => N__('digital space device'), |
| 295 |
'eea' => N__('electro-acoustic device'), |
| 296 |
'eli' => N__('live electronic'), |
| 297 |
'ely' => N__('lyricon'), |
| 298 |
'eme' => N__('meta-instrument'), |
| 299 |
'emu' => N__('multimedial device'), |
| 300 |
'eos' => N__('oscillator'), |
| 301 |
'esp' => N__('space device'), |
| 302 |
'esy' => N__('synthesizer'), |
| 303 |
'eta' => N__('tape'), |
| 304 |
'eth' => N__('theremin'), |
| 305 |
'eun' => N__('electronic - non specified'), |
| 306 |
'ezz' => N__('electronic - other'), |
| 307 |
}; |
| 308 |
} |
| 309 |
|
| 310 |
sub misc { |
| 311 |
return { |
| 312 |
'mah' => N__('aeolian harp'), |
| 313 |
'mbo' => N__('barrel organ'), |
| 314 |
'mbr' => N__('bullroarer'), |
| 315 |
'mbs' => N__('bass'), |
| 316 |
'mbw' => N__('musical bow'), |
| 317 |
'mbx' => N__('musical box'), |
| 318 |
'mck' => N__('chekker'), |
| 319 |
'mcl' => N__('musical clock'), |
| 320 |
'mco' => N__('continuo'), |
| 321 |
'mgh' => N__('glassharmonika'), |
| 322 |
'mgt' => N__('glass trumpet'), |
| 323 |
'mha' => N__('harmonica'), |
| 324 |
'mhg' => N__('hurdy-gurdy'), |
| 325 |
'mjh' => N__('jew\'s harp'), |
| 326 |
'mla' => N__('lamellaphone'), |
| 327 |
'mmc' => N__('monochord'), |
| 328 |
'mme' => N__('melodica'), |
| 329 |
'mmi' => N__('mirliton'), |
| 330 |
'mml' => N__('melodic instrument'), |
| 331 |
'mms' => N__('musical saw'), |
| 332 |
'moc' => N__('ocarina'), |
| 333 |
'mpo' => N__('polyphonic instrument'), |
| 334 |
'mpp' => N__('player piano'), |
| 335 |
'mra' => N__('rabāb'), |
| 336 |
'mss' => N__('sound sculpture'), |
| 337 |
'msw' => N__('swanee whistle'), |
| 338 |
'mtf' => N__('tuning-fork'), |
| 339 |
'mui' => N__('instrument - non specified'), |
| 340 |
'mun' => N__('instrument or voice - non specified'), |
| 341 |
'mwd' => N__('wind instrument'), |
| 342 |
'mwh' => N__('whistle'), |
| 343 |
'mzz' => N__('other'), |
| 344 |
}; |
| 345 |
} |
| 346 |
|
| 347 |
sub choruses { |
| 348 |
return { |
| 349 |
'cch' => N__('children\'s choir'), |
| 350 |
'cme' => N__('men\'s choir'), |
| 351 |
'cmi' => N__('mixed choir'), |
| 352 |
'cre' => N__('reciting choir'), |
| 353 |
'cun' => N__('choir - unspecified'), |
| 354 |
'cve' => N__('vocal ensemble'), |
| 355 |
'cwo' => N__('women\'s choir'), |
| 356 |
'czz' => N__('choir - other'), |
| 357 |
}; |
| 358 |
} |
| 359 |
|
| 360 |
sub orchestras { |
| 361 |
return { |
| 362 |
'oba' => N__('band'), |
| 363 |
'obi' => N__('big band'), |
| 364 |
'obr' => N__('brass band'), |
| 365 |
'och' => N__('chamber orchestra'), |
| 366 |
'oco' => N__('combo'), |
| 367 |
'odo' => N__('dance orchestra'), |
| 368 |
'ofu' => N__('full orchestra'), |
| 369 |
'oga' => N__('gamelan'), |
| 370 |
'oie' => N__('instrumental ensemble'), |
| 371 |
'oiv' => N__('vocal and instrumental ensemble'), |
| 372 |
'oja' => N__('jazz band'), |
| 373 |
'ope' => N__('percussion orchestra'), |
| 374 |
'orb' => N__('ragtime band'), |
| 375 |
'osb' => N__('steel band'), |
| 376 |
'ost' => N__('string orchestra'), |
| 377 |
'oun' => N__('orchestra - unspecified'), |
| 378 |
'owi' => N__('wind orchestra'), |
| 379 |
'ozz' => N__('orchestra - other'), |
| 380 |
}; |
| 381 |
} |
| 382 |
|
| 383 |
sub conductors { |
| 384 |
return { |
| 385 |
'qce' => N__('live electronic conductor'), |
| 386 |
'qch' => N__('choir conductor, chorus master'), |
| 387 |
'qco' => N__('conductor'), |
| 388 |
'qlc' => N__('light conductor'), |
| 389 |
'qzz' => N__('conductor - other'), |
| 390 |
}; |
| 391 |
} |
| 392 |
|
| 393 |
sub other_performers { |
| 394 |
return { |
| 395 |
'zab' => N__('acrobat'), |
| 396 |
'zac' => N__('child actor'), |
| 397 |
'zas' => N__('silent actor'), |
| 398 |
'zat' => N__('actor'), |
| 399 |
'zaw' => N__('actress'), |
| 400 |
'zda' => N__('dancer'), |
| 401 |
'zel' => N__('light engineer'), |
| 402 |
'zes' => N__('sound engineer'), |
| 403 |
'zju' => N__('juggler'), |
| 404 |
'zmi' => N__('mime'), |
| 405 |
'zwp' => N__('walk-on part'), |
| 406 |
'zzz' => N__('performer - other'), |
| 407 |
}; |
| 408 |
} |
| 409 |
|
| 410 |
sub tessitura { |
| 411 |
return { |
| 412 |
'a' => N__p('tessitura', 'sopranino'), |
| 413 |
'b' => N__p('tessitura', 'soprano'), |
| 414 |
'c' => N__p('tessitura', 'alto'), |
| 415 |
'd' => N__p('tessitura', 'tenor'), |
| 416 |
'e' => N__p('tessitura', 'baritone'), |
| 417 |
'f' => N__p('tessitura', 'bass'), |
| 418 |
'g' => N__p('tessitura', 'contrabass'), |
| 419 |
'h' => N__p('tessitura', 'sub-contrabass'), |
| 420 |
'i' => N__p('tessitura', 'sopracute'), |
| 421 |
'j' => N__p('tessitura', 'high'), |
| 422 |
'k' => N__p('tessitura', 'medium'), |
| 423 |
'l' => N__p('tessitura', 'low'), |
| 424 |
'm' => N__p('tessitura', 'prepared'), |
| 425 |
}; |
| 426 |
} |
| 427 |
|
| 428 |
sub number_of_hands_or_keys { |
| 429 |
return { |
| 430 |
'1' => N__p('music', 'one hand'), |
| 431 |
'2' => N__p('music', 'two players on one instrument'), |
| 432 |
'3' => N__p('music', 'three hands'), |
| 433 |
'4' => N__p('music', 'four hands'), |
| 434 |
'6' => N__p('music', 'six hands'), |
| 435 |
'8' => N__p('music', 'eight hands'), |
| 436 |
'a' => N__p('music', 'A'), |
| 437 |
'b' => N__p('music', 'B flat'), |
| 438 |
'c' => N__p('music', 'C'), |
| 439 |
'd' => N__p('music', 'D'), |
| 440 |
'e' => N__p('music', 'E'), |
| 441 |
'f' => N__p('music', 'F'), |
| 442 |
'g' => N__p('music', 'G'), |
| 443 |
'h' => N__p('music', 'B'), |
| 444 |
'i' => N__p('music', 'E flat'), |
| 445 |
'j' => N__p('music', 'A flat'), |
| 446 |
'k' => N__p('music', 'D flat'), |
| 447 |
'l' => N__p('music', 'F sharp'), |
| 448 |
'n' => N__p('music', 'Instrument played in non standard way'), |
| 449 |
's' => N__p('music', 'non standard string number'), |
| 450 |
}; |
| 451 |
} |
| 452 |
|
| 453 |
sub other { |
| 454 |
return { |
| 455 |
'r' => N__('electric'), |
| 456 |
's' => N__('electronic'), |
| 457 |
't' => N__('midi'), |
| 458 |
'v' => N__('amplified'), |
| 459 |
'w' => N__('recorded'), |
| 460 |
'q' => N__('antiquity'), |
| 461 |
'y' => N__('ethnic, traditional'), |
| 462 |
}; |
| 463 |
} |
| 464 |
|
| 465 |
sub other2 { |
| 466 |
return { |
| 467 |
'b' => N__('ad libitum'), |
| 468 |
'c' => N__('may take place of the preceding code / alternative'), |
| 469 |
'd' => N__('used by the same player as the preceding code'), |
| 470 |
}; |
| 471 |
} |
| 472 |
|
| 473 |
1; |