mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 18:20:24 -05:00
🐛 Fix parameter formatting issues (#3841)
* fix some errors in translation format * release notes
This commit is contained in:
@@ -158,7 +158,7 @@ export function EnvelopeBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budgets have all been set to last month’s budgeted amounts.',
|
'{{displayMonth}} budgets have all been set to last month’s budgeted amounts.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -168,7 +168,7 @@ export function EnvelopeBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budgets have all been set to zero.',
|
'{{displayMonth}} budgets have all been set to zero.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -189,7 +189,7 @@ export function EnvelopeBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budget templates have been applied.',
|
'{{displayMonth}} budget templates have been applied.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -199,7 +199,7 @@ export function EnvelopeBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budget templates have been overwritten.',
|
'{{displayMonth}} budget templates have been overwritten.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -209,7 +209,7 @@ export function EnvelopeBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} end-of-month cleanup templates have been applied.',
|
'{{displayMonth}} end-of-month cleanup templates have been applied.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ export function TrackingBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budgets have all been set to last month’s budgeted amounts.',
|
'{{displayMonth}} budgets have all been set to last month’s budgeted amounts.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -170,7 +170,7 @@ export function TrackingBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budgets have all been set to zero.',
|
'{{displayMonth}} budgets have all been set to zero.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -191,7 +191,7 @@ export function TrackingBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budget templates have been applied.',
|
'{{displayMonth}} budget templates have been applied.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
@@ -201,7 +201,7 @@ export function TrackingBudgetMonthMenuModal({
|
|||||||
close();
|
close();
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(
|
message: t(
|
||||||
'{displayMonth} budget templates have been overwritten.',
|
'{{displayMonth}} budget templates have been overwritten.',
|
||||||
{ displayMonth },
|
{ displayMonth },
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export function getUploadError({
|
|||||||
return t('Uploading the file failed. Check your network connection.');
|
return t('Uploading the file failed. Check your network connection.');
|
||||||
default:
|
default:
|
||||||
return t(
|
return t(
|
||||||
'An internal error occurred, sorry! Visit https://actualbudget.org/contact/ for support. (ref: {reason})',
|
'An internal error occurred, sorry! Visit https://actualbudget.org/contact/ for support. (ref: {{reason}})',
|
||||||
{ reason },
|
{ reason },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -67,7 +67,7 @@ export function getDownloadError({ reason, meta, fileName }) {
|
|||||||
default:
|
default:
|
||||||
const info = meta && meta.fileId ? `, fileId: ${meta.fileId}` : '';
|
const info = meta && meta.fileId ? `, fileId: ${meta.fileId}` : '';
|
||||||
return t(
|
return t(
|
||||||
'Something went wrong trying to download that file, sorry! Visit https://actualbudget.org/contact/ for support. reason: {reason}{info}',
|
'Something went wrong trying to download that file, sorry! Visit https://actualbudget.org/contact/ for support. reason: {{reason}}{{info}}',
|
||||||
{ reason, info },
|
{ reason, info },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -105,7 +105,7 @@ export function getSyncError(error, id) {
|
|||||||
{ id },
|
{ id },
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return t('We had an unknown problem opening “{id}”.', { id });
|
return t('We had an unknown problem opening “{{id}}”.', { id });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
upcoming-release-notes/3841.md
Normal file
6
upcoming-release-notes/3841.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Maintenance
|
||||||
|
authors: [MikesGlitch]
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix translations parameter formatting issues
|
||||||
Reference in New Issue
Block a user