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

@@ -685,6 +685,42 @@
/* Toolbar item to perform autotype */
"TOOLBAR_PERFORM_AUTOTYPE_FOR_ENTRY" = "Autotype";
/* Touchbar button label for choosing the keyfile */
"TOUCHBAR_CHOOSE_KEYFILE" = "Choose Keyfile";
/* Touchbar button label for copying the password */
"TOUCHBAR_COPY_PASSWORD" = "Copy Password";
/* Touchbar button label for copying the username */
"TOUCHBAR_COPY_USERNAME" = "Copy Username";
/* Touchbar button label for deleting elements */
"TOUCHBAR_DELETE" = "Delete";
/* Touchbar button label for opening the popover to edit */
"TOUCHBAR_EDIT" = "Edit";
/* Touchbar button label for locking the database */
"TOUCHBAR_LOCK_DATABASE" = "Lock Database";
/* Touchbar button label for creating a new item */
"TOUCHBAR_NEW_ENTRY" = "New Entry";
/* Touchbar button label for creating a new group */
"TOUCHBAR_NEW_GROUP" = "New Group";
/* Touchbar button label for performing autotype */
"TOUCHBAR_PERFORM_AUTOTYPE" = "Perform Autotype";
/* Touchbar button label for searching the database */
"TOUCHBAR_SEARCH" = "Search Database";
/* Touchbar button label for showing the password */
"TOUCHBAR_SHOW_PASSWORD" = "Show Password";
/* Touchbar button label for unlocking the database */
"TOUCHBAR_UNLOCK_DATABASE" = "Unlock Database";
/* Move Entry to Trash */
"TRASH_ENTRY" = "Trash Entry";