Skip to content

Commit

Permalink
Merge pull request #2 from henryavila/capo-metadata
Browse files Browse the repository at this point in the history
capo-metadata
  • Loading branch information
henryavila authored Oct 18, 2023
2 parents 9a6efcd + 44d2e34 commit 5cf3085
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion resources/js/components/Chordpro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ const kebabCase = str => str
</div>

<div class="text-right opacity-75">
<div v-if="parsedContent.key">{{ __('Key in') }} {{ parsedContent.key }}</div>
<div v-if="parsedContent.key">
{{ __('Key in') }} {{ parsedContent.key }}
<span v-if="parsedContent?.capo">{{ __('Capo') }} {{ parsedContent?.capo }}</span>
</div>
<div v-if="parsedContent.tempo || parsedContent.time">
<span v-if="parsedContent.tempo">{{ parsedContent.tempo }} BPM </span>
<span v-if="parsedContent.time"> {{ __('in') + ' ' + parsedContent.time }}</span>
Expand Down
3 changes: 2 additions & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"in": "em",
"save pdf": "save PDF",
"wait...": "wait...",
"Errors found": "Errors found"
"Errors found": "Errors found",
"Capo": "Capo"
}
3 changes: 2 additions & 1 deletion resources/lang/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"in": "em",
"save pdf": "salvar PDF",
"wait...": "aguarde...",
"Errors found": "Erros encontrados"
"Errors found": "Erros encontrados",
"Capo": "Capo"
}

0 comments on commit 5cf3085

Please sign in to comment.