diff --git a/Sources/TermQ/Resources/ar.lproj/Localizable.strings b/Sources/TermQ/Resources/ar.lproj/Localizable.strings index 48d61f05..a451046f 100644 --- a/Sources/TermQ/Resources/ar.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ar.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "تجاوز الخلفية الافتراضية"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree موجود بالفعل"; "settings.github.feed.cap.help" = "الحد الأقصى لعدد طلبات السحب المعروضة لكل مستودع في الشريط الجانبي Remote. يتم تضمين PRs المستخرجة دائماً."; "settings.github.feed.cap.label" = "PRs لكل مستودع"; -"settings.github.section.feed" = "موجز Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ca.lproj/Localizable.strings b/Sources/TermQ/Resources/ca.lproj/Localizable.strings index b23e960b..e2a16e20 100644 --- a/Sources/TermQ/Resources/ca.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ca.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Substituir el backend per defecte"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "El worktree ja existeix"; "settings.github.feed.cap.help" = "Nombre màxim de pull requests mostrades per repositori a la barra lateral Remote. Els PRs extrets sempre s'inclouen."; "settings.github.feed.cap.label" = "PRs per repositori"; -"settings.github.section.feed" = "Flux de Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/cs.lproj/Localizable.strings b/Sources/TermQ/Resources/cs.lproj/Localizable.strings index c1af8b42..a40a4798 100644 --- a/Sources/TermQ/Resources/cs.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/cs.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Přepsat výchozí backend"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree již existuje"; "settings.github.feed.cap.help" = "Maximální počet pull requestů zobrazených na repozitář v postranním panelu Remote. Odbočené PR jsou vždy zahrnuty."; "settings.github.feed.cap.label" = "PR na repozitář"; -"settings.github.section.feed" = "Feed Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/da.lproj/Localizable.strings b/Sources/TermQ/Resources/da.lproj/Localizable.strings index 47f0438c..3f1949e2 100644 --- a/Sources/TermQ/Resources/da.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/da.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Tilsidesæt standard-backend"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree findes allerede"; "settings.github.feed.cap.help" = "Maksimalt antal pull requests vist pr. lager i Remote-sidebjælken. Udtjekkede PRs medtages altid."; "settings.github.feed.cap.label" = "PRs pr. lager"; -"settings.github.section.feed" = "Remote PR-feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/de.lproj/Localizable.strings b/Sources/TermQ/Resources/de.lproj/Localizable.strings index 34939abf..4f7c4987 100644 --- a/Sources/TermQ/Resources/de.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/de.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Standard-Backend überschreiben"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree bereits vorhanden"; "settings.github.feed.cap.help" = "Maximale Anzahl der pro Repository in der Remote-Seitenleiste angezeigten Pull Requests. Ausgecheckte PRs werden immer eingeschlossen."; "settings.github.feed.cap.label" = "PRs pro Repository"; -"settings.github.section.feed" = "Remote-PR-Feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/el.lproj/Localizable.strings b/Sources/TermQ/Resources/el.lproj/Localizable.strings index 569b898d..c47285ba 100644 --- a/Sources/TermQ/Resources/el.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/el.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Παράκαμψη προεπιλεγμένου backend"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Το Worktree υπάρχει ήδη"; "settings.github.feed.cap.help" = "Μέγιστος αριθμός pull requests που εμφανίζονται ανά αποθετήριο στην πλευρική μπάρα Remote. Τα ληφθέντα PR περιλαμβάνονται πάντα."; "settings.github.feed.cap.label" = "PR ανά αποθετήριο"; -"settings.github.section.feed" = "Remote PR Feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/en-AU.lproj/Localizable.strings b/Sources/TermQ/Resources/en-AU.lproj/Localizable.strings index f16e34d9..d0cd9e10 100644 --- a/Sources/TermQ/Resources/en-AU.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/en-AU.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Override default backend"; @@ -1209,5 +1224,3 @@ "remote.prs.worktree.exists" = "Worktree already exists"; "settings.github.feed.cap.help" = "Maximum number of pull requests shown per repository in the Remote sidebar. Checked-out PRs are always included."; "settings.github.feed.cap.label" = "PRs per repository"; -"settings.github.section.feed" = "Remote PR Feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/en-GB.lproj/Localizable.strings b/Sources/TermQ/Resources/en-GB.lproj/Localizable.strings index 83518e64..1c50a866 100644 --- a/Sources/TermQ/Resources/en-GB.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/en-GB.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Override default backend"; @@ -1210,5 +1225,3 @@ "remote.prs.worktree.exists" = "Worktree already exists"; "settings.github.feed.cap.help" = "Maximum number of pull requests shown per repository in the Remote sidebar. Checked-out PRs are always included."; "settings.github.feed.cap.label" = "PRs per repository"; -"settings.github.section.feed" = "Remote PR Feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/en.lproj/Localizable.strings b/Sources/TermQ/Resources/en.lproj/Localizable.strings index 5a0392dd..95a1c4ce 100644 --- a/Sources/TermQ/Resources/en.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/en.lproj/Localizable.strings @@ -385,6 +385,21 @@ "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + // Settings - Environment tab "settings.tab.environment" = "Environment"; @@ -437,8 +452,6 @@ // MARK: - Settings — Marketplaces tab "settings.tab.marketplaces" = "External Sources"; -"settings.tab.github" = "GitHub"; -"settings.github.section.feed" = "Remote PR Feed"; "settings.github.feed.cap.label" = "PRs per repository"; "settings.github.feed.cap.help" = "Maximum number of pull requests shown per repository in the Remote sidebar. Checked-out PRs are always included."; "settings.marketplaces.section.list" = "Configured Marketplaces"; diff --git a/Sources/TermQ/Resources/es-419.lproj/Localizable.strings b/Sources/TermQ/Resources/es-419.lproj/Localizable.strings index d61df17c..af2b8e49 100644 --- a/Sources/TermQ/Resources/es-419.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/es-419.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Reemplazar backend predeterminado"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "El worktree ya existe"; "settings.github.feed.cap.help" = "Número máximo de pull requests mostradas por repositorio en la barra lateral remota. Las PRs extraídas siempre se incluyen."; "settings.github.feed.cap.label" = "PRs por repositorio"; -"settings.github.section.feed" = "Feed de PRs remotas"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/es.lproj/Localizable.strings b/Sources/TermQ/Resources/es.lproj/Localizable.strings index f1068885..c729254e 100644 --- a/Sources/TermQ/Resources/es.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/es.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Reemplazar backend predeterminado"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "El worktree ya existe"; "settings.github.feed.cap.help" = "Número máximo de pull requests mostradas por repositorio en la barra lateral remota. Las PRs extraídas siempre se incluyen."; "settings.github.feed.cap.label" = "PRs por repositorio"; -"settings.github.section.feed" = "Feed de PRs remotas"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/fi.lproj/Localizable.strings b/Sources/TermQ/Resources/fi.lproj/Localizable.strings index f293b83d..99848d8c 100644 --- a/Sources/TermQ/Resources/fi.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/fi.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Ohita oletustaustaohjelma"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Worktree on jo olemassa"; "settings.github.feed.cap.help" = "Enimmäismäärä pull requesteja per tietovarasto Remote-sivupalkissa. Kaivetut PR:t sisällytetään aina."; "settings.github.feed.cap.label" = "PR:iä per tietovarasto"; -"settings.github.section.feed" = "Etä-PR-syöte"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/fr-CA.lproj/Localizable.strings b/Sources/TermQ/Resources/fr-CA.lproj/Localizable.strings index 1f7e0075..1ba8465f 100644 --- a/Sources/TermQ/Resources/fr-CA.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/fr-CA.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Remplacer le backend par défaut"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Le worktree existe déjà"; "settings.github.feed.cap.help" = "Nombre maximum de pull requests affichées par dépôt dans la barre latérale Remote. Les PRs extraites sont toujours incluses."; "settings.github.feed.cap.label" = "PRs par dépôt"; -"settings.github.section.feed" = "Flux de PRs Remote"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/fr.lproj/Localizable.strings b/Sources/TermQ/Resources/fr.lproj/Localizable.strings index 5f700690..ea0c874f 100644 --- a/Sources/TermQ/Resources/fr.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/fr.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Remplacer le backend par défaut"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Le worktree existe déjà"; "settings.github.feed.cap.help" = "Nombre maximum de pull requests affichées par dépôt dans la barre latérale Remote. Les PRs extraites sont toujours incluses."; "settings.github.feed.cap.label" = "PRs par dépôt"; -"settings.github.section.feed" = "Flux de PRs Remote"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/he.lproj/Localizable.strings b/Sources/TermQ/Resources/he.lproj/Localizable.strings index 2992f532..05512658 100644 --- a/Sources/TermQ/Resources/he.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/he.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "עקוף backend ברירת מחדל"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Worktree כבר קיים"; "settings.github.feed.cap.help" = "מספר מרבי של pull requests המוצגים לכל מאגר בסרגל הצד Remote. PRים שנשלפו תמיד נכללים."; "settings.github.feed.cap.label" = "PRים לכל מאגר"; -"settings.github.section.feed" = "פיד Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/hi.lproj/Localizable.strings b/Sources/TermQ/Resources/hi.lproj/Localizable.strings index 05a9c04d..cdfd8dbe 100644 --- a/Sources/TermQ/Resources/hi.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/hi.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "डिफ़ॉल्ट बैकएंड ओवरराइड करें"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Worktree पहले से मौजूद है"; "settings.github.feed.cap.help" = "Remote साइडबार में प्रति रिपॉजिटरी अधिकतम pull request दिखाए जाते हैं। चेकआउट किए गए PR हमेशा शामिल होते हैं।"; "settings.github.feed.cap.label" = "PR प्रति रिपॉजिटरी"; -"settings.github.section.feed" = "Remote PR फ़ीड"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/hr.lproj/Localizable.strings b/Sources/TermQ/Resources/hr.lproj/Localizable.strings index 414277be..f57c29b8 100644 --- a/Sources/TermQ/Resources/hr.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/hr.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Zamijeni zadani backend"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "Worktree već postoji"; "settings.github.feed.cap.help" = "Maksimalni broj pull request-ova prikazanih po repozitoriju u Remote bočnoj traci. Izvučeni PR-ovi uvijek su uključeni."; "settings.github.feed.cap.label" = "PR-ovi po repozitoriju"; -"settings.github.section.feed" = "Remote PR feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/hu.lproj/Localizable.strings b/Sources/TermQ/Resources/hu.lproj/Localizable.strings index 997f4a56..736683a7 100644 --- a/Sources/TermQ/Resources/hu.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/hu.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Alapértelmezett háttérrendszer felülbírálása"; @@ -1217,5 +1232,3 @@ "remote.prs.worktree.exists" = "A Worktree már létezik"; "settings.github.feed.cap.help" = "Tárházonként megjelenített pull request-ek maximális száma a Remote oldalsávban. A kivett PR-ek mindig szerepelnek."; "settings.github.feed.cap.label" = "PR-ek tárházonként"; -"settings.github.section.feed" = "Remote PR-folyam"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/id.lproj/Localizable.strings b/Sources/TermQ/Resources/id.lproj/Localizable.strings index 4c40dbcb..b07e00a7 100644 --- a/Sources/TermQ/Resources/id.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/id.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Ganti backend bawaan"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree Sudah Ada"; "settings.github.feed.cap.help" = "Jumlah maksimum pull request yang ditampilkan per repositori di bilah sisi Remote. PR yang diambil selalu disertakan."; "settings.github.feed.cap.label" = "PR per repositori"; -"settings.github.section.feed" = "Umpan Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/it.lproj/Localizable.strings b/Sources/TermQ/Resources/it.lproj/Localizable.strings index cb1e802b..a53215e4 100644 --- a/Sources/TermQ/Resources/it.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/it.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Sostituisci backend predefinito"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Il worktree esiste già"; "settings.github.feed.cap.help" = "Numero massimo di pull request mostrate per repository nella barra laterale Remote. Le PR estratte sono sempre incluse."; "settings.github.feed.cap.label" = "PR per repository"; -"settings.github.section.feed" = "Feed PR Remote"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ja.lproj/Localizable.strings b/Sources/TermQ/Resources/ja.lproj/Localizable.strings index a1dd092b..841846ce 100644 --- a/Sources/TermQ/Resources/ja.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ja.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "デフォルトバックエンドを上書き"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktreeは既に存在します"; "settings.github.feed.cap.help" = "リモートサイドバーでリポジトリごとに表示されるプルリクエストの最大数。チェックアウト済みのPRは常に含まれます。"; "settings.github.feed.cap.label" = "リポジトリごとのPR数"; -"settings.github.section.feed" = "リモートPRフィード"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ko.lproj/Localizable.strings b/Sources/TermQ/Resources/ko.lproj/Localizable.strings index a11ac2be..36a89e21 100644 --- a/Sources/TermQ/Resources/ko.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ko.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "기본 백엔드 재정의"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "워크트리가 이미 존재합니다"; "settings.github.feed.cap.help" = "원격 사이드바에서 저장소별 최대 표시 풀 리퀘스트 수. 체크아웃된 PR은 항상 포함됩니다."; "settings.github.feed.cap.label" = "저장소당 PR 수"; -"settings.github.section.feed" = "원격 PR 피드"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ms.lproj/Localizable.strings b/Sources/TermQ/Resources/ms.lproj/Localizable.strings index 76ceac90..a3f43d97 100644 --- a/Sources/TermQ/Resources/ms.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ms.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Ganti backend lalai"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "Worktree Sudah Wujud"; "settings.github.feed.cap.help" = "Bilangan maksimum pull request yang ditunjukkan setiap repositori dalam bar sisi Remote. PR yang diambil sentiasa disertakan."; "settings.github.feed.cap.label" = "PR setiap repositori"; -"settings.github.section.feed" = "Suapan Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/nl.lproj/Localizable.strings b/Sources/TermQ/Resources/nl.lproj/Localizable.strings index 6aed5fb9..ab8d9c04 100644 --- a/Sources/TermQ/Resources/nl.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/nl.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Standaard backend overschrijven"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "Worktree bestaat al"; "settings.github.feed.cap.help" = "Maximaal aantal pull requests per repository in de Remote-zijbalk. Uitgecheckte PR's worden altijd meegenomen."; "settings.github.feed.cap.label" = "PR's per repository"; -"settings.github.section.feed" = "Remote PR-feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/no.lproj/Localizable.strings b/Sources/TermQ/Resources/no.lproj/Localizable.strings index 72384dd8..69b42a21 100644 --- a/Sources/TermQ/Resources/no.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/no.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Overstyr standard-backend"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "Worktree finnes allerede"; "settings.github.feed.cap.help" = "Maksimalt antall pull requests vist per depot i Remote-sidefeltet. Utsjekkede PRs er alltid inkludert."; "settings.github.feed.cap.label" = "PRs per depot"; -"settings.github.section.feed" = "Remote PR-feed"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/pl.lproj/Localizable.strings b/Sources/TermQ/Resources/pl.lproj/Localizable.strings index aa731359..961caeb2 100644 --- a/Sources/TermQ/Resources/pl.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/pl.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Zastąp domyślny backend"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "Worktree już istnieje"; "settings.github.feed.cap.help" = "Maksymalna liczba pull requestów wyświetlanych na repozytorium w pasku bocznym Remote. Pobrane PR są zawsze uwzględniane."; "settings.github.feed.cap.label" = "PR na repozytorium"; -"settings.github.section.feed" = "Kanał Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/pt-PT.lproj/Localizable.strings b/Sources/TermQ/Resources/pt-PT.lproj/Localizable.strings index 9ab2a241..4fc157a1 100644 --- a/Sources/TermQ/Resources/pt-PT.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/pt-PT.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Substituir backend predefinido"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "O worktree já existe"; "settings.github.feed.cap.help" = "Número máximo de pull requests apresentados por repositório na barra lateral Remote. Os PRs obtidos são sempre incluídos."; "settings.github.feed.cap.label" = "PRs por repositório"; -"settings.github.section.feed" = "Feed de PRs Remote"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/pt.lproj/Localizable.strings b/Sources/TermQ/Resources/pt.lproj/Localizable.strings index e156588e..c9c43642 100644 --- a/Sources/TermQ/Resources/pt.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/pt.lproj/Localizable.strings @@ -406,6 +406,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Substituir backend padrão"; @@ -1216,5 +1231,3 @@ "remote.prs.worktree.exists" = "Worktree já existe"; "settings.github.feed.cap.help" = "Número máximo de pull requests exibidas por repositório na barra lateral Remote. PRs obtidas são sempre incluídas."; "settings.github.feed.cap.label" = "PRs por repositório"; -"settings.github.section.feed" = "Feed de PRs Remote"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ro.lproj/Localizable.strings b/Sources/TermQ/Resources/ro.lproj/Localizable.strings index db533d82..970872e3 100644 --- a/Sources/TermQ/Resources/ro.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ro.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Suprascriere backend implicit"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree-ul există deja"; "settings.github.feed.cap.help" = "Numărul maxim de pull request-uri afișate pe depozit în bara laterală Remote. PR-urile extrase sunt întotdeauna incluse."; "settings.github.feed.cap.label" = "PR-uri pe depozit"; -"settings.github.section.feed" = "Feed Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/ru.lproj/Localizable.strings b/Sources/TermQ/Resources/ru.lproj/Localizable.strings index 573bd1dc..5bcc22ec 100644 --- a/Sources/TermQ/Resources/ru.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/ru.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Переопределить бэкенд по умолчанию"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree уже существует"; "settings.github.feed.cap.help" = "Максимальное количество pull request, отображаемых на репозиторий в боковой панели Remote. Извлечённые PR всегда включены."; "settings.github.feed.cap.label" = "PR на репозиторий"; -"settings.github.section.feed" = "Лента Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/sk.lproj/Localizable.strings b/Sources/TermQ/Resources/sk.lproj/Localizable.strings index ff1940f0..40a11a90 100644 --- a/Sources/TermQ/Resources/sk.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/sk.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Prepísať predvolený backend"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "Worktree už existuje"; "settings.github.feed.cap.help" = "Maximálny počet pull requestov zobrazených na repozitár v bočnom paneli Remote. Odbočené PR sú vždy zahrnuté."; "settings.github.feed.cap.label" = "PR na repozitár"; -"settings.github.section.feed" = "Feed Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/sl.lproj/Localizable.strings b/Sources/TermQ/Resources/sl.lproj/Localizable.strings index 21a2cbc8..9289f30a 100644 --- a/Sources/TermQ/Resources/sl.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/sl.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Prepiši privzeti zaledni sistem"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree že obstaja"; "settings.github.feed.cap.help" = "Največje število pull requestov, prikazanih na repozitorij v stranski vrstici Remote. Izvlečeni PR so vedno vključeni."; "settings.github.feed.cap.label" = "PR na repozitorij"; -"settings.github.section.feed" = "Remote PR vir"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/sv.lproj/Localizable.strings b/Sources/TermQ/Resources/sv.lproj/Localizable.strings index eaaf0ed6..b7dd3564 100644 --- a/Sources/TermQ/Resources/sv.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/sv.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Åsidosätt standard-backend"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree finns redan"; "settings.github.feed.cap.help" = "Maximalt antal pull requests som visas per databas i Remote-sidofältet. Utcheckade PRs inkluderas alltid."; "settings.github.feed.cap.label" = "PRs per databas"; -"settings.github.section.feed" = "Remote PR-flöde"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/th.lproj/Localizable.strings b/Sources/TermQ/Resources/th.lproj/Localizable.strings index 22fd5dbd..b1a624e7 100644 --- a/Sources/TermQ/Resources/th.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/th.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "แทนที่แบ็กเอนด์เริ่มต้น"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree มีอยู่แล้ว"; "settings.github.feed.cap.help" = "จำนวน pull request สูงสุดที่แสดงต่อ repository ในแถบด้านข้าง Remote PR ที่ดึงออกแล้วจะถูกรวมไว้เสมอ"; "settings.github.feed.cap.label" = "PR ต่อ repository"; -"settings.github.section.feed" = "ฟีด Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/tr.lproj/Localizable.strings b/Sources/TermQ/Resources/tr.lproj/Localizable.strings index 4de48de6..f196d59f 100644 --- a/Sources/TermQ/Resources/tr.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/tr.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Varsayılan backend'i geçersiz kıl"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree zaten mevcut"; "settings.github.feed.cap.help" = "Remote kenar çubuğunda depo başına gösterilen maksimum çekme isteği sayısı. Alınan PR'ler her zaman dahil edilir."; "settings.github.feed.cap.label" = "Depo başına PR sayısı"; -"settings.github.section.feed" = "Remote PR Akışı"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/uk.lproj/Localizable.strings b/Sources/TermQ/Resources/uk.lproj/Localizable.strings index 94e7fc02..b8c83071 100644 --- a/Sources/TermQ/Resources/uk.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/uk.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Замінити типовий бекенд"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree вже існує"; "settings.github.feed.cap.help" = "Максимальна кількість pull request, що відображаються на репозиторій у бічній панелі Remote. Отримані PR завжди включені."; "settings.github.feed.cap.label" = "PR на репозиторій"; -"settings.github.section.feed" = "Стрічка Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/vi.lproj/Localizable.strings b/Sources/TermQ/Resources/vi.lproj/Localizable.strings index 4432dced..fffd80a5 100644 --- a/Sources/TermQ/Resources/vi.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/vi.lproj/Localizable.strings @@ -407,6 +407,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "Ghi đè backend mặc định"; @@ -1218,5 +1233,3 @@ "remote.prs.worktree.exists" = "Worktree đã tồn tại"; "settings.github.feed.cap.help" = "Số lượng pull request tối đa hiển thị mỗi kho lưu trữ trong thanh bên Remote. PR đã lấy về luôn được bao gồm."; "settings.github.feed.cap.label" = "PR mỗi kho lưu trữ"; -"settings.github.section.feed" = "Nguồn cấp Remote PR"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/zh-HK.lproj/Localizable.strings b/Sources/TermQ/Resources/zh-HK.lproj/Localizable.strings index 6abf7cb6..27b6b7d5 100644 --- a/Sources/TermQ/Resources/zh-HK.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/zh-HK.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "覆寫預設後端"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "工作樹已存在"; "settings.github.feed.cap.help" = "遠端側邊欄中每個儲存庫顯示嘅最大提取請求數。已簽出嘅 PR 始終包含在內。"; "settings.github.feed.cap.label" = "每個儲存庫嘅 PR 數"; -"settings.github.section.feed" = "遠端 PR 資訊提供"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/zh-Hans.lproj/Localizable.strings b/Sources/TermQ/Resources/zh-Hans.lproj/Localizable.strings index 0283a1db..24389434 100644 --- a/Sources/TermQ/Resources/zh-Hans.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/zh-Hans.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "覆盖默认后端"; @@ -1213,5 +1228,3 @@ "remote.prs.worktree.exists" = "工作树已存在"; "settings.github.feed.cap.help" = "远程侧边栏中每个仓库显示的最大拉取请求数。已签出的 PR 始终包含在内。"; "settings.github.feed.cap.label" = "每个仓库的 PR 数"; -"settings.github.section.feed" = "远程 PR 订阅"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Resources/zh-Hant.lproj/Localizable.strings b/Sources/TermQ/Resources/zh-Hant.lproj/Localizable.strings index ea6ec25d..245956b8 100644 --- a/Sources/TermQ/Resources/zh-Hant.lproj/Localizable.strings +++ b/Sources/TermQ/Resources/zh-Hant.lproj/Localizable.strings @@ -405,6 +405,21 @@ "settings.tmux.enable.button" = "Enable tmux"; "settings.tmux.auto.reattach" = "Auto-reattach Sessions"; "settings.tmux.auto.reattach.help" = "Automatically reconnect to tmux sessions when TermQ launches"; +// Settings - Tools - GitHub CLI (gh) section +"settings.section.gh" = "GitHub CLI"; +"settings.gh.title" = "gh"; +"settings.gh.description" = "GitHub CLI — powers Remote PR browsing, reviews, and repository actions."; +"settings.gh.version" = "Version:"; +"settings.gh.path" = "Path:"; +"settings.gh.info" = "Remote PR features in the sidebar depend on a working, authenticated gh installation."; +"settings.gh.not.installed.description" = "gh enables Remote PR browsing and review features. Without it, TermQ shows only local repositories."; +"settings.gh.install.hint" = "Install using Homebrew:"; +"settings.gh.check.again" = "Check Again"; +"settings.gh.status.unauthenticated" = "Not authenticated"; +"settings.gh.status.auth.check.failed" = "Couldn't verify authentication"; +"settings.gh.status.signed.in.as %@" = "Signed in as %@"; +"settings.gh.auth.hint" = "Run `gh auth login` in a terminal to sign in."; + "editor.section.backend" = "Session Backend"; "editor.field.backend" = "Backend"; "editor.field.backend.override" = "覆寫預設後端"; @@ -1211,5 +1226,3 @@ "remote.prs.worktree.exists" = "工作樹已存在"; "settings.github.feed.cap.help" = "遠端側邊欄中每個儲存庫顯示的最大提取請求數。已簽出的 PR 始終包含在內。"; "settings.github.feed.cap.label" = "每個儲存庫的 PR 數"; -"settings.github.section.feed" = "遠端 PR 資訊提供"; -"settings.tab.github" = "GitHub"; diff --git a/Sources/TermQ/Services/GhCliProbe.swift b/Sources/TermQ/Services/GhCliProbe.swift index 95311e57..2bdf68ce 100644 --- a/Sources/TermQ/Services/GhCliProbe.swift +++ b/Sources/TermQ/Services/GhCliProbe.swift @@ -49,6 +49,9 @@ final class GhCliProbe: ObservableObject { @Published private(set) var status: GhCliStatus = .missing + /// Detected `gh` version string (e.g. "2.55.0"). Populated alongside `status` when binary is found. + @Published private(set) var version: String? + init() {} // MARK: - Probe @@ -57,9 +60,12 @@ final class GhCliProbe: ObservableObject { func probe() async { guard let ghPath = findGhBinary() else { status = .missing + version = nil return } + version = await fetchVersion(ghPath: ghPath) + // Auth check let authResult = try? await CommandRunner.run( executable: ghPath, @@ -118,6 +124,21 @@ final class GhCliProbe: ObservableObject { // MARK: - Helpers + private func fetchVersion(ghPath: String) async -> String? { + guard + let result = try? await CommandRunner.run( + executable: ghPath, + arguments: ["--version"] + ), + result.didSucceed + else { return nil } + // First line is "gh version 2.55.0 (2024-08-21)" + guard let line = result.stdout.split(separator: "\n").first else { return nil } + let parts = line.split(separator: " ") + guard parts.count >= 3 else { return nil } + return String(parts[2]) + } + private func fetchLogin(ghPath: String) async -> String? { guard let result = try? await CommandRunner.run( diff --git a/Sources/TermQ/Utilities/Strings+Gh.swift b/Sources/TermQ/Utilities/Strings+Gh.swift new file mode 100644 index 00000000..515a6f98 --- /dev/null +++ b/Sources/TermQ/Utilities/Strings+Gh.swift @@ -0,0 +1,24 @@ +import Foundation +import SwiftUI + +// MARK: - Settings.Gh + +extension Strings.Settings { + enum Gh { + static var section: String { localized("settings.section.gh") } + static var title: String { localized("settings.gh.title") } + static var description: String { localized("settings.gh.description") } + static var version: String { localized("settings.gh.version") } + static var path: String { localized("settings.gh.path") } + static var info: String { localized("settings.gh.info") } + static var notInstalledDescription: String { localized("settings.gh.not.installed.description") } + static var installHint: String { localized("settings.gh.install.hint") } + static var checkAgain: String { localized("settings.gh.check.again") } + static var statusUnauthenticated: String { localized("settings.gh.status.unauthenticated") } + static var statusAuthCheckFailed: String { localized("settings.gh.status.auth.check.failed") } + static var authHint: String { localized("settings.gh.auth.hint") } + static func statusSignedInAs(_ login: String) -> String { + localized("settings.gh.status.signed.in.as %@", login) + } + } +} diff --git a/Sources/TermQ/Utilities/Strings.swift b/Sources/TermQ/Utilities/Strings.swift index a2e46ed8..b057c341 100644 --- a/Sources/TermQ/Utilities/Strings.swift +++ b/Sources/TermQ/Utilities/Strings.swift @@ -471,10 +471,8 @@ enum Strings { static var tabTools: String { localized("settings.tab.tools") } static var tabDataAndSecurity: String { localized("settings.tab.data.and.security") } static var tabMarketplaces: String { localized("settings.tab.marketplaces") } - static var tabGitHub: String { localized("settings.tab.github") } - // GitHub tab - static var githubSectionFeed: String { localized("settings.github.section.feed") } + // Remote PR feed (shown in General → Git section) static var githubFeedCapLabel: String { localized("settings.github.feed.cap.label") } static var githubFeedCapHelp: String { localized("settings.github.feed.cap.help") } @@ -602,6 +600,8 @@ enum Strings { static var tmuxAutoReattach: String { localized("settings.tmux.auto.reattach") } static var tmuxAutoReattachHelp: String { localized("settings.tmux.auto.reattach.help") } + // Tools - GitHub CLI (gh) section — see Strings+Gh.swift + // Environment tab static var tabEnvironment: String { localized("settings.tab.environment") } diff --git a/Sources/TermQ/Views/Settings/SettingsGeneralView.swift b/Sources/TermQ/Views/Settings/SettingsGeneralView.swift index 28e7b3b8..89414a52 100644 --- a/Sources/TermQ/Views/Settings/SettingsGeneralView.swift +++ b/Sources/TermQ/Views/Settings/SettingsGeneralView.swift @@ -30,6 +30,9 @@ struct SettingsGeneralView: View { // Git preferences @Binding var protectedBranches: String + // Remote PR feed cap (GitHub) + @Binding var remotePRFeedCap: Int + var body: some View { // Terminal section Section { @@ -80,6 +83,23 @@ struct SettingsGeneralView: View { Text(Strings.Settings.protectedBranchesHelp) .font(.caption) .foregroundColor(.secondary) + + Stepper( + value: $remotePRFeedCap, + in: 5...100, + step: 5 + ) { + HStack { + Text(Strings.Settings.githubFeedCapLabel) + Spacer() + Text("\(remotePRFeedCap)") + .foregroundColor(.secondary) + .monospacedDigit() + } + } + Text(Strings.Settings.githubFeedCapHelp) + .font(.caption) + .foregroundColor(.secondary) } header: { Text(Strings.Settings.sectionGit) } diff --git a/Sources/TermQ/Views/Settings/SettingsGitHubView.swift b/Sources/TermQ/Views/Settings/SettingsGitHubView.swift deleted file mode 100644 index 95f98d93..00000000 --- a/Sources/TermQ/Views/Settings/SettingsGitHubView.swift +++ /dev/null @@ -1,28 +0,0 @@ -import SwiftUI - -struct SettingsGitHubView: View { - @Binding var remotePRFeedCap: Int - - var body: some View { - Section { - Stepper( - value: $remotePRFeedCap, - in: 5...100, - step: 5 - ) { - HStack { - Text(Strings.Settings.githubFeedCapLabel) - Spacer() - Text("\(remotePRFeedCap)") - .foregroundColor(.secondary) - .monospacedDigit() - } - } - Text(Strings.Settings.githubFeedCapHelp) - .font(.caption) - .foregroundColor(.secondary) - } header: { - Text(Strings.Settings.githubSectionFeed) - } - } -} diff --git a/Sources/TermQ/Views/SettingsView.swift b/Sources/TermQ/Views/SettingsView.swift index b168e2a5..d60cd7eb 100644 --- a/Sources/TermQ/Views/SettingsView.swift +++ b/Sources/TermQ/Views/SettingsView.swift @@ -51,7 +51,6 @@ struct SettingsView: View { case tools case dataAndSecurity case marketplaces - case gitHub var title: String { switch self { @@ -60,7 +59,6 @@ struct SettingsView: View { case .tools: return Strings.Settings.tabTools case .dataAndSecurity: return Strings.Settings.tabDataAndSecurity case .marketplaces: return Strings.Settings.tabMarketplaces - case .gitHub: return Strings.Settings.tabGitHub } } } @@ -94,7 +92,8 @@ struct SettingsView: View { updaterViewModel: updaterViewModel, selectedLanguage: $selectedLanguage, showUninstallSheet: $showUninstallSheet, - protectedBranches: $gitConfig.globalProtectedBranches + protectedBranches: $gitConfig.globalProtectedBranches, + remotePRFeedCap: $settings.remotePRFeedCap ) case .environment: SettingsEnvironmentView() @@ -110,8 +109,6 @@ struct SettingsView: View { ) case .marketplaces: SettingsMarketplacesView() - case .gitHub: - SettingsGitHubView(remotePRFeedCap: $settings.remotePRFeedCap) } } .formStyle(.grouped) diff --git a/Sources/TermQ/Views/ToolsTabContent.swift b/Sources/TermQ/Views/ToolsTabContent.swift index 81e3f85e..b4ebc433 100644 --- a/Sources/TermQ/Views/ToolsTabContent.swift +++ b/Sources/TermQ/Views/ToolsTabContent.swift @@ -24,6 +24,7 @@ struct ToolsTabContent: View { @ObservedObject private var boardViewModel = BoardViewModel.shared @ObservedObject private var tmuxManager = TmuxManager.shared @ObservedObject private var ynhDetector = YNHDetector.shared + @ObservedObject private var ghProbe = GhCliProbe.shared var isCLIInstalled: Bool { cliInstalled } var isMCPInstalled: Bool { mcpInstalled } @@ -42,6 +43,7 @@ struct ToolsTabContent: View { mcpSection cliSection tmuxSection + ghSection ynhSection } } @@ -82,6 +84,13 @@ extension ToolsTabContent { }() ) + StatusIndicator( + icon: "arrow.triangle.branch", + label: Strings.Settings.Gh.title, + status: ghStatusIndicator, + message: ghStatusMessage + ) + StatusIndicator( icon: "puzzlepiece.extension", label: "ynh", @@ -452,6 +461,187 @@ extension ToolsTabContent { } } +// MARK: - GitHub CLI (gh) Section + +extension ToolsTabContent { + var ghStatusIndicator: StatusIndicatorState { + switch ghProbe.status { + case .missing: return .inactive + case .unauthenticated, .authCheckFailed: return .disabled + case .ready: return .ready + } + } + + var ghStatusMessage: String { + switch ghProbe.status { + case .missing: + return Strings.Settings.notInstalled + case .unauthenticated: + return Strings.Settings.Gh.statusUnauthenticated + case .authCheckFailed: + return Strings.Settings.Gh.statusAuthCheckFailed + case .ready(_, let login): + let version = ghProbe.version.map { "\($0) · " } ?? "" + return "\(version)\(Strings.Settings.Gh.statusSignedInAs(login))" + } + } + + @ViewBuilder + var ghSection: some View { + Section { + VStack(alignment: .leading, spacing: 12) { + HStack { + Image(systemName: "arrow.triangle.branch") + .font(.title2) + .foregroundColor(.secondary) + + VStack(alignment: .leading, spacing: 2) { + Text(Strings.Settings.Gh.title) + .font(.headline) + Text(Strings.Settings.Gh.description) + .font(.caption) + .foregroundColor(.secondary) + } + + Spacer() + + if ghProbe.status.ghPath != nil { + installedBadge + } else { + notInstalledBadge + } + } + + Divider() + + if ghProbe.status.ghPath != nil { + ghAvailableContent + } else { + ghNotAvailableContent + } + } + .padding(.vertical, 4) + } header: { + Text(Strings.Settings.Gh.section) + } + .onAppear { + Task { await ghProbe.probe() } + } + } + + @ViewBuilder + var ghAvailableContent: some View { + VStack(alignment: .leading, spacing: 8) { + if let version = ghProbe.version { + HStack { + Text(Strings.Settings.Gh.version) + .foregroundColor(.secondary) + Text(version) + .font(.system(.body, design: .monospaced)) + } + .font(.caption) + } + + if let path = ghProbe.status.ghPath { + HStack { + Text(Strings.Settings.Gh.path) + .foregroundColor(.secondary) + Text(path) + .font(.system(.body, design: .monospaced)) + .textSelection(.enabled) + } + .font(.caption) + } + + switch ghProbe.status { + case .ready(_, let login): + HStack { + Image(systemName: "checkmark.seal.fill") + .foregroundColor(.green) + Text(Strings.Settings.Gh.statusSignedInAs(login)) + .font(.caption) + .foregroundColor(.secondary) + } + case .unauthenticated: + VStack(alignment: .leading, spacing: 6) { + HStack { + Image(systemName: "exclamationmark.triangle.fill") + .foregroundColor(.orange) + Text(Strings.Settings.Gh.statusUnauthenticated) + .font(.caption) + .foregroundColor(.orange) + } + Text(Strings.Settings.Gh.authHint) + .font(.caption) + .foregroundColor(.secondary) + } + case .authCheckFailed: + HStack { + Image(systemName: "exclamationmark.triangle") + .foregroundColor(.orange) + Text(Strings.Settings.Gh.statusAuthCheckFailed) + .font(.caption) + .foregroundColor(.orange) + } + case .missing: + EmptyView() + } + + HStack { + Image(systemName: "info.circle") + .foregroundColor(.blue) + Text(Strings.Settings.Gh.info) + .font(.caption) + .foregroundColor(.secondary) + } + + HStack { + Spacer() + Button(Strings.Settings.Gh.checkAgain) { + Task { await ghProbe.reprobe() } + } + .font(.caption) + } + } + } + + @ViewBuilder + var ghNotAvailableContent: some View { + VStack(alignment: .leading, spacing: 8) { + Text(Strings.Settings.Gh.notInstalledDescription) + .font(.caption) + .foregroundColor(.secondary) + + Text(Strings.Settings.Gh.installHint) + .font(.caption) + .foregroundColor(.secondary) + + HStack { + Text("brew install gh") + .font(.system(.body, design: .monospaced)) + .padding(6) + .background(Color.secondary.opacity(0.1)) + .cornerRadius(4) + + Button { + NSPasteboard.general.clearContents() + NSPasteboard.general.setString("brew install gh", forType: .string) + } label: { + Image(systemName: "doc.on.doc") + .font(.caption) + } + .buttonStyle(.bordered) + .help(Strings.Settings.copyToClipboard) + } + + Button(Strings.Settings.Gh.checkAgain) { + Task { await ghProbe.reprobe() } + } + .font(.caption) + } + } +} + // MARK: - YNH Section extension ToolsTabContent {