docs: avoid dashes and simplify wording
This commit is contained in:
1 parent
29b3024dc1
commit
c80fff41d0
14 files changed
+79
-78
No files matched your search
@@ -2,7 +2,10 @@
|
||||
|
||||
## Style
|
||||
|
||||
Keep everything short — replies, explanations, comments, docs.
|
||||
- Keep everything short: replies, explanations, comments, docs.
|
||||
- Use simple English: short sentences, common words.
|
||||
- Avoid em dashes (—). Do not just swap them for "-" either. Rewrite the sentence instead, for
|
||||
example with a comma, a colon, brackets or two sentences.
|
||||
|
||||
## Commits
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# bottles-opener - build and install
|
||||
# bottles-opener: build and install
|
||||
#
|
||||
# Everything here is plain shell and one small Python script; "building" only
|
||||
# means compiling the gettext catalogs and rendering the man page. Both targets
|
||||
@@ -56,14 +56,14 @@ po/%.mo: po/%.po
|
||||
ifdef MSGFMT
|
||||
$(MSGFMT) --check --output-file=$@ $<
|
||||
else
|
||||
@echo "msgfmt not found - skipping $@"
|
||||
@echo "msgfmt not found, skipping $@"
|
||||
endif
|
||||
|
||||
$(MANPAGE): doc/bottles-opener.1.scd
|
||||
ifdef SCDOC
|
||||
$(SCDOC) < $< > $@
|
||||
else
|
||||
@echo "scdoc not found - skipping $@"
|
||||
@echo "scdoc not found, skipping $@"
|
||||
endif
|
||||
|
||||
# Regenerates the template from the sources. The setting labels live in an
|
||||
@@ -92,7 +92,7 @@ check:
|
||||
shellcheck -x -e SC1090,SC1091 src/bottles-opener $(LIBS); \
|
||||
echo "ok shellcheck"; \
|
||||
else \
|
||||
echo "shellcheck not found - skipped"; \
|
||||
echo "shellcheck not found, skipped"; \
|
||||
fi
|
||||
@if command -v msgfmt >/dev/null 2>&1; then \
|
||||
for l in $(LINGUAS); do msgfmt --check --output-file=/dev/null po/$$l.po && echo "ok po/$$l.po"; done; \
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<a href="https://ko-fi.com/felitendo">Ko-Fi</a>
|
||||
</h5>
|
||||
|
||||
You install FL Studio in Bottles, double-click your `.flp` and... your file manager asks what an `.flp` is. This tool reads which files your Windows programs registered in their bottle - the same list Windows uses - teaches your system those types, gives them the program's icons and hands the file over the way Explorer would. One command and your files _✨just open✨_ (like on windows).
|
||||
You install FL Studio in Bottles, double-click your `.flp` and... your file manager asks what an `.flp` is. This tool reads which files your Windows programs registered in their bottle. That is the same list Windows uses. It teaches your system those types, gives them the program's icons and hands the file over the way Explorer would. One command and your files _✨just open✨_ (like on windows).
|
||||
|
||||
## How to use
|
||||
|
||||
@@ -55,7 +55,7 @@ Press `[1]` and you're done. `[3]` lists every file type and lets you pick what
|
||||
.psd Photoshop · Adobe Open With
|
||||
```
|
||||
|
||||
`double-click` opens it. `Open With` only lists it in the right-click menu - that's what types get that already have an app on your system (`.docx` with LibreOffice), so nothing you picked gets taken away. Space switches.
|
||||
`double-click` opens it. `Open With` only lists it in the right-click menu. Types that already have an app on your system get this (like `.docx` with LibreOffice), so nothing you picked gets taken away. Space switches.
|
||||
|
||||
`[4]` lists your programs; Enter edits their file types, so you can add any extension you like. Or without the menu:
|
||||
|
||||
@@ -65,7 +65,7 @@ bottles-opener add flp,fst "FL Studio"
|
||||
|
||||
## How to install
|
||||
|
||||
**Arch (for the cachyos enjoyers)**
|
||||
**Arch**
|
||||
|
||||
```bash
|
||||
yay -S bottles-opener
|
||||
|
||||
+15
-16
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: bottles-opener 0.1.0\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/LoonixTools/bottles-opener/issues\n"
|
||||
"POT-Creation-Date: 2026-09-21 11:30+0200\n"
|
||||
"POT-Creation-Date: 2026-09-21 13:54+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -55,12 +55,12 @@ msgid "Already up to date for %s."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Bottles could not be read - is python3 with PyYAML installed? Nothing was "
|
||||
"Bottles could not be read. Is python3 with PyYAML installed? Nothing was "
|
||||
"changed."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Bottles is not installed - neither the package nor the Flatpak was found."
|
||||
"Bottles is not installed. Neither the package nor the Flatpak was found."
|
||||
msgstr ""
|
||||
|
||||
msgid "Commands:"
|
||||
@@ -82,10 +82,10 @@ msgstr ""
|
||||
msgid "File opening"
|
||||
msgstr ""
|
||||
|
||||
msgid "File opening is off - this is what it would do."
|
||||
msgid "File opening is off and everything that was changed has been put back."
|
||||
msgstr ""
|
||||
|
||||
msgid "File opening is off and everything that was changed has been put back."
|
||||
msgid "File opening is off. This is what it would do."
|
||||
msgstr ""
|
||||
|
||||
msgid "File opening is off. Turn it on first."
|
||||
@@ -121,7 +121,7 @@ msgid "Looking at the bottles..."
|
||||
msgstr ""
|
||||
|
||||
#, sh-printf-format
|
||||
msgid "More than one program is called \"%s\" - name the bottle as well."
|
||||
msgid "More than one program is called \"%s\". Name the bottle as well."
|
||||
msgstr ""
|
||||
|
||||
msgid "New programs"
|
||||
@@ -152,12 +152,12 @@ msgid "No programs found in any bottle."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"No systemd user session - newly installed programs will not be picked up on "
|
||||
"their own."
|
||||
"No systemd user session, so newly installed programs will not be picked up "
|
||||
"on their own."
|
||||
msgstr ""
|
||||
|
||||
#, sh-printf-format
|
||||
msgid "Not overwriting %s - it was not written by this program."
|
||||
msgid "Not overwriting %s: this program did not write it."
|
||||
msgstr ""
|
||||
|
||||
#, sh-printf-format
|
||||
@@ -246,17 +246,16 @@ msgstr ""
|
||||
msgid "Unknown command: %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Up/Down select - Enter edits its file types - q goes back"
|
||||
msgid "Up/Down: select, Enter: edit file types, q: back"
|
||||
msgstr ""
|
||||
|
||||
msgid "Up/Down select - Enter picks - q cancels"
|
||||
msgid "Up/Down: select, Enter: pick, q: cancel"
|
||||
msgstr ""
|
||||
|
||||
msgid "Up/Down select - Space changes - q goes back"
|
||||
msgid "Up/Down: select, Space: change, q: back"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Up/Down select - Space switches - a adds one - Del removes - q goes back"
|
||||
msgid "Up/Down: select, Space: switch, a: add, Del: remove, q: back"
|
||||
msgstr ""
|
||||
|
||||
msgid "Usage: bottles-opener [command]"
|
||||
@@ -286,7 +285,7 @@ msgstr ""
|
||||
msgid "added"
|
||||
msgstr ""
|
||||
|
||||
msgid "could not be read - is python3 with PyYAML installed?"
|
||||
msgid "could not be read (is python3 with PyYAML installed?)"
|
||||
msgstr ""
|
||||
|
||||
msgid "double-click"
|
||||
@@ -298,7 +297,7 @@ msgstr ""
|
||||
msgid "never"
|
||||
msgstr ""
|
||||
|
||||
msgid "none yet - add one under File types"
|
||||
msgid "none yet, add one under File types"
|
||||
msgstr ""
|
||||
|
||||
msgid "not found"
|
||||
|
||||
@@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: bottles-opener 0.1.0\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/LoonixTools/bottles-opener/issues\n"
|
||||
"POT-Creation-Date: 2026-09-21 11:30+0200\n"
|
||||
"POT-Creation-Date: 2026-09-21 13:54+0200\n"
|
||||
"PO-Revision-Date: 2026-09-21 00:00+0200\n"
|
||||
"Last-Translator: Felitendo\n"
|
||||
"Language-Team: German\n"
|
||||
@@ -55,16 +55,16 @@ msgid "Already up to date for %s."
|
||||
msgstr "Für %s ist schon alles eingerichtet."
|
||||
|
||||
msgid ""
|
||||
"Bottles could not be read - is python3 with PyYAML installed? Nothing was "
|
||||
"Bottles could not be read. Is python3 with PyYAML installed? Nothing was "
|
||||
"changed."
|
||||
msgstr ""
|
||||
"Bottles konnte nicht gelesen werden - ist python3 mit PyYAML installiert? Es "
|
||||
"Bottles konnte nicht gelesen werden. Ist python3 mit PyYAML installiert? Es "
|
||||
"wurde nichts geändert."
|
||||
|
||||
msgid ""
|
||||
"Bottles is not installed - neither the package nor the Flatpak was found."
|
||||
"Bottles is not installed. Neither the package nor the Flatpak was found."
|
||||
msgstr ""
|
||||
"Bottles ist nicht installiert - weder das Paket noch das Flatpak wurde "
|
||||
"Bottles ist nicht installiert. Weder das Paket noch das Flatpak wurde "
|
||||
"gefunden."
|
||||
|
||||
msgid "Commands:"
|
||||
@@ -87,13 +87,13 @@ msgstr "Ein Doppelklick auf eine dieser Dateien öffnet sie in ihrem Programm."
|
||||
msgid "File opening"
|
||||
msgstr "Dateien öffnen"
|
||||
|
||||
msgid "File opening is off - this is what it would do."
|
||||
msgstr "Dateien öffnen ist aus - so würde es aussehen."
|
||||
|
||||
msgid "File opening is off and everything that was changed has been put back."
|
||||
msgstr ""
|
||||
"Dateien öffnen ist aus und alles, was geändert wurde, ist wiederhergestellt."
|
||||
|
||||
msgid "File opening is off. This is what it would do."
|
||||
msgstr "Dateien öffnen ist aus. So würde es aussehen."
|
||||
|
||||
msgid "File opening is off. Turn it on first."
|
||||
msgstr "Dateien öffnen ist aus. Schalte es zuerst ein."
|
||||
|
||||
@@ -127,8 +127,8 @@ msgid "Looking at the bottles..."
|
||||
msgstr "Bottles werden durchsucht..."
|
||||
|
||||
#, sh-printf-format
|
||||
msgid "More than one program is called \"%s\" - name the bottle as well."
|
||||
msgstr "Mehrere Programme heißen „%s“ - gib auch die Bottle an."
|
||||
msgid "More than one program is called \"%s\". Name the bottle as well."
|
||||
msgstr "Mehrere Programme heißen „%s“. Gib auch die Bottle an."
|
||||
|
||||
msgid "New programs"
|
||||
msgstr "Neue Programme"
|
||||
@@ -162,16 +162,16 @@ msgid "No programs found in any bottle."
|
||||
msgstr "In keiner Bottle wurden Programme gefunden."
|
||||
|
||||
msgid ""
|
||||
"No systemd user session - newly installed programs will not be picked up on "
|
||||
"their own."
|
||||
"No systemd user session, so newly installed programs will not be picked up "
|
||||
"on their own."
|
||||
msgstr ""
|
||||
"Keine systemd-Benutzersitzung - neu installierte Programme werden nicht von "
|
||||
"selbst erkannt."
|
||||
"Keine systemd-Benutzersitzung, daher werden neu installierte Programme nicht "
|
||||
"von selbst erkannt."
|
||||
|
||||
#, sh-printf-format
|
||||
msgid "Not overwriting %s - it was not written by this program."
|
||||
msgid "Not overwriting %s: this program did not write it."
|
||||
msgstr ""
|
||||
"%s wird nicht überschrieben - die Datei stammt nicht von diesem Programm."
|
||||
"%s wird nicht überschrieben, weil die Datei nicht von diesem Programm stammt."
|
||||
|
||||
#, sh-printf-format
|
||||
msgid "Nothing opens .%s."
|
||||
@@ -261,20 +261,19 @@ msgstr "Ausschalten und alles wiederherstellen"
|
||||
msgid "Unknown command: %s"
|
||||
msgstr "Unbekannter Befehl: %s"
|
||||
|
||||
msgid "Up/Down select - Enter edits its file types - q goes back"
|
||||
msgstr "Hoch/Runter wählt - Enter bearbeitet die Dateitypen - q geht zurück"
|
||||
msgid "Up/Down: select, Enter: edit file types, q: back"
|
||||
msgstr "Hoch/Runter: wählen, Enter: Dateitypen bearbeiten, q: zurück"
|
||||
|
||||
msgid "Up/Down select - Enter picks - q cancels"
|
||||
msgstr "Hoch/Runter wählt - Enter übernimmt - q bricht ab"
|
||||
msgid "Up/Down: select, Enter: pick, q: cancel"
|
||||
msgstr "Hoch/Runter: wählen, Enter: übernehmen, q: abbrechen"
|
||||
|
||||
msgid "Up/Down select - Space changes - q goes back"
|
||||
msgstr "Hoch/Runter wählt - Leertaste ändert - q geht zurück"
|
||||
msgid "Up/Down: select, Space: change, q: back"
|
||||
msgstr "Hoch/Runter: wählen, Leertaste: ändern, q: zurück"
|
||||
|
||||
msgid ""
|
||||
"Up/Down select - Space switches - a adds one - Del removes - q goes back"
|
||||
msgid "Up/Down: select, Space: switch, a: add, Del: remove, q: back"
|
||||
msgstr ""
|
||||
"Hoch/Runter wählt - Leertaste schaltet um - a fügt hinzu - Entf entfernt - q "
|
||||
"geht zurück"
|
||||
"Hoch/Runter: wählen, Leertaste: umschalten, a: hinzufügen, Entf: entfernen, "
|
||||
"q: zurück"
|
||||
|
||||
msgid "Usage: bottles-opener [command]"
|
||||
msgstr "Aufruf: bottles-opener [Befehl]"
|
||||
@@ -305,8 +304,8 @@ msgstr "Ohne Befehl wird ein interaktives Menü angezeigt."
|
||||
msgid "added"
|
||||
msgstr "hinzugefügt"
|
||||
|
||||
msgid "could not be read - is python3 with PyYAML installed?"
|
||||
msgstr "konnte nicht gelesen werden - ist python3 mit PyYAML installiert?"
|
||||
msgid "could not be read (is python3 with PyYAML installed?)"
|
||||
msgstr "konnte nicht gelesen werden (ist python3 mit PyYAML installiert?)"
|
||||
|
||||
msgid "double-click"
|
||||
msgstr "Doppelklick"
|
||||
@@ -317,8 +316,8 @@ msgstr "gerade eben"
|
||||
msgid "never"
|
||||
msgstr "nie"
|
||||
|
||||
msgid "none yet - add one under File types"
|
||||
msgstr "noch keine - unter Dateitypen hinzufügen"
|
||||
msgid "none yet, add one under File types"
|
||||
msgstr "noch keine, unter Dateitypen hinzufügen"
|
||||
|
||||
msgid "not found"
|
||||
msgstr "nicht gefunden"
|
||||
|
||||
@@ -6,7 +6,7 @@ Documentation=man:bottles-opener(1)
|
||||
# A bottle that is created or deleted. Where the bottles are depends on how
|
||||
# Bottles was installed: a distribution package keeps them in the user's data
|
||||
# directory, the Flatpak in its own. A directory that does not exist on this
|
||||
# system costs nothing - systemd watches the nearest parent that does and picks
|
||||
# system costs nothing: systemd watches the nearest parent that does and picks
|
||||
# the path up when it appears.
|
||||
PathModified=%h/.local/share/bottles/bottles
|
||||
PathModified=%h/.var/app/com.usebottles.bottles/data/bottles/bottles
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# bottles-opener - double-click a file and it opens in its Windows program,
|
||||
# bottles-opener: double-click a file and it opens in its Windows program,
|
||||
# inside its bottle
|
||||
#
|
||||
# Copyright (C) 2026 Felitendo
|
||||
@@ -35,7 +35,7 @@ fi
|
||||
_bo_need_bottles() {
|
||||
bo_installs_detect
|
||||
(( ${#BO_INSTALLS[@]} )) && return 0
|
||||
bo_bad "$(bo_msg "Bottles is not installed - neither the package nor the Flatpak was found.")"
|
||||
bo_bad "$(bo_msg "Bottles is not installed. Neither the package nor the Flatpak was found.")"
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ bo_do_enable() {
|
||||
if bo_watch_available; then
|
||||
bo_watch_enable || bo_note "$(bo_msg "Could not start the watcher for newly installed programs.")"
|
||||
else
|
||||
bo_note "$(bo_msg "No systemd user session - newly installed programs will not be picked up on their own.")"
|
||||
bo_note "$(bo_msg "No systemd user session, so newly installed programs will not be picked up on their own.")"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
@@ -220,7 +220,7 @@ _bo_find_program() {
|
||||
if (( ${#hits[@]} == 0 )); then
|
||||
bo_bad "$(bo_msg "No program called \"%s\" was found. \"bottles-opener programs\" lists them all." "$want")"
|
||||
else
|
||||
bo_bad "$(bo_msg "More than one program is called \"%s\" - name the bottle as well." "$want")"
|
||||
bo_bad "$(bo_msg "More than one program is called \"%s\". Name the bottle as well." "$want")"
|
||||
fi
|
||||
return 1
|
||||
}
|
||||
|
||||
+2
-2
@@ -89,7 +89,7 @@ _bo_file_put() {
|
||||
local path="$1" content="$2" rc
|
||||
|
||||
if ! _bo_owned "$path"; then
|
||||
bo_bad "$(bo_msg "Not overwriting %s - it was not written by this program." "$path")"
|
||||
bo_bad "$(bo_msg "Not overwriting %s: this program did not write it." "$path")"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -193,7 +193,7 @@ bo_apply() {
|
||||
|
||||
# Unreadable looks like empty, and converging on empty removes everything.
|
||||
if [[ -n $BO_SCAN_ERROR ]]; then
|
||||
bo_bad "$(bo_msg "Bottles could not be read - is python3 with PyYAML installed? Nothing was changed.")"
|
||||
bo_bad "$(bo_msg "Bottles could not be read. Is python3 with PyYAML installed? Nothing was changed.")"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
+2
-2
@@ -112,8 +112,8 @@ bo_assoc_compute() {
|
||||
done
|
||||
|
||||
# A detected type is the default when this program teaches the system the
|
||||
# type - nothing else could open it. A type the system knows already
|
||||
# belongs to some application somebody chose, and only gets "Open With".
|
||||
# type, because nothing else could open it. A type the system knows already
|
||||
# belongs to an app somebody chose, so it only gets "Open With".
|
||||
for k in "${!BO_A_EXT[@]}"; do
|
||||
[[ ${BO_A_STATE[k]} == auto ]] || continue
|
||||
ext="${BO_A_EXT[k]}"
|
||||
|
||||
+1
-1
@@ -145,7 +145,7 @@ bo_types_set() {
|
||||
mkdir -p "$(dirname "$BO_TYPES")" || return 1
|
||||
if [[ ! -e $BO_TYPES ]]; then
|
||||
{
|
||||
printf '# %s - file types changed by hand\n' "$BO_PRETTY"
|
||||
printf '# %s: file types changed by hand\n' "$BO_PRETTY"
|
||||
printf '#\n'
|
||||
printf '# Written by `%s`. Nothing here needs editing by hand.\n' "$BO_NAME"
|
||||
} > "$BO_TYPES" || return 1
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Writes one icon of a Windows program as PNG to stdout - the largest image of
|
||||
# it, the way Explorer would pick it for a big view.
|
||||
# Writes one icon of a Windows program as PNG to stdout. It picks the largest
|
||||
# image, like Explorer does for a big view.
|
||||
#
|
||||
# Usage: icon.py <file> [index]
|
||||
# <file> an .exe or .dll, an .ico, or a .png
|
||||
|
||||
+4
-4
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# The bottle's registry is asked first (scan.py): whatever an installer
|
||||
# registered there is what Windows would open. This table is for programs
|
||||
# that registered nothing - portable installs, copied folders.
|
||||
# that registered nothing, like portable installs or copied folders.
|
||||
|
||||
# Format: <pattern>|<ext>[=<switch>] ...
|
||||
#
|
||||
@@ -80,9 +80,9 @@ BO_KNOWN_PROGRAMS=(
|
||||
# Format: <ext>|<MIME type>|<description>|<magic>|<generic icon>|<flags>
|
||||
#
|
||||
# <magic>: string:<text> or big32:<hex>, matched at offset 0.
|
||||
# <flags>: "own" defines the type even where the system has the extension
|
||||
# already, as something else - .mpp is Musepack audio there, not a Project
|
||||
# file. The magic tells the two apart.
|
||||
# <flags>: "own" defines the type even where the system already uses the
|
||||
# extension for something else. For example, .mpp is Musepack audio there, not
|
||||
# a Project file. The magic tells the two apart.
|
||||
BO_KNOWN_TYPES=(
|
||||
# Office
|
||||
"ppa|application/x-ms-powerpoint-addin|PowerPoint add-in||x-office-presentation|"
|
||||
|
||||
+7
-7
@@ -184,7 +184,7 @@ bo_ui_status() {
|
||||
_bo_row "Bottles" "${BO_C_YELLOW}$(bo_msg "not found")${BO_C_RESET}"
|
||||
elif [[ -n $BO_SCAN_ERROR ]]; then
|
||||
_bo_row "Bottles" \
|
||||
"${BO_C_RED}$(bo_msg "could not be read - is python3 with PyYAML installed?")${BO_C_RESET}"
|
||||
"${BO_C_RED}$(bo_msg "could not be read (is python3 with PyYAML installed?)")${BO_C_RESET}"
|
||||
else
|
||||
_bo_row "Bottles" "$where"
|
||||
fi
|
||||
@@ -201,7 +201,7 @@ bo_ui_status() {
|
||||
if (( BO_N_ACTIVE )); then
|
||||
_bo_row "$(bo_msg "File types")" "$exts"
|
||||
else
|
||||
_bo_row "$(bo_msg "File types")" "${BO_C_DIM}$(bo_msg "none yet - add one under File types")${BO_C_RESET}"
|
||||
_bo_row "$(bo_msg "File types")" "${BO_C_DIM}$(bo_msg "none yet, add one under File types")${BO_C_RESET}"
|
||||
fi
|
||||
|
||||
if bo_watch_available; then
|
||||
@@ -250,7 +250,7 @@ bo_ui_settings() {
|
||||
done
|
||||
|
||||
bo_msg_into "Settings"; title="$BO_MSG_RESULT"
|
||||
bo_msg_into "Up/Down select - Space changes - q goes back"
|
||||
bo_msg_into "Up/Down: select, Space: change, q: back"
|
||||
hint="$BO_MSG_RESULT"
|
||||
|
||||
_bo_clearseq
|
||||
@@ -327,7 +327,7 @@ bo_ui_pick_program() {
|
||||
labels+=("$BO_LABEL")
|
||||
done
|
||||
|
||||
bo_msg_into "Up/Down select - Enter picks - q cancels"
|
||||
bo_msg_into "Up/Down: select, Enter: pick, q: cancel"
|
||||
hint="$BO_MSG_RESULT"
|
||||
_bo_clearseq
|
||||
_bo_term_rows 7
|
||||
@@ -416,7 +416,7 @@ bo_ui_programs() {
|
||||
local -a labels=() pexts=()
|
||||
|
||||
bo_msg_into "Programs"; title="$BO_MSG_RESULT"
|
||||
bo_msg_into "Up/Down select - Enter edits its file types - q goes back"
|
||||
bo_msg_into "Up/Down: select, Enter: edit file types, q: back"
|
||||
hint="$BO_MSG_RESULT"
|
||||
bo_msg_into "No programs found in any bottle."; empty="$BO_MSG_RESULT"
|
||||
|
||||
@@ -501,11 +501,11 @@ bo_ui_types() {
|
||||
local l_default l_openwith l_off l_missing l_added
|
||||
|
||||
bo_msg_into "File types"; title="$BO_MSG_RESULT"
|
||||
bo_msg_into "Up/Down select - Space switches - a adds one - Del removes - q goes back"
|
||||
bo_msg_into "Up/Down: select, Space: switch, a: add, Del: remove, q: back"
|
||||
hint="$BO_MSG_RESULT"
|
||||
bo_msg_into "\"double-click\" opens it; \"Open With\" only lists the program there."
|
||||
legend="$BO_MSG_RESULT"
|
||||
bo_msg_into "File opening is off - this is what it would do."
|
||||
bo_msg_into "File opening is off. This is what it would do."
|
||||
warn="$BO_MSG_RESULT"
|
||||
bo_msg_into "No file types yet. Press a to add one."
|
||||
empty="$BO_MSG_RESULT"
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Lists the bottles and programs of one Bottles installation, and the file
|
||||
# types each program registered in its bottle's registry - the way Windows
|
||||
# types each program registered in its bottle's registry. That is how Windows
|
||||
# knows them: extension -> ProgID -> open command, icon and description.
|
||||
#
|
||||
# Runs on the host, or inside the Bottles Flatpak fed through stdin, so it only
|
||||
|
||||
Reference in new issue
Block a user