RandomSec/extensions/database/module/langs/translation-en_GB.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

54 lines
3.3 KiB
JSON

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