Add bidi strip setting and use in os dialogs
This commit is contained in:
parent
a710f09977
commit
07195f4096
5 changed files with 32 additions and 15 deletions
|
@ -1676,6 +1676,7 @@ async function initializeSQL(
|
|||
userDataPath: string
|
||||
): Promise<{ ok: true; error: undefined } | { ok: false; error: Error }> {
|
||||
sqlInitTimeStart = Date.now();
|
||||
|
||||
try {
|
||||
// This should be the first awaited call in this function, otherwise
|
||||
// `sql.sqlCall` will throw an uninitialized error instead of waiting for
|
||||
|
@ -1732,9 +1733,11 @@ const onDatabaseError = async (error: string) => {
|
|||
} else {
|
||||
// Otherwise, this is some other kind of DB error, let's give them the option to
|
||||
// delete.
|
||||
messageDetail = i18n('icu:databaseError__detail', {
|
||||
link: SIGNAL_SUPPORT_LINK,
|
||||
});
|
||||
messageDetail = i18n(
|
||||
'icu:databaseError__detail',
|
||||
{ link: SIGNAL_SUPPORT_LINK },
|
||||
{ bidi: 'strip' }
|
||||
);
|
||||
|
||||
buttons.push(i18n('icu:deleteAndRestart'));
|
||||
deleteAllDataButtonIndex = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue