Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Dec 28, 2024
1 parent 9bf0f7f commit bc257bf
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 49 deletions.
3 changes: 2 additions & 1 deletion packages/stack-shared/src/utils/strings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export function typedCapitalize<S extends string>(s: S): Capitalize<S> {
* Compares two strings in a way that is not dependent on the current locale.
*/
export function stringCompare(a: string, b: string): number {
return a < b ? -1 : a > b ? 1 : 0;
const cmp = (a: string, b: string) => a < b ? -1 : a > b ? 1 : 0;
return cmp(a.toUpperCase(), b.toUpperCase()) || cmp(b, a);
}

/**
Expand Down
96 changes: 48 additions & 48 deletions packages/stack/src/generated/quetzal-translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ export const quetzalKeys = new Map(typedEntries({
"Sign in again": "__stack-auto-translation-139",
"Sign in or create an account to join the team.": "__stack-auto-translation-140",
"Sign in to your account": "__stack-auto-translation-141",
"Sign in with {provider}": "__stack-auto-translation-142",
"Sign in with Passkey": "__stack-auto-translation-143",
"Sign in with Passkey": "__stack-auto-translation-142",
"Sign in with {provider}": "__stack-auto-translation-143",
"Sign out": "__stack-auto-translation-144",
"Sign up": "__stack-auto-translation-145",
"Sign Up": "__stack-auto-translation-146",
"Sign up for new users is not enabled at the moment.": "__stack-auto-translation-147",
"Sign up with {provider}": "__stack-auto-translation-148",
"Sign up with Passkey": "__stack-auto-translation-149",
"Sign up with Passkey": "__stack-auto-translation-148",
"Sign up with {provider}": "__stack-auto-translation-149",
"Signed in successfully!": "__stack-auto-translation-150",
"Something went wrong while processing the OAuth callback:": "__stack-auto-translation-151",
"Stop using for sign-in": "__stack-auto-translation-152",
Expand Down Expand Up @@ -255,14 +255,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Erstellen",
"__stack-auto-translation-140": "Melden Sie sich an oder erstellen Sie ein Konto, um dem Team beizutreten.",
"__stack-auto-translation-141": "Melden Sie sich in Ihrem Konto an",
"__stack-auto-translation-142": "Mit {provider} anmelden",
"__stack-auto-translation-143": "Mit Passkey anmelden",
"__stack-auto-translation-142": "Mit Passkey anmelden",
"__stack-auto-translation-143": "Mit {provider} anmelden",
"__stack-auto-translation-144": "Abmelden",
"__stack-auto-translation-145": "Registrieren",
"__stack-auto-translation-146": "Registrieren",
"__stack-auto-translation-147": "Die Registrierung für neue Benutzer ist derzeit nicht aktiviert.",
"__stack-auto-translation-148": "Mit {provider} registrieren",
"__stack-auto-translation-149": "Mit Passkey registrieren",
"__stack-auto-translation-148": "Mit Passkey registrieren",
"__stack-auto-translation-149": "Mit {provider} registrieren",
"__stack-auto-translation-15": "Ein neues Konto erstellen",
"__stack-auto-translation-150": "Erfolgreich angemeldet!",
"__stack-auto-translation-151": "Bei der Verarbeitung des OAuth-Callbacks ist etwas schiefgelaufen:",
Expand Down Expand Up @@ -453,14 +453,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Create",
"__stack-auto-translation-140": "Sign in or create an account to join the team.",
"__stack-auto-translation-141": "Sign in to your account",
"__stack-auto-translation-142": "Sign in with {provider}",
"__stack-auto-translation-143": "Sign in with Passkey",
"__stack-auto-translation-142": "Sign in with Passkey",
"__stack-auto-translation-143": "Sign in with {provider}",
"__stack-auto-translation-144": "Sign out",
"__stack-auto-translation-145": "Sign up",
"__stack-auto-translation-146": "Sign Up",
"__stack-auto-translation-147": "Sign up for new users is not enabled at the moment.",
"__stack-auto-translation-148": "Sign up with {provider}",
"__stack-auto-translation-149": "Sign up with Passkey",
"__stack-auto-translation-148": "Sign up with Passkey",
"__stack-auto-translation-149": "Sign up with {provider}",
"__stack-auto-translation-15": "Create a new account",
"__stack-auto-translation-150": "Signed in successfully!",
"__stack-auto-translation-151": "Something went wrong while processing the OAuth callback:",
Expand Down Expand Up @@ -651,14 +651,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Crear",
"__stack-auto-translation-140": "Inicie sesión o cree una cuenta para unirse al equipo.",
"__stack-auto-translation-141": "Inicia sesión en tu cuenta",
"__stack-auto-translation-142": "Iniciar sesión con {provider}",
"__stack-auto-translation-143": "Iniciar sesión con Passkey",
"__stack-auto-translation-142": "Iniciar sesión con Passkey",
"__stack-auto-translation-143": "Iniciar sesión con {provider}",
"__stack-auto-translation-144": "Cerrar sesión",
"__stack-auto-translation-145": "Registrarse",
"__stack-auto-translation-146": "Registrarse",
"__stack-auto-translation-147": "En este momento no está habilitado el registro para nuevos usuarios.",
"__stack-auto-translation-148": "Registrarse con {provider}",
"__stack-auto-translation-149": "Registrarse con clave de acceso",
"__stack-auto-translation-148": "Registrarse con clave de acceso",
"__stack-auto-translation-149": "Registrarse con {provider}",
"__stack-auto-translation-15": "Crear una cuenta nueva",
"__stack-auto-translation-150": "¡Sesión iniciada con éxito!",
"__stack-auto-translation-151": "Algo salió mal al procesar la devolución de llamada de OAuth:",
Expand Down Expand Up @@ -849,14 +849,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Crear",
"__stack-auto-translation-140": "Inicia sesión o crea una cuenta para unirte al equipo.",
"__stack-auto-translation-141": "Iniciar sesión en tu cuenta",
"__stack-auto-translation-142": "Iniciar sesión con {provider}",
"__stack-auto-translation-143": "Iniciar sesión con Passkey",
"__stack-auto-translation-142": "Iniciar sesión con Passkey",
"__stack-auto-translation-143": "Iniciar sesión con {provider}",
"__stack-auto-translation-144": "Cerrar sesión",
"__stack-auto-translation-145": "Registrarse",
"__stack-auto-translation-146": "Registrarse",
"__stack-auto-translation-147": "El registro de nuevos usuarios no está habilitado en este momento.",
"__stack-auto-translation-148": "Registrarse con {provider}",
"__stack-auto-translation-149": "Registrarse con Passkey",
"__stack-auto-translation-148": "Registrarse con Passkey",
"__stack-auto-translation-149": "Registrarse con {provider}",
"__stack-auto-translation-15": "Crear una nueva cuenta",
"__stack-auto-translation-150": "¡Sesión iniciada con éxito!",
"__stack-auto-translation-151": "Algo salió mal al procesar la devolución de llamada de OAuth:",
Expand Down Expand Up @@ -1047,14 +1047,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Créer",
"__stack-auto-translation-140": "Connectez-vous ou créez un compte pour rejoindre l'équipe.",
"__stack-auto-translation-141": "Connectez-vous à votre compte",
"__stack-auto-translation-142": "Connexion avec {provider}",
"__stack-auto-translation-143": "Se connecter avec clé d'accès",
"__stack-auto-translation-142": "Se connecter avec clé d'accès",
"__stack-auto-translation-143": "Connexion avec {provider}",
"__stack-auto-translation-144": "Se déconnecter",
"__stack-auto-translation-145": "S'inscrire",
"__stack-auto-translation-146": "S'inscrire",
"__stack-auto-translation-147": "L'inscription de nouveaux utilisateurs n'est pas activée pour le moment.",
"__stack-auto-translation-148": "S'inscrire avec {provider}",
"__stack-auto-translation-149": "S'inscrire avec Passkey",
"__stack-auto-translation-148": "S'inscrire avec Passkey",
"__stack-auto-translation-149": "S'inscrire avec {provider}",
"__stack-auto-translation-15": "Créer un nouveau compte",
"__stack-auto-translation-150": "Connexion réussie !",
"__stack-auto-translation-151": "Une erreur s'est produite lors du traitement du rappel OAuth :",
Expand Down Expand Up @@ -1245,14 +1245,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Créer",
"__stack-auto-translation-140": "Connectez-vous ou créez un compte pour rejoindre l'équipe.",
"__stack-auto-translation-141": "Connectez-vous à votre compte",
"__stack-auto-translation-142": "Se connecter avec {provider}",
"__stack-auto-translation-143": "Se connecter avec Passkey",
"__stack-auto-translation-142": "Se connecter avec Passkey",
"__stack-auto-translation-143": "Se connecter avec {provider}",
"__stack-auto-translation-144": "Se déconnecter",
"__stack-auto-translation-145": "S'inscrire",
"__stack-auto-translation-146": "S'inscrire",
"__stack-auto-translation-147": "L'inscription pour les nouveaux utilisateurs n'est pas activée pour le moment.",
"__stack-auto-translation-148": "S'inscrire avec {provider}",
"__stack-auto-translation-149": "S'inscrire avec Passkey",
"__stack-auto-translation-148": "S'inscrire avec Passkey",
"__stack-auto-translation-149": "S'inscrire avec {provider}",
"__stack-auto-translation-15": "Créer un nouveau compte",
"__stack-auto-translation-150": "Connexion réussie !",
"__stack-auto-translation-151": "Une erreur est survenue lors du traitement de la réponse OAuth :",
Expand Down Expand Up @@ -1443,14 +1443,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Crea",
"__stack-auto-translation-140": "Accedi o crea un account per unirti al team.",
"__stack-auto-translation-141": "Accedi al tuo account",
"__stack-auto-translation-142": "Accedi con {provider}",
"__stack-auto-translation-143": "Accedi con Passkey",
"__stack-auto-translation-142": "Accedi con Passkey",
"__stack-auto-translation-143": "Accedi con {provider}",
"__stack-auto-translation-144": "Esci",
"__stack-auto-translation-145": "Registrati",
"__stack-auto-translation-146": "Registrati",
"__stack-auto-translation-147": "L'iscrizione per i nuovi utenti non è attualmente abilitata.",
"__stack-auto-translation-148": "Registrati con {provider}",
"__stack-auto-translation-149": "Registrati con Passkey",
"__stack-auto-translation-148": "Registrati con Passkey",
"__stack-auto-translation-149": "Registrati con {provider}",
"__stack-auto-translation-15": "Crea un nuovo account",
"__stack-auto-translation-150": "Accesso effettuato con successo!",
"__stack-auto-translation-151": "Qualcosa è andato storto durante l'elaborazione del callback OAuth:",
Expand Down Expand Up @@ -1641,14 +1641,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Criar",
"__stack-auto-translation-140": "Faça login ou crie uma conta para se juntar à equipe.",
"__stack-auto-translation-141": "Entrar na sua conta",
"__stack-auto-translation-142": "Entrar com {provider}",
"__stack-auto-translation-143": "Entrar com Passkey",
"__stack-auto-translation-142": "Entrar com Passkey",
"__stack-auto-translation-143": "Entrar com {provider}",
"__stack-auto-translation-144": "Sair",
"__stack-auto-translation-145": "Cadastrar-se",
"__stack-auto-translation-146": "Cadastrar-se",
"__stack-auto-translation-147": "O cadastro para novos usuários não está disponível no momento.",
"__stack-auto-translation-148": "Cadastre-se com o {provider}",
"__stack-auto-translation-149": "Cadastre-se com Passkey",
"__stack-auto-translation-148": "Cadastre-se com Passkey",
"__stack-auto-translation-149": "Cadastre-se com o {provider}",
"__stack-auto-translation-15": "Criar uma nova conta",
"__stack-auto-translation-150": "Login realizado com sucesso!",
"__stack-auto-translation-151": "Algo deu errado ao processar o retorno de chamada OAuth:",
Expand Down Expand Up @@ -1839,14 +1839,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "Criar",
"__stack-auto-translation-140": "Inicie sessão ou crie uma conta para se juntar à equipa.",
"__stack-auto-translation-141": "Iniciar sessão na sua conta",
"__stack-auto-translation-142": "Iniciar sessão com {provider}",
"__stack-auto-translation-143": "Iniciar sessão com Passkey",
"__stack-auto-translation-142": "Iniciar sessão com Passkey",
"__stack-auto-translation-143": "Iniciar sessão com {provider}",
"__stack-auto-translation-144": "Terminar sessão",
"__stack-auto-translation-145": "Inscrever-se",
"__stack-auto-translation-146": "Inscrever-se",
"__stack-auto-translation-147": "As inscrições para novos utilizadores não estão ativadas de momento.",
"__stack-auto-translation-148": "Registar-se com {provider}",
"__stack-auto-translation-149": "Registar com chave de acesso",
"__stack-auto-translation-148": "Registar com chave de acesso",
"__stack-auto-translation-149": "Registar-se com {provider}",
"__stack-auto-translation-15": "Criar uma nova conta",
"__stack-auto-translation-150": "Autenticação bem-sucedida!",
"__stack-auto-translation-151": "Algo correu mal durante o processamento do callback OAuth:",
Expand Down Expand Up @@ -2037,14 +2037,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "创建",
"__stack-auto-translation-140": "登录或创建账户以加入团队。",
"__stack-auto-translation-141": "登录您的帐户",
"__stack-auto-translation-142": "使用{provider}登录",
"__stack-auto-translation-143": "使用密钥登录",
"__stack-auto-translation-142": "使用密钥登录",
"__stack-auto-translation-143": "使用{provider}登录",
"__stack-auto-translation-144": "退出登录",
"__stack-auto-translation-145": "注册",
"__stack-auto-translation-146": "注册",
"__stack-auto-translation-147": "目前不允许新用户注册。",
"__stack-auto-translation-148": "用 {provider} 注册",
"__stack-auto-translation-149": "使用通行密钥注册",
"__stack-auto-translation-148": "使用通行密钥注册",
"__stack-auto-translation-149": "用 {provider} 注册",
"__stack-auto-translation-15": "创建新账户",
"__stack-auto-translation-150": "登录成功!",
"__stack-auto-translation-151": "处理 OAuth 回调时出现错误:",
Expand Down Expand Up @@ -2235,14 +2235,14 @@ export const quetzalLocales = new Map(typedEntries({
"__stack-auto-translation-14": "建立",
"__stack-auto-translation-140": "登入或建立帳戶以加入團隊。",
"__stack-auto-translation-141": "登入您的帳戶",
"__stack-auto-translation-142": "以 {provider} 登入",
"__stack-auto-translation-143": "使用密鑰登入",
"__stack-auto-translation-142": "使用密鑰登入",
"__stack-auto-translation-143": "以 {provider} 登入",
"__stack-auto-translation-144": "登出",
"__stack-auto-translation-145": "註冊",
"__stack-auto-translation-146": "註冊",
"__stack-auto-translation-147": "目前不開放新使用者註冊。",
"__stack-auto-translation-148": "使用 {provider} 註冊",
"__stack-auto-translation-149": "使用通行金鑰註冊",
"__stack-auto-translation-148": "使用通行金鑰註冊",
"__stack-auto-translation-149": "使用 {provider} 註冊",
"__stack-auto-translation-15": "建立新帳戶",
"__stack-auto-translation-150": "登入成功!",
"__stack-auto-translation-151": "處理 OAuth 回調時出現錯誤:",
Expand Down

0 comments on commit bc257bf

Please sign in to comment.