Przeglądaj źródła

fix(tui): clarify session move copy

Kit Langton 1 miesiąc temu
rodzic
commit
a1d15645a1

+ 4 - 4
packages/tui/src/component/dialog-move-session.tsx

@@ -328,24 +328,24 @@ export function DialogMoveSession(props: DialogMoveSessionProps) {
           showError() ? (
             <box paddingLeft={4} paddingRight={4} paddingTop={1}>
               <text fg={theme.error} attributes={TextAttributes.BOLD}>
-                Could not load project directories
+                Could not load directories
               </text>
               <text fg={theme.textMuted}>{errorMessage(loadError())}</text>
               <text fg={theme.textMuted}>Close and reopen Move session to try again.</text>
             </box>
           ) : directories.loading || loadedProject.loading ? (
             <box paddingLeft={4} paddingRight={4} paddingTop={1}>
-              <text fg={theme.textMuted}>Loading project directories…</text>
+              <text fg={theme.textMuted}>Loading directories…</text>
             </box>
           ) : (
             <box paddingLeft={4} paddingRight={4} paddingTop={1}>
-              <text fg={theme.textMuted}>No project directories available</text>
+              <text fg={theme.textMuted}>No directories available</text>
             </box>
           )
         }
         noMatchView={
           <box paddingLeft={4} paddingRight={4} paddingTop={1}>
-            <text fg={theme.textMuted}>No project directories found</text>
+            <text fg={theme.textMuted}>No directories found</text>
           </box>
         }
         locked={showError() || directories.loading || loadedProject.loading || Boolean(removing())}

+ 1 - 1
packages/tui/src/component/prompt/index.tsx

@@ -556,7 +556,7 @@ export function Prompt(props: PromptProps) {
       },
       {
         title: "Move session",
-        desc: "Move to another project dir",
+        desc: "Move to another directory",
         name: "session.move",
         category: "Session",
         slash: { name: "move" },