RandomSec/extensions/database/module/langs/translation-en.json
Antoine Beaubien 356c7636d8
Only show the database login fields when necessary (#2615)
* DB login fields visibility controled by CSS

The database login field’s visibility is now controled by CSS styling.

* Change field name from Database to Database file.

Change field name from Database to Database file.

* Use full db name as CSS classes

Use full db name instead of diminutives for the CSS classes.

* Added translation to placeholders

Added translation to the Input placeholders.

* Undo a change, remerge Database field & File

remerge Database field and DatabaseFile Field like before.

* Created DatabaseSourceUI._updateDatabaseType(dbType)

Created Refine.DatabaseSourceUI.prototype._updateDatabaseType(databaseType)

* Make MySQL the default database

<option value="mysql" selected="selected"">MySQL</option>

* Update database-import-form.html

Fixed typo. (<option value="mysql" selected="selected">MySQL</option>)

* New default connection name value

New default connection name value, translation of it, changing cssClassName from options to dbtype-options, adding the prefix "dbt-" to the db types and fix the changing of placeholder databaseName/databaseFileName when neccessary.

* Fix issue with « saved connections »

Fix issue with « saved connections » and added 2 defaults values for dbHost and dbType.

* Default DB back to MySQL.

<option value="mysql" selected="selected">MySQL</option>

* Update extensions/database/module/langs/translation-en.json

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Better default with « mysql »

* Fix sqlite #databaseHost before calling self._updateDatabaseType()

Fix $( "#databaseHost" ).val(self._defaultDatabaseHost) to be set before calling self._updateDatabaseType(self._defaultDatabaseType) that may change it.

* Removed field name & fixed default connection name

Removed field name text since it's populated from i18n and fixed the default connection name so that it has no space in it.

* Little update to placeholder text

Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2020-05-30 09:20:05 +01:00

64 lines
4.1 KiB
JSON

{
"database-import/title": "Database Servers",
"database-import/preparing": "Preparing result …",
"database-import/checking": "Validating query …",
"database-import/creating": "Creating project …",
"database-source/alert-host": "You must specify a database host",
"database-source/alert-port": "You must specify a database port",
"database-source/alert-user": "You must specify a database user",
"database-source/alert-password": "You must specify a database password",
"database-source/alert-connection-name": "You must specify a connection name",
"database-source/alert-initial-database": "You must specify an initial database",
"database-source/alert-query": "You must specify a valid query",
"database-source/alert-invalid-query-keyword": "Query cannot contain data manipulation keyword:",
"database-source/alert-invalid-query-select": "Query must start with SELECT Keyword",
"database-source/form-validation-failure": "New connection form invalid!",
"database-source/alert-connection-edit": "Connection edited",
"database-source/connectionNameLabel": "Name:",
"database-source/databaseTypeLabel": "Type:",
"database-source/databaseHostLabel": "Host:",
"database-source/databasePortLabel": "Port:",
"database-source/databaseUserLabel": "User:",
"database-source/databasePasswordLabel": "Password:",
"database-source/databaseNameLabel": "Database name:",
"database-source/databaseFileNameLabel": "Database file:",
"database-source/databaseSchemaLabel": "Schema:",
"database-source/connectionNamePlaceholder": "Enter a new Connection Name",
"database-source/databaseHostPlaceholder": "Enter the database server domain or IP",
"database-source/databasePortPlaceholder": "Enter the database port e.g. 3306",
"database-source/databaseUserPlaceholder": "Enter the database user",
"database-source/databasePasswordPlaceholder": "Enter the database password",
"database-source/databaseNamePlaceholder": "Enter the name of the database",
"database-source/databaseFileNamePlaceholder": "Enter the full path to the database file",
"database-source/databaseSchemaPlaceholder": "Enter the initial schema of the database",
"database-source/connectionNameDefaultValue": "New_Connection_Name",
"database-source/databaseTestButton": "Test",
"database-source/databaseSaveButton": "Save",
"database-source/databaseConnectButton": "Connect",
"database-source/newConnectionButtonDiv": "New connection",
"database-source/savedConnectionSpan": "Saved connections",
"database-parsing/start-over": "&laquo; Start over",
"database-parsing/conf-pars": "Configure parsing options",
"database-parsing/proj-name": "Project&nbsp;name",
"database-parsing/create-proj": "Create Project &raquo;",
"database-parsing/updating-preview": "Updating preview …",
"database-parsing/worksheet": "Worksheets",
"database-parsing/option": "Options",
"database-parsing/preview-button": "Update&nbsp;Preview",
"database-parsing/ignore-first": "Ignore first",
"database-parsing/ignore": "line(s) at beginning of file",
"database-parsing/parse-next": "Parse next",
"database-parsing/parse": "line(s) as column headers",
"database-parsing/discard-next": "Discard initial",
"database-parsing/discard": "row(s) of data",
"database-parsing/limit-next": "Load at most",
"database-parsing/limit": "row(s) of data",
"database-parsing/store-row": "Store blank rows",
"database-parsing/store-cell": "Store blank cells as nulls",
"database-source/alert-conn-name-invalid-character": "Connection Name Input Error: Illegal Character in Input. Only [a-zA-Z0-9._-] Allowed",
"database-source/alert-db-host-invalid-character": "Database Host Error: Illegal Character in Input. Only Alphanumeric characters allowed",
"database-source/alert-db-user-invalid-character": "Database User Error: Illegal Character in Input. Only Alphanumeric characters allowed",
"database-source/alert-db-port-invalid-character": "Database Port Error: Illegal Character in Input. Only Numeric values allowed."
}