Conversation
mstarke
left a comment
There was a problem hiding this comment.
Thank you very much for your pull request. I've made some comments which should improve the code.
Is it possible to extract all the TouchBar code into a single location? The two places look quite similar, it might be better to use a common tooling class.
|
Thank you for taking the time and looking through my code. After taking a closer look at the issue and examining the Human Interface Guidelines I choose to remove the color for the button. That seems to be the preferred style. Regarding the topic of a single location, I discovered that you have all delegates in one folder, maybe the |
|
I played a bit with the idea of a separate delegate, but I hit a road block while comparing it to the existing toolbar delegate. |
|
I'll try to take a look at your changes in the upcoming days and give feedback. |
|
I hoped you ignored that 😄 . |
|
To update the english strings located in |
|
So I used the localized strings for the labels and the customization labels and translated them to German, too. |
|
Awesome! About using the same string on different locations with the same meaning: This is a common thought and I did it it at the beginning of MacPass as well but sometimes a different wording is useful so I changed to be verbose with the keys and thus allow for more variability. The downside is that changes often require contributions from all translators. |
mstarke
left a comment
There was a problem hiding this comment.
Could you bee so kind and update the german localization?
|
Sure, thanks for pointing that out. I somehow thought of it as a name. |
|
It's not the best solution, but the only one I found to be working. |
|
👍 |
|
Since there is no futher comment on changing the buttons to make them smaller, and one could edit the button placement if wanted, there is no real need to change anything at the moment. |
|
@mstarke this feature would be incredible. |
b9e116b to
3c34a09
Compare
|
Thank you for this awesome contribution. Finally merged and tested it myself. I might tweak the behaviour but currently this is a big step up from before. |
Hey there,
this is my WIP for Touch Bar support.
It addresses issue #614 .
But since this is pretty much the first time that I am working with objective c, I'd like to get your input early if this looks good or if im off somewhere with my coding style, location of imports, fields and methods or something.