ClientSetupGuides::for_location( $endpoint, SiteLocation::PUBLIC ), SiteLocation::LOCAL => ClientSetupGuides::for_location( $endpoint, SiteLocation::LOCAL ), ]; ?> [ __( 'On the internet', 'albert-ai-butler' ), __( 'People reach it at its address. Every app can connect.', 'albert-ai-butler' ), ], SiteLocation::LOCAL => [ __( 'Only on this computer', 'albert-ai-butler' ), __( 'For example Local, Herd, Studio or a Docker setup. Apps that run on this computer can connect; Claude on the web and phone and ChatGPT cannot.', 'albert-ai-butler' ), ], ]; ?>
rest_url( Plugin::rest_namespace() . '/connect/status' ), 'locationUrl' => rest_url( Plugin::rest_namespace() . '/connect/location' ), 'nonce' => wp_create_nonce( 'wp_rest' ), 'i18n' => [ /* translators: 1: current step number, 2: number of steps. */ 'progress' => __( 'Step %1$d of %2$d', 'albert-ai-butler' ), 'public' => __( 'Public site, on the internet.', 'albert-ai-butler' ), 'local' => __( 'Local site, only on this computer.', 'albert-ai-butler' ), /* translators: %s: an app's name. */ 'waiting' => __( 'Waiting for %s to connect. Keep this window open.', 'albert-ai-butler' ), /* translators: %s: an app's name. */ 'stillWait' => __( 'Still waiting for %s. This updates by itself.', 'albert-ai-butler' ), /* translators: %s: the connected app's name. */ 'connected' => __( '%s is connected', 'albert-ai-butler' ), /* translators: %s: the person who approved it. */ 'signedIn' => __( 'It signed in as %s.', 'albert-ai-butler' ), 'saveError' => __( 'Could not save where this site runs. It is used for now; reload the page to try saving again.', 'albert-ai-butler' ), 'chooseApp' => __( 'Choose the app you use to continue.', 'albert-ai-butler' ), /* translators: %s: an app's name. */ 'gaveUp' => __( 'Stopped checking for %s. Close this and open it again to keep waiting.', 'albert-ai-butler' ), 'expired' => __( 'Your session on this site ended. Reload the page, then try again.', 'albert-ai-butler' ), ], ] ); } }