Skip to content

Commit

Permalink
Merge branch 'master' into minor
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jan 8, 2024
2 parents 415bc97 + f5ecd9a commit ba12cdb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Further examples can be found in the [TypeORM Find Options documentation](https:
### The QueryBuilder API

When the Find API is not sufficient, the QueryBuilder API can be used to construct more complex queries. For instance,
if you want to have a more complex `WHERE` clause than can be achieved with the Find API, or if you want to perform
if you want to have a more complex `WHERE` clause than what can be achieved with the Find API, or if you want to perform
sub-queries, then the QueryBuilder API is the way to go.

Here are some examples of using the QueryBuilder API:
Expand Down
1 change: 1 addition & 0 deletions packages/admin-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ This report data is also saved to the [i18n-coverage.json](./i18n-coverage.json)

To add support for a new language, create a new empty json file (`{}`) in the `i18n-messages` directory named `<languageCode>.json`, where `languageCode` is one of the supported codes as given in the [LanguageCode enum type](../core/src/api/schema/common/language-code.graphql), then run `yarn extract-translations`

To verify localization changes add `<languageCode>.json` to `./src/lib/static/vendure-ui-config.json` in the array `availableLanguages`. This will make the localization available in Admin UI development mode using `yarn start`

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<hr />
<vdr-main-nav displayMode="settings" (itemClick)="collapseNav()"></vdr-main-nav>
</div>
<div class="mx-2 flex center mb-2">
<div class="mx-2 flex center mb-1" [class.mt-2]="hideVersion && !devMode">
<div *ngIf="!hideVersion" class="version">
v{{ version }}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.settings-nav-container {
margin: calc(var(--space-unit) * 3) 0;
margin: calc(var(--space-unit) * 3) 0 -10px 0;
hr {
margin: 0 calc(var(--space-unit) * 4);
margin-bottom: calc(var(--space-unit) * 4);
Expand Down
3 changes: 2 additions & 1 deletion packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@
},
"error": {
"403-forbidden": "No momento, você não está autorizado a acessar \"{ path }\". Você não tem permissão ou sua sessão expirou.",
"could-not-connect-to-server": "Não foi possível ao servidor Mercado NetBrit no link { url }",
"could-not-connect-to-server": "Não foi possível ao servidor Vendure no link { url }",
"facet-value-form-values-do-not-match": "O número de valores no formulário de etiqueta não corresponde ao número real de valores",
"health-check-failed": "Falha na verificação de integridade do sistema",
"no-default-shipping-zone-set": "Este canal não possui zona de entrega padrão. Isso pode causar erros ao calcular as despesas de envio do pedido.",
"no-default-tax-zone-set": "Este canal não possui zona de imposto padrão, o que causará erros no cálculo de preços. Por favor, crie ou selecione uma zona."
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/vendure-config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const config: VendureConfig = {
// For local dev, the correct value for assetUrlPrefix should
// be guessed correctly, but for production it will usually need
// to be set manually to match your production url.
assetUrlPrefix: IS_DEV ? undefined : 'https://www.my-shop.com/assets',
assetUrlPrefix: IS_DEV ? undefined : 'https://www.my-shop.com/assets/',
}),
DefaultJobQueuePlugin.init({ useDatabaseForBuffer: true }),
DefaultSearchPlugin.init({ bufferUpdates: false, indexStockStatus: true }),
Expand Down
3 changes: 2 additions & 1 deletion packages/elasticsearch-plugin/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ function getCustomResolvers(options: ElasticsearchRuntimeOptions) {
*
* **Requires Elasticsearch v7.0 < required Elasticsearch version < 7.10 **
* Elasticsearch version 7.10.2 will throw error due to incompatibility with elasticsearch-js client.
* [Check here for more info](https://github.com/elastic/elasticsearch-js/issues/1519)
* [Check here for more info](https://github.com/elastic/elasticsearch-js/issues/1519).
*
* `yarn add \@elastic/elasticsearch \@vendure/elasticsearch-plugin`
*
* or
Expand Down

0 comments on commit ba12cdb

Please sign in to comment.