Skip to content

A local-first personal finance app

Improve string to be clearer in other languages (#4167)

Julian Dominguez-Schatz26907d3b12e3
diff --git a/packages/desktop-client/src/components/reports/SaveReportDelete.tsx b/packages/desktop-client/src/components/reports/SaveReportDelete.tsx
index 80559d620e..3e11e2cb96 100644
--- a/packages/desktop-client/src/components/reports/SaveReportDelete.tsx
+++ b/packages/desktop-client/src/components/reports/SaveReportDelete.tsx
@@ -23,12 +23,15 @@ export function SaveReportDelete({
return (
<>
<View style={{ align: 'center' }}>
- <Trans>
- <Text style={{ color: theme.errorText, marginBottom: 5 }}>
- Are you sure you want to delete report:{' '}
- </Text>
- <View>{{ name } as TransObjectLiteral}</View>
- </Trans>
+ <Text style={{ color: theme.errorText, marginBottom: 5 }}>
+ <Trans>
+ Are you sure you want to delete the report named{' ‘'}
+ <Text style={{ display: 'inline' }}>
+ {{ name } as TransObjectLiteral}
+ </Text>
+ ’?
+ </Trans>
+ </Text>
</View>
<Stack
diff --git a/upcoming-release-notes/4167.md b/upcoming-release-notes/4167.md
new file mode 100644
index 0000000000..e65bcf638d
--- /dev/null
+++ b/upcoming-release-notes/4167.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [jfdoming]
+---
+
+Improve translation string punctuation in reports