diff options
| author | 2015-02-22 14:06:29 -0500 | |
|---|---|---|
| committer | 2015-02-22 14:06:29 -0500 | |
| commit | 306d6d3ca9c9ad774d19135681a7f9805f77035f (patch) | |
| tree | a3e36ac2cc769162c30a1bcc33e126f7a4f4ccea /SQLiteStudio3/sqlitestudiocli | |
| parent | 016003905ca0e8e459e3dc33e786beda8ec92f45 (diff) | |
Imported Upstream version 3.0.3upstream/3.0.3
Diffstat (limited to 'SQLiteStudio3/sqlitestudiocli')
18 files changed, 5268 insertions, 5 deletions
diff --git a/SQLiteStudio3/sqlitestudiocli/cli.cpp b/SQLiteStudio3/sqlitestudiocli/cli.cpp index a663e84..0f527ac 100644 --- a/SQLiteStudio3/sqlitestudiocli/cli.cpp +++ b/SQLiteStudio3/sqlitestudiocli/cli.cpp @@ -222,13 +222,20 @@ void CLI::applyHistoryLimit() void CLI::openDbFile(const QString& path) { + Db* db = DBLIST->getByPath(path); + if (db) + { + println(tr("Database passed in command line parameters (%1) was already on the list under name: %2").arg(path, db->getName())); + return; + } + QString name = DBLIST->quickAddDb(path, QHash<QString,QVariant>()); if (name.isNull()) { println(tr("Could not add database %1 to list.").arg(path)); return; } - Db* db = DBLIST->getByName(name); + db = DBLIST->getByName(name); setCurrentDb(db); } diff --git a/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro b/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro index 09cb2b9..8ee61f9 100644 --- a/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro +++ b/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro @@ -4,15 +4,15 @@ # #------------------------------------------------- +QT += core +QT -= gui + include($$PWD/../dirs.pri) OBJECTS_DIR = $$OBJECTS_DIR/sqlitestudiocli MOC_DIR = $$MOC_DIR/sqlitestudiocli UI_DIR = $$UI_DIR/sqlitestudiocli -QT += core -QT -= gui - TARGET = sqlitestudiocli CONFIG += console CONFIG -= app_bundle @@ -25,7 +25,14 @@ linux|portable { QMAKE_LFLAGS += -Wl,-rpath,./lib } -TRANSLATIONS += translations/sqlitestudiocli_pl.ts +TRANSLATIONS += translations/sqlitestudiocli_zh_CN.ts \ + translations/sqlitestudiocli_sk.ts \ + translations/sqlitestudiocli_de.ts \ + translations/sqlitestudiocli_ru.ts \ + translations/sqlitestudiocli_pt_BR.ts \ + translations/sqlitestudiocli_fr.ts \ + translations/sqlitestudiocli_es.ts \ + translations/sqlitestudiocli_pl.ts SOURCES += main.cpp \ cli.cpp \ @@ -104,3 +111,14 @@ unix: { RESOURCES += \ sqlitestudiocli.qrc + + + + + + + + + + + diff --git a/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.qrc b/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.qrc index ac0cb93..7a27dfe 100644 --- a/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.qrc +++ b/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.qrc @@ -1,5 +1,7 @@ <RCC> <qresource prefix="/msg"> <file>translations/sqlitestudiocli_pl.qm</file> + <file>translations/sqlitestudiocli_ru.qm</file> + <file>translations/sqlitestudiocli_fr.qm</file> </qresource> </RCC> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.qm Binary files differnew file mode 100644 index 0000000..9dad8df --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.ts new file mode 100644 index 0000000..887f13b --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_de.ts @@ -0,0 +1,736 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="de_DE"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.qm Binary files differnew file mode 100644 index 0000000..9dad8df --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.ts new file mode 100644 index 0000000..bd93869 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_es.ts @@ -0,0 +1,736 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="es_ES"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.qm Binary files differnew file mode 100644 index 0000000..289a90f --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.ts new file mode 100644 index 0000000..3d10f87 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_fr.ts @@ -0,0 +1,776 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="fr_FR"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation>Base de données actuelle: %1</translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation>Aucune base de données en cours n'est activée.</translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation>Touche %1 pour l'aide</translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation>Impossible d'ajouter la base de données %1 à la liste.</translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation>Fermé</translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation>Uttilisation: %1%2</translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation>Impossible d'ajouter le base de données %1 à la liste.</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation>Base de données ajoutée: %1</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation>Ajoutez la nouvelle base de données à la liste</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation>Ajoutez la base de données pointée par <path>nommée <name>à la liste des baszs de données. Le nom<name>est seulement un nom symbilique que vous pourrez y référer. Choississez un nom unique. Pour une base de données figuant dans la liste utilisez la commande %1.</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>Nom</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>Chemin</translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation>Renommer le repertoire en: %1</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation>Impossible de renommer le répertoire en: %1</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation>Modifiezle répertoire de travail actuel</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation>La commande 'cd' est connu du système UNIX et Windows. Elle nécessite le paramètre <chemin> passé avant l'appel %1 qui occasionnera une modification du répertoire. Pour connaitre qu'elle est le répertoire courant utiliser la commande %2 et pour lister le contenu de celui-ci utilisez la commande %3.</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>Chemin</translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Impossible d'appeler %1 lorsqu'aucune base de données n'est active. Spécifiez la base de données active avec la commande %2 ou par le nom de la base de données par %3.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation>Connexion à la base de données %1 fermée.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation>Aucune base de données:%1. Utilisez %2 pour avoir la liste des bases de données connues.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation>Fermeture d'une de données sélectionnées (ou actuelle)</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation>Fermeture de base de données connectée. . Si la base est déjà fermée, aucune action. Si <name> est fourni, c'est celle ainsi qui sera close (as printed by %1 command). Si <name> n'est pas fourni, la base actuelle est close (voir l'aide %2 pour plus de détails).</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>Nom</translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation>Aucune base de données actuelle n'est définie.</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation>Base de données:</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation>Nom</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation>Ouvrir</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation>Fermer</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation>Connexion</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation>Chemin de la base de données</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation>Imprimer la liste des bases de données enregistrées</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation>Imprimez la liste des bases de données enregistrées sous SQLiteStudio. Chaque base se données de la liste peut être ouverte ou close et %1 vous indique lesquellest.La base de données actuelle est aussi marquée dans la liste par '*' en début de nom. Voir l'aide la commande %2 pour en savoir plus sur la base de données actuelle.</translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation>Affichage des détails de la table</translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation>Table</translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation>Listes des répertoires et fichiers dans le répertoire de travail</translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation>Ceci est très semblable à la commande 'dir' de Windows et à la commande de 'ls' de systèmes Unix. + +You pouvez utiliser les caractères de remplacement <pattern> npour filtrer la sortie.</translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation>Modèle</translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation>Quitter l'application</translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation>Quittez l'apllication. Le paramètrage est stocké dans la configuration et sera restauré au prochain lancement.</translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation>Affichagez l'aide du message</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation>Utilisez %1 pour connaitre certaines commandes supportées par la ligne de commande (CLI) de SQLiteStudio. +Pour voir les commandes supportées, saississez %2 sana arguments. + +En utilisant le nom de <command>, vous ajouter le caractère spécial'(%3'). + +Vous pouvez exécuter n'importe quelle commande avec l'option ' --help' pour voir l'aide pour cette commande. C'est une alternative à : %1 <commande>.</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation>CLI syntax de commandes</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation>Aucune telle commande: %1</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation>Saisissez '%1' pour la liste des commandes valides.</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation>Utilisation: %1%2</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation>Pseudomynes: %1</translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation>L'historique actuel est limité à : %1</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation>Imprimez l'historique ou supprimez le</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation>Lorqu'aucun argument n'est passé,cette commande imprime l'histoirique. Chaque entrée est séparée par une ligne vide, permettant une lecture aisée. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation>Nombre</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation>Historique effacé.</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation>Nombre invalide: %1</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation>Historique limité à %1</translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation>Résultats actuels du mode d' impression: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation>Résultats invalides du mode d' impression: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation>Résultats actuels du mode d' impression: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation>Modifie le format du résultat de la requête</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation>Sans argument, le format de sortie actuel de la requête est utilisé. Avec <mode>c'est un de ces mode qui est utilisé: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation>Représentation actuelle d'une chaine NULL: %1</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation>Modifiez la représentation d'une chaine NULL</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation>Si on n'a passé aucun argument, c'est la représentation de valeur NULL actuelle qui est utilisée (ce qui est imprimé à la place de valeurs NULL dans des résultats de requête). Si on donne un argument, il sera utilisé comme une nouvelle chaine représentant NULL.</translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Impossible d'appeler %1 lorsque aucune base de données n'est sélectionnée. Spécifiez la base de données actuelle avec la commande %2 ou nommez la base de données %3.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation>Impossible d'ajouter la base de données %1 à la liste.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation>Le fichier %1 n'existe pas dans %2. Impossible d'ouvrir une base de données avec la commande %3. Pour créer une nouvelle base de données utilisez la commande %4.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation>La base de données %1 a été ouverte et sélectionnée comme base de données actuelle.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation>Ouvre la connexion de la base de données</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation>Ouvre la connexion de la base de données. Si aucun argument n'est passé, alors la connexion est ouverte comme base de données actuelle (voir l'aide %1 pour plus de détails). Cependant si on a passé un argument il peut être le <name> d'une base de données enregistrée, ou cela peut être le <chemin> du fichier de base de données. Dans le deuxième cas, le <chemin> est enregistré dans la liste avec un nom généré mais seulement pendant la période de la session actuelle. Après la reprise de la l'application une telle base de données n'est pas rétablie dans la liste.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>Nom</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>Chemin</translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation>Imprime le répertoire de travail actuel</translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation>C'est la même commande d'un système Unix 'pwd' ou 'cd' sans arguments de Windows. Ceci imprimele répertoire de travail courant. Vous pouvez changer le répertoire avec le commande %1 et avoir la liste des répertoire de travail avec la commande %2.</translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation>Aucune base de données: %1</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation>Base de données enlevée: %1</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation>Nouvelle base de données actuelle: </translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation>Enleve la base de données de la liste</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation>Enlève la base de données <nom> de la liste des bases enregistrées.si la base de données n'est pas dans la liste (voir la commande %1), alors message d'erreur est imprimé sans aucunes autres lignes.</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>Nom</translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation>Aucune base de données de travail n'est activée. +Appelez la commande %1 pour activer la base de données active. +Appelez %2 pour voir la liste de toutes les bases de données.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation>La base de données n'est pas ouverte.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation>Exécute la requête SQL</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation>Cette commande est exécutée chaque fois vous saississez une requête SQL au prompt de commande. Il exécute la requête sur la base de données actuelle (voir l'aide %1 pour des détails). Il n'y a aucun sens dans l'exécution de cette commande explicitement. Instead just type the SQL query in the command prompt, without any command prefixed.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation>SQL</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation>Trop de colonnes à afficher avec le mode %1.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation>Ligne %1</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation>Erreur d'exécution de la requête: %1</translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation>Aucune base de données: %1. Utilisez %2pour voir la liste des base de données connues.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Impossible d'appeler %1 quand aucune base de données n'est active. Spécifiez la base de données active avec la commade %2 ou nommez la base de données avec %3.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation>La base de données %1 est fermée.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation>Base de données</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation>Table</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation>Imprime la liste des tablesde la base de données</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation>Imprime la liste des tables d'une <database> donnée ou la base de données actuelle. Notez que la <database> devrait être le nom enregistré de la base de données (voir %1). L'affichage de la liste inclus toutes les tables d'autres bases de données attachées à celle-ci. +Lorsque l'option '-s' est ajouté, les tables système sont aussi listées.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation>Base de données</translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation>Aucune base de données actuelle n'est sélectionnée. Utilisez %1 pour en définir uneet lancez avec %2.</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation>Tables</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation>Vues</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation>Colonnes</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation>Index</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation>Déclancheurs</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation>Imprime tous les objets de la base de données comme un arbre</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation>Imprime tous les objets (tables, index, déclencheurs et vues) qui sont dans la base de données comme un arbre. L'arbre est très semblable à celui que vous pouvez voir dans lGUI client de SQLiteStudio. +Quand on ajoute l'option-c, alors aussi les colonnes seront inscrites sous chaque table. +Quand on ajoute l'option-s, alors aussi les objets de système seront imprimés (sqlite_* tables, des index d'autoincrément, etc). +L'argument de base de données est facultatif et si fourni, alors seulement la base de données donnée sera imprimée. Ceci n'est pas un nom de base de données enregistré, mais au lieu de cela c'est un nom de base de données SQLite interne, comme 'principal', 'ltemporaire', ou n'importe quel nom de base de données attaché. Pour imprimer l'arbre pour d'autre base de données enregistrée, appelez %1 d'abord pour changer la base de données actuelleet utiliser la commande %2.</translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation>Aucune base de données active de sélectionnée.</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation>Base de données actuelle: %1</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation>Aucune base de données : %1</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation>Change la base de données actelle par défaut</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation>Changet la base de données actuelle <nom>. Si le <nom > de la base de données n'est pas enregistrée dans l'application, le message d'erreur est imprimé et aucun changement n'est fait. + +Quel est la base de données actuelle? +Quand vous saississez une requête SQL à exécuter, celle-ci est exécutée sur la base de données par défaut, que l'on connaît aussi comme la base de données actuelle. La plupart de commandes concernant la base de données utilise la base de données de défaut d'utilisation, si on n'a fourni aucune base de données dans leurs arguments. La base de données actuelle est toujours identifiée par la ligne de commande. La base de données par défaut est toujours définie (à moins qu'il n'y ait aucune base de données dans la liste). + +La base de données par défaut peut être choisie de diverses manières: +- Utilisation de la commande%1, +- En passant nom de fichier de base de données aux paramètres de démarrage d'application, +- En passantle nom la base de données enregistrée aux paramètres de démarrage d'application, +- En restaurant la base de données par défaut précédemment choisie dans la configuration sauvée, +- Ou quand la base de données par défaut n'a été choisie par aucun du susdit, l'alors première base de données de la liste de bases de données enregistrée devient le par défaut.</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>Nom</translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation>Nombre d'arguments insuffisant.</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation>Trop d'arguements.</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation>Valeur invalide de l'arguement %1. Exepté l'un d'eux: %2</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation>Option %1 inconnue</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation>L'option %1 nécessite un argument.</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation>Chaine</translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation>Interface de ligne de commandes de SQLiteStudio, SQLite manager.</translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation>Messages de débogage valides sur sortie d'erreur standard.</translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation>Permet le débogage avec l'analyseur syntaxique de Lemo pour l'assistant SQL.</translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation>Liste les plugins installés dans SQLiteStudio et quitte.</translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation>Fichier</translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation>Base de données à ouvrir</translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pl.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pl.ts index dda9aac..b2ecd33 100644 --- a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pl.ts +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pl.ts @@ -23,6 +23,10 @@ <source>closed</source> <translation>zamkniÄ™ta</translation> </message> + <message> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>CliCommand</name> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.qm Binary files differnew file mode 100644 index 0000000..c02994c --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.ts new file mode 100644 index 0000000..f9c8a82 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_pt_BR.ts @@ -0,0 +1,736 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="pt_BR"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.qm Binary files differnew file mode 100644 index 0000000..ab88676 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.ts new file mode 100644 index 0000000..c63207d --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_ru.ts @@ -0,0 +1,775 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ru_RU"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation>Ð¢ÐµÐºÑƒÑ‰Ð°Ñ Ð±Ð°Ð·Ð° данных: %1</translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation>Ð¢ÐµÐºÑƒÑ‰Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных не определена.</translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation>Введите %1 Ð´Ð»Ñ Ð²Ñ‹Ð·Ð¾Ð²Ð° Ñправки</translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation>Ðевозможно добавить базу данных %1 в ÑпиÑок.</translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation>закрыта</translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation>ИÑпользование: %1%2</translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation>Ðевозможно добавить базу данных %1 в ÑпиÑок.</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation>Добавлена база данных: %1</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation>добавлÑет новую базу данных в ÑпиÑок</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation>ДобавлÑет базу данных, раÑположенную по указанному <пути> под указанным <именем> в ÑпиÑок баз данных. <имÑ> — Ñто обычное Ñимвольное имÑ, которое в дальнейшем можно будет иÑпользовать. Выберите любое уникальное имÑ. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ³Ð¾ ÑпиÑка баз данных воÑпользуйтеÑÑŒ командой %1.</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>имÑ</translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>путь</translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation>Изменён каталог на: %1</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation>Ðевозможно Ñменить каталог на: %1</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation>изменение текущего рабочего каталога</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation>Ðналог команды 'cd' из ÑиÑтем Unix и Windows. ТребуетÑÑ ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ðµ параметра <путь>, поÑтому вызов %1 вÑегда приводит к изменению каталога. Ð”Ð»Ñ Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ³Ð¾ рабочего каталога воÑпользуйтеÑÑŒ командой %2. Ð”Ð»Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð° Ñодержимого текущего рабочего каталога воÑпользуйтеÑÑŒ командой %3.</translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>путь</translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Ðевозможно вызвать %1, еÑли ни одна база данных не ÑвлÑетÑÑ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹. Укажите текущую базу данных, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ %2 или укажите Ð¸Ð¼Ñ Ð±Ð°Ð·Ñ‹ данных при вызове %3.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation>Соединение Ñ Ð±Ð°Ð·Ð¾Ð¹ данных %1 закрыто.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation>Ðе найдена база данных: %1. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ ÑпиÑка доÑтупных баз данных воÑпользуйтеÑÑŒ командой %2.</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation>закрывает указанную (или текущую) базу данных</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation>Закрывает Ñоединение Ñ Ð±Ð°Ð·Ð¾Ð¹ данных. ЕÑли база данных уже закрыта, ничего не произойдёт. ЕÑли указано <имÑ>, оно должно ÑоответÑтвовать имени закрываемой базы данных (которое выводитÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð¾Ð¹ %1). ЕÑли Ð¸Ð¼Ñ Ð½Ðµ указано, будет закрыта Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных (Ñмотрите Ñправку по команде %2 Ð´Ð»Ñ Ð¿Ð¾Ð´Ñ€Ð¾Ð±Ð½Ð¾Ñтей).</translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>имÑ</translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation>Ðе указана Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation>Базы данных:</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation>ИмÑ</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation>Открыто</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation>Закрыто</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation>Соединение</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation>Путь к файлу базы данных</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation>выводит ÑпиÑок зарегиÑтрированных баз данных</translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation>Выводит ÑпиÑок баз данных, зарегиÑтрированных в SQLiteStudio. ÐšÐ°Ð¶Ð´Ð°Ñ Ð±Ð°Ð·Ð° данных может быть либо открыта, либо закрыта, %1 Ñто также указывает. Ð¢ÐµÐºÑƒÑ‰Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных (она же база данных по умолчанию) дополнительно отмечена Ñимволом '*' в начале имени. Смотрите Ñправку по команде %2 Ð´Ð»Ñ Ñведений о базе данных по умолчанию.</translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation>отображает ÑÐ²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¾ таблице</translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation>таблица</translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation>выводит ÑпиÑок каталогов и файлов в текущем рабочем каталоге</translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation>Ðналог команды 'dir' в Windows и 'ls' в ÑиÑтемах Unix. + +Ð’Ñ‹ можете указать <маÑку> c иÑпользованием подÑтановочных Ñимволов Ð´Ð»Ñ Ñ„Ð¸Ð»ÑŒÑ‚Ñ€Ð°Ñ†Ð¸Ð¸ вывода.</translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation>маÑка</translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation>выход из приложениÑ</translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation>ОÑущеÑтвлÑет выход из приложениÑ. ÐаÑтройки ÑохранÑÑŽÑ‚ÑÑ Ð² конфигурационном файле и воÑÑтановÑÑ‚ÑÑ Ð¿Ñ€Ð¸ Ñледующем запуÑке.</translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation>вывод Ñтого ÑообщениÑ</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation>ИÑпользуйте %1 Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñведений о командах, поддерживаемых интерфейÑом командной Ñтроки (CLI) SQLiteStudio. +Ð”Ð»Ñ Ð¿Ñ€Ð¾Ñмотра ÑпиÑка доÑтупных команд, введите %2 без ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ð¾Ð². + +При указании имени <команды> можно не указывать префикÑный Ñимвол ('%3'). + +Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñправки по команде вы также можете выполнить команду Ñ ÐµÐ´Ð¸Ð½Ñтвенным ключом '--help'. Ðто альтернатива вводу: %1 <команда>.</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation>команда</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation>Ðе найдена команда: %1</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation>Введите '%1' Ð´Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ ÑпиÑка доÑтупных команд.</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation>ИÑпользование: %1%2</translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation>ПÑевдонимы: %1</translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation>Текущий лимит иÑтории: %1</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation>выводит иÑторию или очищает её</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation>При вызове без аргументов, Ð´Ð°Ð½Ð½Ð°Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð° выводит иÑторию командной Ñтроки. ÐšÐ°Ð¶Ð´Ð°Ñ Ð·Ð°Ð¿Ð¸ÑÑŒ иÑтории отделена горизонтальной линией Ð´Ð»Ñ Ð¾Ð±Ð»ÐµÐ³Ñ‡ÐµÐ½Ð¸Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¼Ð½Ð¾Ð³Ð¾Ñтрочных запиÑей. + +При вызове Ñ ÐºÐ»ÑŽÑ‡Ð¾Ð¼ -Ñ Ð¸Ð»Ð¸ --clear иÑÑ‚Ð¾Ñ€Ð¸Ñ Ð¾Ñ‡Ð¸Ñ‰Ð°ÐµÑ‚ÑÑ. +При вызове Ñ ÐºÐ»ÑŽÑ‡Ð¾Ð¼ -l или --limit уÑтанавливаетÑÑ Ð½Ð¾Ð²Ñ‹Ð¹ лимит на количеÑтво запиÑей в иÑтории. Ðеобходим дополнительный аргумент, указывающий Ñколько запиÑей необходимо хранить в иÑтории. +Ð”Ð»Ñ Ð¿Ñ€Ð¾Ñмотра текущего лимита запиÑей вызовите команду Ñ ÐºÐ»ÑŽÑ‡Ð¾Ð¼ -ql или --querylimit.</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation>количеÑтво</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation>ИÑÑ‚Ð¾Ñ€Ð¸Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð½Ð¾Ð¹ Ñтроки очищена.</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation>Ðекорректное количеÑтво: %1</translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation>Лимит иÑтории уÑтановлен в количеÑтве %1</translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation>Текущий режим вывода результатов: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation>Ðекорректный режим вывода результатов: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation>Ðовый режим вывода результатов: %1</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation>отображает или изменÑет формат вывода результатов запроÑа</translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation>При вызове без аргументов отображает текущий формат вывода результатов запроÑа. ЕÑли указан <режим>, режим менÑетÑÑ Ð½Ð° переданный. Поддерживаемые режимы: +- CLASSIC - Ñтолбцы разделÑÑŽÑ‚ÑÑ Ð·Ð°Ð¿Ñтой, не выравниваютÑÑ, +- FIXED - ширина Ñтолбцов одинакова и зафикÑирована, они вÑегда умещаютÑÑ Ð² ширину окна терминала, однако данные в Ñтолбцах могут быть обрезаны, +- COLUMNS - аналогичен FIXED, но более умный (не иÑпользуйте при огромных размерах результатов, подробнее Ñм. ниже), +- ROW - каждый Ñтолбец Ñтроки выводитÑÑ Ñ Ð½Ð¾Ð²Ð¾Ð¹ Ñтрочки, так что отображаютÑÑ Ð¿Ð¾Ð»Ð½Ñ‹Ðµ данные. + +Режим CLASSIC рекомендован еÑли необходимо отобразить вÑе данные, не Ð·Ð°Ñ‚Ñ€Ð°Ñ‡Ð¸Ð²Ð°Ñ Ð¾Ñ‚Ð´ÐµÐ»ÑŒÐ½Ñ‹Ðµ Ñтрочки на каждый Ñтолбец. ÐšÐ°Ð¶Ð´Ð°Ñ Ñтрока будет Ñодержать полные данные каждого Ñтолбца, что приведёт к отÑутÑтвию Ð²Ñ‹Ñ€Ð°Ð²Ð½Ð¸Ð²Ð°Ð½Ð¸Ñ Ñтолбцов в Ñледующих Ñтроках. Также в режиме CLASSIC не учитываетÑÑ ÑˆÐ¸Ñ€Ð¸Ð½Ð° окна терминала (конÑоли), поÑтому еÑли Ñтолбцы шире окна, оÑтаток Ñтроки будет выведен на новых Ñтрочках. + +Режим FIXED рекомендован еÑли необходимо получить читабельный вывод, Ð½ÐµÐ²Ð·Ð¸Ñ€Ð°Ñ Ð½Ð° длинные Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ñтолбцов. Столбцы будут выровнены в аккуратную таблицу. Ширина Ñтолбцов будет раÑÑчитана иÑÑ…Ð¾Ð´Ñ Ð¸Ð· ширины окна конÑоли и чиÑла Ñтолбцов. + +Режим COLUMNS аналогичен режиму FIXED Ñ Ñ‚Ð¾Ð¹ разницей, что он умнее и Ñделает Ñтолбцы Ñ ÐºÐ¾Ñ€Ð¾Ñ‚ÐºÐ¸Ð¼Ð¸ значениÑми поуже, оÑтавлÑÑ Ð±Ð¾Ð»ÑŒÑˆÐµ меÑта Ñтолбцам Ñ Ð´Ð»Ð¸Ð½Ð½Ñ‹Ð¼Ð¸ значениÑми. Первыми будут ужаты Ñтолбцы Ñ Ñамыми длинными заголовками (Ñ‚.е. длинные заголовки будут обрезаны в первую очередь), затем будут ужиматьÑÑ Ñтолбцы Ñ Ñамыми длинными значениÑми, пока таблица не впишетÑÑ Ð² окно терминала. +Ð’ÐИМÐÐИЕ! Ð”Ð»Ñ Ñ€Ð°ÑÑчёта ширины Ñтолбцов в режиме COLUMNS ÑчитываетÑÑ Ñразу веÑÑŒ результат запроÑа, поÑтому его опаÑно иÑпользовать при огромных размерах результатов. Учтите, что в Ñтом режиме веÑÑŒ результат запроÑа загружаетÑÑ Ð² оперативную памÑть. + +Режим ROW рекомендован еÑли необходимо отобразить вÑе данные, при Ñтом чиÑло выводимых Ñтрок невелико, так как в Ñтом режиме каждый Ñтолбец выводитÑÑ Ð½Ð° отдельной Ñтрочке; например вывод единÑтвенной Ñтроки из 10 Ñтолбцов займёт 10 Ñтрочек, 10 таких Ñтрок займут 100 Ñтрочек вывода (+1 Ñтрочка на каждую Ñтроку Ð´Ð»Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð° Ñ€Ð°Ð·Ð´ÐµÐ»Ð¸Ñ‚ÐµÐ»Ñ Ñтрок).</translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation>Текущее предÑтавление Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ NULL: %1</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation>отображает или уÑтанавливает предÑтавление Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ NULL</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation>При вызове без аргументов отображает текущее предÑтавление Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ NULL (Ñ‚.е. что выводитÑÑ Ð²Ð¼ÐµÑто Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ NULL в результатах запроÑа). ЕÑли указан аргумент, он будет иÑпользован как Ñтрока Ð´Ð»Ñ Ð¿Ñ€ÐµÐ´ÑÑ‚Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ NULL.</translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Ðевозможно вызвать %1, еÑли ни одна база данных не ÑвлÑетÑÑ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹. Укажите текущую базу данных, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ %2 или укажите Ð¸Ð¼Ñ Ð±Ð°Ð·Ñ‹ данных при вызове %3.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation>Ðевозможно добавить базу данных %1 в ÑпиÑок.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation>Файл %1 не ÑущеÑтвует в %2. Ðевозможно открыть неÑущеÑтвующую базу данных командой %3. Ð”Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ Ð½Ð¾Ð²Ð¾Ð¹ базы данных воÑпользуйтеÑÑŒ командой %4.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation>База данных %1 была открыта и уÑтановлена в качеÑтве текущей рабочей базы данных.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation>открывает Ñоединение Ñ Ð±Ð°Ð·Ð¾Ð¹ данных</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation>Открывает Ñоединение Ñ Ð±Ð°Ð·Ð¾Ð¹ данных. При вызове без аргументов, Ñоединение открываетÑÑ Ð´Ð»Ñ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹ базы данных по умолчанию (Ñм. Ñправку по команде %1 Ð´Ð»Ñ Ð¿Ð¾Ð´Ñ€Ð¾Ð±Ð½Ð¾Ñтей). ЕÑли же аргумент указан,он может быть <именем> зарегиÑтрированной базы данных или <путём> к файлу базы данных. Во втором Ñлучае, база данных по указанному <пути> будет зарегиÑтрирована в ÑпиÑке под Ñгенерированным именем, но только на Ð²Ñ€ÐµÐ¼Ñ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹ ÑеÑÑии в приложении. ПоÑле перезапуÑка Ð¿Ñ€Ð¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ð½Ð°Ñ Ð±Ð°Ð·Ð° в ÑпиÑке воÑÑтановлена не будет.</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>имÑ</translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation>путь</translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation>отображение текущего рабочего каталога</translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation>Ðналог команды 'pwd' в ÑиÑтемах Unix и команды 'cd' без аргументов в Windows. Команда отображает текущий рабочий каталог. Ð’Ñ‹ можете Ñменить текущий рабочий каталог командой %1, а также вывеÑти Ñодержимое текущего рабочего каталога командой %2.</translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation>Ðе найдена база данных: %1</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation>Удалена база данных: %1</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation>УÑтановлена Ð½Ð¾Ð²Ð°Ñ Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ Ð±Ð°Ð·Ð° данных:</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation>удаление базы данных из ÑпиÑка</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation>УдалÑет базу данных Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ð½Ñ‹Ð¼ <именем> из ÑпиÑка зарегиÑтрированных баз данных. ЕÑли указанной базы данных нет в ÑпиÑке (Ñм. команду %1), отображаетÑÑ Ñообщение об ошибке и больше ничего не проиÑходит.</translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>имÑ</translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation>Ðе указана Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных. Укажите рабочую базу данных командой %1. Ð”Ð»Ñ Ð¿Ñ€Ð¾Ñмотра ÑпиÑка баз данных воÑпользуйтеÑÑŒ командой %2.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation>База данных не открыта.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation>выполнение запроÑа SQL</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation>Ðта команда выполнÑетÑÑ ÐºÐ°Ð¶Ð´Ñ‹Ð¹ раз, когда вы вводите Ð·Ð°Ð¿Ñ€Ð¾Ñ SQL в командную Ñтроку. Она выполнÑет Ð·Ð°Ð¿Ñ€Ð¾Ñ Ðº текущей рабочей базе данных (Ñм. Ñправку к команде %1 Ð´Ð»Ñ Ð¿Ð¾Ð´Ñ€Ð¾Ð±Ð½Ð¾Ñтей). Ðе нужно Ñвно вызвать Ñту команду. ПроÑто вводите Ð·Ð°Ð¿Ñ€Ð¾Ñ SQL в командную Ñтроку без ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñ‹.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation>sql</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation>Слишком много Ñтолбцов Ð´Ð»Ñ Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð² режиме %1.</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation>Строка %1</translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation>Ошибка Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð·Ð°Ð¿Ñ€Ð¾Ñа: %1</translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation>Ðе найдена база данных: %1. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ ÑпиÑка доÑтупных баз данных воÑпользуйтеÑÑŒ командой %2.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation>Ðевозможно вызвать %1, еÑли ни одна база данных не ÑвлÑетÑÑ Ñ‚ÐµÐºÑƒÑ‰ÐµÐ¹. Укажите текущую базу данных, иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ %2 или укажите Ð¸Ð¼Ñ Ð±Ð°Ð·Ñ‹ данных при вызове %3.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation>База данных %1 закрыта.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation>База данных</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation>Таблица</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation>отображает ÑпиÑок таблиц в базе данных</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation>Отображает ÑпиÑок таблиц в указанной <базе данных> или в текущей рабочей базе данных. Учтите, что <база данных> должна быть именем зарегиÑтрированной базы данных (Ñм. %1). Ð’ ÑпиÑок тажк выводÑÑ‚ÑÑ Ð²Ñе таблицы из баз данных, приÑоединённых к запрашиваемой базе данных. +При указании ключа -s также выводÑÑ‚ÑÑ ÑиÑтемные таблицы.</translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation>база данных</translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation>Ðе выбрана Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных. Укажите рабочую базу данных командой %1, затем выполните команду %2.</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation>Таблицы</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation>ПредÑтавлениÑ</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation>Столбцы</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation>ИндекÑÑ‹</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation>Триггеры</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation>отображение вÑех объектов базы данных в виде дерева</translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation>Отображает вÑе объекты (таблицы, индекÑÑ‹, триггеры и предÑтавлениÑ) базы данных в виде дерева. Структура дерева аналогична тому, которое отображаетÑÑ Ð² GUI клиенте SQLiteStudio. +При вызове Ñ ÐºÐ»ÑŽÑ‡Ð¾Ð¼ -c также будут выведены Ñтолбцы под каждой таблицей. +При вызове Ñ ÐºÐ»ÑŽÑ‡Ð¾Ð¼ -s также будут выведены ÑиÑтемные объекты (таблицы sqlite_*, индекÑÑ‹ автоинкремента и Ñ‚.д.). +При вызове Ñ Ð½ÐµÐ¾Ð±Ñзательным аргументом 'база данных' будут выведены объекты только указнной базы данных. Под 'базой данных' подразумеваетÑÑ Ð½Ðµ зарегиÑтрированное Ð¸Ð¼Ñ Ð±Ð°Ð·Ñ‹ данных, а внутреннее Ð¸Ð¼Ñ Ð±Ð°Ð·Ñ‹ данных SQLite, например 'main', 'temp' или Ð¸Ð¼Ñ Ð¿Ñ€Ð¸Ñоединённной базы данных. Ð”Ð»Ñ Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð´ÐµÑ€ÐµÐ²Ð° другой зарегиÑтрированной базы данных, Ñперва Ñмените рабочую базу данных командой %1, а затем воÑпользуйтеÑÑŒ командой %2.</translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation>Ðе выбрана Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ Ð±Ð°Ð·Ð° данных.</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation>Ð¢ÐµÐºÑƒÑ‰Ð°Ñ Ð±Ð°Ð·Ð° данных: %1</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation>Ðе найдена база данных: %1</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation>изменение рабочей базы данных по умолчанию</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation>ИзменÑет текущую рабочую базы данных на базу данных Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ð½Ñ‹Ð¼ <именем>. ЕÑли <имÑ> базы данных не зарегиÑтрировано в приложении, отображаетÑÑ Ñообщение об ошибке и Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð½Ðµ производÑÑÑ‚ÑÑ. + +Что такое Ñ‚ÐµÐºÑƒÑ‰Ð°Ñ Ñ€Ð°Ð±Ð¾Ñ‡Ð°Ñ Ð±Ð°Ð·Ð° данных? +Когда вы вводите Ð·Ð°Ð¿Ñ€Ð¾Ñ SQL Ð´Ð»Ñ Ð²Ñ‹Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ, он выполнÑетÑÑ Ðº базе данных по умолчанию, также извеÑтной как текущей рабочей базе данных. БольшинÑтво отноÑÑщихÑÑ Ðº базам данных команд могут выполнÑтьÑÑ Ðº базе данных по умолчанию, еÑли Ð´Ñ€ÑƒÐ³Ð°Ñ Ð±Ð°Ð·Ð° данных не указана в качеÑтве аргумента. Ð¢ÐµÐºÑƒÑ‰Ð°Ñ Ð±Ð°Ð·Ð° данных вÑегда отображаетÑÑ Ð² приглашении командной Ñтроки. База данных по умолчанию вÑегда определена (еÑли ÑпиÑок баз данных не пуÑÑ‚). + +База данных по умолчанию может быть задана разными ÑпоÑобами: +- иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ñƒ %1, +- указав путь к файлу базы данных в аргументах при запуÑке приложениÑ, +- указав Ð¸Ð¼Ñ Ð·Ð°Ñ€ÐµÐ³Ð¸Ñтрированной базы данных в аргументах при запуÑке приложениÑ, +- воÑÑтановив предыдущую выбранную базу данных из Ñохранённой конфигурации, +- или еÑли база данных по умолчанию не была выбрана любым их вышеуказанных ÑпоÑобов, базой данных по умолчанию ÑтановитÑÑ Ð¿ÐµÑ€Ð²Ð°Ñ Ð·Ð°Ñ€ÐµÐ³Ð¸ÑÑ‚Ñ€Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ð°Ñ Ð±Ð°Ð·Ð° данных в ÑпиÑке.</translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation>имÑ</translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation>ÐедоÑтаточное количеÑтво аргументов.</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation>Слишком много аргументов.</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation>Ðекорректное значение аргумента: %1. +ДопуÑтимые значениÑ: %2</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation>ÐеизвеÑтный ключ: %1</translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation>Ключ %1 требует ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ð°.</translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation>Ñтрока</translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation>Ð˜Ð½Ñ‚ÐµÑ€Ñ„ÐµÐ¹Ñ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð½Ð¾Ð¹ Ñтроки Ð´Ð»Ñ SQLiteStudio, менеджера баз данных SQLite.</translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation>Включает вывод отладочных Ñообщений в Ñтандартный поток ошибок.</translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation>Включает вывод отладочных Ñообщений анализатора Lemon Ð´Ð»Ñ Ð°Ð²Ñ‚Ð¾Ð´Ð¾Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ SQL кода.</translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation>Выводит ÑпиÑок уÑтановленных в SQLiteStudio модулей и оÑущеÑтвлÑет выход.</translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation>файл</translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation>Файл базы данных Ð´Ð»Ñ Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ</translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.qm Binary files differnew file mode 100644 index 0000000..1776294 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.qm diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.ts new file mode 100644 index 0000000..d817c65 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_sk.ts @@ -0,0 +1,736 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="sk_SK"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.qm b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.qm new file mode 100644 index 0000000..be651ee --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.qm @@ -0,0 +1 @@ +<¸dÊÍ!¿`¡½Ý
\ No newline at end of file diff --git a/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts new file mode 100644 index 0000000..01469f1 --- /dev/null +++ b/SQLiteStudio3/sqlitestudiocli/translations/sqlitestudiocli_zh_CN.ts @@ -0,0 +1,736 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="zh_CN"> +<context> + <name>CLI</name> + <message> + <location filename="../cli.cpp" line="87"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="89"/> + <source>No current working database is set.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="91"/> + <source>Type %1 for help</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="228"/> + <source>Database passed in command line parameters (%1) was already on the list under name: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="235"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../cli.cpp" line="261"/> + <source>closed</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommand</name> + <message> + <location filename="../commands/clicommand.cpp" line="107"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandAdd</name> + <message> + <location filename="../commands/clicommandadd.cpp" line="9"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="14"/> + <source>Database added: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="19"/> + <source>adds new database to the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="24"/> + <source>Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="34"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandadd.cpp" line="35"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandCd</name> + <message> + <location filename="../commands/clicommandcd.cpp" line="10"/> + <source>Changed directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="12"/> + <source>Could not change directory to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="17"/> + <source>changes current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="22"/> + <source>Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandcd.cpp" line="33"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandClose</name> + <message> + <location filename="../commands/clicommandclose.cpp" line="10"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="21"/> + <location filename="../commands/clicommandclose.cpp" line="29"/> + <source>Connection to database %1 closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="24"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="35"/> + <source>closes given (or current) database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="40"/> + <source>Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details).</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandclose.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDbList</name> + <message> + <location filename="../commands/clicommanddblist.cpp" line="12"/> + <source>No current working database defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="18"/> + <source>Databases:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="23"/> + <location filename="../commands/clicommanddblist.cpp" line="34"/> + <source>Name</source> + <comment>CLI db name column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Open</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="31"/> + <location filename="../commands/clicommanddblist.cpp" line="61"/> + <source>Closed</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="32"/> + <location filename="../commands/clicommanddblist.cpp" line="36"/> + <source>Connection</source> + <comment>CLI connection state column</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="38"/> + <location filename="../commands/clicommanddblist.cpp" line="45"/> + <source>Database file path</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="70"/> + <source>prints list of registered databases</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddblist.cpp" line="75"/> + <source>Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDesc</name> + <message> + <location filename="../commands/clicommanddesc.cpp" line="14"/> + <source>shows details about the table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddesc.cpp" line="25"/> + <source>table</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandDir</name> + <message> + <location filename="../commands/clicommanddir.cpp" line="33"/> + <source>lists directories and files in current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="38"/> + <source>This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. + +You can pass <pattern> with wildcard characters to filter output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanddir.cpp" line="49"/> + <source>pattern</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandExit</name> + <message> + <location filename="../commands/clicommandexit.cpp" line="12"/> + <source>quits the application</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandexit.cpp" line="17"/> + <source>Quits the application. Settings are stored in configuration file and will be restored on next startup.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHelp</name> + <message> + <location filename="../commands/clicommandhelp.cpp" line="16"/> + <source>shows this help message</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="21"/> + <source>Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. +To see list of supported commands, type %2 without any arguments. + +When passing <command> name, you can skip special prefix character ('%3'). + +You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="33"/> + <source>command</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="42"/> + <source>No such command: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="43"/> + <source>Type '%1' for list of available commands.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="52"/> + <source>Usage: %1%2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhelp.cpp" line="62"/> + <source>Aliases: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandHistory</name> + <message> + <location filename="../commands/clicommandhistory.cpp" line="23"/> + <source>Current history limit is set to: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="39"/> + <source>prints history or erases it</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="44"/> + <source>When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. + +When the -c or --clear option is passed, then the history gets erased. +When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. +Use -ql or --querylimit option to see the current limit value.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="59"/> + <source>number</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="66"/> + <source>Console history erased.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="75"/> + <source>Invalid number: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandhistory.cpp" line="80"/> + <source>History limit set to %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandMode</name> + <message> + <location filename="../commands/clicommandmode.cpp" line="9"/> + <source>Current results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="16"/> + <source>Invalid results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="21"/> + <source>New results printing mode: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="26"/> + <source>tells or changes the query results format</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandmode.cpp" line="31"/> + <source>When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: +- CLASSIC - columns are separated by a comma, not aligned, +- FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, +- COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), +- ROW - each column from the row is displayed in new line, so the full data is displayed. + +The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. + +The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. + +The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. +ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. + +The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other).</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandNullValue</name> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="9"/> + <source>Current NULL representation string: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="15"/> + <source>tells or changes the NULL representation string</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="20"/> + <source>If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandOpen</name> + <message> + <location filename="../commands/clicommandopen.cpp" line="12"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="29"/> + <source>Could not add database %1 to list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="37"/> + <source>File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="61"/> + <source>Database %1 has been open and set as the current working database.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="66"/> + <source>opens database connection</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="71"/> + <source>Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandopen.cpp" line="83"/> + <source>path</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandPwd</name> + <message> + <location filename="../commands/clicommandpwd.cpp" line="13"/> + <source>prints the current working directory</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandpwd.cpp" line="18"/> + <source>This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandRemove</name> + <message> + <location filename="../commands/clicommandremove.cpp" line="12"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="20"/> + <source>Database removed: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="26"/> + <source>New current database set:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="35"/> + <source>removes database from the list</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="40"/> + <source>Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandremove.cpp" line="50"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandSql</name> + <message> + <location filename="../commands/clicommandsql.cpp" line="18"/> + <source>No working database is set. +Call %1 command to set working database. +Call %2 to see list of all databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="29"/> + <source>Database is not open.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="64"/> + <source>executes SQL query</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="69"/> + <source>This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="85"/> + <source>sql</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="136"/> + <location filename="../commands/clicommandsql.cpp" line="178"/> + <source>Too many columns to display in %1 mode.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="256"/> + <source>Row %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandsql.cpp" line="406"/> + <source>Query execution error: %1</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTables</name> + <message> + <location filename="../commands/clicommandtables.cpp" line="15"/> + <source>No such database: %1. Use %2 to see list of known databases.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="25"/> + <source>Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="32"/> + <source>Database %1 is closed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="45"/> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="47"/> + <source>Table</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="61"/> + <source>prints list of tables in the database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="66"/> + <source>Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. +When the -s option is given, then system tables are also listed.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtables.cpp" line="77"/> + <source>database</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandTree</name> + <message> + <location filename="../commands/clicommandtree.cpp" line="12"/> + <source>No current working database is selected. Use %1 to define one and then run %2.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="54"/> + <source>Tables</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="58"/> + <source>Views</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="83"/> + <source>Columns</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="88"/> + <source>Indexes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="92"/> + <location filename="../commands/clicommandtree.cpp" line="113"/> + <source>Triggers</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="132"/> + <source>prints all objects in the database as a tree</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandtree.cpp" line="137"/> + <source>Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. +When -c option is given, then also columns will be listed under each table. +When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). +The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>CliCommandUse</name> + <message> + <location filename="../commands/clicommanduse.cpp" line="13"/> + <source>No current database selected.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="16"/> + <location filename="../commands/clicommanduse.cpp" line="30"/> + <source>Current database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="23"/> + <source>No such database: %1</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="35"/> + <source>changes default working database</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="40"/> + <source>Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. + +What is current working database? +When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). + +The default database can be selected in various ways: +- using %1 command, +- by passing database file name to the application startup parameters, +- by passing registered database name to the application startup parameters, +- by restoring previously selected default database from saved configuration, +- or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommanduse.cpp" line="63"/> + <source>name</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <location filename="../clicommandsyntax.cpp" line="155"/> + <source>Insufficient number of arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="325"/> + <source>Too many arguments.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="347"/> + <source>Invalid argument value: %1. +Expected one of: %2</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="383"/> + <source>Unknown option: %1</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../clicommandsyntax.cpp" line="394"/> + <source>Option %1 requires an argument.</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../commands/clicommandnullvalue.cpp" line="31"/> + <source>string</source> + <comment>CLI command syntax</comment> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="22"/> + <source>Command line interface to SQLiteStudio, a SQLite manager.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="26"/> + <source>Enables debug messages on standard error output.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="27"/> + <source>Enables Lemon parser debug messages for SQL code assistant.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="28"/> + <source>Lists plugins installed in the SQLiteStudio and quits.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>file</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../main.cpp" line="33"/> + <source>Database file to open</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> |
