Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing translation for expense title for reinbursement in expense-form #244

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion messages/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Erstellt…",
"save": "Speichern",
"saving": "Speichert…",
"cancel": "Abbrechen"
"cancel": "Abbrechen",
"reimbursement": "Rückzahlung"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Creating…",
"save": "Save",
"saving": "Saving…",
"cancel": "Cancel"
"cancel": "Cancel",
"reimbursement": "Reimbursement"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
4 changes: 3 additions & 1 deletion messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@
"creating": "Creando",
"save": "Guardar",
"saving": "Guardando",
"cancel": "Cancelar"
"cancel": "Cancelar",
"reimbursement": "Reembolso"

},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Luodaan kulua…",
"save": "Tallenna",
"saving": "Tallennetaan…",
"cancel": "Peruuta"
"cancel": "Peruuta",
"reimbursement": "Velanmaksu"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Création…",
"save": "Sauvegarder",
"saving": "Sauvegarde…",
"cancel": "Annuler"
"cancel": "Annuler",
"reimbursement": "Remboursement"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Sto creando…",
"save": "Salva",
"saving": "Sto salvando…",
"cancel": "Annulla"
"cancel": "Annulla",
"reimbursement": "Rimborso"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Создание…",
"save": "Сохранить",
"saving": "Сохранение…",
"cancel": "Отмена"
"cancel": "Отмена",
"reimbursement": "Возмещение"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/ua-UA.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "Створення..",
"save": "Зберегти",
"saving": "Збереження..",
"cancel": "Скасувати"
"cancel": "Скасувати",
"reimbursement": "Відшкодування"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
3 changes: 2 additions & 1 deletion messages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
"creating": "创建中……",
"save": "保存",
"saving": "保存中……",
"cancel": "取消"
"cancel": "取消",
"reimbursement": "报销"
},
"ExpenseDocumentsInput": {
"TooBigToast": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/expense-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function ExpenseForm({
}
: searchParams.get('reimbursement')
? {
title: 'Reimbursement',
title: t('reimbursement'),
expenseDate: new Date(),
amount: String(
(Number(searchParams.get('amount')) || 0) / 100,
Expand Down
Loading