change domain picker description and fix metadata title

This commit is contained in:
miloschwartz
2025-07-17 12:04:52 -07:00
parent 8e476cc07e
commit d870a49381
3 changed files with 6 additions and 3 deletions

View File

@@ -1198,7 +1198,8 @@
"newtUpdateAvailableInfo": "A new version of Newt is available. Please update to the latest version for the best experience.",
"domainPickerEnterDomain": "Enter your domain",
"domainPickerPlaceholder": "myapp.example.com, api.v1.mydomain.com, or just myapp",
"domainPickerDescription": "Enter a full domain, subdomain, or just a name to see available options",
"domainPickerDescription": "Enter the full domain of the resource to see available options.",
"domainPickerDescriptionSaas": "Enter a full domain, subdomain, or just a name to see available options",
"domainPickerTabAll": "All",
"domainPickerTabOrganization": "Organization",
"domainPickerTabProvided": "Provided",

View File

@@ -12,7 +12,7 @@ import { cache } from "react";
import { getTranslations } from "next-intl/server";
export const metadata: Metadata = {
title: `Auth - "Pangolin`,
title: `Auth - Pangolin`,
description: ""
};

View File

@@ -321,7 +321,9 @@ export default function DomainPicker({
}}
/>
<p className="text-xs text-muted-foreground">
{t("domainPickerDescription")}
{build === "saas"
? t("domainPickerDescriptionSaas")
: t("domainPickerDescription")}
</p>
</div>