Skip to content

Commit

Permalink
i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavlrsn committed Dec 19, 2024
1 parent 8af437f commit 2fad1f8
Show file tree
Hide file tree
Showing 21 changed files with 153 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/expenses/EditExpenseDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ const EditExpenseItems = ({ expense, onSubmit }) => {
const expenseForm = useExpenseForm({
formRef,
initialValues: {
expenseTypeOption: ExpenseType.INVOICE,
inviteeAccountType: InviteeAccountType.INDIVIDUAL,
expenseItems: [
{
Expand Down Expand Up @@ -364,7 +363,7 @@ function EditExpenseActionButtons({
<DialogFooter>
<DialogClose asChild>
<Button variant="outline">
<FormattedMessage defaultMessage="Cancel" id="cancel" />
<FormattedMessage defaultMessage="Cancel" id="actions.cancel" />
</Button>
</DialogClose>

Expand Down
1 change: 0 additions & 1 deletion components/expenses/ExpensesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ const Expenses = props => {
<FormattedMessage id="Tags" defaultMessage="Tags" />
</H5>
<Tags
isLoading={loading}
expense={{
tags: data?.account?.expensesTags.map(({ tag }) => tag),
}}
Expand Down
8 changes: 8 additions & 0 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "Edit expense",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "comissió d'hostatjament",
"expense.incurredAt": "Data",
Expand Down
8 changes: 8 additions & 0 deletions lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "Edit expense",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "hostitelský poplatek",
"expense.incurredAt": "Datum",
Expand Down
8 changes: 8 additions & 0 deletions lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Eingereicht",
"expense.draft": "Entwurf",
"Expense.edit": "Ausgabe bearbeiten",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Ausgabentitel <small>(öffentlich)</small>",
"Expense.EnterRequestSubject": "Gib den Ausgabetitel <small>(öffentlich)</small> ein",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Gehe zur Ausgabenseite",
"expense.hostFeeInCollectiveCurrency": "Träger-Gebühr",
"expense.incurredAt": "Datum",
Expand Down
8 changes: 8 additions & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "Edit expense",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "host fee",
"expense.incurredAt": "Date",
Expand Down
8 changes: 8 additions & 0 deletions lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Enviado",
"expense.draft": "Borrador",
"Expense.edit": "Editar gasto",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Título del gasto <small>(Público)</small>",
"Expense.EnterRequestSubject": "Escriba el tema de la subvención <small>(Público)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Ir a la página de gastos",
"expense.hostFeeInCollectiveCurrency": "comisión del host",
"expense.incurredAt": "Fecha",
Expand Down
8 changes: 8 additions & 0 deletions lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Envoyées",
"expense.draft": "Brouillon",
"Expense.edit": "Éditer la dépense",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Titre de la dépense <small>(Public)</small>",
"Expense.EnterRequestSubject": "Entrez le sujet de la subvention <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Aller à la page de dépense",
"expense.hostFeeInCollectiveCurrency": "commission de l'hôte",
"expense.incurredAt": "Date",
Expand Down
8 changes: 8 additions & 0 deletions lang/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "עריכת הוצאה",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "שם ההוצאה: <small>(פומבי)</small>",
"Expense.EnterRequestSubject": "מקבל המענק <small>(פומבי)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "לצפיה בדף ההוצאה",
"expense.hostFeeInCollectiveCurrency": "תקורה",
"expense.incurredAt": "תאריך",
Expand Down
8 changes: 8 additions & 0 deletions lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Bozza",
"Expense.edit": "Edit expense",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "host fee",
"expense.incurredAt": "Data",
Expand Down
8 changes: 8 additions & 0 deletions lang/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "請求を行った分",
"expense.draft": "Draft",
"Expense.edit": "経費を編集",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "経費名 <small>(公開)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "この経費の詳細ページへ移動",
"expense.hostFeeInCollectiveCurrency": "ホスト手数料",
"expense.incurredAt": "日付",
Expand Down
8 changes: 8 additions & 0 deletions lang/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "경비 수정",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "호스트 수수료",
"expense.incurredAt": "날짜",
Expand Down
8 changes: 8 additions & 0 deletions lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Ingeleverd",
"expense.draft": "Concept",
"Expense.edit": "Uitgave bewerken",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "host fee",
"expense.incurredAt": "Datum",
Expand Down
8 changes: 8 additions & 0 deletions lang/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Zatwierdzone",
"expense.draft": "Draft",
"Expense.edit": "Edytuj wydatek",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Tytuł wydatku <small>(Publiczny)</small>",
"Expense.EnterRequestSubject": "Wpisz temat dotacji <small>(Publiczny)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Przejdź do strony wydatków",
"expense.hostFeeInCollectiveCurrency": "opłata gospodarza",
"expense.incurredAt": "Data",
Expand Down
8 changes: 8 additions & 0 deletions lang/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Enviado",
"expense.draft": "Rascunho",
"Expense.edit": "Editar despesa",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Título da despesa <small>(Public)</small>",
"Expense.EnterRequestSubject": "Digite conceder assunto <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Ir para página de despesas",
"expense.hostFeeInCollectiveCurrency": "taxa administrativa",
"expense.incurredAt": "Data",
Expand Down
8 changes: 8 additions & 0 deletions lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "Editar despesa",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Go to expense page",
"expense.hostFeeInCollectiveCurrency": "comissão do organizador",
"expense.incurredAt": "Data",
Expand Down
8 changes: 8 additions & 0 deletions lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Отправлено",
"expense.draft": "Черновик",
"Expense.edit": "Изменить расходы",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Перейти на страницу расходов",
"expense.hostFeeInCollectiveCurrency": "комиссия представителя",
"expense.incurredAt": "Дата",
Expand Down
8 changes: 8 additions & 0 deletions lang/sk-SK.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Submitted",
"expense.draft": "Draft",
"Expense.edit": "Upraviť výdavok",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Názov výdavku <small>(Verejné)</small>",
"Expense.EnterRequestSubject": "Zadajte predmet grantu <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Prejsť na stránku výdavkov",
"expense.hostFeeInCollectiveCurrency": "poplatok hostiteľa",
"expense.incurredAt": "Dátum",
Expand Down
8 changes: 8 additions & 0 deletions lang/sv-SE.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Inskickad",
"expense.draft": "Utkast",
"Expense.edit": "Redigera utgift",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Utgiftens titel <small>(Publik)</small>",
"Expense.EnterRequestSubject": "Ange bidragsämne <small>(offentligt)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Sida för utgifter",
"expense.hostFeeInCollectiveCurrency": "värdavgift",
"expense.incurredAt": "Datum",
Expand Down
8 changes: 8 additions & 0 deletions lang/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "Надіслано",
"expense.draft": "Чернетка",
"Expense.edit": "Редагувати витрату",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "Expense title <small>(Public)</small>",
"Expense.EnterRequestSubject": "Enter grant subject <small>(Public)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "Перейти на сторінку витрат",
"expense.hostFeeInCollectiveCurrency": "комісія фіскального агента",
"expense.incurredAt": "Дата",
Expand Down
8 changes: 8 additions & 0 deletions lang/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,16 @@
"Expense.Direction.Submitted": "已提交",
"expense.draft": "草稿",
"Expense.edit": "编辑支出",
"expense.editAttachments": "Edit attachments",
"expense.editItems": "Edit expense items",
"expense.editPayee": "Edit payee",
"expense.editPayoutMethod": "Edit payout method",
"expense.editTitle": "Edit expense title",
"expense.editType": "Edit expense type",
"expense.editType.description": "To edit expense type, use the legacy edit expense flow.",
"Expense.EnterExpenseTitle": "支出标题:<small>(公开)</small>",
"Expense.EnterRequestSubject": "输入资助主题<small>(公开)</small>",
"expense.goToEdit": "Go to edit",
"Expense.GoToPage": "前往支出页",
"expense.hostFeeInCollectiveCurrency": "托管费用",
"expense.incurredAt": "日期",
Expand Down

0 comments on commit 2fad1f8

Please sign in to comment.