@dsebastien/music-notation 0.22.0 → 0.23.0

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.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/blocks/renderers.d.ts +8 -1
  3. package/dist/chord/generate.d.ts +2 -0
  4. package/dist/chord/words.d.ts +4 -0
  5. package/dist/export/image.d.ts +2 -0
  6. package/dist/fretboard/exercise.d.ts +0 -16
  7. package/dist/fretboard/positions.d.ts +0 -17
  8. package/dist/i18n/en/diagrams.d.ts +139 -0
  9. package/dist/i18n/en/index.d.ts +532 -0
  10. package/dist/i18n/en/parse.d.ts +249 -0
  11. package/dist/i18n/en/play.d.ts +82 -0
  12. package/dist/i18n/en/timed.d.ts +75 -0
  13. package/dist/i18n/fr/diagrams.d.ts +139 -0
  14. package/dist/i18n/fr/index.d.ts +7 -0
  15. package/dist/i18n/fr/parse.d.ts +249 -0
  16. package/dist/i18n/fr/play.d.ts +82 -0
  17. package/dist/i18n/fr/timed.d.ts +72 -0
  18. package/dist/i18n/index.d.ts +3 -0
  19. package/dist/i18n/language.d.ts +543 -0
  20. package/dist/i18n/messages.d.ts +11 -0
  21. package/dist/i18n/page.d.ts +7 -0
  22. package/dist/i18n/translate.d.ts +21 -0
  23. package/dist/index.d.ts +3 -0
  24. package/dist/index.js +2111 -525
  25. package/dist/index.js.map +66 -52
  26. package/dist/keyboard/scale-fingering.d.ts +1 -1
  27. package/dist/music-notation.css +25 -0
  28. package/dist/music-notation.publish.min.js +62 -37
  29. package/dist/music-notation.tab.min.js +32 -7
  30. package/dist/picking/pattern.d.ts +0 -7
  31. package/dist/playback/bar-parts.d.ts +4 -0
  32. package/dist/playback/controls.d.ts +23 -2
  33. package/dist/playback/copy-image.d.ts +6 -5
  34. package/dist/playback/engine.d.ts +34 -0
  35. package/dist/publish/auto.d.ts +2 -0
  36. package/dist/publish/index.js +2080 -527
  37. package/dist/publish/index.js.map +66 -52
  38. package/dist/tab/auto.d.ts +2 -0
  39. package/dist/tab/follow-scroll.d.ts +65 -0
  40. package/dist/tab/index.d.ts +54 -2
  41. package/dist/tab/index.js +1586 -76
  42. package/dist/tab/index.js.map +24 -9
  43. package/dist/tab/note-names.d.ts +50 -0
  44. package/dist/voicings/index.js +1323 -79
  45. package/dist/voicings/index.js.map +23 -10
  46. package/package.json +1 -1
@@ -174,6 +174,1147 @@ function scaleSpelling(scale) {
174
174
  }
175
175
  var scaleTypes = () => Scale.names();
176
176
 
