ToolJet/cypress-tests/cypress/constants/texts/dataSource.js

74 lines
2.5 KiB
JavaScript
Raw Normal View History

export const dataSourceText = {
labelDataSources: "Datasources",
labelAddDataSource: "+ add data source",
allDataSources: "All data sources (41)",
allDatabase: "Databases (17)",
allApis: "APIs (20)",
allCloudStorage: "Cloud Storage (4)",
pluginsLabelAndCount: "Plugins (0)",
postgreSQL: "PostgreSQL",
labelHost: "Host",
labelPort: "Port",
labelSSL: "SSL",
labelDbName: "Database Name",
labelUserName: "Username",
labelPassword: "Password",
label: "Encrypted",
sslCertificate: "SSL Certificate",
whiteListIpText:
"Please white-list our IP address if the data source is not publicly accessible",
textCopy: "Copy",
readDocumentation: "Read documentation",
couldNotConnect: "could not connect",
buttonTextSave: "Save",
serverNotSuppotSsl: "The server does not support SSL connections",
psqlName: "cypress-postgresql",
labelConnectionVerified: "connection verified",
toastDSAdded: "Datasource Added",
placeholderNameOfDB: "Name of the database",
placeholderEnterHost: "Enter host",
placeholderEnterPort: "Enter port",
placeholderEnterUserName: "Enter username",
headerQueries: "Queries",
headerSelectDatasource: "Select Data Source",
noQueryText: "You haven't created queries yet.",
buttonLabelCreateQuery: "Create query",
tabGeneral: "General",
firstQueryName: "postgresql1",
buttonLabelPreview: "Preview",
buttonLabelCreateAndRun: "Create & Run",
buttonLabelCreate: "Create",
queryModeSql: "SQL mode",
queryModeGui: "GUI mode",
headerTransformations: "Enable Transformations",
json: "JSON",
raw: "Raw",
labelOperation: "Operation",
labelTable: "Table",
labelPrimaryKeyColumn: "Primary key column",
labelRecordsToUpdate: "Records to update",
toggleLabelRunOnPageLoad: "Run this query on application load?",
toggleLabelconfirmation: "Request confirmation before running query?",
toggleLabelShowNotification: "Show notification on success?",
labelSuccessMessage: "Success Message",
labelNotificatioDuration: "Notification duration (s)",
dialogueTextDelete: "Do you really want to delete this query?",
cancel: "Cancel",
yes: "Yes",
guiOptionBulkUpdate: "Bulk update using primary key",
buttonTextTestConnection: "Test Connection",
tabAdvanced: "Advanced",
labelNoEventhandler: "This query doesn't have any event handlers",
toastDSSaved: "Datasource Saved",
unSavedModalTitle: "Unsaved Changes"
};