Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/components/modals/NewConnectionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const FieldInput = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
/>
</div>
);
Expand Down Expand Up @@ -595,7 +595,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
placeholder={
activeDriver.capabilities.folder_based
? t("newConnection.folderPathPlaceholder")
Expand Down Expand Up @@ -652,7 +652,7 @@ export const NewConnectionModal = ({
autoComplete="off"
spellCheck={false}
className={clsx(
"flex-1 px-3 py-2 bg-base border rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors",
"flex-1 px-3 py-2 bg-base border rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors",
connectionStringError ? "border-red-500" : "border-strong",
)}
placeholder={connectionStringPlaceholder}
Expand Down Expand Up @@ -700,7 +700,7 @@ export const NewConnectionModal = ({
label={t("newConnection.username")}
value={formData.username}
onChange={(v) => updateField("username", v)}
placeholder="root"
placeholder={t("newConnection.usernamePlaceholder")}
/>
<FieldInput
label={t("newConnection.password")}
Expand Down Expand Up @@ -771,7 +771,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
placeholder={t("newConnection.dbNamePlaceholder")}
/>
)}
Expand Down Expand Up @@ -1002,7 +1002,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
/>
<button
type="button"
Expand Down Expand Up @@ -1040,7 +1040,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
/>
<button
type="button"
Expand Down Expand Up @@ -1078,7 +1078,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="flex-1 px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
/>
<button
type="button"
Expand Down Expand Up @@ -1252,7 +1252,7 @@ export const NewConnectionModal = ({
autoCapitalize="off"
autoComplete="off"
spellCheck={false}
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted focus:border-blue-500 focus:outline-none transition-colors"
className="w-full px-3 py-2 bg-base border border-strong rounded-md text-sm text-primary placeholder:text-muted placeholder:italic focus:border-blue-500 focus:outline-none transition-colors"
/>
{formData.save_in_keychain &&
sshPasswordDirty &&
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@
"password": "Passwort",
"passwordMissing": "Passwort fehlt oder ist nicht gesetzt. Bitte erneut eingeben.",
"passwordPlaceholder": "Passwort eingeben",
"usernamePlaceholder": "Benutzername eingeben",
"filePath": "Dateipfad",
"folderPath": "Ordnerpfad",
"dbName": "Datenbankname",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@
"password": "Password",
"passwordMissing": "Password missing or not set. Please re-enter.",
"passwordPlaceholder": "Enter password",
"usernamePlaceholder": "Enter username",
"filePath": "File Path",
"folderPath": "Folder Path",
"dbName": "Database Name",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@
"password": "Contraseña",
"passwordMissing": "Contraseña faltante. Por favor, ingrésala de nuevo.",
"passwordPlaceholder": "Ingresa la contraseña",
"usernamePlaceholder": "Ingresa el nombre de usuario",
"filePath": "Ruta del Archivo",
"folderPath": "Ruta de la Carpeta",
"dbName": "Nombre de la Base de Datos",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@
"password": "Mot de passe",
"passwordMissing": "Mot de passe manquant ou non défini. Veuillez le ressaisir.",
"passwordPlaceholder": "Saisir le mot de passe",
"usernamePlaceholder": "Saisir le nom d'utilisateur",
"filePath": "Chemin du fichier",
"folderPath": "Chemin du dossier",
"dbName": "Nom de la base de données",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@
"password": "Password",
"passwordMissing": "Password mancante. Per favore reinseriscila.",
"passwordPlaceholder": "Inserisci password",
"usernamePlaceholder": "Inserisci nome utente",
"filePath": "Percorso File",
"folderPath": "Percorso Cartella",
"dbName": "Nome Database",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@
"password": "密码",
"passwordMissing": "密码缺失或未设置。请重新输入。",
"passwordPlaceholder": "输入密码",
"usernamePlaceholder": "输入用户名",
"filePath": "文件路径",
"folderPath": "文件夹路径",
"dbName": "数据库名称",
Expand Down