177
+ // src/i18n/en/diagrams.ts
178
+ var enDiagrams = {
179
+ "render.layout.orientation": 'Unknown orientation "{text}": use vertical or horizontal',
180
+ "render.layout.hand": 'Unknown hand "{text}": use left or right',
181
+ "render.rootMark.invalid": 'root-mark: write color or shape, got "{text}"',
182
+ "render.rootListsOnly": "root only applies to lists of notes on fretboards and keyboards (notes: C E G with root: C): a chord has its own root",
183
+ "render.unknownChord": `Didn't recognize "{written}": try {suggestions}`,
184
+ "render.tuning": 'Unknown tuning "{text}"',
185
+ "render.yesNo": '{key} must be yes or no, got "{text}"',
186
+ "render.hand.left": "left hand",
187
+ "render.hand.right": "right hand",
188
+ "render.positions.exerciseOne": "exercise plays one position: write position: 1 (not positions:)",
189
+ "render.positions.needsSet": "positions needs a scale or a chord: e.g. A minor pentatonic or arpeggio: Am7",
190
+ "render.positions.arpeggioCaged": "Arpeggios use CAGED shapes, not 3nps: leave shape out",
191
+ "render.positions.range": "positions: use all, or numbers from 1 to {count} for {title}",
192
+ "render.positions.fromMinor": " (from {root}m)",
193
+ "render.positions.arpeggioTitle": "{title} arpeggio",
194
+ "render.positions.shapeTitle": "{name}, {shape} shape",
195
+ "render.positions.npsTitle": "{name}, 3nps {n}{from}",
196
+ "render.positions.boxTitle": "{name}, box {n}{from}",
197
+ "render.fingering.handTitle": "{title}, {hand}",
198
+ "render.voicings.notBoth": "Use triads or voicings, not both",
199
+ "render.voicings.fretted": "voicings are for guitar and other fretted instruments",
200
+ "render.voicings.noFrets": 'voicings finds the frets itself: remove "{value}"',
201
+ "render.voicings.needsChord": "voicings needs a chord: e.g. A Major",
202
+ "render.voicings.instrument": 'Unknown instrument "{instrument}": use guitar, or give a tuning',
203
+ "render.voicings.maxStrings": "voicings works on up to {max} strings",
204
+ "render.voicings.count": "voicings: use all, or a number from 1 to {max}",
205
+ "render.voicings.area": 'area: use open, or frets like 5-9 (up to 24), got "{area}"',
206
+ "render.voicings.rootString": "root-string: use a string number from 1 (the highest) to {count}",
207
+ "render.voicings.inversion": 'inversion: use 0 (root), 1, 2, 3 or any, got "{inversion}"',
208
+ "render.voicings.manyStringsAny": "On {count} strings, inversion: any needs six strings or fewer: add e.g. strings: 1-6",
209
+ "render.voicings.wideArea": "a wide area",
210
+ "render.voicings.oneWidening": "On {count} strings, use one of {list} at a time",
211
+ "render.noVoicing.gaps": "strings {strings} aren't next to each other: add gaps: yes",
212
+ "render.noVoicing.rootString": "root-string {string} isn't among strings {strings}",
213
+ "render.noVoicing.inversion": "{symbol} has {notes} notes: inversion goes up to {max}",
214
+ "render.noVoicing.bass": "No voicing of {chord} has its bass on string {string}: try another root-string",
215
+ "render.noVoicing.none": "No playable voicing of {chord} fits: widen the area, allow open strings or add stretch: yes",
216
+ "render.triads.noFrets": 'triads finds the frets itself: remove "{value}"',
217
+ "render.triads.fretted": "triads are for guitar and other fretted instruments: give a tuning",
218
+ "render.triads.strings": "triads: give three strings next to each other, e.g. 1-3 or 2-4",
219
+ "render.triads.inversion": 'inversion: use 0 (root position), 1, 2 or any, got "{inversion}"',
220
+ "render.triads.keyInversion": "With a key, pick one inversion: 0, 1 or 2",
221
+ "render.triads.key": 'Unknown key "{text}": use e.g. key: G major or key: E minor',
222
+ "render.triads.needsChord": "triads needs a chord (e.g. G) or a key (key: G major)",
223
+ "render.triads.notTriad": "{symbol} isn't a triad (three notes): try voicings: all",
224
+ "render.triads.none": "No triad fits on these strings: try another string set",
225
+ "render.transitions.needsFrom": "Add the chord you hold: from: C (with its frets: from: C x32010)",
226
+ "render.transitions.fretted": "Transitions are for guitar and other fretted instruments: give a tuning",
227
+ "render.transitions.notBoth": "Use from and to, or progression, not both",
228
+ "render.transitions.refused": `"{key}" can't be used with {with}`,
229
+ "render.transitions.maxStrings": "Transitions work on up to {max} strings",
230
+ "render.transitions.twoChords": "progression: give two chords or more, e.g. G D Em C",
231
+ "render.transitions.maxChords": "progression: at most {max} chords",
232
+ "render.transitions.noVoicings": "No playable voicings for this progression",
233
+ "render.transitions.needsTo": "Add the next chord: to: D",
234
+ "render.transitions.noHeld": "No playable voicing of {chord}: add its frets",
235
+ "render.transitions.stringCount": '"{frets}" has {have} strings, the tuning {count}',
236
+ "render.transitions.count": "count: use a number from 1 to {max}",
237
+ "render.transitions.noTarget": "No playable voicing of {chord}",
238
+ "render.modes.none": '"{value}" has no modes: use e.g. modes: C major',
239
+ "render.modes.refused": `"{key}" can't be used with modes: only {allowed}`,
240
+ "render.row.notShared": `"{key}" can't be shared: move it to a diagram. Shared settings: {allowed}`,
241
+ "render.row.columns": 'columns must be a whole number from 1 to 12, got "{text}"',
242
+ "render.row.needsDiagram": 'Add a diagram after the shared settings: a "---" line, then the diagram',
243
+ "render.row.max": "At most {max} diagrams per block, found {found}",
244
+ "render.row.columnsShared": '"columns" goes in the shared settings, before the first "---"',
245
+ "render.row.ownRow": '"{key}" draws its own row: use it in a block of its own',
246
+ "render.row.exercise": "exercise draws a tab under one diagram: use it in a block of its own",
247
+ "render.row.diagram": "diagram {n}: {message}",
248
+ "render.row.sharedHint": ' (shared settings before the first "---" may only hold: {allowed})',
249
+ "fretboard.capo": "Capo {fret}",
250
+ "fretboard.title": "Fretboard: {title}",
251
+ "fretboard.note.open": "{note} open",
252
+ "fretboard.note.fret": "{note} at fret {fret}",
253
+ "fretboard.note.root": " (root)",
254
+ "fretboard.string": "String {n} ({name}): {notes}.",
255
+ "fretboard.pick.open": "String {string}, open",
256
+ "fretboard.pick.fret": "String {string}, fret {fret}",
257
+ "fretboard.exercise.direction": 'exercise: use up, down or up-down, got "{text}"',
258
+ "fretboard.exercise.rhythm": 'rhythm: use 8ths, triplets or 16ths, got "{text}"',
259
+ "fretboard.exercise.scale": 'Unknown scale "{text}"',
260
+ "fretboard.exercise.chord": 'Unknown chord "{text}"',
261
+ "fretboard.exercise.needsSet": "An exercise needs a scale or an arpeggio: e.g. scale: A minor or arpeggio: Am7",
262
+ "fretboard.exercise.arpeggioCaged": "Arpeggios use CAGED shapes: position 1 to 5, or shape: E, D, C, A or G (not 3nps)",
263
+ "fretboard.exercise.positions": "{title} has {count} {system} positions: use position 1 to {count}",
264
+ "fretboard.exercise.tuning": 'Unknown tuning "{text}"',
265
+ "fretboard.exercise.capo": "capo: use a fret from 1 to 12 (0 for none), got {text}",
266
+ "fretboard.positions.numbering": 'numbering: use minor (positions from the relative minor), got "{text}"',
267
+ "fretboard.positions.numberingPentatonic": "numbering: minor is for major pentatonic positions (e.g. A major pentatonic), not {title}",
268
+ "fretboard.positions.numberingCaged": "numbering: minor numbers boxes and 3nps positions, not CAGED shapes",
269
+ "fretboard.positions.position": 'position must be a whole number from 1, got "{text}"',
270
+ "fretboard.positions.shape": 'Unknown shape "{text}": use C, A, G, E, D or 3nps',
271
+ "keyboard.fingering.finger": 'fingering: fingers go from 1 (thumb) to 5 (little finger), got "{text}"',
272
+ "keyboard.fingering.autoNeedsScale": "fingering: auto goes with a major or minor scale (scale: G major): write one finger per note, e.g. fingering: 1 2 3 4 5",
273
+ "keyboard.fingering.autoUnknown": "fingering: auto knows the major, natural minor, harmonic minor and melodic minor scales: write the fingers for {scale}, root to root, e.g. fingering: 1 2 3 1 2 3 4 5",
274
+ "keyboard.piano.shell": "Shell voicings need a third and a seventh or sixth (C7, Cmaj7, Cm7, C6): {symbol} has none",
275
+ "keyboard.piano.rootless": "Rootless voicings are for major, minor, dominant (sus4 too) and half-diminished seventh or sixth chords and major or minor triads (Cmaj7, Cm7, C7, C7sus4, Cm7b5, C6, C, Cm): not {symbol}",
276
+ "keyboard.piano.octave": 'octave: use a number from 0 to 8, got "{text}"',
277
+ "keyboard.piano.inversion": 'inversion: use 0 (root position), 1, 2 or 3, got "{text}"',
278
+ "keyboard.piano.slashInversion": "{symbol} already says its bass: leave inversion out",
279
+ "keyboard.piano.inversionStyle": "inversion goes with close or open voicings, not {style}",
280
+ "keyboard.piano.inversionMax": "{symbol} has {notes} notes: inversion goes up to {max}",
281
+ "keyboard.piano.open": "Open voicings need three notes or more: {symbol} has {notes}",
282
+ "keyboard.piano.offKeys": "octave {octave} puts {symbol} off the piano's keys: try octave 3 or 4",
283
+ "keyboard.piano.inversionWord": 'inversion: use root, first, second, third (or 0 to 3), got "{text}"',
284
+ "keyboard.piano.octaveMiddle": `octave: use a number from 0 to 8 (4 is middle C's), got "{text}"`,
285
+ "keyboard.piano.voicing": 'voicing: use close, open, shell, shell R-7, rootless A or rootless B, got "{text}"',
286
+ "keyboard.piano.key": 'Unknown key "{text}": use e.g. key: C minor or key: Eb',
287
+ "keyboard.piano.resolvesTo": 'resolves-to: write a chord, e.g. resolves-to: Cm, got "{text}"',
288
+ "keyboard.piano.hands": 'hands: use left+right, left or right, got "{text}"',
289
+ "keyboard.title": "Keyboard: {title}",
290
+ "keyboard.hand": "{hand}: {keys}",
291
+ "keyboard.handMark.left": "LH",
292
+ "keyboard.handMark.right": "RH",
293
+ "keyboard.whiteKey": "White key {n}",
294
+ "keyboard.blackKey": "Black key {n}",
295
+ "keyboard.lit.root": "root",
296
+ "keyboard.lit.finger": "finger {finger}",
297
+ "keyboard.lit.keys": "Keys: {keys}.",
298
+ "circle.label": "Circle of fifths, {key}: {signature}{accidentals}; chords: {chords}",
299
+ "circle.or": "or",
300
+ "circle.mode.major": "major",
301
+ "circle.mode.minor": "minor",
302
+ "circle.mode.ionian": "ionian",
303
+ "circle.mode.dorian": "dorian",
304
+ "circle.mode.phrygian": "phrygian",
305
+ "circle.mode.lydian": "lydian",
306
+ "circle.mode.mixolydian": "mixolydian",
307
+ "circle.mode.aeolian": "aeolian",
308
+ "circle.mode.locrian": "locrian",
309
+ "circle.key": 'Unknown key "{text}": use e.g. key: G, key: Em or key: D dorian',
310
+ "circle.mode": 'Unknown mode "{text}": use major, minor, dorian, phrygian, lydian, mixolydian or locrian',
311
+ "circle.modeTwice": "key: {key} already says {mode}: leave out mode or write the key's note alone",
312
+ "circle.chords": 'chords: use triads or sevenths, got "{text}"',
313
+ "circle.dominant": 'dominant: use major (V, from the harmonic minor) or minor (v), got "{text}"',
314
+ "keyboard.piano.unknownChord": 'Unknown chord "{symbol}"'
315
+ };
316
+
317
+ // src/i18n/en/parse.ts
318
+ var enParse = {
319
+ "blocks.source.expected": 'Expected "key: value", got "{line}"',
320
+ "blocks.source.strings": "strings: use string numbers from 1 (the highest) to {count}, e.g. 1-4",
321
+ "blocks.caption.fingeringChordOnly": "caption: fingering is for chord blocks: use formula or none here",
322
+ "blocks.caption.useAll": 'caption: use fingering (the fingering in words), formula (notes and intervals), fingering, formula (both) or none, got "{written}"',
323
+ "blocks.caption.useFormula": 'caption: use formula (notes and intervals) or none, got "{written}"',
324
+ "blocks.noteSet.chordOrArpeggio": "Use chord or arpeggio, not both",
325
+ "blocks.noteSet.invalidRoot": 'Invalid root "{root}": use a note name, e.g. root: C',
326
+ "blocks.noteSet.notAList": '"{head}" is not a list of notes: use e.g. notes: C Eb G',
327
+ "blocks.noteSet.addNotesForRoot": "Add the notes for the root: e.g. notes: C Eb G",
328
+ "blocks.noteSet.addRoot": "Add a root note: C {scale}",
329
+ "blocks.noteSet.addSource": 'Add "scale:", "chord:" or "notes:"',
330
+ "blocks.noteSet.rootListsOnlyScale": "root only applies to lists of notes (notes: C E G): a scale has its own root",
331
+ "blocks.noteSet.rootListsOnlyChord": "root only applies to lists of notes (notes: C E G): a chord has its own root",
332
+ "blocks.noteSet.unknownLabelsFingers": 'Unknown labels "{value}": use notes, degrees, intervals, fingers or none',
333
+ "blocks.noteSet.unknownLabels": 'Unknown labels "{value}": use notes, degrees, intervals or none',
334
+ "blocks.noteSet.invalidNotes": 'Invalid notes "{notes}"',
335
+ "blocks.noteSet.unknownScale": 'Unknown scale "{scale}"',
336
+ "blocks.noteSet.unknownChord": 'Unknown chord "{chord}"',
337
+ "blocks.noteSet.notAScaleChordOrList": '"{head}" is not a scale, chord or list of notes',
338
+ "blocks.noteSet.highlightNeedsIntervals": "highlight needs a scale, a chord or a root: a list of notes has no intervals (add e.g. root: C)",
339
+ "blocks.noteSet.notInSet": `"{label}" isn't in {title}: use its intervals (R, b3, 5…)`,
340
+ "theory.key.needsSharps": "{name} needs {count} sharps: write {write}",
341
+ "theory.key.needsFlats": "{name} needs {count} flats: write {write}",
342
+ "theory.key.noSignature": "no ♯ or ♭",
343
+ "theory.harmonize.unknownScale": 'Unknown scale "{text}": use e.g. key: G major, key: A harmonic minor or key: D dorian',
344
+ "theory.harmonize.sevenNotes": "harmonize needs a scale of 7 notes: {name} has {count}",
345
+ "theory.harmonize.noNamedChord": "not a named chord",
346
+ "theory.harmonize.noFifth": "no perfect fifth",
347
+ "theory.harmonize.noFourthOrSecond": "no perfect fourth or major second",
348
+ "blocks.progression.yesNo": '{key} must be yes or no, got "{text}"',
349
+ "blocks.progression.majorMinorKeys": 'Progression keys are major or minor: write key: {tonic} major or key: {tonic} minor, got "{text}"',
350
+ "blocks.progression.unknownKey": 'Unknown key "{text}": use e.g. key: G, key: Em or key: F# minor',
351
+ "blocks.progression.unread": `Didn't read "{token}": write roman numerals (I V vi IV, bVII, V7, V/V, I6, V65), Nashville numbers (1 5 6m 4) or chords (G D Em C)`,
352
+ "blocks.progression.harmonizeKind": 'harmonize: write triads, sevenths, sus or power, got "{kind}"',
353
+ "blocks.progression.harmonizeNothing": "harmonize: write triads, sevenths, sus or power, got nothing",
354
+ "blocks.progression.harmonizeNoChords": "harmonize draws the chords of the scale: leave out the chords ({written})",
355
+ "blocks.progression.addScale": "Add the scale: e.g. key: A harmonic minor",
356
+ "blocks.progression.transposeWhole": "transpose must be a whole number of semitones, e.g. transpose: -2",
357
+ "blocks.progression.addChords": "Add the chords: e.g. I V vi IV with key: G, 1 5 6m 4, or G D Em C",
358
+ "blocks.progression.addKey": "Add the key: e.g. key: G or key: E minor",
359
+ "blocks.progression.unknownTuning": 'Unknown tuning "{text}"',
360
+ "blocks.progression.tempo": 'tempo: write beats a minute from {min} to {max}, got "{text}"',
361
+ "blocks.progression.strum": "strum: write beats, bar, arpeggio or a strumming pattern (D DU UDU): {reason}",
362
+ "blocks.progression.key": "Key: {name}",
363
+ "blocks.progression.blues": "(blues)",
364
+ "blocks.progression.orKeys": "(or {list})",
365
+ "blocks.progression.leftOut": "Left out: {list}",
366
+ "blocks.progression.leftOutDegree": "degree {degree} ({note}), {reason}",
367
+ "blocks.progression.unknownInstrument": 'Unknown instrument "{instrument}": use guitar or piano',
368
+ "blocks.progression.numerals": 'numerals: use roman, nashville or none, got "{style}"',
369
+ "blocks.progression.voiceLeadingPiano": "voice-leading is for piano: add instrument: piano",
370
+ "blocks.progression.pianoOnly": "{key} is for piano chords: add instrument: piano",
371
+ "blocks.progression.voiceLeadingHands": "voice-leading goes with hands: left+right (a left-hand bass under each chord), not left or right alone",
372
+ "blocks.progression.voiceLeadingOrKey": "Use voice-leading or {key}, not both",
373
+ "blocks.progression.addChordsAfterShared": 'Add the chords after the shared settings, after a "---" line',
374
+ "blocks.progression.maxChords": "At most {max} chords per block, found {count}",
375
+ "theory.chord.suggest": "{root}, {root}m, {root}7 or {spelled} {quality}",
376
+ "blocks.render.maxStrings": "At most {max} strings",
377
+ "blocks.render.invalidRange": 'Invalid range "{text}": use e.g. C3-B4',
378
+ "blocks.render.maxKeys": "At most {max} keys: give a smaller range, e.g. range: C3-B5",
379
+ "blocks.render.wholeFrom1": '{what} must be a whole number from 1, got "{text}"',
380
+ "blocks.render.unrecognized": `Didn't recognize "{written}": try {suggestions}`,
381
+ "blocks.render.rootForListsOnly": "root only applies to lists of notes on fretboards and keyboards (notes: C E G with root: C): a chord has its own root",
382
+ "blocks.chord.capoNotPiano": "capo is for guitar and other fretted instruments, not piano",
383
+ "blocks.chord.pitchesGivenKeys": "{given} goes with a chord symbol: pitches are already the keys to play",
384
+ "blocks.chord.autoNeedsSymbol": "fingering: auto goes with a chord symbol: write the fingers, e.g. 1 3 5",
385
+ "blocks.chord.invalidPitches": 'Invalid pitches "{text}"',
386
+ "blocks.chord.autoCovers": "fingering: auto covers triads and four-note chords (sevenths, sixths) in close position, and rootless and shell voicings one hand can reach: write the fingers, e.g. fingering: 1 2 3 4 5",
387
+ "blocks.chord.addSymbolOrPitches": 'Add a chord symbol or "pitches:"',
388
+ "blocks.chord.unknownInstrument": 'Unknown instrument "{instrument}": use guitar or piano, or give a tuning',
389
+ "blocks.chord.invalidFrets": 'Invalid frets "{text}": use e.g. x02220',
390
+ "blocks.chord.nutAtCapo": "With frets-from: nut, every sounding fret is at the capo ({capo}) or above: write x for strings behind it",
391
+ "blocks.chord.capoMaxFret": "With capo {capo}, frets go up to {max}",
392
+ "blocks.chord.fingersCount": '"{text}" has {fingers} fingers for {strings} strings',
393
+ "blocks.chord.noVoicing": 'No voicing {n} found for "{symbol}": add "frets:"',
394
+ "blocks.chord.addFretsFor": 'Add "frets:" for {symbol} (e.g. frets: x02220)',
395
+ "blocks.chord.addSymbolAndFrets": 'Add a chord symbol and "frets:"',
396
+ "blocks.chord.positionAboveLowest": "position {base} is above the lowest fretted note (fret {fret})",
397
+ "blocks.chord.tuningStrings": "The tuning has {tuning} strings, the frets {frets}",
398
+ "blocks.chord.soundsTitle": "{sounding} ({shape} shape)",
399
+ "blocks.chord.captionFormulaChord": "caption: formula needs a chord the library knows: add its symbol (e.g. symbol: A)",
400
+ "blocks.chord.captionFormulaSet": "caption: formula needs a chord or a scale the library knows: add chord: or scale:",
401
+ "blocks.chord.soundsTitleNeedsChord": "sounds: title needs a chord the library knows: add its symbol (e.g. symbol: A)",
402
+ "blocks.chord.soundsNeedsCapo": "sounds goes with a capo: add e.g. capo: 2",
403
+ "blocks.chord.soundsYesNeedsChord": "sounds: yes needs a chord the library knows: add its symbol (e.g. symbol: A), or write the chord: sounds: B",
404
+ "blocks.chord.soundsMismatch": "With capo {capo}, {shape} sounds {sounding}, not {value}: write sounds: {sounding} (or sounds: yes)",
405
+ "blocks.chord.unknownLabels": 'Unknown labels "{text}": use fingers, intervals, notes or none',
406
+ "blocks.chord.labelsNeedChord": "labels: {value} needs a chord the library knows",
407
+ "blocks.keyboard.autoBothAlone": "fingering: auto both draws two keyboards: put it in a block of its own, not in a --- row",
408
+ "blocks.keyboard.fingersCount": "fingering has {fingers} fingers: {title} needs {needed}, one per note from the root up to the root above",
409
+ "blocks.keyboard.fingersForNotes": "fingering has {fingers} fingers for {notes} notes: one finger per note, in the order written",
410
+ "blocks.keyboard.keyTwice": "A key is listed twice: one finger per key",
411
+ "blocks.keyboard.pastRange": "The fingered notes go past the range: widen range: or leave it out",
412
+ "blocks.keyboard.handTitleLeft": "{title}, left hand",
413
+ "blocks.keyboard.handTitleRight": "{title}, right hand",
414
+ "blocks.fretboard.invalidFrets": 'Invalid frets "{text}": use e.g. 5-8',
415
+ "blocks.fretboard.maxFret": "Frets go up to {max}",
416
+ "blocks.fretboard.nutStartsAtCapo": "With frets-from: nut, frets start at the capo ({capo}) or above: e.g. frets: {capo}-{example}",
417
+ "blocks.fretboard.numberingNeedsPosition": "numbering goes with a position: e.g. position: 1 or positions: all",
418
+ "blocks.fretboard.positionsNeedSet": "Positions need a scale or a chord: e.g. scale: A minor or arpeggio: Am7",
419
+ "blocks.fretboard.arpeggioCaged": "Arpeggios use CAGED shapes: position 1 to 5, or shape: E, D, C, A or G (not 3nps)",
420
+ "blocks.fretboard.positionCount": "{title} has {count} {named} positions: use position 1 to {count}",
421
+ "blocks.fretboard.positionNotFit": "{title}, position {n} doesn't fit in frets {from}-{to}: widen frets: or leave it out",
422
+ "blocks.fretboard.rhythmNeedsExercise": "rhythm goes with exercise: e.g. exercise: up-down",
423
+ "blocks.fretboard.exerciseNeedsPosition": "exercise plays one position: add position: 1 (or shape: E)",
424
+ "blocks.fretboard.invalidTempo": 'Invalid tempo "{text}": use beats a minute from 20 to 240, e.g. tempo: 80',
425
+ "blocks.fretboard.arpeggioTitle": "{name} arpeggio",
426
+ "blocks.fretboard.fromMinor": " (from {minor}m)",
427
+ "blocks.fretboard.shapeTitle": "{name}, {shape} shape",
428
+ "blocks.fretboard.threeNpsTitle": "{name}, 3nps {n}{from}",
429
+ "blocks.fretboard.boxTitle": "{name}, box {n}{from}",
430
+ "blocks.scalesFor.both": "Use scales-for (chords) or scales-for-notes, not both",
431
+ "blocks.scalesFor.findsItself": '{key} finds the scale itself: remove "{what}"',
432
+ "blocks.scalesFor.addChords": "Add the chords: e.g. scales-for: G D Em C",
433
+ "blocks.scalesFor.addNotes": "Add the notes: e.g. scales-for-notes: C D E G A",
434
+ "blocks.scalesFor.unreadChords": `Didn't read the chords "{text}": use chord symbols, e.g. scales-for: G D Em C`,
435
+ "blocks.scalesFor.unreadNotes": `Didn't read the notes "{text}": use note names, e.g. scales-for-notes: C D E G A`,
436
+ "blocks.scalesFor.outside": ", {notes} outside",
437
+ "blocks.scalesFor.bluesTitle": "{tonic} blues scale for {listed} (or {pentatonic}, {mixolydian})",
438
+ "blocks.scalesFor.title": "{name} for {listed}{outside}",
439
+ "chord.capo.fret": 'capo: use a fret from 1 to {max}, got "{text}"',
440
+ "chord.capo.fretsFrom": 'frets-from: use capo (the default) or nut, got "{text}"',
441
+ "theory.naming.write": "naming: write letters, solfege or german",
442
+ "theory.naming.writeDirective": "naming: write {letters}, {solfege} or {german}",
443
+ "chord.words.ordinalFirst": "1st",
444
+ "chord.words.ordinalSt": "{n}st",
445
+ "chord.words.ordinalNd": "{n}nd",
446
+ "chord.words.ordinalRd": "{n}rd",
447
+ "chord.words.ordinalTh": "{n}th",
448
+ "chord.words.listAnd": "{head} and {last}",
449
+ "chord.words.guitarIndex": "Index",
450
+ "chord.words.guitarMiddle": "Middle",
451
+ "chord.words.guitarRing": "Ring",
452
+ "chord.words.guitarPinky": "Pinky",
453
+ "chord.words.guitarThumb": "Thumb",
454
+ "chord.words.guitarFinger": "Finger {finger}",
455
+ "chord.words.pianoThumb": "thumb",
456
+ "chord.words.pianoIndex": "index finger",
457
+ "chord.words.pianoMiddle": "middle finger",
458
+ "chord.words.pianoRing": "ring finger",
459
+ "chord.words.pianoLittle": "little finger",
460
+ "chord.words.pianoFinger": "finger {finger}",
461
+ "chord.words.lowName": "low {name}",
462
+ "chord.words.highName": "high {name}",
463
+ "chord.words.stringNamed": "the {name} string",
464
+ "chord.words.stringsNamed": "the {names} strings",
465
+ "chord.words.stringNumberedNote": "the {n} string ({note})",
466
+ "chord.words.stringNumbered": "the {n} string",
467
+ "chord.words.capoFrom": "Capo on the {fret} fret: frets count from the capo.",
468
+ "chord.words.capoNut": "Capo on the {fret} fret.",
469
+ "chord.words.allMuted": "Every string is muted: no note sounds.",
470
+ "chord.words.strumSix": "Strum all six strings.",
471
+ "chord.words.strumAll": "Strum every string.",
472
+ "chord.words.strumFrom": "Strum from {from}.",
473
+ "chord.words.strumFromTo": "Strum from {from} to {to}.",
474
+ "chord.words.press": "Press {string} at the {fret} fret.",
475
+ "chord.words.fingerOn": "{finger} on {strings}, {fret} fret.",
476
+ "chord.words.fingerBars": "{finger} bars the {fret} fret, strings {from} to {to}.",
477
+ "chord.words.fingerAlsoOn": "{finger} also on {string}, {fret} fret.",
478
+ "chord.words.muteOne": "Mute {list}: let a fretting finger touch it lightly.",
479
+ "chord.words.mutePlural": "Mute {list}: let a fretting finger touch them lightly.",
480
+ "chord.words.groupRingOpenOne": "The {list} string rings open.",
481
+ "chord.words.groupRingOpenPlural": "The {list} strings ring open.",
482
+ "chord.words.groupRingCapoOne": "The {list} string rings at the capo.",
483
+ "chord.words.groupRingCapoPlural": "The {list} strings ring at the capo.",
484
+ "chord.words.ringOpenOne": "{list} rings open.",
485
+ "chord.words.ringOpenPlural": "{list} ring open.",
486
+ "chord.words.ringCapoOne": "{list} rings at the capo.",
487
+ "chord.words.ringCapoPlural": "{list} ring at the capo.",
488
+ "chord.words.pianoFingerOn": "{finger} on {key}",
489
+ "chord.words.pianoAlsoPlay": "{fingered}, and also play {list}",
490
+ "chord.words.sentence": "{text}.",
491
+ "chord.words.play": "Play {list}.",
492
+ "chord.words.leftHand": "Left hand: {part}.",
493
+ "chord.words.rightHand": "Right hand: {part}.",
494
+ "chord.transition.fingerIndex": "index finger",
495
+ "chord.transition.fingerMiddle": "middle finger",
496
+ "chord.transition.fingerRing": "ring finger",
497
+ "chord.transition.fingerPinky": "pinky",
498
+ "chord.transition.fingerThumb": "thumb",
499
+ "chord.transition.fingerOther": "finger",
500
+ "chord.transition.keep": "Keep your {finger} on {string}'s {fret} fret.",
501
+ "chord.transition.slide": "Slide your {finger} along {string} from fret {from} to {to}.",
502
+ "chord.transition.moveUp": "Move your hand up {shift} frets.",
503
+ "chord.transition.moveDown": "Move your hand down {shift} frets.",
504
+ "chord.transition.lift": "Lift all your fingers together and place them as one shape.",
505
+ "chord.guitar.capoCaption": "Capo {capo}",
506
+ "chord.guitar.capoCaptionSounds": "Capo {capo}, sounds {sounds}",
507
+ "chord.guitar.diagram": "Chord diagram",
508
+ "chord.guitar.diagramTitled": "{title} chord diagram",
509
+ "chord.guitar.rootOnString": "The root is on string {list}.",
510
+ "chord.guitar.rootOnStrings": "The root is on strings {list}.",
511
+ "chord.triads.rootPosition": "root position",
512
+ "chord.triads.firstInversion": "1st inversion",
513
+ "chord.triads.secondInversion": "2nd inversion",
514
+ "theory.formula.chord": "{written} ({root} {words}{bass}): {notes}.",
515
+ "theory.formula.inTheBass": ", {bass} in the bass",
516
+ "theory.formula.formula": "Formula {formula}.",
517
+ "theory.formula.alsoWritten": "Also written {list}.",
518
+ "theory.formula.scale": "{title}: {notes}.",
519
+ "theory.formula.steps": "Steps {steps}.",
520
+ "chords.chart.chorus": "Chorus",
521
+ "chords.chart.bridge": "Bridge",
522
+ "chords.chart.tab": "Tab",
523
+ "chords.chart.grid": "Grid",
524
+ "chords.chart.key": "Key {key}",
525
+ "chords.chart.capo": "Capo {capo}",
526
+ "chords.chart.tempo": "{bpm} BPM",
527
+ "chords.chart.transposed": "Transposed {amount}",
528
+ "chords.chart.sounds": "{title} (sounds {sounding})",
529
+ "chords.chart.moreNotDrawn": "{count} more chords not drawn (at most {max})",
530
+ "chords.chart.missing": "No diagram for {names}: give the shape with {how}",
531
+ "chords.chart.howPiano": "{syntax} (semitones above the root, e.g. keys 0 4 7)",
532
+ "chords.chart.howGuitar": "{syntax} (one fret per string, x for a muted one)",
533
+ "chords.define.needsName": "{syntax} needs a chord name: e.g. {example}",
534
+ "chords.define.baseFret": "{at}: base-fret takes one whole number from 1 to 24, e.g. base-fret 3",
535
+ "chords.define.frets": "{at}: frets takes one value per string (2 to {max}): a fret from 0 to 24, or x for a muted string, e.g. frets x 0 2 2 1 0",
536
+ "chords.define.keys": "{at}: keys takes semitones above the root, from 0 to {max}, e.g. keys 0 4 7",
537
+ "chords.define.copy": "{at}: {word} takes the name of one chord, e.g. {word} Am",
538
+ "chords.define.unknown": '{at}: unknown "{word}": use base-fret, frets, fingers, keys, copy, display or diagram',
539
+ "chords.define.fingersCount": "{at}: fingers has {fingers} values for {strings} strings: give one per string (0 for none)",
540
+ "chords.define.reaches": "{at}: the shape reaches fret {top}: frets go up to {max}",
541
+ "chords.directive.diagrams": "{at}: use on, off, top or bottom",
542
+ "chord.shape.open": "Open",
543
+ "chord.shape.caged": "{letter} shape",
544
+ "chord.shape.cagedStrings": "{letter} shape (strings {strings})",
545
+ "chord.shape.power": "Power chord",
546
+ "chord.shape.triad": "Triad",
547
+ "chord.shape.shell": "Shell",
548
+ "chord.shape.drop": "Drop {n} (strings {strings})",
549
+ "chord.shape.hendrix": "Hendrix chord",
550
+ "chord.shape.openBass": "Open bass",
551
+ "chord.shape.openStrings": "Open strings",
552
+ "chord.shape.strings": "Strings {strings}",
553
+ "blocks.function.tonic": "tonic",
554
+ "blocks.function.subdominant": "subdominant",
555
+ "blocks.function.dominant": "dominant",
556
+ "blocks.function.secondaryDominant": "secondary dominant",
557
+ "blocks.function.neapolitan": "neapolitan",
558
+ "blocks.function.borrowed": "borrowed",
559
+ "blocks.function.chromatic": "chromatic",
560
+ "blocks.function.tonicization": "tonicization",
561
+ "blocks.function.passing": "passing",
562
+ "theory.marks.characteristic": ", characteristic notes: {notes}",
563
+ "theory.marks.different": ", different from the compared scale: {notes}",
564
+ "theory.marks.chordTones": ", chord tones: {notes}"
565
+ };
566
+
567
+ // src/i18n/en/play.ts
568
+ var enPlay = {
569
+ "playback.bar": "Playback",
570
+ "playback.diagram": "Diagram",
571
+ "playback.place": "({n} of {total})",
572
+ "playback.playItem": "Play {name}",
573
+ "playback.playAll": "Play all in turn",
574
+ "playback.play": "Play",
575
+ "playback.stop": "Stop",
576
+ "playback.loop": "Loop",
577
+ "playback.countIn": "Count-in",
578
+ "playback.click": "Click",
579
+ "playback.sound": "Sound",
580
+ "playback.guitar": "Guitar",
581
+ "playback.piano": "Piano",
582
+ "playback.tempo": "Tempo (BPM)",
583
+ "playback.unit.bpm": "BPM",
584
+ "playback.unit.ms": "ms",
585
+ "playback.strum": "Strum (ms between strings)",
586
+ "playback.dotted": "counts dotted quarters",
587
+ "playback.strumPattern.bar": "Play the strumming pattern",
588
+ "playback.picking.bar": "Play the picking pattern",
589
+ "playback.progression.bar": "Play the chords in time",
590
+ "playback.progression.play": "Play in time",
591
+ "playback.strumChoice": "Strum",
592
+ "playback.strum.beats": "On the beats",
593
+ "playback.strum.bar": "Once a bar",
594
+ "playback.strum.arpeggio": "Arpeggio",
595
+ "playback.strum.pattern": "Pattern",
596
+ "playback.copy.button": "Copy as image",
597
+ "playback.copy.hint": "Shift+click copies the whole block",
598
+ "playback.copy.bar": "Image",
599
+ "playback.copy.copied": "Copied",
600
+ "playback.copy.refused": "Allow clipboard access for this page, then try again.",
601
+ "playback.copy.unsupported": "This browser can't copy images: use a recent Chrome, Edge, Safari or Firefox.",
602
+ "playback.copy.failed": "The image couldn't be made.",
603
+ "playback.full.enter": "Full screen",
604
+ "playback.full.exit": "Exit full screen",
605
+ "playback.redraw.sounds": "{heading} (sounds {chord})",
606
+ "playback.redraw.guitar": "{name}, drawn for guitar",
607
+ "playback.redraw.piano": "{name}, drawn for piano",
608
+ "playback.engine.invalid": 'engine: use generaluser, sonivox or light, got "{value}"',
609
+ "tab.source.staves": 'staves: use tab, score or both, got "{value}"',
610
+ "tab.source.layout": 'layout: use page or line, got "{value}"',
611
+ "tab.source.names": 'names: use on or off, got "{value}"',
612
+ "tab.source.tracks": 'tracks: use track numbers from 1, got "{value}"',
613
+ "tab.source.empty": "Write the music in alphaTex, or give a file: {example}",
614
+ "tab.sound.loadFailed": "Couldn't load the soundfont ({url})",
615
+ "tab.error.at": "line {line}, column {column}: ",
616
+ "tab.error.textTab": "Couldn't draw this text tab: {message}",
617
+ "tab.error.fileRead": `Couldn't read "{file}": {message}`,
618
+ "tab.error.fileMissing": `Couldn't find the file "{file}"`,
619
+ "tab.error.fileUnknown": `Couldn't read "{file}": not a score file alphaTab knows`,
620
+ "tab.player.cantPlay": "Can't play: {message}",
621
+ "tab.player.metronome": "Metronome",
622
+ "tab.player.pause": "Pause",
623
+ "tab.names": "Note names",
624
+ "tab.follow": "Follow the music",
625
+ "tab.followPaused": "Follow the music (paused while you scroll: Play or click to follow again)",
626
+ "tab.view.group": "View",
627
+ "tab.view.tab": "Tab",
628
+ "tab.view.score": "Score",
629
+ "tab.view.both": "Both",
630
+ "tab.view.whatTab": "tablature",
631
+ "tab.view.whatScore": "standard notation",
632
+ "tab.view.whatBoth": "standard notation and tablature",
633
+ "tab.view.drawAs": "Draw as {what}",
634
+ "tab.view.drawAsWritten": "Draw as {what} (this block's staves: line)",
635
+ "tab.view.drawAsDefault": "Draw as {what} (the default: the block has no staves: line)",
636
+ "tab.view.keep": "Keep this view",
637
+ "tab.view.keepTitle": "Write staves: {staves} at the top of the block",
638
+ "tab.tempo.group": "Tempo",
639
+ "tab.tempo.slower": "Slower",
640
+ "tab.tempo.faster": "Faster",
641
+ "tab.tempo.toPercent": "Show the speed in percent",
642
+ "tab.tempo.toBpm": "Show the speed in BPM",
643
+ "tab.tempo.reset": "Back to 100 %",
644
+ "tab.tempo.inBpm": "Tempo in BPM",
645
+ "tab.tempo.inPercent": "Speed in percent",
646
+ "tab.tempo.title": "Tempo: {bpm} BPM, {percent} % of {tempo} BPM",
647
+ "tab.tempo.speedTitle": "Speed: {percent} %"
648
+ };
649
+
650
+ // src/i18n/en/timed.ts
651
+ var enTimed = {
652
+ "strum.time.invalid": 'Invalid time "{text}": use e.g. time: 4/4, 3/4 or 6/8',
653
+ "strum.swing.invalid": 'Invalid swing "{text}": write swing: yes (a triplet swing, a shuffle), no, or a percentage from 50 (straight) to 75, e.g. swing: 60%',
654
+ "strum.subdivision.invalid": 'Invalid subdivision "{text}": use 8ths, 16ths or triplets',
655
+ "strum.triplets.quarterBeat68": "Triplets need a quarter-note beat (time: 4/4, 3/4…); for a 6/8 feel use time: 6/8 with 8ths",
656
+ "strum.triplets.quarterBeat": "Triplets need a quarter-note beat (time: 4/4, 3/4…); for this time use 8ths or 16ths",
657
+ "strum.subdivision.tooLong": "8ths are longer than a beat of x/{unit}: use subdivision: 16ths",
658
+ "strum.chord.notRecognizedTry": `Didn't recognize the chord "{chord}": try {suggestions}`,
659
+ "strum.chord.empty": 'Empty chord "[]": write the chord inside, e.g. [G]',
660
+ "strum.chord.notRecognized": `Didn't recognize the chord "{chord}"`,
661
+ "strum.line.bracketMissing": 'Missing "]" after "{text}": write e.g. [G]',
662
+ "strum.line.barInGhost": "A bar line inside ( ): close the ghost strums first",
663
+ "strum.line.accentAndGhost": "A strum is either accented (D>) or a ghost strum ((D)), not both",
664
+ "strum.line.ghostNested": "Ghost strums can't be nested: write (U), not ((U))",
665
+ "strum.line.parenUnopened": '")" without "(": write a ghost strum as (U)',
666
+ "strum.help": "write D or ↓ (down), U or ↑ (up), X (muted), - (no strum), > after a strum for an accent, (U) for a ghost strum, [G] for a chord change",
667
+ "strum.line.notUnderstood": `Didn't understand "{char}" in "{line}": {help}`,
668
+ "strum.line.accentNeedsStrum": "An accent needs a strum: write D> or U>",
669
+ "strum.line.ghostNoRests": "Write ghost strums as (D) or (U), without rests inside",
670
+ "strum.line.parenUnclosed": 'Missing ")" in "{line}": write a ghost strum as (U)',
671
+ "strum.line.chordEndsPattern": "The chord [{chord}] ends the pattern: put it before a strum or a -",
672
+ "strum.pattern.chordLineAlone": "A chord line needs a pattern line under it, e.g. D - D U - U D U",
673
+ "strum.pattern.missing": "Write a strumming pattern, e.g. D - D U - U D U (or D DU UDU)",
674
+ "strum.key.unknown": 'Unknown key "{key}": use time, subdivision, swing, chord, tempo, tuning, title or pattern',
675
+ "strum.swing.withTriplets": "Triplets and swing are two ways to write a shuffle: keep subdivision: triplets (D - U on each beat), or write 8ths with swing: yes",
676
+ "strum.swing.compound": "{time} already has three {unit} a beat: remove swing: (it swings 8ths or 16ths in 4/4, 3/4, 2/4…)",
677
+ "strum.swing.oneSlot": "Swing plays pairs of slots inside a beat, and a beat of {time} in {subdivision} has one slot: write subdivision: 16ths, or time: 4/4",
678
+ "strum.tempo.invalid": 'Invalid tempo "{text}": use beats a minute from {min} to {max}, e.g. tempo: 90',
679
+ "strum.bars.tooMany": "At most {max} bars in one pattern: split it into several blocks",
680
+ "strum.chord.pastEnd": "The chord {chord} is past the end of its pattern line: move it over a strum",
681
+ "strum.count.bar.one": "{n} bar",
682
+ "strum.count.bar.other": "{n} bars",
683
+ "strum.count.slot.one": "{n} slot",
684
+ "strum.count.slot.other": "{n} slots",
685
+ "strum.count.barsAndSlots": "{bars} and {slots}",
686
+ "strum.count.spill": '{time} in {subdivision} has {perBar} slots a bar, but "{written}" takes {slots} ({count}): put a | where each bar ends{orTime}',
687
+ "strum.count.spillOrTime": ", or write {time}",
688
+ "strum.count.mismatch": '{time} in {subdivision} has {perBar} slots a bar, but "{written}" has {n}: fill each bar with - (no strum){alternatives}',
689
+ "strum.count.alternative.first": " or write {item}",
690
+ "strum.count.alternative.next": ", {item}",
691
+ "strum.count.alternative.last": " or {item}",
692
+ "strum.note.one": "Read as {read}, then {n} beat with no strum: write a symbol for every slot (- for no strum) to place the strums yourself.",
693
+ "strum.note.other": "Read as {read}, then {n} beats with no strum: write a symbol for every slot (- for no strum) to place the strums yourself.",
694
+ "strum.feel.swing": "Swing",
695
+ "strum.feel.swingPercent": "Swing {percent}%",
696
+ "strum.feel.swing16": "16th swing",
697
+ "strum.feel.swing16Percent": "16th swing {percent}%",
698
+ "strum.name": "Strumming pattern {written}, {time}, {subdivision}{feel}",
699
+ "strum.name.titled": "{title}: strumming pattern {written}, {time}, {subdivision}{feel}",
700
+ "strum.name.feel": ", {feel}",
701
+ "strum.tuning.unknown": 'Unknown tuning "{tuning}": use e.g. tuning: standard, drop d, ukulele or E2 A2 D3 G3 B3 E4',
702
+ "strum.tuning.tooManyStrings": "At most 12 strings",
703
+ "strum.tuning.unknownGiven": 'Unknown tuning "{tuning}"',
704
+ "picking.help": "write p (the thumb on the bass), p' (the alternate bass), i, m, a (strings 3, 2, 1), a string number from 1 (the highest), - for a rest, + between notes picked together (p+a)",
705
+ "picking.token.notUnderstood": `Didn't understand "{token}": {help}`,
706
+ "picking.string.missing": "String {n} doesn't exist: strings go from 1 (the highest) to {strings}",
707
+ "picking.bar.slots": "A bar of {time} in {subdivision} has {perBar} slots, found {found}{between}: add notes or rests (-) so each bar has {perBar}, or change time:",
708
+ "picking.bar.betweenBarLines": " between bar lines",
709
+ "picking.key.unknown": 'Unknown key "{key}": use time, subdivision, swing, chord, chords, tempo, tuning, title or pattern',
710
+ "picking.swing.pairs": "Swing plays pairs of 8ths or 16ths inside a beat: remove swing:, or write time: 4/4 with 8ths",
711
+ "picking.tempo.invalid": 'Invalid tempo "{text}": use beats a minute from {min} to {max}, e.g. tempo: 80',
712
+ "picking.pattern.twice": "Write the pattern once: as pattern: or as pattern lines, not both",
713
+ "picking.pattern.missing": "Write a pattern: a line such as p i m a p i m a, or pattern: travis, alternate bass or 1-2-3-4",
714
+ "picking.chords.tooMany": "At most {max} chords, found {found}",
715
+ "picking.tuning.unknown": 'Unknown tuning "{tuning}": use e.g. tuning: standard, drop d, open g or E2 A2 D3 G3 B3 E4',
716
+ "picking.name": "Picking pattern {written}, {time}, {subdivision}{over}",
717
+ "picking.name.titled": "{title}: picking pattern {written}, {time}, {subdivision}{over}",
718
+ "picking.name.over": ", over {chords}",
719
+ "picking.voicing.none": "No playable voicing of {chord} for this tuning",
720
+ "export.image.title": "Music notation"
721
+ };
722
+
723
+ // src/i18n/en/index.ts
724
+ var en = {
725
+ ...enParse,
726
+ ...enDiagrams,
727
+ ...enTimed,
728
+ ...enPlay
729
+ };
730
+
731
+ // src/i18n/fr/diagrams.ts
732
+ var frDiagrams = {
733
+ "render.layout.orientation": "Orientation inconnue « {text} » : utilisez vertical ou horizontal",
734
+ "render.layout.hand": "Main inconnue « {text} » : utilisez left ou right",
735
+ "render.rootMark.invalid": "root-mark : écrivez color ou shape, reçu « {text} »",
736
+ "render.rootListsOnly": "root ne s'applique qu'aux listes de notes sur les manches et les claviers (notes: C E G avec root: C) : un accord a sa propre fondamentale",
737
+ "render.unknownChord": "« {written} » n'est pas reconnu : essayez {suggestions}",
738
+ "render.tuning": "Accordage inconnu « {text} »",
739
+ "render.yesNo": "{key} doit valoir yes ou no, reçu « {text} »",
740
+ "render.hand.left": "main gauche",
741
+ "render.hand.right": "main droite",
742
+ "render.positions.exerciseOne": "exercise joue une seule position : écrivez position: 1 (et non positions:)",
743
+ "render.positions.needsSet": "positions demande une gamme ou un accord : par exemple A minor pentatonic ou arpeggio: Am7",
744
+ "render.positions.arpeggioCaged": "Les arpèges utilisent les formes CAGED, pas 3nps : retirez shape",
745
+ "render.positions.range": "positions : utilisez all, ou des nombres de 1 à {count} pour {title}",
746
+ "render.positions.fromMinor": " (depuis {root}m)",
747
+ "render.positions.arpeggioTitle": "Arpège de {title}",
748
+ "render.positions.shapeTitle": "{name}, forme {shape}",
749
+ "render.positions.npsTitle": "{name}, 3nps {n}{from}",
750
+ "render.positions.boxTitle": "{name}, position {n}{from}",
751
+ "render.fingering.handTitle": "{title}, {hand}",
752
+ "render.voicings.notBoth": "Utilisez triads ou voicings, pas les deux",
753
+ "render.voicings.fretted": "voicings sert à la guitare et aux autres instruments à frettes",
754
+ "render.voicings.noFrets": "voicings trouve seul les cases : retirez « {value} »",
755
+ "render.voicings.needsChord": "voicings demande un accord : par exemple A Major",
756
+ "render.voicings.instrument": "Instrument inconnu « {instrument} » : utilisez guitar, ou donnez un accordage",
757
+ "render.voicings.maxStrings": "voicings fonctionne jusqu'à {max} cordes",
758
+ "render.voicings.count": "voicings : utilisez all, ou un nombre de 1 à {max}",
759
+ "render.voicings.area": "area : utilisez open, ou des cases comme 5-9 (jusqu'à 24), reçu « {area} »",
760
+ "render.voicings.rootString": "root-string : utilisez un numéro de corde de 1 (la plus aiguë) à {count}",
761
+ "render.voicings.inversion": "inversion : utilisez 0 (fondamentale), 1, 2, 3 ou any, reçu « {inversion} »",
762
+ "render.voicings.manyStringsAny": "Sur {count} cordes, inversion: any demande six cordes ou moins : ajoutez par exemple strings: 1-6",
763
+ "render.voicings.wideArea": "une zone large",
764
+ "render.voicings.oneWidening": "Sur {count} cordes, utilisez un seul élargissement à la fois parmi {list}",
765
+ "render.noVoicing.gaps": "Les cordes {strings} ne sont pas côte à côte : ajoutez gaps: yes",
766
+ "render.noVoicing.rootString": "root-string {string} ne fait pas partie des cordes {strings}",
767
+ "render.noVoicing.inversion": "{symbol} a {notes} notes : inversion va jusqu'à {max}",
768
+ "render.noVoicing.bass": "Aucun voicing de {chord} n'a sa basse sur la corde {string} : essayez une autre root-string",
769
+ "render.noVoicing.none": "Aucun voicing jouable de {chord} ne convient : élargissez la zone, autorisez les cordes à vide ou ajoutez stretch: yes",
770
+ "render.triads.noFrets": "triads trouve seul les cases : retirez « {value} »",
771
+ "render.triads.fretted": "triads sert à la guitare et aux autres instruments à frettes : donnez un accordage",
772
+ "render.triads.strings": "triads : donnez trois cordes côte à côte, par exemple 1-3 ou 2-4",
773
+ "render.triads.inversion": "inversion : utilisez 0 (position fondamentale), 1, 2 ou any, reçu « {inversion} »",
774
+ "render.triads.keyInversion": "Avec une tonalité, choisissez un seul renversement : 0, 1 ou 2",
775
+ "render.triads.key": "Tonalité inconnue « {text} » : utilisez par exemple key: G major ou key: E minor",
776
+ "render.triads.needsChord": "triads demande un accord (par exemple G) ou une tonalité (key: G major)",
777
+ "render.triads.notTriad": "{symbol} n'est pas une triade (trois notes) : essayez voicings: all",
778
+ "render.triads.none": "Aucune triade ne tient sur ces cordes : essayez un autre groupe de cordes",
779
+ "render.transitions.needsFrom": "Ajoutez l'accord que vous tenez : from: C (avec ses cases : from: C x32010)",
780
+ "render.transitions.fretted": "Les transitions servent à la guitare et aux autres instruments à frettes : donnez un accordage",
781
+ "render.transitions.notBoth": "Utilisez from et to, ou progression, pas les deux",
782
+ "render.transitions.refused": "« {key} » ne peut pas s'utiliser avec {with}",
783
+ "render.transitions.maxStrings": "Les transitions fonctionnent jusqu'à {max} cordes",
784
+ "render.transitions.twoChords": "progression : donnez au moins deux accords, par exemple G D Em C",
785
+ "render.transitions.maxChords": "progression : {max} accords au plus",
786
+ "render.transitions.noVoicings": "Aucun voicing jouable pour cette progression",
787
+ "render.transitions.needsTo": "Ajoutez l'accord suivant : to: D",
788
+ "render.transitions.noHeld": "Aucun voicing jouable de {chord} : ajoutez ses cases",
789
+ "render.transitions.stringCount": "« {frets} » compte {have} cordes, l'accordage {count}",
790
+ "render.transitions.count": "count : utilisez un nombre de 1 à {max}",
791
+ "render.transitions.noTarget": "Aucun voicing jouable de {chord}",
792
+ "render.modes.none": "« {value} » n'a pas de modes : utilisez par exemple modes: C major",
793
+ "render.modes.refused": "« {key} » ne peut pas s'utiliser avec modes : seulement {allowed}",
794
+ "render.row.notShared": "« {key} » ne peut pas être partagé : déplacez-le dans un diagramme. Réglages partagés : {allowed}",
795
+ "render.row.columns": "columns doit être un nombre entier de 1 à 12, reçu « {text} »",
796
+ "render.row.needsDiagram": "Ajoutez un diagramme après les réglages partagés : une ligne « --- », puis le diagramme",
797
+ "render.row.max": "{max} diagrammes au plus par bloc, {found} trouvés",
798
+ "render.row.columnsShared": "« columns » va dans les réglages partagés, avant le premier « --- »",
799
+ "render.row.ownRow": "« {key} » dessine sa propre rangée : utilisez-le dans un bloc à part",
800
+ "render.row.exercise": "exercise dessine une tablature sous un seul diagramme : utilisez-le dans un bloc à part",
801
+ "render.row.diagram": "diagramme {n} : {message}",
802
+ "render.row.sharedHint": " (les réglages partagés avant le premier « --- » ne peuvent contenir que : {allowed})",
803
+ "fretboard.capo": "Capodastre {fret}",
804
+ "fretboard.title": "Manche : {title}",
805
+ "fretboard.note.open": "{note} à vide",
806
+ "fretboard.note.fret": "{note} case {fret}",
807
+ "fretboard.note.root": " (fondamentale)",
808
+ "fretboard.string": "Corde {n} ({name}) : {notes}.",
809
+ "fretboard.pick.open": "Corde {string}, à vide",
810
+ "fretboard.pick.fret": "Corde {string}, case {fret}",
811
+ "fretboard.exercise.direction": "exercise : utilisez up, down ou up-down, reçu « {text} »",
812
+ "fretboard.exercise.rhythm": "rhythm : utilisez 8ths, triplets ou 16ths, reçu « {text} »",
813
+ "fretboard.exercise.scale": "Gamme inconnue « {text} »",
814
+ "fretboard.exercise.chord": "Accord inconnu « {text} »",
815
+ "fretboard.exercise.needsSet": "Un exercice demande une gamme ou un arpège : par exemple scale: A minor ou arpeggio: Am7",
816
+ "fretboard.exercise.arpeggioCaged": "Les arpèges utilisent les formes CAGED : position 1 à 5, ou shape: E, D, C, A ou G (pas 3nps)",
817
+ "fretboard.exercise.positions": "{title} a {count} positions {system} : utilisez position 1 à {count}",
818
+ "fretboard.exercise.tuning": "Accordage inconnu « {text} »",
819
+ "fretboard.exercise.capo": "capo : utilisez une case de 1 à 12 (0 pour aucun), reçu {text}",
820
+ "fretboard.positions.numbering": "numbering : utilisez minor (positions depuis le relatif mineur), reçu « {text} »",
821
+ "fretboard.positions.numberingPentatonic": "numbering: minor sert aux positions de la pentatonique majeure (par exemple A major pentatonic), pas à {title}",
822
+ "fretboard.positions.numberingCaged": "numbering: minor numérote les positions en boîtes et 3nps, pas les formes CAGED",
823
+ "fretboard.positions.position": "position doit être un nombre entier à partir de 1, reçu « {text} »",
824
+ "fretboard.positions.shape": "Forme inconnue « {text} » : utilisez C, A, G, E, D ou 3nps",
825
+ "keyboard.fingering.finger": "fingering : les doigts vont de 1 (pouce) à 5 (auriculaire), reçu « {text} »",
826
+ "keyboard.fingering.autoNeedsScale": "fingering: auto va avec une gamme majeure ou mineure (scale: G major) : écrivez un doigt par note, par exemple fingering: 1 2 3 4 5",
827
+ "keyboard.fingering.autoUnknown": "fingering: auto connaît les gammes majeures, mineures naturelles, mineures harmoniques et mineures mélodiques : écrivez les doigts pour {scale}, de la fondamentale à la fondamentale, par exemple fingering: 1 2 3 1 2 3 4 5",
828
+ "keyboard.piano.shell": "Les voicings shell demandent une tierce et une septième ou une sixte (C7, Cmaj7, Cm7, C6) : {symbol} n'en a pas",
829
+ "keyboard.piano.rootless": "Les voicings rootless servent aux accords de septième ou de sixte majeurs, mineurs, de dominante (sus4 aussi) et demi-diminués, et aux triades majeures ou mineures (Cmaj7, Cm7, C7, C7sus4, Cm7b5, C6, C, Cm) : pas à {symbol}",
830
+ "keyboard.piano.octave": "octave : utilisez un nombre de 0 à 8, reçu « {text} »",
831
+ "keyboard.piano.inversion": "inversion : utilisez 0 (position fondamentale), 1, 2 ou 3, reçu « {text} »",
832
+ "keyboard.piano.slashInversion": "{symbol} indique déjà sa basse : retirez inversion",
833
+ "keyboard.piano.inversionStyle": "inversion va avec les voicings close ou open, pas {style}",
834
+ "keyboard.piano.inversionMax": "{symbol} a {notes} notes : inversion va jusqu'à {max}",
835
+ "keyboard.piano.open": "Les voicings open demandent trois notes ou plus : {symbol} en a {notes}",
836
+ "keyboard.piano.offKeys": "octave {octave} place {symbol} hors du clavier du piano : essayez octave 3 ou 4",
837
+ "keyboard.piano.inversionWord": "inversion : utilisez root, first, second, third (ou 0 à 3), reçu « {text} »",
838
+ "keyboard.piano.octaveMiddle": "octave : utilisez un nombre de 0 à 8 (4 est celle du do central), reçu « {text} »",
839
+ "keyboard.piano.voicing": "voicing : utilisez close, open, shell, shell R-7, rootless A ou rootless B, reçu « {text} »",
840
+ "keyboard.piano.key": "Tonalité inconnue « {text} » : utilisez par exemple key: C minor ou key: Eb",
841
+ "keyboard.piano.resolvesTo": "resolves-to : écrivez un accord, par exemple resolves-to: Cm, reçu « {text} »",
842
+ "keyboard.piano.hands": "hands : utilisez left+right, left ou right, reçu « {text} »",
843
+ "keyboard.title": "Clavier : {title}",
844
+ "keyboard.hand": "{hand} : {keys}",
845
+ "keyboard.handMark.left": "MG",
846
+ "keyboard.handMark.right": "MD",
847
+ "keyboard.whiteKey": "Touche blanche {n}",
848
+ "keyboard.blackKey": "Touche noire {n}",
849
+ "keyboard.lit.root": "fondamentale",
850
+ "keyboard.lit.finger": "doigt {finger}",
851
+ "keyboard.lit.keys": "Touches : {keys}.",
852
+ "circle.label": "Cycle des quintes, {key} : {signature}{accidentals} ; accords : {chords}",
853
+ "circle.or": "ou",
854
+ "circle.mode.major": "majeur",
855
+ "circle.mode.minor": "mineur",
856
+ "circle.mode.ionian": "ionien",
857
+ "circle.mode.dorian": "dorien",
858
+ "circle.mode.phrygian": "phrygien",
859
+ "circle.mode.lydian": "lydien",
860
+ "circle.mode.mixolydian": "mixolydien",
861
+ "circle.mode.aeolian": "éolien",
862
+ "circle.mode.locrian": "locrien",
863
+ "circle.key": "Tonalité inconnue « {text} » : utilisez par exemple key: G, key: Em ou key: D dorian",
864
+ "circle.mode": "Mode inconnu « {text} » : utilisez major, minor, dorian, phrygian, lydian, mixolydian ou locrian",
865
+ "circle.modeTwice": "key: {key} indique déjà {mode} : retirez mode ou écrivez seulement la note de la tonalité",
866
+ "circle.chords": "chords : utilisez triads ou sevenths, reçu « {text} »",
867
+ "circle.dominant": "dominant : utilisez major (V, issu du mineur harmonique) ou minor (v), reçu « {text} »",
868
+ "keyboard.piano.unknownChord": "Accord inconnu « {symbol} »"
869
+ };
870
+
871
+ // src/i18n/fr/parse.ts
872
+ var frParse = {
873
+ "blocks.source.expected": 'Attendu "clé: valeur", reçu "{line}"',
874
+ "blocks.source.strings": "strings: utilisez des numéros de corde de 1 (la plus aiguë) à {count}, par ex. 1-4",
875
+ "blocks.caption.fingeringChordOnly": "caption: fingering ne sert qu'aux blocs d'accord : utilisez formula ou none ici",
876
+ "blocks.caption.useAll": 'caption: utilisez fingering (le doigté en toutes lettres), formula (notes et intervalles), fingering, formula (les deux) ou none, reçu "{written}"',
877
+ "blocks.caption.useFormula": 'caption: utilisez formula (notes et intervalles) ou none, reçu "{written}"',
878
+ "blocks.noteSet.chordOrArpeggio": "Utilisez chord ou arpeggio, pas les deux",
879
+ "blocks.noteSet.invalidRoot": 'Fondamentale "{root}" invalide : utilisez un nom de note, par ex. root: C',
880
+ "blocks.noteSet.notAList": `"{head}" n'est pas une liste de notes : utilisez par ex. notes: C Eb G`,
881
+ "blocks.noteSet.addNotesForRoot": "Ajoutez les notes de la fondamentale : par ex. notes: C Eb G",
882
+ "blocks.noteSet.addRoot": "Ajoutez une fondamentale : C {scale}",
883
+ "blocks.noteSet.addSource": 'Ajoutez "scale:", "chord:" ou "notes:"',
884
+ "blocks.noteSet.rootListsOnlyScale": "root ne s'applique qu'aux listes de notes (notes: C E G) : une gamme a sa propre fondamentale",
885
+ "blocks.noteSet.rootListsOnlyChord": "root ne s'applique qu'aux listes de notes (notes: C E G) : un accord a sa propre fondamentale",
886
+ "blocks.noteSet.unknownLabelsFingers": 'labels "{value}" inconnu : utilisez notes, degrees, intervals, fingers ou none',
887
+ "blocks.noteSet.unknownLabels": 'labels "{value}" inconnu : utilisez notes, degrees, intervals ou none',
888
+ "blocks.noteSet.invalidNotes": 'Notes "{notes}" invalides',
889
+ "blocks.noteSet.unknownScale": 'Gamme "{scale}" inconnue',
890
+ "blocks.noteSet.unknownChord": 'Accord "{chord}" inconnu',
891
+ "blocks.noteSet.notAScaleChordOrList": `"{head}" n'est ni une gamme, ni un accord, ni une liste de notes`,
892
+ "blocks.noteSet.highlightNeedsIntervals": "highlight demande une gamme, un accord ou une fondamentale : une liste de notes n'a pas d'intervalles (ajoutez par ex. root: C)",
893
+ "blocks.noteSet.notInSet": `"{label}" n'est pas dans {title} : utilisez ses intervalles (R, b3, 5…)`,
894
+ "theory.key.needsSharps": "{name} demande {count} dièses : écrivez {write}",
895
+ "theory.key.needsFlats": "{name} demande {count} bémols : écrivez {write}",
896
+ "theory.key.noSignature": "sans ♯ ni ♭",
897
+ "theory.harmonize.unknownScale": 'Gamme "{text}" inconnue : utilisez par ex. key: G major, key: A harmonic minor ou key: D dorian',
898
+ "theory.harmonize.sevenNotes": "harmonize demande une gamme de 7 notes : {name} en a {count}",
899
+ "theory.harmonize.noNamedChord": "pas un accord nommé",
900
+ "theory.harmonize.noFifth": "pas de quinte juste",
901
+ "theory.harmonize.noFourthOrSecond": "pas de quarte juste ni de seconde majeure",
902
+ "blocks.progression.yesNo": '{key} doit valoir yes ou no, reçu "{text}"',
903
+ "blocks.progression.majorMinorKeys": `Les tonalités d'une progression sont majeures ou mineures : écrivez key: {tonic} major ou key: {tonic} minor, reçu "{text}"`,
904
+ "blocks.progression.unknownKey": 'Tonalité "{text}" inconnue : utilisez par ex. key: G, key: Em ou key: F# minor',
905
+ "blocks.progression.unread": `"{token}" n'est pas compris : écrivez des chiffres romains (I V vi IV, bVII, V7, V/V, I6, V65), des chiffres Nashville (1 5 6m 4) ou des accords (G D Em C)`,
906
+ "blocks.progression.harmonizeKind": 'harmonize : écrivez triads, sevenths, sus ou power, reçu "{kind}"',
907
+ "blocks.progression.harmonizeNothing": "harmonize : écrivez triads, sevenths, sus ou power, rien reçu",
908
+ "blocks.progression.harmonizeNoChords": "harmonize dessine les accords de la gamme : retirez les accords ({written})",
909
+ "blocks.progression.addScale": "Ajoutez la gamme : par ex. key: A harmonic minor",
910
+ "blocks.progression.transposeWhole": "transpose doit être un nombre entier de demi-tons, par ex. transpose: -2",
911
+ "blocks.progression.addChords": "Ajoutez les accords : par ex. I V vi IV avec key: G, 1 5 6m 4, ou G D Em C",
912
+ "blocks.progression.addKey": "Ajoutez la tonalité : par ex. key: G ou key: E minor",
913
+ "blocks.progression.unknownTuning": 'Accordage "{text}" inconnu',
914
+ "blocks.progression.tempo": 'tempo: écrivez un nombre de temps par minute de {min} à {max}, reçu "{text}"',
915
+ "blocks.progression.strum": "strum: écrivez beats, bar, arpeggio ou un rythme de grattage (D DU UDU) : {reason}",
916
+ "blocks.progression.key": "Tonalité : {name}",
917
+ "blocks.progression.blues": "(blues)",
918
+ "blocks.progression.orKeys": "(ou {list})",
919
+ "blocks.progression.leftOut": "Écartés : {list}",
920
+ "blocks.progression.leftOutDegree": "degré {degree} ({note}), {reason}",
921
+ "blocks.progression.unknownInstrument": 'Instrument "{instrument}" inconnu : utilisez guitar ou piano',
922
+ "blocks.progression.numerals": 'numerals: utilisez roman, nashville ou none, reçu "{style}"',
923
+ "blocks.progression.voiceLeadingPiano": "voice-leading ne sert qu'au piano : ajoutez instrument: piano",
924
+ "blocks.progression.pianoOnly": "{key} ne sert qu'aux accords de piano : ajoutez instrument: piano",
925
+ "blocks.progression.voiceLeadingHands": "voice-leading va avec hands: left+right (une basse à la main gauche sous chaque accord), pas avec une seule main",
926
+ "blocks.progression.voiceLeadingOrKey": "Utilisez voice-leading ou {key}, pas les deux",
927
+ "blocks.progression.addChordsAfterShared": 'Ajoutez les accords après les réglages communs, après une ligne "---"',
928
+ "blocks.progression.maxChords": "Au plus {max} accords par bloc, {count} trouvés",
929
+ "theory.chord.suggest": "{root}, {root}m, {root}7 ou {spelled} {quality}",
930
+ "blocks.render.maxStrings": "Au plus {max} cordes",
931
+ "blocks.render.invalidRange": 'Étendue "{text}" invalide : utilisez par ex. C3-B4',
932
+ "blocks.render.maxKeys": "Au plus {max} touches : donnez une étendue plus petite, par ex. range: C3-B5",
933
+ "blocks.render.wholeFrom1": '{what} doit être un nombre entier à partir de 1, reçu "{text}"',
934
+ "blocks.render.unrecognized": `"{written}" n'est pas reconnu : essayez {suggestions}`,
935
+ "blocks.render.rootForListsOnly": "root ne s'applique qu'aux listes de notes sur les manches et les claviers (notes: C E G avec root: C) : un accord a sa propre fondamentale",
936
+ "blocks.chord.capoNotPiano": "capo ne sert qu'à la guitare et aux autres instruments à frettes, pas au piano",
937
+ "blocks.chord.pitchesGivenKeys": "{given} va avec un symbole d'accord : pitches donne déjà les touches à jouer",
938
+ "blocks.chord.autoNeedsSymbol": "fingering: auto va avec un symbole d'accord : écrivez les doigts, par ex. 1 3 5",
939
+ "blocks.chord.invalidPitches": 'Hauteurs "{text}" invalides',
940
+ "blocks.chord.autoCovers": "fingering: auto couvre les accords de trois sons et de quatre sons (septièmes, sixtes) en position serrée, ainsi que les voicings sans fondamentale et « shell » qu'une main peut atteindre : écrivez les doigts, par ex. fingering: 1 2 3 4 5",
941
+ "blocks.chord.addSymbolOrPitches": `Ajoutez un symbole d'accord ou "pitches:"`,
942
+ "blocks.chord.unknownInstrument": 'Instrument "{instrument}" inconnu : utilisez guitar ou piano, ou donnez un accordage',
943
+ "blocks.chord.invalidFrets": 'Cases "{text}" invalides : utilisez par ex. x02220',
944
+ "blocks.chord.nutAtCapo": "Avec frets-from: nut, chaque case jouée est au capodastre ({capo}) ou au-delà : écrivez x pour les cordes en deçà",
945
+ "blocks.chord.capoMaxFret": "Avec un capodastre en {capo}, les cases vont jusqu'à {max}",
946
+ "blocks.chord.fingersCount": '"{text}" donne {fingers} doigts pour {strings} cordes',
947
+ "blocks.chord.noVoicing": 'Aucun voicing {n} trouvé pour "{symbol}" : ajoutez "frets:"',
948
+ "blocks.chord.addFretsFor": 'Ajoutez "frets:" pour {symbol} (par ex. frets: x02220)',
949
+ "blocks.chord.addSymbolAndFrets": `Ajoutez un symbole d'accord et "frets:"`,
950
+ "blocks.chord.positionAboveLowest": "position {base} est au-dessus de la note frettée la plus grave (case {fret})",
951
+ "blocks.chord.tuningStrings": "L'accordage a {tuning} cordes, les cases {frets}",
952
+ "blocks.chord.soundsTitle": "{sounding} (forme {shape})",
953
+ "blocks.chord.captionFormulaChord": "caption: formula demande un accord que la bibliothèque connaît : ajoutez son symbole (par ex. symbol: A)",
954
+ "blocks.chord.captionFormulaSet": "caption: formula demande un accord ou une gamme que la bibliothèque connaît : ajoutez chord: ou scale:",
955
+ "blocks.chord.soundsTitleNeedsChord": "sounds: title demande un accord que la bibliothèque connaît : ajoutez son symbole (par ex. symbol: A)",
956
+ "blocks.chord.soundsNeedsCapo": "sounds va avec un capodastre : ajoutez par ex. capo: 2",
957
+ "blocks.chord.soundsYesNeedsChord": "sounds: yes demande un accord que la bibliothèque connaît : ajoutez son symbole (par ex. symbol: A), ou écrivez l'accord : sounds: B",
958
+ "blocks.chord.soundsMismatch": "Avec un capodastre en {capo}, {shape} sonne {sounding}, pas {value} : écrivez sounds: {sounding} (ou sounds: yes)",
959
+ "blocks.chord.unknownLabels": 'labels "{text}" inconnu : utilisez fingers, intervals, notes ou none',
960
+ "blocks.chord.labelsNeedChord": "labels: {value} demande un accord que la bibliothèque connaît",
961
+ "blocks.keyboard.autoBothAlone": "fingering: auto both dessine deux claviers : mettez-le dans un bloc à part, pas dans une rangée séparée par ---",
962
+ "blocks.keyboard.fingersCount": "fingering donne {fingers} doigts : {title} en demande {needed}, un par note de la fondamentale à la fondamentale supérieure",
963
+ "blocks.keyboard.fingersForNotes": "fingering donne {fingers} doigts pour {notes} notes : un doigt par note, dans l'ordre écrit",
964
+ "blocks.keyboard.keyTwice": "Une touche est citée deux fois : un doigt par touche",
965
+ "blocks.keyboard.pastRange": "Les notes doigtées dépassent l'étendue : élargissez range: ou retirez-le",
966
+ "blocks.keyboard.handTitleLeft": "{title}, main gauche",
967
+ "blocks.keyboard.handTitleRight": "{title}, main droite",
968
+ "blocks.fretboard.invalidFrets": 'Cases "{text}" invalides : utilisez par ex. 5-8',
969
+ "blocks.fretboard.maxFret": "Les cases vont jusqu'à {max}",
970
+ "blocks.fretboard.nutStartsAtCapo": "Avec frets-from: nut, les cases commencent au capodastre ({capo}) ou au-delà : par ex. frets: {capo}-{example}",
971
+ "blocks.fretboard.numberingNeedsPosition": "numbering va avec une position : par ex. position: 1 ou positions: all",
972
+ "blocks.fretboard.positionsNeedSet": "Les positions demandent une gamme ou un accord : par ex. scale: A minor ou arpeggio: Am7",
973
+ "blocks.fretboard.arpeggioCaged": "Les arpèges utilisent les formes CAGED : position 1 à 5, ou shape: E, D, C, A ou G (pas 3nps)",
974
+ "blocks.fretboard.positionCount": "{title} a {count} positions {named} : utilisez position 1 à {count}",
975
+ "blocks.fretboard.positionNotFit": "{title}, la position {n} ne tient pas dans les cases {from}-{to} : élargissez frets: ou retirez-le",
976
+ "blocks.fretboard.rhythmNeedsExercise": "rhythm va avec exercise : par ex. exercise: up-down",
977
+ "blocks.fretboard.exerciseNeedsPosition": "exercise joue une position : ajoutez position: 1 (ou shape: E)",
978
+ "blocks.fretboard.invalidTempo": 'Tempo "{text}" invalide : utilisez un nombre de temps par minute de 20 à 240, par ex. tempo: 80',
979
+ "blocks.fretboard.arpeggioTitle": "{name} (arpège)",
980
+ "blocks.fretboard.fromMinor": " (depuis {minor}m)",
981
+ "blocks.fretboard.shapeTitle": "{name}, forme {shape}",
982
+ "blocks.fretboard.threeNpsTitle": "{name}, 3nps {n}{from}",
983
+ "blocks.fretboard.boxTitle": "{name}, boîte {n}{from}",
984
+ "blocks.scalesFor.both": "Utilisez scales-for (accords) ou scales-for-notes, pas les deux",
985
+ "blocks.scalesFor.findsItself": '{key} trouve la gamme seul : retirez "{what}"',
986
+ "blocks.scalesFor.addChords": "Ajoutez les accords : par ex. scales-for: G D Em C",
987
+ "blocks.scalesFor.addNotes": "Ajoutez les notes : par ex. scales-for-notes: C D E G A",
988
+ "blocks.scalesFor.unreadChords": `Accords "{text}" non compris : utilisez des symboles d'accord, par ex. scales-for: G D Em C`,
989
+ "blocks.scalesFor.unreadNotes": 'Notes "{text}" non comprises : utilisez des noms de notes, par ex. scales-for-notes: C D E G A',
990
+ "blocks.scalesFor.outside": ", {notes} en dehors",
991
+ "blocks.scalesFor.bluesTitle": "Gamme blues de {tonic} pour {listed} (ou {pentatonic}, {mixolydian})",
992
+ "blocks.scalesFor.title": "{name} pour {listed}{outside}",
993
+ "chord.capo.fret": 'capo: utilisez une case de 1 à {max}, reçu "{text}"',
994
+ "chord.capo.fretsFrom": 'frets-from: utilisez capo (par défaut) ou nut, reçu "{text}"',
995
+ "theory.naming.write": "naming: écrivez letters, solfege ou german",
996
+ "theory.naming.writeDirective": "naming: écrivez {letters}, {solfege} ou {german}",
997
+ "chord.words.ordinalFirst": "1re",
998
+ "chord.words.ordinalSt": "{n}e",
999
+ "chord.words.ordinalNd": "{n}e",
1000
+ "chord.words.ordinalRd": "{n}e",
1001
+ "chord.words.ordinalTh": "{n}e",
1002
+ "chord.words.listAnd": "{head} et {last}",
1003
+ "chord.words.guitarIndex": "Index",
1004
+ "chord.words.guitarMiddle": "Majeur",
1005
+ "chord.words.guitarRing": "Annulaire",
1006
+ "chord.words.guitarPinky": "Auriculaire",
1007
+ "chord.words.guitarThumb": "Pouce",
1008
+ "chord.words.guitarFinger": "Doigt {finger}",
1009
+ "chord.words.pianoThumb": "pouce",
1010
+ "chord.words.pianoIndex": "index",
1011
+ "chord.words.pianoMiddle": "majeur",
1012
+ "chord.words.pianoRing": "annulaire",
1013
+ "chord.words.pianoLittle": "auriculaire",
1014
+ "chord.words.pianoFinger": "doigt {finger}",
1015
+ "chord.words.lowName": "{name} grave",
1016
+ "chord.words.highName": "{name} aiguë",
1017
+ "chord.words.stringNamed": "la corde {name}",
1018
+ "chord.words.stringsNamed": "les cordes {names}",
1019
+ "chord.words.stringNumberedNote": "la {n} corde ({note})",
1020
+ "chord.words.stringNumbered": "la {n} corde",
1021
+ "chord.words.capoFrom": "Capodastre sur la {fret} case : les cases se comptent à partir du capodastre.",
1022
+ "chord.words.capoNut": "Capodastre sur la {fret} case.",
1023
+ "chord.words.allMuted": "Toutes les cordes sont étouffées : aucune note ne sonne.",
1024
+ "chord.words.strumSix": "Grattez les six cordes.",
1025
+ "chord.words.strumAll": "Grattez toutes les cordes.",
1026
+ "chord.words.strumFrom": "Grattez à partir de {from}.",
1027
+ "chord.words.strumFromTo": "Grattez de {from} à {to}.",
1028
+ "chord.words.press": "Appuyez sur {string}, à la {fret} case.",
1029
+ "chord.words.fingerOn": "{finger} sur {strings}, {fret} case.",
1030
+ "chord.words.fingerBars": "{finger} fait le barré à la {fret} case, cordes {from} à {to}.",
1031
+ "chord.words.fingerAlsoOn": "{finger} aussi sur {string}, {fret} case.",
1032
+ "chord.words.muteOne": "Étouffez {list} : effleurez-la avec un doigt de la main qui frette.",
1033
+ "chord.words.mutePlural": "Étouffez {list} : effleurez-les avec un doigt de la main qui frette.",
1034
+ "chord.words.groupRingOpenOne": "La corde {list} sonne à vide.",
1035
+ "chord.words.groupRingOpenPlural": "Les cordes {list} sonnent à vide.",
1036
+ "chord.words.groupRingCapoOne": "La corde {list} sonne au capodastre.",
1037
+ "chord.words.groupRingCapoPlural": "Les cordes {list} sonnent au capodastre.",
1038
+ "chord.words.ringOpenOne": "{list} sonne à vide.",
1039
+ "chord.words.ringOpenPlural": "{list} sonnent à vide.",
1040
+ "chord.words.ringCapoOne": "{list} sonne au capodastre.",
1041
+ "chord.words.ringCapoPlural": "{list} sonnent au capodastre.",
1042
+ "chord.words.pianoFingerOn": "{finger} sur {key}",
1043
+ "chord.words.pianoAlsoPlay": "{fingered}, et jouez aussi {list}",
1044
+ "chord.words.sentence": "{text}.",
1045
+ "chord.words.play": "Jouez {list}.",
1046
+ "chord.words.leftHand": "Main gauche : {part}.",
1047
+ "chord.words.rightHand": "Main droite : {part}.",
1048
+ "chord.transition.fingerIndex": "l'index",
1049
+ "chord.transition.fingerMiddle": "le majeur",
1050
+ "chord.transition.fingerRing": "l'annulaire",
1051
+ "chord.transition.fingerPinky": "l'auriculaire",
1052
+ "chord.transition.fingerThumb": "le pouce",
1053
+ "chord.transition.fingerOther": "le doigt",
1054
+ "chord.transition.keep": "Gardez {finger} sur la {fret} case de {string}.",
1055
+ "chord.transition.slide": "Faites glisser {finger} le long de {string}, de la case {from} à la case {to}.",
1056
+ "chord.transition.moveUp": "Déplacez la main de {shift} cases vers le haut.",
1057
+ "chord.transition.moveDown": "Déplacez la main de {shift} cases vers le bas.",
1058
+ "chord.transition.lift": "Levez tous les doigts ensemble et posez-les d'un bloc.",
1059
+ "chord.guitar.capoCaption": "Capodastre {capo}",
1060
+ "chord.guitar.capoCaptionSounds": "Capodastre {capo}, sonne {sounds}",
1061
+ "chord.guitar.diagram": "Diagramme d'accord",
1062
+ "chord.guitar.diagramTitled": "Diagramme de l'accord {title}",
1063
+ "chord.guitar.rootOnString": "La fondamentale est sur la corde {list}.",
1064
+ "chord.guitar.rootOnStrings": "La fondamentale est sur les cordes {list}.",
1065
+ "chord.triads.rootPosition": "état fondamental",
1066
+ "chord.triads.firstInversion": "1er renversement",
1067
+ "chord.triads.secondInversion": "2e renversement",
1068
+ "theory.formula.chord": "{written} ({root} {words}{bass}) : {notes}.",
1069
+ "theory.formula.inTheBass": ", {bass} à la basse",
1070
+ "theory.formula.formula": "Formule {formula}.",
1071
+ "theory.formula.alsoWritten": "S'écrit aussi {list}.",
1072
+ "theory.formula.scale": "{title} : {notes}.",
1073
+ "theory.formula.steps": "Écarts {steps}.",
1074
+ "chords.chart.chorus": "Refrain",
1075
+ "chords.chart.bridge": "Pont",
1076
+ "chords.chart.tab": "Tablature",
1077
+ "chords.chart.grid": "Grille d'accords",
1078
+ "chords.chart.key": "Tonalité {key}",
1079
+ "chords.chart.capo": "Capodastre {capo}",
1080
+ "chords.chart.tempo": "{bpm} BPM",
1081
+ "chords.chart.transposed": "Transposé de {amount}",
1082
+ "chords.chart.sounds": "{title} (sonne {sounding})",
1083
+ "chords.chart.moreNotDrawn": "{count} accords de plus non dessinés (au plus {max})",
1084
+ "chords.chart.missing": "Pas de diagramme pour {names} : donnez la forme avec {how}",
1085
+ "chords.chart.howPiano": "{syntax} (demi-tons au-dessus de la fondamentale, par ex. keys 0 4 7)",
1086
+ "chords.chart.howGuitar": "{syntax} (une case par corde, x pour une corde étouffée)",
1087
+ "chords.define.needsName": "{syntax} demande un nom d'accord : par ex. {example}",
1088
+ "chords.define.baseFret": "{at} : base-fret prend un nombre entier de 1 à 24, par ex. base-fret 3",
1089
+ "chords.define.frets": "{at} : frets prend une valeur par corde (de 2 à {max}) : une case de 0 à 24, ou x pour une corde étouffée, par ex. frets x 0 2 2 1 0",
1090
+ "chords.define.keys": "{at} : keys prend des demi-tons au-dessus de la fondamentale, de 0 à {max}, par ex. keys 0 4 7",
1091
+ "chords.define.copy": "{at} : {word} prend le nom d'un seul accord, par ex. {word} Am",
1092
+ "chords.define.unknown": '{at} : "{word}" est inconnu : utilisez base-fret, frets, fingers, keys, copy, display ou diagram',
1093
+ "chords.define.fingersCount": "{at} : fingers a {fingers} valeurs pour {strings} cordes : donnez-en une par corde (0 pour aucune)",
1094
+ "chords.define.reaches": "{at} : la forme atteint la case {top} : les cases vont jusqu'à {max}",
1095
+ "chords.directive.diagrams": "{at} : utilisez on, off, top ou bottom",
1096
+ "chord.shape.open": "Accord ouvert",
1097
+ "chord.shape.caged": "forme {letter}",
1098
+ "chord.shape.cagedStrings": "forme {letter} (cordes {strings})",
1099
+ "chord.shape.power": "Power chord",
1100
+ "chord.shape.triad": "Triade",
1101
+ "chord.shape.shell": "Shell",
1102
+ "chord.shape.drop": "Drop {n} (cordes {strings})",
1103
+ "chord.shape.hendrix": "Accord Hendrix",
1104
+ "chord.shape.openBass": "Basse à vide",
1105
+ "chord.shape.openStrings": "Cordes à vide",
1106
+ "chord.shape.strings": "Cordes {strings}",
1107
+ "blocks.function.tonic": "tonique",
1108
+ "blocks.function.subdominant": "sous-dominante",
1109
+ "blocks.function.dominant": "dominante",
1110
+ "blocks.function.secondaryDominant": "dominante secondaire",
1111
+ "blocks.function.neapolitan": "napolitaine",
1112
+ "blocks.function.borrowed": "emprunté",
1113
+ "blocks.function.chromatic": "chromatique",
1114
+ "blocks.function.tonicization": "tonicisation",
1115
+ "blocks.function.passing": "de passage",
1116
+ "theory.marks.characteristic": ", notes caractéristiques : {notes}",
1117
+ "theory.marks.different": ", différentes de la gamme comparée : {notes}",
1118
+ "theory.marks.chordTones": ", notes de l'accord : {notes}"
1119
+ };
1120
+
1121
+ // src/i18n/fr/play.ts
1122
+ var frPlay = {
1123
+ "playback.bar": "Lecture",
1124
+ "playback.diagram": "Diagramme",
1125
+ "playback.place": "({n} sur {total})",
1126
+ "playback.playItem": "Lire : {name}",
1127
+ "playback.playAll": "Tout lire à la suite",
1128
+ "playback.play": "Lecture",
1129
+ "playback.stop": "Arrêter",
1130
+ "playback.loop": "Boucle",
1131
+ "playback.countIn": "Décompte",
1132
+ "playback.click": "Clic",
1133
+ "playback.sound": "Son",
1134
+ "playback.guitar": "Guitare",
1135
+ "playback.piano": "Piano",
1136
+ "playback.tempo": "Tempo (BPM)",
1137
+ "playback.unit.bpm": "BPM",
1138
+ "playback.unit.ms": "ms",
1139
+ "playback.strum": "Grattage (ms entre les cordes)",
1140
+ "playback.dotted": "compte des noires pointées",
1141
+ "playback.strumPattern.bar": "Lire le motif de grattage",
1142
+ "playback.picking.bar": "Lire le motif de picking",
1143
+ "playback.progression.bar": "Lire les accords en rythme",
1144
+ "playback.progression.play": "Lire en rythme",
1145
+ "playback.strumChoice": "Grattage",
1146
+ "playback.strum.beats": "À chaque temps",
1147
+ "playback.strum.bar": "Une fois par mesure",
1148
+ "playback.strum.arpeggio": "Arpège",
1149
+ "playback.strum.pattern": "Motif",
1150
+ "playback.copy.button": "Copier comme image",
1151
+ "playback.copy.hint": "Maj+clic copie tout le bloc",
1152
+ "playback.copy.bar": "Image",
1153
+ "playback.copy.copied": "Copié",
1154
+ "playback.copy.refused": "Autorisez l'accès au presse-papiers pour cette page, puis réessayez.",
1155
+ "playback.copy.unsupported": "Ce navigateur ne peut pas copier d'images : utilisez une version récente de Chrome, Edge, Safari ou Firefox.",
1156
+ "playback.copy.failed": "L'image n'a pas pu être créée.",
1157
+ "playback.full.enter": "Plein écran",
1158
+ "playback.full.exit": "Quitter le plein écran",
1159
+ "playback.redraw.sounds": "{heading} (sonne {chord})",
1160
+ "playback.redraw.guitar": "{name}, dessiné pour la guitare",
1161
+ "playback.redraw.piano": "{name}, dessiné pour le piano",
1162
+ "playback.engine.invalid": "engine: utilisez generaluser, sonivox ou light, reçu « {value} »",
1163
+ "tab.source.staves": "staves: utilisez tab, score ou both, reçu « {value} »",
1164
+ "tab.source.layout": "layout: utilisez page ou line, reçu « {value} »",
1165
+ "tab.source.names": "names: utilisez on ou off, reçu « {value} »",
1166
+ "tab.source.tracks": "tracks: utilisez des numéros de piste à partir de 1, reçu « {value} »",
1167
+ "tab.source.empty": "Écrivez la musique en alphaTex, ou indiquez un fichier : {example}",
1168
+ "tab.sound.loadFailed": "Impossible de charger la banque de sons ({url})",
1169
+ "tab.error.at": "ligne {line}, colonne {column} : ",
1170
+ "tab.error.textTab": "Impossible de dessiner cette tablature en texte : {message}",
1171
+ "tab.error.fileRead": "Impossible de lire « {file} » : {message}",
1172
+ "tab.error.fileMissing": "Fichier « {file} » introuvable",
1173
+ "tab.error.fileUnknown": "Impossible de lire « {file} » : ce n'est pas un fichier de partition connu d'alphaTab",
1174
+ "tab.player.cantPlay": "Lecture impossible : {message}",
1175
+ "tab.player.metronome": "Métronome",
1176
+ "tab.player.pause": "Pause",
1177
+ "tab.names": "Noms des notes",
1178
+ "tab.follow": "Suivre la musique",
1179
+ "tab.followPaused": "Suivre la musique (en pause pendant que vous faites défiler : lancez la lecture ou cliquez pour suivre de nouveau)",
1180
+ "tab.view.group": "Vue",
1181
+ "tab.view.tab": "Tablature",
1182
+ "tab.view.score": "Partition",
1183
+ "tab.view.both": "Les deux",
1184
+ "tab.view.whatTab": "tablature",
1185
+ "tab.view.whatScore": "notation standard",
1186
+ "tab.view.whatBoth": "notation standard et tablature",
1187
+ "tab.view.drawAs": "Afficher en {what}",
1188
+ "tab.view.drawAsWritten": "Afficher en {what} (la ligne staves: du bloc)",
1189
+ "tab.view.drawAsDefault": "Afficher en {what} (valeur par défaut : le bloc n'a pas de ligne staves:)",
1190
+ "tab.view.keep": "Conserver cette vue",
1191
+ "tab.view.keepTitle": "Écrire staves: {staves} en haut du bloc",
1192
+ "tab.tempo.group": "Tempo",
1193
+ "tab.tempo.slower": "Plus lent",
1194
+ "tab.tempo.faster": "Plus rapide",
1195
+ "tab.tempo.toPercent": "Afficher la vitesse en pourcentage",
1196
+ "tab.tempo.toBpm": "Afficher la vitesse en BPM",
1197
+ "tab.tempo.reset": "Revenir à 100 %",
1198
+ "tab.tempo.inBpm": "Tempo en BPM",
1199
+ "tab.tempo.inPercent": "Vitesse en pourcentage",
1200
+ "tab.tempo.title": "Tempo : {bpm} BPM, {percent} % de {tempo} BPM",
1201
+ "tab.tempo.speedTitle": "Vitesse : {percent} %"
1202
+ };
1203
+
1204
+ // src/i18n/fr/timed.ts
1205
+ var frTimed = {
1206
+ "strum.time.invalid": "Chiffrage « {text} » invalide : écrivez par exemple time: 4/4, 3/4 ou 6/8",
1207
+ "strum.swing.invalid": "Swing « {text} » invalide : écrivez swing: yes (un swing ternaire, un shuffle), no, ou un pourcentage de 50 (droit) à 75, par exemple swing: 60%",
1208
+ "strum.subdivision.invalid": "Subdivision « {text} » invalide : utilisez 8ths, 16ths ou triplets",
1209
+ "strum.triplets.quarterBeat68": "Les triolets demandent un temps à la noire (time: 4/4, 3/4…) ; pour une pulsation en 6/8, écrivez time: 6/8 avec 8ths",
1210
+ "strum.triplets.quarterBeat": "Les triolets demandent un temps à la noire (time: 4/4, 3/4…) ; pour ce chiffrage, utilisez 8ths ou 16ths",
1211
+ "strum.subdivision.tooLong": "Les croches sont plus longues qu’un temps de x/{unit} : écrivez subdivision: 16ths",
1212
+ "strum.chord.notRecognizedTry": "Accord « {chord} » non reconnu : essayez {suggestions}",
1213
+ "strum.chord.empty": "Accord vide « [] » : écrivez l’accord entre les crochets, par exemple [G]",
1214
+ "strum.chord.notRecognized": "Accord « {chord} » non reconnu",
1215
+ "strum.line.bracketMissing": "« ] » manquant après « {text} » : écrivez par exemple [G]",
1216
+ "strum.line.barInGhost": "Une barre de mesure à l’intérieur de ( ) : fermez d’abord les coups fantômes",
1217
+ "strum.line.accentAndGhost": "Un coup est soit accentué (D>), soit fantôme ((D)), pas les deux",
1218
+ "strum.line.ghostNested": "Les coups fantômes ne peuvent pas être imbriqués : écrivez (U), pas ((U))",
1219
+ "strum.line.parenUnopened": "« ) » sans « ( » : écrivez un coup fantôme ainsi : (U)",
1220
+ "strum.help": "écrivez D ou ↓ (vers le bas), U ou ↑ (vers le haut), X (étouffé), - (pas de coup), > après un coup pour un accent, (U) pour un coup fantôme, [G] pour un changement d’accord",
1221
+ "strum.line.notUnderstood": "« {char} » non compris dans « {line} » : {help}",
1222
+ "strum.line.accentNeedsStrum": "Un accent demande un coup : écrivez D> ou U>",
1223
+ "strum.line.ghostNoRests": "Écrivez les coups fantômes (D) ou (U), sans silence à l’intérieur",
1224
+ "strum.line.parenUnclosed": "« ) » manquant dans « {line} » : écrivez un coup fantôme ainsi : (U)",
1225
+ "strum.line.chordEndsPattern": "L’accord [{chord}] termine le rythme : placez-le avant un coup ou un -",
1226
+ "strum.pattern.chordLineAlone": "Une ligne d’accords demande une ligne de rythme dessous, par exemple D - D U - U D U",
1227
+ "strum.pattern.missing": "Écrivez un rythme de strumming, par exemple D - D U - U D U (ou D DU UDU)",
1228
+ "strum.key.unknown": "Clé « {key} » inconnue : utilisez time, subdivision, swing, chord, tempo, tuning, title ou pattern",
1229
+ "strum.swing.withTriplets": "Les triolets et le swing sont deux façons d’écrire un shuffle : gardez subdivision: triplets (D - U sur chaque temps), ou écrivez 8ths avec swing: yes",
1230
+ "strum.swing.compound": "{time} a déjà trois {unit} par temps : retirez swing: (il swingue les 8ths ou les 16ths en 4/4, 3/4, 2/4…)",
1231
+ "strum.swing.oneSlot": "Le swing joue des paires de positions dans un temps, et un temps de {time} en {subdivision} n’a qu’une position : écrivez subdivision: 16ths, ou time: 4/4",
1232
+ "strum.tempo.invalid": "Tempo « {text} » invalide : utilisez un nombre de temps par minute de {min} à {max}, par exemple tempo: 90",
1233
+ "strum.bars.tooMany": "{max} mesures au plus dans un rythme : découpez-le en plusieurs blocs",
1234
+ "strum.chord.pastEnd": "L’accord {chord} dépasse la fin de sa ligne de rythme : déplacez-le au-dessus d’un coup",
1235
+ "strum.count.bar.one": "{n} mesure",
1236
+ "strum.count.bar.other": "{n} mesures",
1237
+ "strum.count.slot.one": "{n} position",
1238
+ "strum.count.slot.other": "{n} positions",
1239
+ "strum.count.barsAndSlots": "{bars} et {slots}",
1240
+ "strum.count.spill": "{time} en {subdivision} compte {perBar} positions par mesure, mais « {written} » en prend {slots} ({count}) : mettez un | à la fin de chaque mesure{orTime}",
1241
+ "strum.count.spillOrTime": ", ou écrivez {time}",
1242
+ "strum.count.mismatch": "{time} en {subdivision} compte {perBar} positions par mesure, mais « {written} » en a {n} : remplissez chaque mesure avec - (pas de coup){alternatives}",
1243
+ "strum.count.alternative.first": " ou écrivez {item}",
1244
+ "strum.count.alternative.next": ", {item}",
1245
+ "strum.count.alternative.last": " ou {item}",
1246
+ "strum.note.one": "Lu comme {read}, puis {n} temps sans coup : écrivez un symbole pour chaque position (- pour pas de coup) afin de placer vous-même les coups.",
1247
+ "strum.note.other": "Lu comme {read}, puis {n} temps sans coup : écrivez un symbole pour chaque position (- pour pas de coup) afin de placer vous-même les coups.",
1248
+ "strum.feel.swing": "Swing",
1249
+ "strum.feel.swingPercent": "Swing {percent} %",
1250
+ "strum.feel.swing16": "Swing en doubles croches",
1251
+ "strum.feel.swing16Percent": "Swing en doubles croches {percent} %",
1252
+ "strum.name": "Rythme de strumming {written}, {time}, {subdivision}{feel}",
1253
+ "strum.name.titled": "{title} : rythme de strumming {written}, {time}, {subdivision}{feel}",
1254
+ "strum.name.feel": ", {feel}",
1255
+ "strum.tuning.unknown": "Accordage « {tuning} » inconnu : utilisez par exemple tuning: standard, drop d, ukulele ou E2 A2 D3 G3 B3 E4",
1256
+ "strum.tuning.tooManyStrings": "12 cordes au plus",
1257
+ "strum.tuning.unknownGiven": "Accordage « {tuning} » inconnu",
1258
+ "picking.help": "écrivez p (le pouce sur la basse), p’ (la basse alternée), i, m, a (cordes 3, 2, 1), un numéro de corde à partir de 1 (la plus aiguë), - pour un silence, + entre des notes jouées ensemble (p+a)",
1259
+ "picking.token.notUnderstood": "« {token} » non compris : {help}",
1260
+ "picking.string.missing": "La corde {n} n’existe pas : les cordes vont de 1 (la plus aiguë) à {strings}",
1261
+ "picking.bar.slots": "Une mesure de {time} en {subdivision} compte {perBar} positions, {found} trouvées{between} : ajoutez des notes ou des silences (-) pour que chaque mesure en ait {perBar}, ou changez time:",
1262
+ "picking.bar.betweenBarLines": " entre les barres de mesure",
1263
+ "picking.key.unknown": "Clé « {key} » inconnue : utilisez time, subdivision, swing, chord, chords, tempo, tuning, title ou pattern",
1264
+ "picking.swing.pairs": "Le swing joue des paires de 8ths ou de 16ths dans un temps : retirez swing:, ou écrivez time: 4/4 avec 8ths",
1265
+ "picking.tempo.invalid": "Tempo « {text} » invalide : utilisez un nombre de temps par minute de {min} à {max}, par exemple tempo: 80",
1266
+ "picking.pattern.twice": "Écrivez le motif une seule fois : avec pattern: ou avec des lignes de motif, pas les deux",
1267
+ "picking.pattern.missing": "Écrivez un motif : une ligne comme p i m a p i m a, ou pattern: travis, alternate bass ou 1-2-3-4",
1268
+ "picking.chords.tooMany": "{max} accords au plus, {found} trouvés",
1269
+ "picking.tuning.unknown": "Accordage « {tuning} » inconnu : utilisez par exemple tuning: standard, drop d, open g ou E2 A2 D3 G3 B3 E4",
1270
+ "picking.name": "Motif de picking {written}, {time}, {subdivision}{over}",
1271
+ "picking.name.titled": "{title} : motif de picking {written}, {time}, {subdivision}{over}",
1272
+ "picking.name.over": ", sur {chords}",
1273
+ "picking.voicing.none": "Aucun doigté jouable de {chord} pour cet accordage",
1274
+ "export.image.title": "Notation musicale"
1275
+ };
1276
+
1277
+ // src/i18n/fr/index.ts
1278
+ var fr = {
1279
+ ...frParse,
1280
+ ...frDiagrams,
1281
+ ...frTimed,
1282
+ ...frPlay
1283
+ };
1284
+
1285
+ // src/i18n/language.ts
1286
+ var TABLES = { en, fr };
1287
+ var LANGUAGES_OF_TEXTS = Object.keys(TABLES);
1288
+ function languageOf(value) {
1289
+ if (typeof value !== "string")
1290
+ return null;
1291
+ const code = value.trim().toLowerCase().split(/[-_]/)[0];
1292
+ return LANGUAGES_OF_TEXTS.includes(code) ? code : null;
1293
+ }
1294
+
1295
+ // src/i18n/translate.ts
1296
+ var current = "en";
1297
+ var currentLanguage = () => current;
1298
+ function withLanguage(language, fn) {
1299
+ const before = current;
1300
+ current = language ?? current;
1301
+ try {
1302
+ return fn();
1303
+ } finally {
1304
+ current = before;
1305
+ }
1306
+ }
1307
+ function fill(text, params) {
1308
+ if (!params)
1309
+ return text;
1310
+ return text.replace(/\{(\w+)\}/g, (whole, name) => (name in params) ? String(params[name]) : whole);
1311
+ }
1312
+ function translatorFor(language) {
1313
+ return (key, ...params) => fill(TABLES[language][key] ?? TABLES.en[key], params[0]);
1314
+ }
1315
+ var translator = () => translatorFor(current);
1316
+ var t = (key, ...params) => translatorFor(current)(key, ...params);
1317
+
177
1318
  // src/theory/note-set.ts
