Skip to content

Commit b3c073b

Browse files
Fix #37: Formality should be a Popup Selection
1 parent e039661 commit b3c073b

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

Deepl-Translate.alfred5workflow

41 Bytes
Binary file not shown.

Deepl-Translate.alfredworkflow

0 Bytes
Binary file not shown.

info5.plist

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -665,19 +665,28 @@ To avoid the error message 'too many requests', please configure your free (or p
665665
<dict>
666666
<key>default</key>
667667
<string>default</string>
668-
<key>placeholder</key>
669-
<string>default, more, less, prefer_more, prefer_less.</string>
670-
<key>required</key>
671-
<false/>
672-
<key>trim</key>
673-
<true/>
668+
<key>pairs</key>
669+
<array>
670+
<array>
671+
<string>More Formal</string>
672+
<string>prefer_more</string>
673+
</array>
674+
<array>
675+
<string>Less Formal</string>
676+
<string>prefer_less</string>
677+
</array>
678+
<array>
679+
<string>Default</string>
680+
<string>default</string>
681+
</array>
682+
</array>
674683
</dict>
675684
<key>description</key>
676685
<string>Sets whether the translated text should lean towards formal or informal language.</string>
677686
<key>label</key>
678687
<string>Formality</string>
679688
<key>type</key>
680-
<string>textfield</string>
689+
<string>popupbutton</string>
681690
<key>variable</key>
682691
<string>DEEPL_FORMALITY</string>
683692
</dict>
@@ -769,7 +778,7 @@ To avoid the error message 'too many requests', please configure your free (or p
769778
<key>variablesdontexport</key>
770779
<array/>
771780
<key>version</key>
772-
<string>2.2.1</string>
781+
<string>2.2.2</string>
773782
<key>webaddress</key>
774783
<string>https://github.com/AlexanderWillner/deepl-alfred-workflow2</string>
775784
</dict>

0 commit comments

Comments
 (0)