Add touchbar support (#862)

* Add touchbar support for the password input

* Add touchbar support for entry list

* Set NSTouchBarItemIdentifier as static strings

* Simplify touchbar initialization in NSTextView

* Remove colored buttons in touchbar to adhere to the Human Interface Guidelines

* Add search action to touchbar

* Create a TouchBarButtonCreator

* Enable Touchbar customization

* Fix typo

* Add customizationLabel to all buttons

* Use localised strings instead of hardcoded

* Add a popover touchbar for editing

* Update localisation

* Set the bezel color of the show password button to selected if toggled
This commit is contained in:
Veit-Hendrik Schlenker
2019-07-10 12:00:38 +02:00
committed by Michael Starke
parent 30a68fc9e3
commit 2d98c480da
12 changed files with 293 additions and 2 deletions

View File

@@ -676,6 +676,42 @@
/* Toolbar item to perform autotype */
"TOOLBAR_PERFORM_AUTOTYPE_FOR_ENTRY" = "Autotype";
/* Touchbar button label for choosing the keyfile */
"TOUCHBAR_CHOOSE_KEYFILE" = "Schlüsseldatei wählen";
/* Touchbar button label for copying the password */
"TOUCHBAR_COPY_PASSWORD" = "Passwort kopieren";
/* Touchbar button label for copying the username */
"TOUCHBAR_COPY_USERNAME" = "Benutzername kopieren";
/* Touchbar button label for deleting elements */
"TOUCHBAR_DELETE" = "Löschen";
/* Touchbar button label for opening the popover to edit */
"TOUCHBAR_EDIT" = "Bearbeiten";
/* Touchbar button label for locking the database */
"TOUCHBAR_LOCK_DATABASE" = "Datenbank sperren";
/* Touchbar button label for creating a new item */
"TOUCHBAR_NEW_ENTRY" = "Neuer Eintrag";
/* Touchbar button label for creating a new group */
"TOUCHBAR_NEW_GROUP" = "Neue Gruppe";
/* Touchbar button label for performing autotype */
"TOUCHBAR_PERFORM_AUTOTYPE" = "Autotype ausführen";
/* Touchbar button label for searching the database */
"TOUCHBAR_SEARCH" = "Datenbank durchsuchen";
/* Touchbar button label for showing the password */
"TOUCHBAR_SHOW_PASSWORD" = "Password anzeigen";
/* Touchbar button label for unlocking the database */
"TOUCHBAR_UNLOCK_DATABASE" = "Datenbank entsperren";
/* Move Entry to Trash */
"TRASH_ENTRY" = "Eintrag löschen";