178
1319
  function markClasses(set, chroma, marks = {}) {
179
1320
  const classes = [];
@@ -192,7 +1333,7 @@ function describeMarks(set, marks = {}) {
192
1333
  const characteristic = names(marks.characteristic);
193
1334
  const different = names(marks.different);
194
1335
  const tones = names(marks.chordTones);
195
- return (characteristic.length ? `, characteristic notes: ${characteristic.join(" ")}` : "") + (different.length ? `, different from the compared scale: ${different.join(" ")}` : "") + (tones.length ? `, chord tones: ${tones.join(" ")}` : "");
1336
+ return (characteristic.length ? t("theory.marks.characteristic", { notes: characteristic.join(" ") }) : "") + (different.length ? t("theory.marks.different", { notes: different.join(" ") }) : "") + (tones.length ? t("theory.marks.chordTones", { notes: tones.join(" ") }) : "");
196
1337
  }
197
1338
  var memberFor = (set, chroma) => set.members.find((m) => m.chroma === chroma);
198
1339
  var memberOf = (set, midi) => set.pitches && !set.pitches.includes(midi) ? undefined : memberFor(set, (midi % 12 + 12) % 12);
@@ -399,14 +1540,18 @@ function parseChord(symbol) {
399
1540
 
400
1541
  // src/theory/naming.ts
401
1542
  var NAMINGS = ["letters", "solfege", "german"];
402
- var NAMING_ERROR = "naming: write letters, solfege or german";
403
- var DIRECTIVE_ERROR = "naming: write {naming: letters}, {naming: solfege} or {naming: german}";
1543
+ var namingError = () => t("theory.naming.write");
1544
+ var directiveError = () => t("theory.naming.writeDirective", {
1545
+ letters: "{naming: letters}",
1546
+ solfege: "{naming: solfege}",
1547
+ german: "{naming: german}"
1548
+ });
404
1549
  var plain2 = (text) => text.trim().toLowerCase().normalize("NFD").replace(/[̀-ͯ]/g, "");
405
1550
  function parseNaming(text) {
406
1551
  const value = plain2(text);
407
1552
  if (NAMINGS.includes(value))
408
1553
  return value;
409
- throw new Error(NAMING_ERROR);
1554
+ throw new Error(namingError());
410
1555
  }
411
1556
  function namingOf(value) {
412
1557
  if (typeof value !== "string")
@@ -588,7 +1733,7 @@ function lettersInBlock(language, text) {
588
1733
  if (naming)
589
1734
  result.naming = naming;
590
1735
  else
591
- result.warning = DIRECTIVE_ERROR;
1736
+ result.warning = directiveError();
592
1737
  }
593
1738
  }
594
1739
  const naming = result.naming ?? "letters";
@@ -748,7 +1893,7 @@ function shownText(text, naming) {
748
1893
  if (!/^[A-G]/.test(part))
749
1894
  return part;
750
1895
  const next = word(i, 1);
751
- if (next === "shape")
1896
+ if (next === "shape" || word(i, -1) === "forme")
752
1897
  return part;
753
1898
  const octave = OCTAVE.exec(part);
754
1899
  if (octave) {
@@ -756,7 +1901,7 @@ function shownText(text, naming) {
756
1901
  if (amongNotes || !/^[5679]$/.test(octave[2]))
757
1902
  return `${noteInNaming(octave[1], naming)}${octave[2]}`;
758
1903
  }
759
- if (part === "A" && next && /^[a-z]/.test(next) && !AFTER_A_NOTE.has(next))
1904
+ if (part === "A" && currentLanguage() === "en" && next && /^[a-z]/.test(next) && !AFTER_A_NOTE.has(next))
760
1905
  return part;
761
1906
  if (parseChord(part))
762
1907
  return chordInNaming(part, naming);
@@ -766,28 +1911,28 @@ function shownText(text, naming) {
766
1911
  return part;
767
1912
  }).join("");
768
1913
  }
769
- var current = "letters";
1914
+ var current2 = "letters";
770
1915
  var verbatim = [];
771
1916
  function withNaming(naming, draw, titles = []) {
772
- const before = [current, verbatim];
773
- current = naming;
1917
+ const before = [current2, verbatim];
1918
+ current2 = naming;
774
1919
  verbatim = titles.filter(Boolean);
775
1920
  try {
776
1921
  return draw();
777
1922
  } finally {
778
- [current, verbatim] = before;
1923
+ [current2, verbatim] = before;
779
1924
  }
780
1925
  }
781
1926
  function shown(text) {
782
- if (current === "letters" || !text)
1927
+ if (current2 === "letters" || !text)
783
1928
  return text;
784
1929
  for (const title of verbatim) {
785
1930
  if (text === title)
786
1931
  return text;
787
1932
  if (text.startsWith(`${title},`))
788
- return title + shownText(text.slice(title.length), current);
1933
+ return title + shownText(text.slice(title.length), current2);
789
1934
  }
790
- return shownText(text, current);
1935
+ return shownText(text, current2);
791
1936
  }
792
1937
 
793
1938
  // src/render/dom.ts
@@ -911,7 +2056,6 @@ function playableMark(doc, area, ...children) {
911
2056
 
912
2057
  // src/render/root-mark.ts
913
2058
  var ROOT_MARKS = ["color", "shape"];
914
- var ROOT_MARK_ERROR = "root-mark: write color or shape";
915
2059
  function rootMarkOf(value) {
916
2060
  if (typeof value !== "string")
917
2061
  return null;
@@ -925,7 +2069,7 @@ function rootMarkOf(value) {
925
2069
  function parseRootMark(text) {
926
2070
  const mark = rootMarkOf(text);
927
2071
  if (!mark)
928
- throw new Error(`${ROOT_MARK_ERROR}, got "${text.trim()}"`);
2072
+ throw new Error(t("render.rootMark.invalid", { text: text.trim() }));
929
2073
  return mark;
930
2074
  }
931
2075
  var ROOT_MARK_LINE = /^\s*root-mark\s*:\s*(.*)$/i;
@@ -946,19 +2090,19 @@ function rootMarkInBlock(language, text) {
946
2090
  return { text: mark === null ? text : lines.join(`
947
2091
  `), mark };
948
2092
  }
949
- var current2 = "color";
2093
+ var current3 = "color";
950
2094
  function withRootMark(mark, draw) {
951
- const before = current2;
952
- current2 = mark;
2095
+ const before = current3;
2096
+ current3 = mark;
953
2097
  try {
954
2098
  return draw();
955
2099
  } finally {
956
- current2 = before;
2100
+ current3 = before;
957
2101
  }
958
2102
  }
959
- var rootAsShape = () => current2 === "shape";
2103
+ var rootAsShape = () => current3 === "shape";
960
2104
  function noteMark(doc, root, { cx, cy, r, class: cls, ...rest }) {
961
- if (!root || current2 !== "shape")
2105
+ if (!root || current3 !== "shape")
962
2106
  return svg(doc, "circle", { class: cls, cx, cy, r, ...rest });
963
2107
  const half = Math.round(0.9 * r * 10) / 10;
964
2108
  return svg(doc, "rect", {
@@ -973,6 +2117,33 @@ function noteMark(doc, root, { cx, cy, r, class: cls, ...rest }) {
973
2117
  }
974
2118
 
975
2119
  // src/chord/generate.ts
2120
+ function shapeLabel(shape) {
2121
+ switch (shape) {
2122
+ case "Open":
2123
+ return t("chord.shape.open");
2124
+ case "Power chord":
2125
+ return t("chord.shape.power");
2126
+ case "Triad":
2127
+ return t("chord.shape.triad");
2128
+ case "Shell":
2129
+ return t("chord.shape.shell");
2130
+ case "Hendrix chord":
2131
+ return t("chord.shape.hendrix");
2132
+ case "Open bass":
2133
+ return t("chord.shape.openBass");
2134
+ case "Open strings":
2135
+ return t("chord.shape.openStrings");
2136
+ }
2137
+ const caged = /^([A-G]) shape(?: \(strings (.+)\))?$/.exec(shape);
2138
+ if (caged) {
2139
+ return caged[2] === undefined ? t("chord.shape.caged", { letter: caged[1] }) : t("chord.shape.cagedStrings", { letter: caged[1], strings: caged[2] });
2140
+ }
2141
+ const drop = /^Drop ([23]) \(strings (.+)\)$/.exec(shape);
2142
+ if (drop)
2143
+ return t("chord.shape.drop", { n: drop[1], strings: drop[2] });
2144
+ const strings = /^Strings (.+)$/.exec(shape);
2145
+ return strings ? t("chord.shape.strings", { strings: strings[1] }) : shape;
2146
+ }
976
2147
  var isBarreShape = (shape) => shape === "E shape" || shape === "A shape";
977
2148
  var MAX_GENERATED_STRINGS = 8;
978
2149
  var MAX_SPAN = 6;
@@ -1563,70 +2734,110 @@ function generateVoicings(symbol, options = {}) {
1563
2734
 
1564
2735
  // src/chord/fingering-words.ts
1565
2736
  import { Note as Note2 } from "tonal";
1566
- var ordinal = (n) => `${n}${n % 100 >= 11 && n % 100 <= 13 ? "th" : ["th", "st", "nd", "rd"][n % 10] ?? "th"}`;
1567
- var GUITAR_FINGERS = {
1568
- "1": "Index",
1569
- "2": "Middle",
1570
- "3": "Ring",
1571
- "4": "Pinky",
1572
- T: "Thumb"
2737
+
2738
+ // src/chord/words.ts
2739
+ function ordinal(n) {
2740
+ if (n === 1)
2741
+ return t("chord.words.ordinalFirst");
2742
+ const key = n % 100 >= 11 && n % 100 <= 13 ? "chord.words.ordinalTh" : [
2743
+ "chord.words.ordinalTh",
2744
+ "chord.words.ordinalSt",
2745
+ "chord.words.ordinalNd",
2746
+ "chord.words.ordinalRd"
2747
+ ][n % 10] ?? "chord.words.ordinalTh";
2748
+ return t(key, { n });
2749
+ }
2750
+ function andList(items) {
2751
+ if (items.length < 2)
2752
+ return items[0] ?? "";
2753
+ return t("chord.words.listAnd", { head: items.slice(0, -1).join(", "), last: items.at(-1) });
2754
+ }
2755
+
2756
+ // src/chord/fingering-words.ts
2757
+ var guitarFinger = (finger) => {
2758
+ switch (finger) {
2759
+ case "1":
2760
+ return t("chord.words.guitarIndex");
2761
+ case "2":
2762
+ return t("chord.words.guitarMiddle");
2763
+ case "3":
2764
+ return t("chord.words.guitarRing");
2765
+ case "4":
2766
+ return t("chord.words.guitarPinky");
2767
+ case "T":
2768
+ return t("chord.words.guitarThumb");
2769
+ default:
2770
+ return t("chord.words.guitarFinger", { finger });
2771
+ }
1573
2772
  };
1574
- var PIANO_FINGERS = {
1575
- "1": "thumb",
1576
- "2": "index finger",
1577
- "3": "middle finger",
1578
- "4": "ring finger",
1579
- "5": "little finger"
2773
+ var pianoFinger = (finger) => {
2774
+ switch (finger) {
2775
+ case "1":
2776
+ return t("chord.words.pianoThumb");
2777
+ case "2":
2778
+ return t("chord.words.pianoIndex");
2779
+ case "3":
2780
+ return t("chord.words.pianoMiddle");
2781
+ case "4":
2782
+ return t("chord.words.pianoRing");
2783
+ case "5":
2784
+ return t("chord.words.pianoLittle");
2785
+ default:
2786
+ return t("chord.words.pianoFinger", { finger });
2787
+ }
1580
2788
  };
1581
2789
  var capitalized = (s) => s.charAt(0).toUpperCase() + s.slice(1);
1582
- var andList = (items) => items.length < 2 ? items[0] ?? "" : `${items.slice(0, -1).join(", ")} and ${items.at(-1)}`;
1583
2790
  var letter = (midi) => noteOf(midi).replace(/-?\d+$/, "");
1584
- function stringNames(tuning, count, spelled) {
2791
+ function describeStrings(tuning, count, spelled) {
1585
2792
  const letters = tuning?.map((p, s) => spelled?.[s] ?? letter(p)) ?? [];
1586
2793
  const repeated = letters.filter((name, i) => letters.indexOf(name) !== i);
1587
2794
  const byName = tuning !== null && (repeated.length === 0 || repeated.length === 1 && letters[0] === letters[count - 1] && count > 2);
1588
2795
  return Array.from({ length: count }, (_, s) => {
1589
2796
  if (!byName)
1590
- return numbered(tuning, count, s, spelled);
2797
+ return { text: numbered(tuning, count, s, spelled) };
1591
2798
  const name = letters[s];
1592
- if (repeated.length && s === 0)
1593
- return `the low ${name} string`;
1594
- if (repeated.length && s === count - 1)
1595
- return `the high ${name} string`;
1596
- return `the ${name} string`;
2799
+ const item = repeated.length && s === 0 ? t("chord.words.lowName", { name }) : repeated.length && s === count - 1 ? t("chord.words.highName", { name }) : name;
2800
+ return { text: t("chord.words.stringNamed", { name: item }), item };
1597
2801
  });
1598
2802
  }
2803
+ function stringNames(tuning, count, spelled) {
2804
+ return describeStrings(tuning, count, spelled).map((n) => n.text);
2805
+ }
1599
2806
  function numbered(tuning, count, s, spelled) {
1600
- const name = tuning ? spelled?.[s] ?? letter(tuning[s]) : null;
1601
- return `the ${ordinal(count - s)} string${name ? ` (${name})` : ""}`;
2807
+ const note = tuning ? spelled?.[s] ?? letter(tuning[s]) : null;
2808
+ return note ? t("chord.words.stringNumberedNote", { n: ordinal(count - s), note }) : t("chord.words.stringNumbered", { n: ordinal(count - s) });
1602
2809
  }
1603
2810
  var range = (from, to) => Array.from({ length: to - from + 1 }, (_, i) => from + i);
1604
- var together = (names) => names.every((n) => /^the [^(]+ string$/.test(n)) ? `the ${andList(names.map((n) => n.slice(4, -7)))} strings` : andList(names);
2811
+ var together = (names) => names.every((n) => n.item !== undefined) ? t("chord.words.stringsNamed", { names: andList(names.map((n) => n.item)) }) : andList(names.map((n) => n.text));
1605
2812
  function guitarWords(input) {
1606
2813
  const { frets } = input;
1607
2814
  const count = frets.length;
1608
2815
  const tuning = input.tuning ?? (count === 6 ? STANDARD_TUNING : null);
1609
2816
  const spelled = input.tuningNames?.length === count ? input.tuningNames : undefined;
1610
- const names = stringNames(tuning, count, spelled);
2817
+ const described = describeStrings(tuning, count, spelled);
2818
+ const names = described.map((n) => n.text);
1611
2819
  const capo = input.capo ?? 0;
1612
2820
  const fromNut = capo > 0 && input.fretsFrom === "nut";
1613
2821
  const shape = frets.map((f) => f === null ? null : fromNut ? Math.max(0, f - capo) : f);
1614
2822
  const fingers = input.fingers?.some((f) => f) ? input.fingers : fingerVoicing(shape) ?? frets.map(() => null);
1615
2823
  const sentences = [];
1616
2824
  if (capo) {
1617
- sentences.push(`Capo on the ${ordinal(capo)} fret${fromNut ? "" : ": frets count from the capo"}.`);
2825
+ sentences.push(t(fromNut ? "chord.words.capoNut" : "chord.words.capoFrom", { fret: ordinal(capo) }));
1618
2826
  }
1619
2827
  const sounding = frets.flatMap((f, s) => f !== null ? [s] : []);
1620
2828
  if (!sounding.length)
1621
- return [...sentences, "Every string is muted: no note sounds."];
2829
+ return [...sentences, t("chord.words.allMuted")];
1622
2830
  const low = sounding[0];
1623
2831
  const high = sounding.at(-1);
1624
2832
  if (low === 0 && high === count - 1) {
1625
- sentences.push(count === 6 ? "Strum all six strings." : "Strum every string.");
2833
+ sentences.push(t(count === 6 ? "chord.words.strumSix" : "chord.words.strumAll"));
1626
2834
  } else if (high === count - 1) {
1627
- sentences.push(`Strum from ${numbered(tuning, count, low, spelled)}.`);
2835
+ sentences.push(t("chord.words.strumFrom", { from: numbered(tuning, count, low, spelled) }));
1628
2836
  } else {
1629
- sentences.push(`Strum from ${numbered(tuning, count, low, spelled)} to ${numbered(tuning, count, high, spelled)}.`);
2837
+ sentences.push(t("chord.words.strumFromTo", {
2838
+ from: numbered(tuning, count, low, spelled),
2839
+ to: numbered(tuning, count, high, spelled)
2840
+ }));
1630
2841
  }
1631
2842
  const barred = new Set;
1632
2843
  const byFinger = new Map;
@@ -1636,47 +2847,70 @@ function guitarWords(input) {
1636
2847
  byFinger.set(finger, [...byFinger.get(finger) ?? [], s]);
1637
2848
  });
1638
2849
  const said = new Set;
1639
- const fingerName = (finger) => GUITAR_FINGERS[finger] ?? `Finger ${finger}`;
1640
2850
  frets.forEach((fret, s) => {
1641
2851
  if (fret === null || shape[s] === 0)
1642
2852
  return;
1643
2853
  const finger = fingers[s];
1644
2854
  if (!finger) {
1645
- sentences.push(`Press ${names[s]} at the ${ordinal(fret)} fret.`);
2855
+ sentences.push(t("chord.words.press", { string: names[s], fret: ordinal(fret) }));
1646
2856
  return;
1647
2857
  }
1648
2858
  if (said.has(finger))
1649
2859
  return;
1650
2860
  said.add(finger);
1651
- const strings = byFinger.get(finger).filter((t) => frets[t] === fret);
2861
+ const strings = byFinger.get(finger).filter((x) => frets[x] === fret);
1652
2862
  const between = strings.length > 1 ? range(strings[0], strings.at(-1)) : [];
1653
- const flat = between.every((t) => shape[t] === null || shape[t] >= shape[s]);
2863
+ const flat = between.every((x) => shape[x] === null || shape[x] >= shape[s]);
1654
2864
  if (strings.length > 1 && !flat) {
1655
- sentences.push(`${fingerName(finger)} on ${together(strings.map((t) => names[t]))}, ${ordinal(fret)} fret.`);
2865
+ sentences.push(t("chord.words.fingerOn", {
2866
+ finger: guitarFinger(finger),
2867
+ strings: together(strings.map((x) => described[x])),
2868
+ fret: ordinal(fret)
2869
+ }));
1656
2870
  } else if (strings.length > 1) {
1657
2871
  const from = count - strings.at(-1);
1658
2872
  const to = count - strings[0];
1659
- for (const t of strings)
1660
- barred.add(t);
1661
- sentences.push(`${fingerName(finger)} bars the ${ordinal(fret)} fret, strings ${from} to ${to}.`);
2873
+ for (const x of strings)
2874
+ barred.add(x);
2875
+ sentences.push(t("chord.words.fingerBars", {
2876
+ finger: guitarFinger(finger),
2877
+ fret: ordinal(fret),
2878
+ from,
2879
+ to
2880
+ }));
1662
2881
  } else {
1663
- sentences.push(`${fingerName(finger)} on ${names[s]}, ${ordinal(fret)} fret.`);
2882
+ sentences.push(t("chord.words.fingerOn", {
2883
+ finger: guitarFinger(finger),
2884
+ strings: names[s],
2885
+ fret: ordinal(fret)
2886
+ }));
1664
2887
  }
1665
- for (const t of byFinger.get(finger)) {
1666
- if (frets[t] !== fret) {
1667
- sentences.push(`${fingerName(finger)} also on ${names[t]}, ${ordinal(frets[t])} fret.`);
2888
+ for (const x of byFinger.get(finger)) {
2889
+ if (frets[x] !== fret) {
2890
+ sentences.push(t("chord.words.fingerAlsoOn", {
2891
+ finger: guitarFinger(finger),
2892
+ string: names[x],
2893
+ fret: ordinal(frets[x])
2894
+ }));
1668
2895
  }
1669
2896
  }
1670
2897
  });
1671
2898
  const muted = frets.flatMap((f, s) => f === null && s > low && s < high ? [names[s]] : []);
1672
2899
  if (muted.length) {
1673
- sentences.push(`Mute ${andList(muted)}: let a fretting finger touch ${muted.length > 1 ? "them" : "it"} lightly.`);
2900
+ sentences.push(t(muted.length > 1 ? "chord.words.mutePlural" : "chord.words.muteOne", {
2901
+ list: andList(muted)
2902
+ }));
1674
2903
  }
1675
- const open = shape.flatMap((f, s) => f === 0 && !barred.has(s) ? [names[s]] : []);
2904
+ const open = shape.flatMap((f, s) => f === 0 && !barred.has(s) ? [described[s]] : []);
1676
2905
  if (open.length) {
1677
- const where = capo ? " at the capo" : " open";
1678
2906
  const plural = open.length > 1;
1679
- sentences.push(open.every((n) => /^the [^(]+ string$/.test(n)) ? `The ${andList(open.map((n) => n.slice(4, -7)))} ${plural ? "strings ring" : "string rings"}${where}.` : `${capitalized(andList(open))} ${plural ? "ring" : "rings"}${where}.`);
2907
+ if (open.every((n) => n.item !== undefined)) {
2908
+ const list = andList(open.map((n) => n.item));
2909
+ sentences.push(t(capo ? plural ? "chord.words.groupRingCapoPlural" : "chord.words.groupRingCapoOne" : plural ? "chord.words.groupRingOpenPlural" : "chord.words.groupRingOpenOne", { list }));
2910
+ } else {
2911
+ const list = capitalized(andList(open.map((n) => n.text)));
2912
+ sentences.push(t(capo ? plural ? "chord.words.ringCapoPlural" : "chord.words.ringCapoOne" : plural ? "chord.words.ringOpenPlural" : "chord.words.ringOpenOne", { list }));
2913
+ }
1680
2914
  }
1681
2915
  return sentences;
1682
2916
  }
@@ -1697,23 +2931,30 @@ function pianoWords(input) {
1697
2931
  const without = group.filter((k) => !input.fingers?.has(k)).map(keyName);
1698
2932
  const fingered = withFinger.map((k) => {
1699
2933
  const finger = input.fingers.get(k);
1700
- return `${PIANO_FINGERS[finger] ?? `finger ${finger}`} on ${keyName(k)}`;
2934
+ return t("chord.words.pianoFingerOn", { finger: pianoFinger(finger), key: keyName(k) });
1701
2935
  });
1702
2936
  if (!fingered.length)
1703
2937
  return andList(without);
1704
2938
  if (!without.length)
1705
2939
  return fingered.join(", ");
1706
- return `${fingered.join(", ")}, and also play ${andList(without)}`;
2940
+ return t("chord.words.pianoAlsoPlay", {
2941
+ fingered: fingered.join(", "),
2942
+ list: andList(without)
2943
+ });
1707
2944
  };
1708
2945
  const hands = input.hands;
1709
2946
  if (!hands?.size) {
1710
2947
  return [
1711
- keys.some((k) => input.fingers?.has(k)) ? `${capitalized(part(keys))}.` : `Play ${part(keys)}.`
2948
+ keys.some((k) => input.fingers?.has(k)) ? t("chord.words.sentence", { text: capitalized(part(keys)) }) : t("chord.words.play", { list: part(keys) })
1712
2949
  ];
1713
2950
  }
1714
2951
  return ["left", "right"].flatMap((hand) => {
1715
2952
  const group = keys.filter((k) => (hands.get(k) ?? "right") === hand);
1716
- return group.length ? [`${capitalized(hand)} hand: ${part(group)}.`] : [];
2953
+ return group.length ? [
2954
+ t(hand === "left" ? "chord.words.leftHand" : "chord.words.rightHand", {
2955
+ part: part(group)
2956
+ })
2957
+ ] : [];
1717
2958
  });
1718
2959
  }
1719
2960
  function fingeringInWords(chord) {
@@ -1725,13 +2966,13 @@ function parseOrientation(text) {
1725
2966
  const value = text.trim().toLowerCase();
1726
2967
  if (value === "vertical" || value === "horizontal")
1727
2968
  return value;
1728
- throw new Error(`Unknown orientation "${text}": use vertical or horizontal`);
2969
+ throw new Error(t("render.layout.orientation", { text }));
1729
2970
  }
1730
2971
  function parseHand(text) {
1731
2972
  const value = text.trim().toLowerCase();
1732
2973
  if (value === "left" || value === "right")
1733
2974
  return value;
1734
- throw new Error(`Unknown hand "${text}": use left or right`);
2975
+ throw new Error(t("render.layout.hand", { text }));
1735
2976
  }
1736
2977
  function layoutDefaults(value) {
1737
2978
  const result = {};
@@ -1950,7 +3191,7 @@ var HIT_ALONG = 44;
1950
3191
  var BASE = 30;
1951
3192
  var TITLE = 22;
1952
3193
  var CAPTION = 18;
1953
- var capoCaption = (capo, sounds) => `Capo ${capo}${sounds ? `, sounds ${sounds}` : ""}`;
3194
+ var capoCaption = (capo, sounds) => sounds ? t("chord.guitar.capoCaptionSounds", { capo, sounds }) : t("chord.guitar.capoCaption", { capo });
1954
3195
  function renderGuitarDiagram(doc, voicing, options = {}) {
1955
3196
  const strings = voicing.frets.length;
1956
3197
  const base = voicing.baseFret ?? baseFretOf(voicing.frets);
@@ -1982,7 +3223,8 @@ function renderGuitarDiagram(doc, voicing, options = {}) {
1982
3223
  const across = (string) => string * SPACING;
1983
3224
  const along = (row) => row * ROW;
1984
3225
  const at = (string, row) => frame.at(across(string), along(row));
1985
- const label = `${options.title ? `${options.title} chord diagram` : "Chord diagram"}${capo ? `, ${capoCaption(capo, options.sounds).replace(/^Capo/, "capo")}` : ""}`;
3226
+ const labelCapo = capoCaption(capo, options.sounds);
3227
+ const label = `${options.title ? t("chord.guitar.diagramTitled", { title: options.title }) : t("chord.guitar.diagram")}${capo ? `, ${labelCapo.charAt(0).toLowerCase()}${labelCapo.slice(1)}` : ""}`;
1986
3228
  const height = frame.height + (caption ? CAPTION : 0);
1987
3229
  const root = svgRoot(doc, frame.width, height, "mn-guitar-chord", label);
1988
3230
  root.setAttribute("data-mn-hand", options.hand ?? "right");
@@ -2136,8 +3378,10 @@ function chordWords(voicing, tuning, capo, fromNut, roots) {
2136
3378
  words = [];
2137
3379
  }
2138
3380
  if (roots.length) {
2139
- const list = roots.length === 1 ? `string ${roots[0]}` : `strings ${roots.slice(0, -1).join(", ")} and ${roots[roots.length - 1]}`;
2140
- words.push(`The root is on ${list}.`);
3381
+ const list = andList(roots.map(String));
3382
+ words.push(t(roots.length === 1 ? "chord.guitar.rootOnString" : "chord.guitar.rootOnStrings", {
3383
+ list
3384
+ }));
2141
3385
  }
2142
3386
  return words.join(" ");
2143
3387
  }
@@ -2438,5 +3682,5 @@ export {
2438
3682
  voicingCount
2439
3683
  };
2440
3684
 
2441
- //# debugId=B2DD9AF0815FCC3564756E2164756E21
3685
+ //# debugId=E448F2198EFB7BE064756E2164756E21
2442
3686
  //# sourceMappingURL=index.js.map