-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds the name of the string note to the open string tooltips (fixed) #50
Adds the name of the string note to the open string tooltips (fixed) #50
Conversation
Hi, and thanks a lot for the contribution! This looks like a good idea to me. Two suggestions:
Otherwise this LGTM. Thanks again for taking the time to work with Fretboard's currently messy codebase :-) |
Thanks for the pointers, I'll check the localization stuff and send a new revision (and probably learn something new in the process :)). What is the expectation for notes and chord names though? At the moment (as far as I can see, at least, I did a quick check with it_IT and de_DE) they are not localized. Shall I put a note for the translators not to translate the note names or, otoh, is the future direction to also translate names/chords (not trivial, I guess)? |
Fretboard does not have localization of note names, so the individual note names are not marked as translatable; they're inserted into the formatted strings as-is. Just add a comment asking for the |
Seems like this particular thing isn't possible with |
FWIW I'll do a new release with this and a few other improvements once this has been merged 🙂 Just take your time, though, I have other things to work on in the meantime :) |
Hi, sorry for taking long on this, but the weekend has been busy. Anyway, I didn't have much time to work on the translation issue, but I had enough to change my mind about sixteen times :). Essentially:
|
The second one sounds fine to me. Translations will come eventually, and it’s not a very high-exposure area in the app. |
The rust change is ready, I will push a new version later. But: how are you updating the .pot file? I tried with xgettext but didn't get a perfect result yet but, looking at po/meson.build it seems meson should do the extraction automatically? However, I could not get the correct meson incantation to get the files updated ( |
Weblate does that for us, we don't need to worry about it at all :) |
cfc6d0e
to
06dd9b5
Compare
I just pushed the updated version, then! |
Looks good! The "Not Open" tooltip could also have the note name, but I'll just add that myself. Thanks again for your contribution! |
This change adds the name of the note in the tooltip, as in
.
This makes it easier to understand what is going on with open strings.
Notes about the change:
chord_diagram
that updates thenote_name
in the top toggle.Final closure: this is of course an unsolicited change... if you think the product is better without, feel free to reject.