summaryrefslogtreecommitdiffstats
path: root/src/libs/sqlite2
diff options
context:
space:
mode:
authorTDE Weblate <[email protected]>2025-03-15 13:04:23 +0000
committerMichele Calgaro <[email protected]>2025-03-19 13:12:11 +0900
commit8b3a88df55c67e3e75b93385db1c4f27f409a06f (patch)
tree8427cf9e4892c66674645e7152c3246a334bd165 /src/libs/sqlite2
parent0b5e696d79ab1a160293d520b7526e031238989a (diff)
downloaddigikam-rename/true-false.tar.gz
digikam-rename/true-false.zip
Update translation filesrename/true-false
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: applications/digikam Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/digikam/
Diffstat (limited to 'src/libs/sqlite2')
-rw-r--r--src/libs/sqlite2/attach.c4
-rw-r--r--src/libs/sqlite2/btree.c2
-rw-r--r--src/libs/sqlite2/build.c2
-rw-r--r--src/libs/sqlite2/expr.c8
-rw-r--r--src/libs/sqlite2/insert.c4
-rw-r--r--src/libs/sqlite2/main.c2
-rw-r--r--src/libs/sqlite2/os.c2
-rw-r--r--src/libs/sqlite2/pager.c14
-rw-r--r--src/libs/sqlite2/printf.c12
-rw-r--r--src/libs/sqlite2/select.c2
-rw-r--r--src/libs/sqlite2/shell.c4
-rw-r--r--src/libs/sqlite2/sqlite.h2
-rw-r--r--src/libs/sqlite2/sqliteInt.h8
-rw-r--r--src/libs/sqlite2/tokenize.c2
-rw-r--r--src/libs/sqlite2/trigger.c4
-rw-r--r--src/libs/sqlite2/util.c8
-rw-r--r--src/libs/sqlite2/vdbe.c4
-rw-r--r--src/libs/sqlite2/vdbeInt.h2
-rw-r--r--src/libs/sqlite2/where.c4
19 files changed, 45 insertions, 45 deletions
diff --git a/src/libs/sqlite2/attach.c b/src/libs/sqlite2/attach.c
index 316d0d2a..51011616 100644
--- a/src/libs/sqlite2/attach.c
+++ b/src/libs/sqlite2/attach.c
@@ -179,8 +179,8 @@ void sqliteDetach(Parse *pParse, Token *pDbname){
** Initialize a DbFixer structure. This routine must be called prior
** to passing the structure to one of the sqliteFixAAAA() routines below.
**
-** The return value indicates whether or not fixation is required. TRUE
-** means we do need to fix the database references, FALSE means we do not.
+** The return value indicates whether or not fixation is required. true
+** means we do need to fix the database references, false means we do not.
*/
int sqliteFixInit(
DbFixer *pFix, /* The fixer to be initialized */
diff --git a/src/libs/sqlite2/btree.c b/src/libs/sqlite2/btree.c
index 745bdda2..447cb244 100644
--- a/src/libs/sqlite2/btree.c
+++ b/src/libs/sqlite2/btree.c
@@ -679,7 +679,7 @@ static void pageDestructor(void *pData){
*/
int sqliteBtreeOpen(
const char *zFilename, /* Name of the file containing the BTree database */
- int omitJournal, /* if TRUE then do not journal this file */
+ int omitJournal, /* if true then do not journal this file */
int nCache, /* How many pages in the page cache */
Btree **ppBtree /* Pointer to new Btree object written here */
){
diff --git a/src/libs/sqlite2/build.c b/src/libs/sqlite2/build.c
index 6c17f140..ac6b4890 100644
--- a/src/libs/sqlite2/build.c
+++ b/src/libs/sqlite2/build.c
@@ -994,7 +994,7 @@ void sqliteCreateView(
Token *pBegin, /* The CREATE token that begins the statement */
Token *pName, /* The token that holds the name of the view */
Select *pSelect, /* A SELECT statement that will become the new view */
- int isTemp /* TRUE for a TEMPORARY view */
+ int isTemp /* true for a TEMPORARY view */
){
Table *p;
int n;
diff --git a/src/libs/sqlite2/expr.c b/src/libs/sqlite2/expr.c
index af4aa596..98cdb14e 100644
--- a/src/libs/sqlite2/expr.c
+++ b/src/libs/sqlite2/expr.c
@@ -371,7 +371,7 @@ int sqliteExprIsInteger(Expr *p, int *pValue){
}
/*
-** Return TRUE if the given string is a row-id column name.
+** Return true if the given string is a row-id column name.
*/
int sqliteIsRowid(const char *z){
if( sqliteStrICmp(z, "_ROWID_")==0 ) return 1;
@@ -1270,7 +1270,7 @@ void sqliteExprCode(Parse *pParse, Expr *pExpr){
int sqliteExprCodeExprList(
Parse *pParse, /* Parsing context */
ExprList *pList, /* The expression list to be coded */
- int includeTypes /* TRUE to put datatypes on the stack too */
+ int includeTypes /* true to put datatypes on the stack too */
){
struct ExprList_item *pItem;
int i, n;
@@ -1486,8 +1486,8 @@ void sqliteExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull){
}
/*
-** Do a deep comparison of two expression trees. Return TRUE (non-zero)
-** if they are identical and return FALSE if they differ in any way.
+** Do a deep comparison of two expression trees. Return true (non-zero)
+** if they are identical and return false if they differ in any way.
*/
int sqliteExprCompare(Expr *pA, Expr *pB){
int i;
diff --git a/src/libs/sqlite2/insert.c b/src/libs/sqlite2/insert.c
index 2f73db4a..37f9a8b3 100644
--- a/src/libs/sqlite2/insert.c
+++ b/src/libs/sqlite2/insert.c
@@ -188,8 +188,8 @@ void sqliteInsert(
assert( pSelect->pEList );
nColumn = pSelect->pEList->nExpr;
- /* Set useTempTable to TRUE if the result of the SELECT statement
- ** should be written into a temporary table. Set to FALSE if each
+ /* Set useTempTable to true if the result of the SELECT statement
+ ** should be written into a temporary table. Set to false if each
** row of the SELECT can be written directly into the result table.
**
** A temp table must be used if the table being updated is also one
diff --git a/src/libs/sqlite2/main.c b/src/libs/sqlite2/main.c
index 7541b171..1a2861b6 100644
--- a/src/libs/sqlite2/main.c
+++ b/src/libs/sqlite2/main.c
@@ -1109,7 +1109,7 @@ void *sqlite_commit_hook(
int sqliteBtreeFactory(
const sqlite *db, /* Main database when opening aux otherwise 0 */
const char *zFilename, /* Name of the file containing the BTree database */
- int omitJournal, /* if TRUE then do not journal this file */
+ int omitJournal, /* if true then do not journal this file */
int nCache, /* How many pages in the page cache */
Btree **ppBtree){ /* Pointer to new Btree object written here */
diff --git a/src/libs/sqlite2/os.c b/src/libs/sqlite2/os.c
index aaada0e3..f25da801 100644
--- a/src/libs/sqlite2/os.c
+++ b/src/libs/sqlite2/os.c
@@ -384,7 +384,7 @@ int sqliteOsDelete(const char *zFilename){
}
/*
-** Return TRUE if the named file exists.
+** Return true if the named file exists.
*/
int sqliteOsFileExists(const char *zFilename){
#if OS_UNIX
diff --git a/src/libs/sqlite2/pager.c b/src/libs/sqlite2/pager.c
index 409f9201..31a767d1 100644
--- a/src/libs/sqlite2/pager.c
+++ b/src/libs/sqlite2/pager.c
@@ -107,9 +107,9 @@ struct PgHdr {
PgHdr *pNextFree, *pPrevFree; /* Freelist of pages where nRef==0 */
PgHdr *pNextAll, *pPrevAll; /* A list of all pages */
PgHdr *pNextCkpt, *pPrevCkpt; /* List of pages in the checkpoint journal */
- u8 inJournal; /* TRUE if has been written to journal */
- u8 inCkpt; /* TRUE if written to the checkpoint journal */
- u8 dirty; /* TRUE if we need to write back changes */
+ u8 inJournal; /* true if has been written to journal */
+ u8 inCkpt; /* true if written to the checkpoint journal */
+ u8 dirty; /* true if we need to write back changes */
u8 needSync; /* Sync journal before writing this page */
u8 alwaysRollback; /* Disable dont_rollback() for this page */
PgHdr *pDirty; /* Dirty pages sorted by PgHdr.pgno */
@@ -918,7 +918,7 @@ int sqlitepager_open(
const char *zFilename, /* Name of the database file to open */
int mxPage, /* Max number of in-memory cache pages */
int nExtra, /* Extra bytes append to each in-memory page */
- int useJournal /* TRUE to use a rollback journal on this file */
+ int useJournal /* true to use a rollback journal on this file */
){
Pager *pPager;
char *zFullPathname;
@@ -1872,8 +1872,8 @@ int sqlitepager_write(void *pData){
}
/*
-** Return TRUE if the page given in the argument was previously passed
-** to sqlitepager_write(). In other words, return TRUE if it is ok
+** Return true if the page given in the argument was previously passed
+** to sqlitepager_write(). In other words, return true if it is ok
** to change the content of the page.
*/
int sqlitepager_iswriteable(void *pData){
@@ -2076,7 +2076,7 @@ int sqlitepager_rollback(Pager *pPager){
}
/*
-** Return TRUE if the database file is opened read-only. Return FALSE
+** Return true if the database file is opened read-only. Return false
** if the database is (in theory) writable.
*/
int sqlitepager_isreadonly(Pager *pPager){
diff --git a/src/libs/sqlite2/printf.c b/src/libs/sqlite2/printf.c
index a5445f60..061881c9 100644
--- a/src/libs/sqlite2/printf.c
+++ b/src/libs/sqlite2/printf.c
@@ -320,14 +320,14 @@ static int vxprintf(
/*
** At this point, variables are initialized as follows:
**
- ** flag_alternateform TRUE if a '#' is present.
- ** flag_plussign TRUE if a '+' is present.
- ** flag_leftjustify TRUE if a '-' is present or if the
+ ** flag_alternateform true if a '#' is present.
+ ** flag_plussign true if a '+' is present.
+ ** flag_leftjustify true if a '-' is present or if the
** field width was negative.
- ** flag_zeropad TRUE if the width began with 0.
- ** flag_long TRUE if the letter 'l' (ell) prefixed
+ ** flag_zeropad true if the width began with 0.
+ ** flag_long true if the letter 'l' (ell) prefixed
** the conversion character.
- ** flag_blanksign TRUE if a ' ' is present.
+ ** flag_blanksign true if a ' ' is present.
** width The specified field width. This is
** always non-negative. Zero is the default.
** precision The specified precision. The default
diff --git a/src/libs/sqlite2/select.c b/src/libs/sqlite2/select.c
index 4cf03606..ff11ee75 100644
--- a/src/libs/sqlite2/select.c
+++ b/src/libs/sqlite2/select.c
@@ -1089,7 +1089,7 @@ static int matchOrderbyToColumn(
Select *pSelect, /* Match to result columns of this SELECT */
ExprList *pOrderBy, /* The ORDER BY values to match against columns */
int iTable, /* Insert this value in iTable */
- int mustComplete /* If TRUE all ORDER BYs must match */
+ int mustComplete /* If true all ORDER BYs must match */
){
int nErr = 0;
int i, j;
diff --git a/src/libs/sqlite2/shell.c b/src/libs/sqlite2/shell.c
index dd3d9456..2e5091d8 100644
--- a/src/libs/sqlite2/shell.c
+++ b/src/libs/sqlite2/shell.c
@@ -949,7 +949,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){
}
/*
-** Return TRUE if the last non-whitespace character in z[] is a semicolon.
+** Return true if the last non-whitespace character in z[] is a semicolon.
** z[] is N characters long.
*/
static int _ends_with_semicolon(const char *z, int N){
@@ -982,7 +982,7 @@ static int _all_whitespace(const char *z){
}
/*
-** Return TRUE if the line typed in is an SQL command terminator other
+** Return true if the line typed in is an SQL command terminator other
** than a semi-colon. The SQL Server style "go" command is understood
** as is the Oracle "/".
*/
diff --git a/src/libs/sqlite2/sqlite.h b/src/libs/sqlite2/sqlite.h
index ef461bf7..bdad7c73 100644
--- a/src/libs/sqlite2/sqlite.h
+++ b/src/libs/sqlite2/sqlite.h
@@ -740,7 +740,7 @@ int sqlite_reset(sqlite_vm*, char **pzErrMsg);
** to bind the value to. The left most '?' is 1. The 3rd parameter is
** the value to assign to that variable. The 4th parameter is the number
** of bytes in the value, including the terminating \000 for strings.
-** Finally, the 5th "copy" parameter is TRUE if SQLite should make its
+** Finally, the 5th "copy" parameter is true if SQLite should make its
** own private copy of this value, or false if the space that the 3rd
** parameter points to will be unchanging and can be used directly by
** SQLite.
diff --git a/src/libs/sqlite2/sqliteInt.h b/src/libs/sqlite2/sqliteInt.h
index 3c4d818a..20c05ff0 100644
--- a/src/libs/sqlite2/sqliteInt.h
+++ b/src/libs/sqlite2/sqliteInt.h
@@ -372,7 +372,7 @@ struct sqlite {
struct sqliteInitInfo { /* Information used during initialization */
int iDb; /* When back is being initialized */
int newTnum; /* Rootpage of table being initialized */
- u8 busy; /* TRUE if currently initializing */
+ u8 busy; /* true if currently initializing */
} init;
struct Vdbe *pVdbe; /* List of active virtual machines */
void (*xTrace)(void*,const char*); /* Trace function */
@@ -694,7 +694,7 @@ struct Expr {
Token span; /* Complete text of the expression */
int iTable, iColumn; /* When op==TK_COLUMN, then this expr node means the
** iColumn-th field of the iTable-th table. */
- int iAgg; /* When op==TK_COLUMN and pParse->useAgg==TRUE, pull
+ int iAgg; /* When op==TK_COLUMN and pParse->useAgg==true, pull
** result from the iAgg-th element of the aggregator */
Select *pSelect; /* When the expression is a sub-select. Also the
** right side of "<expr> IN (<select>)" */
@@ -900,7 +900,7 @@ struct Select {
** If AggExpr.pExpr==0, that means the expression is "count(*)".
*/
struct AggExpr {
- int isAgg; /* if TRUE contains an aggregate function */
+ int isAgg; /* if true contains an aggregate function */
Expr *pExpr; /* The expression */
FuncDef *pFunc; /* Information about the aggregate function */
};
@@ -920,7 +920,7 @@ struct Parse {
const char *zTail; /* All SQL text past the last semicolon parsed */
Table *pNewTable; /* A table being constructed by CREATE TABLE */
Vdbe *pVdbe; /* An engine for executing database bytecode */
- u8 colNamesSet; /* TRUE after OP_ColumnName has been issued to pVdbe */
+ u8 colNamesSet; /* true after OP_ColumnName has been issued to pVdbe */
u8 explain; /* True if the EXPLAIN flag is found on the query */
u8 nameClash; /* A permanent table name clashes with temp table name */
u8 useAgg; /* If true, extract field values from the aggregator
diff --git a/src/libs/sqlite2/tokenize.c b/src/libs/sqlite2/tokenize.c
index 1044e8a5..713cf803 100644
--- a/src/libs/sqlite2/tokenize.c
+++ b/src/libs/sqlite2/tokenize.c
@@ -506,7 +506,7 @@ abort_parse:
#define tkOTHER 7
/*
-** Return TRUE if the given SQL string ends in a semicolon.
+** Return true if the given SQL string ends in a semicolon.
**
** Special handling is require for CREATE TRIGGER statements.
** Whenever the CREATE TRIGGER keywords are seen, the statement
diff --git a/src/libs/sqlite2/trigger.c b/src/libs/sqlite2/trigger.c
index 8442bb5d..aa5f8026 100644
--- a/src/libs/sqlite2/trigger.c
+++ b/src/libs/sqlite2/trigger.c
@@ -501,7 +501,7 @@ void sqliteDropTriggerPtr(Parse *pParse, Trigger *pTrigger, int nested){
** pEList is the SET clause of an UPDATE statement. Each entry
** in pEList is of the format <id>=<expr>. If any of the entries
** in pEList have an <id> which matches an identifier in pIdList,
-** then return TRUE. If pIdList==NULL, then it is considered a
+** then return true. If pIdList==NULL, then it is considered a
** wildcard that matches anything. Likewise if pEList==NULL then
** it matches anything so always return true. Return false only
** if there is no match.
@@ -515,7 +515,7 @@ static int checkColumnOverLap(IdList *pIdList, ExprList *pEList){
return 0;
}
-/* A global variable that is TRUE if we should always set up temp tables for
+/* A global variable that is true if we should always set up temp tables for
* for triggers, even if there are no triggers to code. This is used to test
* how much overhead the triggers algorithm is causing.
*
diff --git a/src/libs/sqlite2/util.c b/src/libs/sqlite2/util.c
index 579bf753..2382b8d1 100644
--- a/src/libs/sqlite2/util.c
+++ b/src/libs/sqlite2/util.c
@@ -514,7 +514,7 @@ int sqliteStrNICmp(const char *zLeft, const char *zRight, int N){
}
/*
-** Return TRUE if z is a pure numeric string. Return FALSE if the
+** Return true if z is a pure numeric string. Return false if the
** string contains any character which is not part of a number.
**
** Am empty string is considered non-numeric.
@@ -608,9 +608,9 @@ double sqliteAtoF(const char *z, const char **pzEnd){
** The string zNum represents an integer. There might be some other
** information following the integer too, but that part is ignored.
** If the integer that the prefix of zNum represents will fit in a
-** 32-bit signed integer, return TRUE. Otherwise return FALSE.
+** 32-bit signed integer, return true. Otherwise return false.
**
-** This routine returns FALSE for the string -2147483648 even that
+** This routine returns false for the string -2147483648 even that
** that number will, in theory fit in a 32-bit integer. But positive
** 2147483648 will not fit in 32 bits. So it seems safer to return
** false.
@@ -692,7 +692,7 @@ int sqliteCompare(const char *atext, const char *btext){
** D Sort as strings in descending order.
**
** For the "+" and "-" sorting, pure numeric strings (strings for which the
-** isNum() function above returns TRUE) always compare less than strings
+** isNum() function above returns true) always compare less than strings
** that are not pure numerics. Non-numeric strings compare in memcmp()
** order. This is the same sort order as the sqliteCompare() function
** above generates.
diff --git a/src/libs/sqlite2/vdbe.c b/src/libs/sqlite2/vdbe.c
index 1838691c..26c82a33 100644
--- a/src/libs/sqlite2/vdbe.c
+++ b/src/libs/sqlite2/vdbe.c
@@ -277,7 +277,7 @@ static void popStack(Mem **ppTos, int N){
}
/*
-** Return TRUE if zNum is a 32-bit signed integer and write
+** Return true if zNum is a 32-bit signed integer and write
** the value of the integer into *pNum. If zNum is not an integer
** or is an integer that is too large to be expressed with just 32
** bits, then return false.
@@ -1618,7 +1618,7 @@ case OP_StrGe: {
case OP_And:
case OP_Or: {
Mem *pNos = &pTos[-1];
- int v1, v2; /* 0==TRUE, 1==FALSE, 2==UNKNOWN or NULL */
+ int v1, v2; /* 0==true, 1==false, 2==UNKNOWN or NULL */
assert( pNos>=p->aStack );
if( pTos->flags & MEM_Null ){
diff --git a/src/libs/sqlite2/vdbeInt.h b/src/libs/sqlite2/vdbeInt.h
index 79b6b51a..ca784e4b 100644
--- a/src/libs/sqlite2/vdbeInt.h
+++ b/src/libs/sqlite2/vdbeInt.h
@@ -250,7 +250,7 @@ struct Vdbe {
int nVar; /* Number of entries in azVariable[] */
char **azVar; /* Values for the OP_Variable opcode */
int *anVar; /* Length of each value in azVariable[] */
- u8 *abVar; /* TRUE if azVariable[i] needs to be sqliteFree()ed */
+ u8 *abVar; /* true if azVariable[i] needs to be sqliteFree()ed */
char *zLine; /* A single line from the input file */
int nLineAlloc; /* Number of spaces allocated for zLine */
int magic; /* Magic number for sanity checking */
diff --git a/src/libs/sqlite2/where.c b/src/libs/sqlite2/where.c
index ea427719..52421fb4 100644
--- a/src/libs/sqlite2/where.c
+++ b/src/libs/sqlite2/where.c
@@ -143,7 +143,7 @@ static int exprTableUsage(ExprMaskSet *pMaskSet, Expr *p){
}
/*
-** Return TRUE if the given operator is one of the operators that is
+** Return true if the given operator is one of the operators that is
** allowed for an indexable WHERE clause. The allowed operators are
** "=", "<", ">", "<=", ">=", and "IN".
*/
@@ -381,7 +381,7 @@ WhereInfo *sqliteWhereBegin(
Parse *pParse, /* The parser context */
SrcList *pTabList, /* A list of all tables to be scanned */
Expr *pWhere, /* The WHERE clause */
- int pushKey, /* If TRUE, leave the table key on the stack */
+ int pushKey, /* If true, leave the table key on the stack */
ExprList **ppOrderBy /* An ORDER BY clause, or NULL */
){
int i; /* Loop counter */