mirror of
https://github.com/frappe/books.git
synced 2025-02-02 12:08:27 +00:00
fix: minor fixes to tstrings
This commit is contained in:
parent
c52b7f54ad
commit
ddda0d38c7
@ -1,4 +1,5 @@
|
||||
import { partyWithAvatar } from '@/utils';
|
||||
import { t } from 'frappe';
|
||||
import getCommonExportActions from '../commonExporter';
|
||||
|
||||
let title = 'General Ledger';
|
||||
|
@ -224,8 +224,9 @@ export default {
|
||||
}
|
||||
|
||||
const title = this.t`DB Connection Error`;
|
||||
let content = this
|
||||
.t`Please select an existing database or create a new one. reason: ${reason}, filePath: ${filePath}`;
|
||||
let content =
|
||||
this.t`Please select an existing database or create a new one.` +
|
||||
` reason: ${reason}, filePath: ${filePath}`;
|
||||
if (reason === DB_CONN_FAILURE.CANT_OPEN) {
|
||||
content = this
|
||||
.t`Can't open database file: ${filePath}, please create a new file.`;
|
||||
|
@ -165,7 +165,7 @@ export default {
|
||||
this.$emit('setup-complete');
|
||||
} else {
|
||||
const title = this.t`DB Connection Error`;
|
||||
const content = this.t`reason: ${reason}, filePath: ${filePath}`;
|
||||
const content = `reason: ${reason}, filePath: ${filePath}`;
|
||||
await showErrorDialog(title, content);
|
||||
}
|
||||
},
|
||||
|
@ -34,7 +34,7 @@ export async function showMessageDialog({
|
||||
export function deleteDocWithPrompt(doc) {
|
||||
return new Promise((resolve) => {
|
||||
showMessageDialog({
|
||||
message: t`Are you sure you want to delete ${doc.doctype} "${doc.name}"?`,
|
||||
message: t`Are you sure you want to delete ${doc.doctype} ${doc.name}?`,
|
||||
description: t`This action is permanent`,
|
||||
buttons: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user