Skip to content

Commit eefb1c6

Browse files
committed
i18n
1 parent 75e9501 commit eefb1c6

File tree

23 files changed

+5723
-572
lines changed

23 files changed

+5723
-572
lines changed

backend/app/Services/Domain/Event/CreateEventService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function createEventSettings(
150150
'invoice_label' => __('Invoice'),
151151
'invoice_prefix' => 'INV-',
152152
'invoice_start_number' => 1,
153-
'require_billing_address' => true,
153+
'require_billing_address' => false,
154154
'organization_name' => $organizer->getName(),
155155
'organization_address' => null,
156156
'invoice_tax_details' => null,

frontend/lingui.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const config: LinguiConfig = {
2929
sourceLocale: "en",
3030
format: "po",
3131
fallbackLocales: {
32-
"default": "en",
32+
default: "en",
3333
}
3434
};
3535

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build:ssr:client": "vite build --ssrManifest --outDir dist/client",
1313
"build:ssr:server": "vite build --ssr src/entry.server.tsx --outDir dist/server",
1414
"start": "cross-env NODE_ENV=production node server.js",
15-
"build": "npm run build:ssr:client && npm run build:ssr:server",
15+
"build": "npm run messages:extract && npm run messages:compile && npm run build:ssr:client && npm run build:ssr:server",
1616
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
1717
"messages:extract": "lingui extract",
1818
"messages:compile": "lingui compile"

frontend/scripts/list_untranslated_strings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This script lists all untranslated strings in a .po file.
44

55
# arbitrary translation file
6-
poFile="../src/locales/pt.po"
6+
poFile="../src/locales/es.po"
77

88
if [ -f "$poFile" ]; then
99
echo "Checking file: $poFile"

frontend/src/components/common/OrderDetails/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import classes from "./OrderDetails.module.scss";
88
import {t} from "@lingui/macro";
99
import {formatAddress} from "../../../utilites/formatAddress.tsx";
1010
import React from "react";
11+
import {capitalize} from "lodash";
1112

1213
export const OrderDetails = ({order, event, cardVariant = 'lightGray', style = {}}: {
1314
order: Order,
@@ -75,7 +76,7 @@ export const OrderDetails = ({order, event, cardVariant = 'lightGray', style = {
7576
{t`Payment provider`}
7677
</div>
7778
<div className={classes.amount}>
78-
{order.payment_provider}
79+
{capitalize(order.payment_provider)}
7980
</div>
8081
</div>
8182
)}

frontend/src/locales/de.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)