id
stringlengths
12
53
messages
listlengths
3
3
code_fixed-prices-app_de2334a6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/FixedPrice.tsx from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport ClientSide from './components/ClientSide'\nimport Prices from './components/Prices'\n\nfunction FixedPrice() {\n\n return (\n <ClientSide>\n <Prices/>\n </ClientSide>\n )\n\n}\n\nexport default FixedPrice\n\n```" } ]
code_fixed-prices-app_e7820623
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/store/interfaces.json from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"fixed-price\": {\n \"component\": \"FixedPrice\"\n }\n}\n\n```" } ]
code_fixed-prices-app_0919986b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/node/clients/prices.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport type { InstanceOptions, IOContext } from '@vtex/api'\nimport { JanusClient } from '@vtex/api'\n\nexport default class PricesClient extends JanusClient {\n constructor(context: IOContext, options?: InstanceOptions) {\n super(context,\n {\n ...options,\n headers: {\n VtexIdClientAutCookie: context.authToken,\n },\n }\n )\n }\n\n public async getFixedPricesFromTable(itemId: string | string [], priceTableId: string | string [] ) {\n return this.http.getRaw(`http://api.vtex.com/${this.context.account}/pricing/prices/${itemId}/fixed/${priceTableId}`)\n }\n}\n\n```" } ]
code_fixed-prices-app_c1005dcd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/node/clients/index.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { IOClients } from '@vtex/api'\nimport PricesClient from './prices'\n\n// Extend the default IOClients implementation with our own custom clients.\nexport class Clients extends IOClients {\n\n\n public get prices() {\n return this.getOrSet('prices', PricesClient)\n }\n}\n\n```" } ]
code_fixed-prices-app_3b18d304
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/node/middlewares/getPrices.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport async function getPrices(ctx: Context, next: () => Promise<any>) {\n const {\n vtex: {\n route: { params },\n },\n\n } = ctx\n\n console.info('Received params:', params)\n\n const { itemId,\n priceTableId } = params\n\n console.info('Received itemId:', itemId)\n console.info('Received priceTableId:', priceTableId)\n\n const response = await ctx.clients.prices.getFixedPricesFromTable(itemId, priceTableId)\n\n console.info('Status response:', response)\n\n if (response.status === 200){\n ctx.status = response.status\n ctx.body = response.data\n } else {\n ctx.body = 'Error'\n }\n \n await next()\n}\n\n```" } ]
code_fixed-prices-app_6b6d07d4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/node/resolvers/fixedprices.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Args{\n skuId: string,\n tableName: string\n}\n\nexport const getFixedPrice = async (\n _: any, \n { skuId, tableName }: Args,\n { clients }: Context\n) => {\n const { data } = await clients.prices.getFixedPricesFromTable( skuId, tableName )\n return data\n}\n```" } ]
code_fixed-prices-app_2ac57c7e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/typings/gql.d.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.gql' {\n import { DocumentNode } from 'graphql'\n\n const Schema: DocumentNode\n\n export default Schema\n}\n\ndeclare module '*.graphql' {\n import { DocumentNode } from 'graphql'\n\n const schema: DocumentNode\n\n export default schema\n}\n\n```" } ]
code_fixed-prices-app_0dac5676
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/typings/css.d.ts from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.css' {\n type Styles = {\n [selector: string]: string\n }\n\n const styles: Styles\n\n export default styles\n}\n\n```" } ]
code_fixed-prices-app_63b794cd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/components/ClientSide.tsx from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useEffect, useState } from 'react'\nimport type { PropsWithChildren } from 'react'\n\nfunction ClientSide ({children}: PropsWithChildren<unknown>) {\n const [hydrated, setHydrated] = useState(false)\n\n useEffect(() => setHydrated(true), [])\n\n return hydrated ? <>{children}</> : null\n}\n\nexport default ClientSide\n\n```" } ]
code_fixed-prices-app_fdd7a02c
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/components/Prices.tsx from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { useQuery } from 'react-apollo'\nimport getFixedPrice from '../graphql/getFixedPrice.gql'\nimport { useProduct } from 'vtex.product-context'\n\ninterface queryOpt {\n skuId: string,\n tableName: string\n}\n\ninterface queryData {\n getFixedPrice: [\n {\n value: number,\n minQuantity: number\n }\n ]\n}\n\nfunction Prices() {\n\n // Get the product context value for the selected Sku\n const productContextValue = useProduct();\n const selectedItem = productContextValue?.selectedItem?.itemId || \"\";\n\n // CHANGE_HERE your table name\n const tableName = '2';\n\n const { data, loading, error } = useQuery<queryData, queryOpt>(getFixedPrice, {\n variables: {\n \"skuId\": selectedItem,\n \"tableName\": tableName\n }\n })\n\n if (selectedItem){\n if (loading){\n console.log(\"Loading\");\n } else {\n if (error){\n console.log('----error----', error);\n return null;\n } else if (data){\n console.log('----data----', data.getFixedPrice);\n }\n }\n }\n\n // Customize the information to be displayed on the front here:\n return <div>\n <p>SkuId: {selectedItem}</p>\n <p>Fixed price: {data?.getFixedPrice[0].value}</p>\n <p>minQuantity: {data?.getFixedPrice[0].minQuantity}</p>\n </div>\n}\n\nexport default Prices\n\n```" } ]
code_fixed-prices-app_25783afa
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of fixed-prices-app/react/graphql/getFixedPrice.gql from the fixed-prices-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery test($skuId: String!, $tableName: String!){\n getFixedPrice(skuId: $skuId, tableName: $tableName)\n @context(provider: \"vtexarg.fixed-app\"){\n tradePolicyId\n value\n listPrice\n minQuantity\n }\n}\n\n```" } ]
code_checkout-profile_1c16693f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/messages/pt.json from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/checkout-profile-email-info\": \"Preencher informações para\",\n \"store/checkout-profile-logout-label\": \"Não é você? Sair\",\n \"store/checkout-profile-first-name-label\": \"Nome\",\n \"store/checkout-profile-last-name-label\": \"Sobrenome\",\n \"store/checkout-profile-phone-label\": \"Número de telefone\",\n \"store/checkout-profile-document-label\": \"Documento\",\n \"store/checkout-profile-save-info-label\": \"Salvar minhas informações para compras futuras.\",\n \"store/checkout-profile-newsletter-optin-label\": \"Quero receber email promocionais.\",\n \"store/checkout-profile-continue-button-label\": \"Continuar\",\n \"store/checkout-profile-field-required-message\": \"Campo é obrigatório\",\n \"store/checkout-profile-invalid-phone-message\": \"Número de telefone inválido\",\n \"store/checkout-profile-invalid-document-message\": \"CPF inválido\",\n \"store/checkout-profile-submit-error-message\": \"Aconteceu um erro ao enviar seus dados. Por favor, tente novamente.\"\n}\n\n```" } ]
code_checkout-profile_2b9106e7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/messages/en.json from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/checkout-profile-email-info\": \"Fill info for\",\n \"store/checkout-profile-logout-label\": \"Not you? Logout\",\n \"store/checkout-profile-first-name-label\": \"First name\",\n \"store/checkout-profile-last-name-label\": \"Last name\",\n \"store/checkout-profile-phone-label\": \"Phone number\",\n \"store/checkout-profile-document-label\": \"Document\",\n \"store/checkout-profile-save-info-label\": \"Save my info for future purchases.\",\n \"store/checkout-profile-newsletter-optin-label\": \"I want to receive the newsletter.\",\n \"store/checkout-profile-continue-button-label\": \"Continue\",\n \"store/checkout-profile-field-required-message\": \"Field is required\",\n \"store/checkout-profile-invalid-phone-message\": \"Invalid phone number\",\n \"store/checkout-profile-invalid-document-message\": \"Invalid document number\",\n \"store/checkout-profile-submit-error-message\": \"An error has ocurred when submitting your data. Please try again.\"\n}\n\n```" } ]
code_checkout-profile_fe2c513a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/messages/ar.json from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store/checkout-profile-email-info\": \"املأ المعلومات لـ\",\n \"store/checkout-profile-logout-label\": \"هذا ليس أنت؟ سجل خروجك\",\n \"store/checkout-profile-first-name-label\": \"الإسم الأول\",\n \"store/checkout-profile-last-name-label\": \"الإسم الأخير\",\n \"store/checkout-profile-phone-label\": \"رقم الهاتف\",\n \"store/checkout-profile-document-label\": \"الوثيقة\",\n \"store/checkout-profile-save-info-label\": \"احفظ معلوماتي للمشتريات المستقبلية.\",\n \"store/checkout-profile-newsletter-optin-label\": \"أريد تلقي الرسائل الإخبارية.\",\n \"store/checkout-profile-continue-button-label\": \"مواصلة\",\n \"store/checkout-profile-field-required-message\": \"حقل مطلوب\",\n \"store/checkout-profile-invalid-phone-message\": \"رقم هاتف غير صالح\",\n \"store/checkout-profile-invalid-document-message\": \"رقم مستند غير صالح\",\n \"store/checkout-profile-submit-error-message\": \"حدث خطأ عند إرسال البيانات الخاصة بك. حاول مرة اخرى.\"\n}\n\n```" } ]
code_checkout-profile_a20b68ba
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/docs/README.md from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Checkout Profile\n\nThis app contains a Profile Form, and a Profile Preview component, used in the checkout to\nupdate the information inside the `orderForm`.\n\n![image](https://user-images.githubusercontent.com/10223856/77474172-65c44c80-6df5-11ea-9709-88c163dcaeef.png)\n\n## Usage\n\nTo use this app, first include it in your `manifest.json` dependencies.\n\n```json\n{\n \"dependencies\": {\n \"vtex.checkout-profile\": \"0.x\"\n }\n}\n```\n\n> If you are using TypeScript, you may also want to run `vtex setup` after the step above\n\nThen, you can import the component and use it\n\n```jsx\nimport React from 'react'\nimport { ProfilePreview, ProfileForm } from 'vtex.checkout-profile'\n\nconst Form = ({ isPreviewMode = false }) => {\n if (isPreviewMode) {\n return (\n <ProfilePreview />\n )\n }\n\n return (\n // no need to pass in any props, as the component\n // uses all information provided by the `order-manager` app.\n <ProfileForm />\n )\n}\n```\n\nNote that you need to have `OrderFormProvider` from `vtex.order-manager` app somewhere above this \ncomponent in your tree.\n\n```" } ]
code_checkout-profile_6ba46930
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/ProfileSummary.tsx from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { OrderForm } from 'vtex.order-manager'\nimport { FormattedMessage } from 'react-intl'\nimport { ButtonPlain } from 'vtex.styleguide'\nimport { useRuntime } from 'vtex.render-runtime'\n\nconst ProfileSummary: React.FC = () => {\n const { rootPath = '' } = useRuntime()\n const { orderForm } = OrderForm.useOrderForm()\n\n if (!orderForm.clientProfileData) {\n return null\n }\n\n const {\n clientProfileData: { firstName, lastName, email },\n } = orderForm\n\n const fullName = firstName && lastName && `${firstName} ${lastName}`\n\n return (\n <div className=\"flex flex-column c-muted-1\">\n <div className=\"mb4 lh-title flex items-center\">\n {fullName && <span>{fullName}</span>}{' '}\n {(!orderForm.canEditData || orderForm.loggedIn) && (\n <div className=\"ml4\">\n <ButtonPlain\n href={`${rootPath}/checkout/changeToAnonymousUser/${orderForm.id}`}\n testId=\"profile-logout-button\"\n >\n <FormattedMessage id=\"store/checkout-profile-logout-label\" />\n </ButtonPlain>\n </div>\n )}\n </div>\n <span className=\"db lh-title\">{email}</span>\n </div>\n )\n}\n\nexport default ProfileSummary\n\n```" } ]
code_checkout-profile_58c5a98d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/ProfileForm.tsx from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, {\n useState,\n useCallback,\n useRef,\n useReducer,\n useEffect,\n useMemo,\n} from 'react'\nimport { defineMessages, useIntl, MessageDescriptor } from 'react-intl'\nimport { OrderForm } from 'vtex.order-manager'\nimport { OrderProfile } from 'vtex.order-profile'\nimport { Input, Checkbox, Button, ButtonPlain, IconEdit } from 'vtex.styleguide'\nimport { useRuntime } from 'vtex.render-runtime'\nimport { PhoneField, PhoneContext } from 'vtex.phone-field'\nimport { DocumentField } from 'vtex.document-field'\nimport { Router } from 'vtex.checkout-container'\nimport { useQuery } from 'react-apollo'\n\nimport phoneDataQuery from './graphql/phoneDataQuery.gql'\n\nconst messages = defineMessages({\n emailInfo: {\n id: 'store/checkout-profile-email-info',\n },\n firstNameLabel: {\n id: 'store/checkout-profile-first-name-label',\n },\n lastNameLabel: {\n id: 'store/checkout-profile-last-name-label',\n },\n phoneLabel: {\n id: 'store/checkout-profile-phone-label',\n },\n documentLabel: {\n id: 'store/checkout-profile-document-label',\n },\n saveInfoLabel: {\n id: 'store/checkout-profile-save-info-label',\n },\n newsletterOptinLabel: {\n id: 'store/checkout-profile-newsletter-optin-label',\n },\n continueButtonLabel: {\n id: 'store/checkout-profile-continue-button-label',\n },\n fieldRequiredMessage: {\n id: 'store/checkout-profile-field-required-message',\n },\n invalidPhoneMessage: {\n id: 'store/checkout-profile-invalid-phone-message',\n },\n invalidDocumentMessage: {\n id: 'store/checkout-profile-invalid-document-message',\n },\n submitErrorMessage: {\n id: 'store/checkout-profile-submit-error-message',\n },\n})\n\ntype FieldState<T> = {\n value: T\n blur?: boolean\n} & (\n | {\n error?: undefined\n isValid: true\n }\n | { error: MessageDescriptor; isValid: false }\n)\n\ntype ProfileState = {\n firstName: FieldState<string>\n lastName: FieldState<string>\n phone: FieldState<string>\n documentType: FieldState<string>\n document: FieldState<string>\n}\n\ntype ProfileAction = { field: keyof ProfileState } & (\n | {\n type: 'update'\n value: string\n isValid?: boolean\n }\n | {\n type: 'set_error'\n isValid: boolean\n error: MessageDescriptor | undefined\n }\n | { type: 'blur' }\n | { type: 'focus' }\n)\n\nconst profileReducer = (\n profile: ProfileState,\n action: ProfileAction\n): ProfileState => {\n const { field } = action\n switch (action.type) {\n case 'update': {\n const { value, isValid } = action\n const newField = {\n ...profile[field],\n value,\n isValid: isValid ?? profile[field].isValid,\n }\n\n return {\n ...profile,\n [field]: newField,\n }\n }\n case 'set_error': {\n const { error, isValid } = action\n return {\n ...profile,\n [field]: {\n ...profile[field],\n error,\n isValid,\n },\n }\n }\n case 'blur': {\n return {\n ...profile,\n [field]: {\n ...profile[field],\n blur: true,\n },\n }\n }\n case 'focus': {\n return {\n ...profile,\n [field]: { ...profile[field], focus: true },\n }\n }\n default: {\n return profile\n }\n }\n}\n\nconst ProfileForm: React.FC = () => {\n const { orderForm } = OrderForm.useOrderForm()\n const {\n setOrderProfile,\n setClientPreferencesData,\n } = OrderProfile.useOrderProfile()\n const { navigate } = useRuntime()\n const intl = useIntl()\n const history = Router.useHistory()\n\n const { data } = useQuery(phoneDataQuery)\n\n const [loading, setLoading] = useState(false)\n const [submitFailed, setSubmitFailed] = useState(false)\n const phoneContainerRef = useRef<HTMLDivElement>(null)\n const phoneInputRef = useRef<HTMLInputElement>(null)\n\n const [persistInfo, setPersistInfo] = useState(false)\n const [optInNewsletter, setOptInNewsletter] = useState(\n orderForm.clientPreferencesData?.optInNewsletter ?? false\n )\n\n const [profileData, dispatch] = useReducer<\n React.Reducer<ProfileState, ProfileAction>\n >(profileReducer, {\n firstName: {\n value: orderForm.clientProfileData?.firstName ?? '',\n isValid: true,\n },\n lastName: {\n value: orderForm.clientProfileData?.lastName ?? '',\n isValid: true,\n },\n phone: { value: orderForm.clientProfileData?.phone ?? '', isValid: true },\n documentType: {\n value: orderForm.clientProfileData?.documentType ?? 'cpf',\n isValid: true,\n },\n document: {\n value: orderForm.clientProfileData?.document ?? '',\n isValid: true,\n },\n })\n\n const emailRef = useRef(orderForm.clientProfileData?.email)\n\n const validateField = useCallback(\n <T extends any>(fieldName: keyof ProfileState, field: FieldState<T>) => {\n if (!field.value && (field.isValid ?? true)) {\n dispatch({\n type: 'set_error',\n field: fieldName,\n isValid: false,\n error: messages.fieldRequiredMessage,\n })\n }\n },\n []\n )\n\n useEffect(() => {\n Object.entries(profileData).forEach(([fieldName, field]) =>\n validateField(fieldName as keyof ProfileState, field)\n )\n }, [profileData, validateField])\n\n const handleEditEmail = useCallback(() => {\n navigate({ page: 'store.checkout.identification' })\n }, [navigate])\n\n const handlePersistInfoChange: React.ChangeEventHandler<HTMLInputElement> = evt => {\n setPersistInfo(evt.target.checked)\n }\n\n const handleOptinNewsletterChange: React.ChangeEventHandler<HTMLInputElement> = evt => {\n setOptInNewsletter(evt.target.checked)\n }\n\n const handleChange: React.ChangeEventHandler<HTMLInputElement> = evt => {\n dispatch({\n type: 'update',\n field: evt.target.name as keyof ProfileState,\n value: evt.target.value,\n isValid: evt.target.value.length > 0,\n })\n }\n\n const handleDocumentChange = ({\n document,\n documentType,\n isValid,\n }: {\n document: string\n documentType: string\n isValid: boolean\n }) => {\n dispatch({\n type: 'update',\n field: 'document',\n value: document,\n isValid,\n })\n\n dispatch({\n type: 'update',\n field: 'documentType',\n value: documentType,\n })\n\n if (!isValid) {\n dispatch({\n type: 'set_error',\n field: 'document',\n isValid: false,\n error:\n document.length > 0\n ? messages.invalidDocumentMessage\n : messages.fieldRequiredMessage,\n })\n }\n }\n\n const handleBlur: React.FocusEventHandler<HTMLInputElement> = evt => {\n dispatch({\n type: 'blur',\n field: evt.target.name as keyof ProfileState,\n })\n }\n\n const handleFocus: React.FocusEventHandler<HTMLInputElement> = evt => {\n dispatch({\n type: 'focus',\n field: evt.target.name as keyof ProfileState,\n })\n }\n\n const handlePhoneBlur: React.FocusEventHandler<HTMLInputElement> = () => {\n // this timeout is needed because the phone field component focus\n // the listbox button after the change handler, so we need to wait\n // for the next tick when the focus has been potentially changed to it\n setTimeout(() => {\n if (\n document.activeElement == null ||\n // consider that the listbox is also our \"input\", so we won't trigger\n // the error message if the user is selecting the country calling code\n (document.activeElement !== phoneInputRef.current &&\n !document.activeElement.matches('[data-reach-listbox-list=\"\"]') &&\n !(\n phoneContainerRef.current!.compareDocumentPosition(\n document.activeElement\n ) & Node.DOCUMENT_POSITION_CONTAINED_BY\n ))\n ) {\n dispatch({\n type: 'blur',\n field: 'phone',\n })\n }\n }, 0)\n }\n\n const handleSubmit: React.FormEventHandler<HTMLFormElement> = async evt => {\n evt.preventDefault()\n\n setSubmitFailed(false)\n\n if (Object.values(profileData).some(({ isValid }) => !isValid)) {\n // send blur event to all fields so it's clear to the user which\n // fields are in an invalid state.\n Object.keys(profileData).forEach(field =>\n dispatch({ type: 'blur', field: field as keyof ProfileState })\n )\n return\n }\n\n setLoading(true)\n\n const profileDataValues: {\n [field in keyof ProfileState]: ProfileState[field]['value']\n } = Object.keys(profileData).reduce(\n (profile, fieldName) => ({\n ...profile,\n [fieldName]: profileData[fieldName as keyof ProfileState].value,\n }),\n {} as any\n )\n\n try {\n const [\n { success: profileUpdateSuccess },\n { success: clientPreferencesUpdateSuccess },\n ] = await Promise.all([\n setOrderProfile({\n ...profileDataValues,\n email: emailRef.current,\n }),\n setClientPreferencesData({ optInNewsletter }),\n ])\n\n if (profileUpdateSuccess && clientPreferencesUpdateSuccess) {\n history.push('/shipping')\n } else {\n setSubmitFailed(true)\n setLoading(false)\n }\n } catch (err) {\n setSubmitFailed(true)\n setLoading(false)\n }\n }\n\n const handlePhoneChange = ({\n value,\n isValid,\n }: {\n value: string\n isValid: boolean\n }) => {\n dispatch({\n type: 'update',\n field: 'phone',\n value,\n isValid,\n })\n\n if (!isValid) {\n dispatch({\n type: 'set_error',\n field: 'phone',\n isValid: false,\n error: messages.invalidPhoneMessage,\n })\n }\n }\n\n const phoneRules = useMemo(\n () =>\n data?.countriesData.map(({ countryISO, phone }: any) => ({\n countryISO,\n ...phone,\n })) ?? [],\n [data]\n )\n\n return (\n <>\n <div>\n <span className=\"t-body fw6 flex items-center\">\n {intl.formatMessage(messages.emailInfo)}{' '}\n <div className=\"dib ml4\">\n <ButtonPlain onClick={handleEditEmail}>\n <IconEdit solid />\n </ButtonPlain>\n </div>\n </span>\n <span className=\"dib mt3\">{emailRef.current}</span>\n </div>\n <form className=\"mt6\" onSubmit={handleSubmit}>\n <div className=\"flex flex-column flex-row-ns\">\n <div className=\"w-100\" data-testid=\"profile-first-name-wrapper\">\n <Input\n label={intl.formatMessage(messages.firstNameLabel)}\n name=\"firstName\"\n value={profileData.firstName.value}\n errorMessage={\n (profileData.firstName.blur &&\n !profileData.firstName.isValid &&\n intl.formatMessage(profileData.firstName.error)) ||\n undefined\n }\n onChange={handleChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n />\n </div>\n <div\n className=\"w-100 mt6 mt0-ns ml0 ml5-ns\"\n data-testid=\"profile-last-name-wrapper\"\n >\n <Input\n label={intl.formatMessage(messages.lastNameLabel)}\n name=\"lastName\"\n value={profileData.lastName.value}\n errorMessage={\n (profileData.lastName.blur &&\n !profileData.lastName.isValid &&\n intl.formatMessage(profileData.lastName.error)) ||\n undefined\n }\n onChange={handleChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n />\n </div>\n </div>\n <div className=\"flex flex-column flex-row-ns mt6\">\n <div\n className=\"w-100 flex-auto\"\n ref={phoneContainerRef}\n data-testid=\"profile-phone-wrapper\"\n >\n <PhoneContext.PhoneContextProvider rules={phoneRules}>\n <PhoneField\n ref={phoneInputRef}\n label={intl.formatMessage(messages.phoneLabel)}\n value={profileData.phone.value}\n name=\"phone\"\n onChange={handlePhoneChange}\n onBlur={handlePhoneBlur}\n onFocus={handleFocus}\n disabled={!data}\n errorMessage={\n (profileData.phone.blur &&\n !profileData.phone.isValid &&\n intl.formatMessage(profileData.phone.error)) ||\n undefined\n }\n />\n </PhoneContext.PhoneContextProvider>\n </div>\n <div\n className=\"w-100 flex-auto mt6 mt0-ns ml0 ml5-ns\"\n data-testid=\"profile-document-wrapper\"\n >\n <DocumentField\n document={profileData.document.value}\n documentType={profileData.documentType.value}\n label={intl.formatMessage(messages.documentLabel)}\n name=\"document\"\n errorMessage={\n (profileData.document.blur &&\n !profileData.document.isValid &&\n intl.formatMessage(profileData.document.error)) ||\n undefined\n }\n onChange={handleDocumentChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n />\n </div>\n </div>\n <div className=\"mv7\">\n {orderForm.userProfileId == null && (\n <Checkbox\n id=\"save-personal-info\"\n label={intl.formatMessage(messages.saveInfoLabel)}\n checked={persistInfo}\n onChange={handlePersistInfoChange}\n />\n )}\n <div className=\"mt6\">\n <Checkbox\n id=\"optin-newsletter\"\n label={intl.formatMessage(messages.newsletterOptinLabel)}\n checked={optInNewsletter}\n onChange={handleOptinNewsletterChange}\n />\n </div>\n </div>\n <div data-testid=\"profile-continue-wrapper\">\n <Button\n size=\"large\"\n type=\"submit\"\n block\n disabled={loading}\n isLoading={loading}\n >\n <span className=\"f5\">\n {intl.formatMessage(messages.continueButtonLabel)}\n </span>\n </Button>\n </div>\n {submitFailed && (\n <span className=\"dib mt5 t-auxiliary c-danger\">\n {intl.formatMessage(messages.submitErrorMessage)}\n </span>\n )}\n </form>\n </>\n )\n}\n\nexport default ProfileForm\n\n```" } ]
code_checkout-profile_9484cf58
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/package.json from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-profile\",\n \"version\": \"0.3.1\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"dependencies\": {\n \"msk\": \"^1.0.5\",\n \"react\": \"^16.13.0\",\n \"react-apollo\": \"^3.1.5\",\n \"react-intl\": \"^3.12.1\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^13.9.0\",\n \"@types/react\": \"^16.9.23\",\n \"vtex.checkout-container\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.checkout-container@0.4.1/public/@types/vtex.checkout-container\",\n \"vtex.document-field\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.document-field@0.1.1/public/@types/vtex.document-field\",\n \"vtex.order-manager\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-manager@0.8.5/public/@types/vtex.order-manager\",\n \"vtex.order-profile\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.order-profile@0.2.0/public/@types/vtex.order-profile\",\n \"vtex.phone-field\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.phone-field@0.1.4/public/@types/vtex.phone-field\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.106.0/public/@types/vtex.render-runtime\",\n \"vtex.styleguide\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.121.0/public/@types/vtex.styleguide\"\n }\n}\n\n```" } ]
code_checkout-profile_d98c9800
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/typings/vtex.render-runtime.d.ts from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport * as Runtime from 'vtex.render-runtime'\n\ndeclare module 'vtex.render-runtime' {\n export const useRuntime: () => Runtime.RenderContext\n}\n\n```" } ]
code_checkout-profile_4bc75976
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/typings/graphql.d.ts from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.gql' {\n import { DocumentNode } from 'graphql'\n\n const query: DocumentNode\n\n export default query\n}\n\n```" } ]
code_checkout-profile_e12b87a0
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/typings/vtex.styleguide.d.ts from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable import/order */\n\nimport * as Styleguide from 'vtex.styleguide'\n\ndeclare module 'vtex.styleguide' {\n import React from 'react'\n\n export const Input: React.FC\n\n export const Checkbox: React.FC\n\n export const Button: React.FC\n\n export const Dropdown: React.FC\n\n export const IconEdit: React.FC\n}\n\n```" } ]
code_checkout-profile_70e76b50
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-profile/react/graphql/phoneDataQuery.gql from the checkout-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery PhoneData {\n countriesData: allCountriesData {\n countryISO\n phone {\n countryCode\n mask\n pattern\n }\n }\n}\n\n```" } ]
code_checkout-components_b092ed45
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/IconCaretRight.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\n\nconst IconCaretRight: React.VFC<React.SVGAttributes<SVGSVGElement>> = props => {\n return (\n <svg\n {...props}\n width=\"9\"\n height=\"12\"\n viewBox=\"0 0 9 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8.32257 5.28071L2.29707 0.280712C2.06979 0.0985538 1.76538 -0.00224062 1.4494 3.78026e-05C1.13343 0.00231622 0.831177 0.107485 0.607741 0.292893C0.384306 0.478301 0.257567 0.729114 0.254821 0.991311C0.252076 1.25351 0.373543 1.50611 0.593062 1.69471L5.76656 5.98771L0.593062 10.2807C0.477962 10.373 0.386155 10.4833 0.322997 10.6053C0.259839 10.7273 0.226595 10.8585 0.225204 10.9913C0.223814 11.1241 0.254305 11.2558 0.314898 11.3787C0.375492 11.5016 0.464974 11.6132 0.578124 11.7071C0.691275 11.801 0.825826 11.8753 0.973929 11.9255C1.12203 11.9758 1.28072 12.0011 1.44073 12C1.60074 11.9988 1.75888 11.9712 1.9059 11.9188C2.05293 11.8664 2.18591 11.7902 2.29707 11.6947L8.32257 6.69471C8.5485 6.50718 8.67541 6.25288 8.67541 5.98771C8.67541 5.72255 8.5485 5.46824 8.32257 5.28071Z\"\n fill=\"currentColor\"\n />\n </svg>\n )\n}\n\nexport default IconCaretRight\n\n```" } ]
code_checkout-components_b18032bf
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/Listbox.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport {\n ListboxInput as Input,\n ListboxInputProps as InputProps,\n ListboxButton as Button,\n ListboxButtonProps as ButtonProps,\n ListboxPopover as Popover,\n ListboxPopoverProps as PopoverProps,\n ListboxList as List,\n ListboxListProps as ListProps,\n ListboxOption as Option,\n ListboxOptionProps as OptionProps,\n} from '@reach/listbox'\nimport classNames from 'classnames'\nimport React, { forwardRef } from 'react'\nimport { IconCaretDown } from 'vtex.styleguide'\n\nimport styles from './Listbox.css'\n\nexport const ListboxInput = forwardRef<HTMLDivElement, InputProps>(\n function ListboxInput({ className, ...props }, ref) {\n return (\n <Input {...props} ref={ref} className={classNames(className, 'w-100')} />\n )\n }\n)\n\ninterface ListboxButtonProps\n extends ButtonProps,\n Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> {\n variation?: 'default' | 'plain'\n}\n\nexport const ListboxButton: React.FC<ListboxButtonProps> = ({\n className,\n variation = 'default',\n arrow = (\n <div className=\"c-action-primary\">\n <IconCaretDown />\n </div>\n ),\n ...props\n}) => {\n return (\n <Button\n {...props}\n arrow={arrow}\n className={classNames(\n styles.button,\n className,\n 'h-100 flex items-center bg-base c-on-base pv4 pv3-ns pl4 pr5 outline-0 pointer',\n { 'ba bw1 br2 b--muted-4 hover-b--muted-3': variation === 'default' }\n )}\n />\n )\n}\n\nexport const ListboxPopover = forwardRef<\n HTMLElement,\n Omit<PopoverProps, 'unstable_observableRefs'>\n>(function ListboxPopover({ className, ...props }, ref) {\n return (\n <Popover\n {...props}\n ref={ref}\n className={classNames(\n className,\n styles.popover,\n 'bg-base pv3 mt2 br2 ba bw1 b--muted-4 asbolute outline-0'\n )}\n />\n )\n})\n\nexport const ListboxList: React.FC<ListProps & { className?: string }> = ({\n className,\n ...props\n}) => {\n return (\n <List\n {...props}\n className={classNames(className, 'bg-base list ma0 pa0 outline-0')}\n />\n )\n}\n\nconst SelectedIcon: React.FC<React.SVGProps<SVGSVGElement>> = props => (\n <svg\n {...props}\n width=\"10\"\n height=\"8\"\n viewBox=\"0 0 10 8\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M8.58484 0.234407L3.32991 5.48934L1.41516 3.57458C1.25767 3.42247 1.04673 3.3383 0.827788 3.34021C0.608842 3.34211 0.399402 3.42993 0.244579 3.58475C0.0897548 3.73958 0.00193415 3.94902 3.15668e-05 4.16796C-0.00187101 4.38691 0.0822967 4.59784 0.234407 4.75533L2.73954 7.26046C2.89613 7.41701 3.10849 7.50495 3.32991 7.50495C3.55134 7.50495 3.76369 7.41701 3.92029 7.26046L9.76559 1.41516C9.9177 1.25767 10.0019 1.04673 9.99997 0.827787C9.99806 0.608842 9.91024 0.399402 9.75542 0.244579C9.6006 0.0897547 9.39116 0.00193415 9.17221 3.15668e-05C8.95327 -0.00187101 8.74233 0.0822966 8.58484 0.234407Z\"\n fill=\"currentColor\"\n />\n </svg>\n)\n\nexport const ListboxOption: React.FC<OptionProps & { className?: string }> = ({\n className,\n children,\n ...props\n}) => {\n return (\n <Option\n {...props}\n className={classNames(\n className,\n styles.option,\n 'flex items-center pointer bg-action-secondary pv3 pr7'\n )}\n >\n <SelectedIcon className={classNames(styles.selectedIcon, 'dn pl5 pr3')} />\n {children}\n </Option>\n )\n}\n\nexport default {\n ListboxInput,\n ListboxButton,\n ListboxPopover,\n ListboxList,\n ListboxOption,\n}\n\n```" } ]
code_checkout-components_6a35af6e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/SelectedCard.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport classnames from 'classnames'\nimport React, { ReactNode } from 'react'\nimport { IconDelete } from 'vtex.styleguide'\n\ninterface Props extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {\n title: ReactNode\n description?: ReactNode\n auxiliaryText?: ReactNode\n onDeselect?: () => void\n}\n\nconst SelectedCard: React.VFC<Props> = ({\n onDeselect,\n title,\n description,\n auxiliaryText,\n ...props\n}) => {\n return (\n <div\n {...props}\n className={classnames(\n props.className,\n 'bg-muted-5 pa5 flex items-start lh-copy'\n )}\n role=\"option\"\n aria-selected\n >\n <div className=\"flex w-100\">\n <div className=\"flex flex-column\">\n {title}\n {description}\n </div>\n {auxiliaryText}\n </div>\n <button\n className=\"flex-shrink-0 c-muted-1 ml5 pa2 flex items-center bg-transparent bn pointer self-start\"\n onClick={onDeselect}\n >\n <IconDelete />\n </button>\n </div>\n )\n}\n\nexport default SelectedCard\n\n```" } ]
code_checkout-components_2b99a258
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/Listbox.css from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n:root {\n --reach-listbox: 1;\n}\n\n.option:not([aria-selected=\"true\"]) {\n background-color: transparent;\n}\n\n.option:not([data-current=\"\"]) {\n padding-left: 2.125rem;\n}\n\n.option[data-current=\"\"] {\n padding-left: 0;\n}\n\n.option[data-current=\"\"] .selectedIcon {\n display: block;\n}\n\n.popover {\n box-shadow: 0px 1px 16px rgba(46, 46, 46, 0.12);\n}\n\n.button [data-reach-listbox-arrow] {\n margin-left: auto;\n}\n\n```" } ]
code_checkout-components_cc88d01a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/GroupOption.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport classnames from 'classnames'\nimport React, { Fragment } from 'react'\nimport { Divider } from 'vtex.styleguide'\n\nimport IconCaretRight from './IconCaretRight'\nimport styles from './GroupOption.css'\nimport { useListContext } from './ListGroup'\n\ninterface OptionProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n selected?: boolean\n caretAlign?: 'start' | 'center' | 'end'\n lean?: boolean\n isLast?: boolean\n}\n\nconst GroupOption: React.FC<OptionProps> = ({\n className = '',\n onClick = () => {},\n children,\n selected = false,\n caretAlign = 'start',\n lean = false,\n isLast = false,\n}) => {\n const borderPosition = useListContext()?.borderPosition ?? 'top'\n\n return (\n <Fragment>\n <button\n className={classnames(\n styles.groupOption,\n className,\n 'w-100 tl pointer db lh-copy c-on-base bg-base hover-bg-action-secondary ph5 pv5-ns flex items-center justify-between bn',\n {\n pv4: !lean,\n pv3: lean,\n }\n )}\n onClick={onClick}\n role=\"option\"\n aria-selected={selected}\n >\n {children}\n <span\n className={classnames(\n styles.caretWrapper,\n 'c-action-primary ml5 inline-flex items-center',\n `self-${caretAlign}`\n )}\n >\n <IconCaretRight />\n </span>\n </button>\n {(!isLast || borderPosition === 'top') && (\n <div className=\"w-100 pr5 pr0-ns pl5\">\n <Divider orientation=\"horizontal\" />\n </div>\n )}\n </Fragment>\n )\n}\n\nexport default GroupOption\n\n```" } ]
code_checkout-components_ab1a0f51
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/package.json from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-components\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"devDependencies\": {\n \"@types/classnames\": \"^2.2.10\",\n \"@types/node\": \"^13.13.1\",\n \"@types/react\": \"^16.9.34\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.124.3/public/@types/vtex.render-runtime\",\n \"vtex.styleguide\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.133.1/public/@types/vtex.styleguide\"\n },\n \"dependencies\": {\n \"@reach/listbox\": \"^0.10.2\",\n \"classnames\": \"^2.2.6\",\n \"react\": \"^16.13.1\"\n },\n \"version\": \"0.5.1\"\n}\n\n```" } ]
code_checkout-components_153e27c7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/ListGroup.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport classnames from 'classnames'\nimport React, { useContext, useMemo, createContext } from 'react'\n\ninterface ListContext {\n borderPosition: 'top' | 'bottom' | 'none'\n}\n\nconst ctx = createContext<ListContext | undefined>(undefined)\n\nexport const useListContext = () => useContext(ctx)\n\nconst ListGroup: React.FC<{ borderPosition?: 'top' | 'bottom' | 'none' }> = ({\n children,\n borderPosition = 'top',\n}) => {\n const context = useMemo(\n () => ({\n borderPosition,\n }),\n [borderPosition]\n )\n\n return (\n <div className=\"nh5 nh0-ns\" role=\"group\">\n <div\n className={classnames({\n 'b--muted-4': borderPosition !== 'none',\n bt: borderPosition === 'top',\n bb: borderPosition === 'bottom',\n })}\n >\n <ctx.Provider value={context}>{children}</ctx.Provider>\n </div>\n </div>\n )\n}\n\nexport default ListGroup\n\n```" } ]
code_checkout-components_b5fcaf81
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/Modal.css from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.modal :global(.vtex-modal__modal) {\n transition-property: top;\n transition-duration: 200ms;\n transition-timing-function: ease-in-out;\n}\n\n.open :global(.vtex-modal__modal) {\n top: 30%;\n}\n\n.closed :global(.vtex-modal__modal) {\n top: calc(100% - 2rem);\n}\n\n@media only screen and (max-width: 40em) {\n .modal :global(.vtex-modal__overlay) {\n animation-name: none !important;\n }\n\n .modal :global(.vtex-modal__modal) {\n opacity: 1 !important;\n }\n\n .modal :global(.vtex-modal__modal) {\n margin: 0;\n width: 100%;\n height: 70%;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n align-self: stretch;\n }\n}\n\n@media only screen and (min-width: 40em) {\n .modal :global(.vtex-modal__modal) {\n transition-property: opacity;\n top: auto;\n }\n\n .open :global(.vtex-modal__modal) {\n opacity: 1;\n }\n\n .closed :global(.vtex-modal__modal) {\n opacity: 0;\n }\n}\n\n```" } ]
code_checkout-components_bb064196
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/Modal.tsx from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, {\n forwardRef,\n useRef,\n useLayoutEffect,\n useState,\n useEffect,\n} from 'react'\nimport { Props as ModalProps } from 'vtex.styleguide/react/components/EXPERIMENTAL_Modal'\nimport { EXPERIMENTAL_Modal as StyleguideModal, utils } from 'vtex.styleguide'\n\nimport { useFadeEffect } from './hooks/useFadeEffect'\nimport styles from './Modal.css'\n\nconst Modal = forwardRef<\n HTMLDivElement,\n Omit<Partial<ModalProps>, 'container' | 'translate'>\n>(function Modal(\n { isOpen = false, onClose = () => {}, children, title, ...props },\n forwardedRef\n) {\n const [modalContainer] = useState(() => {\n const container = document.createElement('div')\n\n container.classList.add(styles.modal)\n\n document.body.append(container)\n\n if (isOpen) {\n container.classList.add(styles.open)\n } else {\n container.classList.add(styles.closed)\n }\n\n return container\n })\n\n useEffect(() => {\n return () => {\n document.body.removeChild(modalContainer)\n }\n }, [modalContainer])\n\n const [shouldRender, visible, fadeEffectRef] = useFadeEffect(isOpen)\n\n const containerRef = useRef<HTMLDivElement>(null)\n\n const ref = utils.useMergeRefs<HTMLDivElement | null>(\n fadeEffectRef,\n containerRef,\n forwardedRef\n )\n\n useLayoutEffect(() => {\n if (!containerRef.current) {\n return\n }\n\n if (visible) {\n modalContainer.classList.remove(styles.closed)\n modalContainer.classList.add(styles.open)\n } else {\n modalContainer.classList.remove(styles.open)\n modalContainer.classList.add(styles.closed)\n }\n }, [visible, modalContainer])\n\n if (!shouldRender) {\n return null\n }\n\n return (\n <StyleguideModal\n {...props}\n ref={ref}\n isOpen\n onClose={onClose}\n title={title}\n container={modalContainer}\n >\n {children}\n </StyleguideModal>\n )\n})\n\nexport default Modal\n\n```" } ]
code_checkout-components_70946f6f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/GroupOption.css from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.groupOption {\n min-height: 3.625rem;\n}\n\n@media only screen and (min-width: 40em) {\n .groupOption {\n min-height: 4.125rem;\n }\n}\n\n.optionDivider:last-of-type {\n display: none;\n}\n\n.caretWrapper {\n height: 1.5rem;\n}\n\n```" } ]
code_checkout-components_cd381717
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/typings/css.d.ts from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.css' {\n const styles: { [key: string]: string }\n export default styles\n}\n\n```" } ]
code_checkout-components_5c546fb4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/typings/vtex.styleguide.d.ts from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport React from 'react'\n\ndeclare module 'vtex.styleguide' {\n const IconCaretRight: React.FC<any>\n\n const IconCaretDown: React.FC<any>\n\n const IconDelete: React.FC<any>\n}\n\n```" } ]
code_checkout-components_fcf0b5e5
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of checkout-components/react/hooks/useFadeEffect.ts from the checkout-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport {\n useCallback,\n useEffect,\n useLayoutEffect,\n useReducer,\n useRef,\n} from 'react'\n\nconst TRANSITION_DURATION = 1000\n\ninterface State {\n isTransitioning: boolean\n shouldBeVisible: boolean\n}\n\ntype Action = { type: 'start'; shouldBeVisible: boolean } | { type: 'finish' }\n\nfunction reducer(state: State, action: Action) {\n switch (action.type) {\n case 'start':\n return { isTransitioning: true, shouldBeVisible: action.shouldBeVisible }\n case 'finish':\n return { isTransitioning: false, shouldBeVisible: state.shouldBeVisible }\n default:\n return state\n }\n}\n\nexport const useFadeEffect = (visible: boolean) => {\n const elementRef = useRef<HTMLElement | null>(null)\n\n const [state, dispatch] = useReducer(reducer, {\n isTransitioning: false,\n shouldBeVisible: false,\n })\n\n const { isTransitioning, shouldBeVisible } = state\n\n const timeoutIdRef = useRef<ReturnType<typeof setTimeout> | null>(null)\n const rafIdRef = useRef<ReturnType<typeof requestAnimationFrame> | null>(null)\n\n useEffect(\n () => () => {\n if (timeoutIdRef.current != null) {\n clearTimeout(timeoutIdRef.current)\n }\n\n if (rafIdRef.current != null) {\n window.cancelAnimationFrame(rafIdRef.current)\n }\n },\n [timeoutIdRef]\n )\n\n const endTransition = useCallback(() => {\n dispatch({ type: 'finish' })\n\n if (timeoutIdRef.current != null) {\n clearTimeout(timeoutIdRef.current)\n }\n\n timeoutIdRef.current = null\n }, [])\n\n const startTransition = useCallback(\n (isVisible: boolean) => {\n if (rafIdRef.current != null) {\n window.cancelAnimationFrame(rafIdRef.current)\n }\n\n rafIdRef.current = window.requestAnimationFrame(() => {\n dispatch({ shouldBeVisible: isVisible, type: 'start' })\n\n rafIdRef.current = null\n\n if (timeoutIdRef.current != null) {\n clearTimeout(timeoutIdRef.current)\n }\n\n timeoutIdRef.current = setTimeout(endTransition, TRANSITION_DURATION)\n })\n },\n [endTransition]\n )\n\n const prevVisible = useRef(false)\n\n useLayoutEffect(() => {\n if (\n prevVisible.current !== visible &&\n (!visible || elementRef.current != null)\n ) {\n startTransition(visible)\n }\n\n prevVisible.current = visible\n }, [visible, startTransition])\n\n const ref = useCallback(\n <T extends HTMLElement>(node: T | null) => {\n const prevNode = elementRef.current\n elementRef.current = node\n\n if (node != null) {\n const handleTransitionEnd = (evt: Event) => {\n if (evt.target !== node) {\n return\n }\n\n endTransition()\n }\n\n node.addEventListener?.('transitionend', handleTransitionEnd)\n node.addEventListener?.('webkitTransitionEnd', handleTransitionEnd)\n\n if (prevVisible.current === true) {\n startTransition(true)\n }\n } else if (prevNode != null) {\n const handleTransitionEnd = (evt: Event) => {\n if (evt.target !== prevNode) {\n return\n }\n\n endTransition()\n }\n\n prevNode.removeEventListener?.('transitionend', handleTransitionEnd)\n prevNode.removeEventListener?.(\n 'webkitTransitionEnd',\n handleTransitionEnd\n )\n }\n },\n [endTransition, startTransition]\n )\n\n const shouldShow = isTransitioning || shouldBeVisible || visible\n\n return [shouldShow, shouldBeVisible, ref] as const\n}\n\n```" } ]
code_locale-switcher_48d18def
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/messages/pt.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"Um componente de demonstração para apps do VTEX IO\",\n \"editor.base-store-component.title.title\": \"Título\",\n \"editor.base-store-component.title.description\": \"Especifique um título personalizado\",\n \"base.title\": \"Olá, Mundo!!\",\n \"base.change-value\": \"Troque seu valor: {value}\"\n}\n```" } ]
code_locale-switcher_73191175
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/messages/en.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"A demo component for IO apps\",\n \"editor.base-store-component.title.title\": \"Title\",\n \"editor.base-store-component.title.description\": \"Specify a custom title\",\n \"base.title\": \"Hello, World!!\",\n \"base.change-value\": \"Change your value: {value}\"\n}\n```" } ]
code_locale-switcher_ae2515c6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/messages/context.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"Title of IO Base App component\",\n \"editor.base-store-component.description\": \"Description of IO Base App component\",\n \"editor.base-store-component.title.title\": \"Title of title property\",\n \"editor.base-store-component.title.description\": \"Description of title property\",\n \"base.title\": \"Base title message to be shown when title is not provided via CMS\",\n \"base.change-value\": \"Text to be shown beside input component typed value\"\n}\n```" } ]
code_locale-switcher_c4ac1bd1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/messages/es.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"Un componente de demostración para aplicaciones IO.\",\n \"editor.base-store-component.title.title\": \"Título\",\n \"editor.base-store-component.title.description\": \"Especifique un título personalizado\",\n \"base.title\": \"¡Hola Mundo!\",\n \"base.change-value\": \"Cambia tu valor: {value}\"\n}\n```" } ]
code_locale-switcher_5bd84c1a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/docs/README.md from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n📢 Use this project, [contribute](https://github.com/vtex-apps/locale-switcher) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n# Locale Switcher\n\nThe Locale Switcher app provides a component capable of changing the current language of your store.\n\n![img-locale-switcher](https://user-images.githubusercontent.com/27777263/74359290-c2b5f700-4da1-11ea-8612-c05ccf1988d5.png)\n\n## Configuration\n\n1. Add the Locale Switcher app to your theme's dependencies in the `manifest.json` file:\n\n```diff\n \"dependencies\": {\n+ \"vtex.locale-switcher\": \"0.x\"\n }\n```\n\n2. Add the `locale-switcher` block to your header. For example:\n\n```jsonc\n\"header-row#desktop\": {\n \"children\": [\n // (...)\n \"locale-switcher\",\n \"login\",\n \"minicart.v2\"\n ]\n},\n```\n\n3. Open a ticket to our support team in order to adjust your store's binding with the desired languages. \n\n> ⚠️ ***Caution:** The third step is mandatory. If no ticket is opened requiring the desired languages, the selection list may not appear on the Locale Switcher component.*\n\n## Customization\n\nIn order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on [Using CSS Handles for store customization](https://vtex.io/docs/recipes/style/using-css-handles-for-store-customization).\n\n| CSS Handles |\n| :-----------------: |\n| `button` |\n| `buttonText` |\n| `container` |\n| `list` |\n| `listElement` |\n| `localeIdText` |\n| `relativeContainer` |\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```" } ]
code_locale-switcher_b9e65150
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/LocaleSwitcher.tsx from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useState } from 'react'\nimport { Spinner } from 'vtex.styleguide'\nimport { SupportedLanguage } from 'langs'\nimport { IconGlobe } from 'vtex.store-icons'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { useRuntime, Culture } from 'vtex.render-runtime'\n\nimport getLabel from './modules/getLabel'\nimport LocaleSwitcherList from './components/LocaleSwitcherList'\n\nconst CSS_HANDLES = [\n 'list',\n 'button',\n 'container',\n 'buttonText',\n 'listElement',\n 'localeIdText',\n 'loadingContainer',\n 'relativeContainer',\n] as const\n\nfunction parseToSupportedLang({ language, locale }: Culture) {\n return {\n text: getLabel(language),\n localeId: locale,\n }\n}\n\nconst LocaleSwitcher: React.FC = () => {\n const { culture, emitter } = useRuntime()\n const [open, setOpen] = useState(false)\n const [shouldRenderList, setShouldRenderList] = useState(false)\n const [changingLocale, setChangingLocale] = useState(false)\n\n const [selectedLocale, setSelectedLocale] = useState(\n parseToSupportedLang(culture)\n )\n const handles = useCssHandles(CSS_HANDLES)\n\n const handleLocaleClick = (newLang: SupportedLanguage) => {\n setSelectedLocale(newLang)\n emitter.emit('localesChanged', newLang.localeId)\n setChangingLocale(true)\n setOpen(false)\n }\n\n const handleClick = () => {\n setOpen(!open)\n\n if (!shouldRenderList) {\n setShouldRenderList(true)\n }\n }\n\n const containerClasses = `${handles.container} w3 flex items-center justify-end ml2 mr3 relative`\n const buttonClasses = `${handles.button} link pa0 bg-transparent bn flex items-center pointer mr3 c-on-base`\n const buttonTextClasses = `${handles.buttonText} pl2 t-action--small order-1`\n\n return (\n <div className={containerClasses}>\n <div className={`${handles.relativeContainer} relative`}>\n <button\n onClick={handleClick}\n className={buttonClasses}\n onBlur={() => setOpen(false)}\n >\n {!changingLocale ? (\n <>\n <IconGlobe />\n <span className={buttonTextClasses}>{selectedLocale.text}</span>\n </>\n ) : (\n <Spinner handles={handles} size={26} />\n )}\n </button>\n {shouldRenderList && (\n <LocaleSwitcherList\n open={open}\n onItemClick={handleLocaleClick}\n selectedLocale={selectedLocale}\n />\n )}\n </div>\n </div>\n )\n}\n\nexport default LocaleSwitcher\n\n```" } ]
code_locale-switcher_72ef24a6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/package.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"test\": \"vtex-test-tools test\",\n \"lint\": \"tsc --noEmit && eslint --ext ts .\"\n },\n \"dependencies\": {\n \"@vtex/css-handles\": \"^1.0.0\",\n \"classnames\": \"^2.2.6\",\n \"ramda\": \"^0.26.1\",\n \"react\": \"^16.8.3\",\n \"react-intl\": \"3.9.1\",\n \"react-dom\": \"^16.8.3\",\n \"react-apollo\": \"^3.0.0\"\n },\n \"devDependencies\": {\n \"@types/classnames\": \"^2.2.7\",\n \"@types/graphql\": \"^14.2.0\",\n \"@types/jest\": \"^24.0.11\",\n \"@types/node\": \"^11.13.0\",\n \"@types/ramda\": \"^0.26.5\",\n \"@types/react\": \"^16.8.10\",\n \"@types/react-intl\": \"^2.3.17\",\n \"@vtex/test-tools\": \"^0.2.0\",\n \"apollo-client\": \"^2.5.1\",\n \"prettier\": \"^1.16.4\",\n \"typescript\": \"3.8.3\"\n },\n \"version\": \"0.5.6\"\n}\n\n```" } ]
code_locale-switcher_08f01c09
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/store/interfaces.json from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"locale-switcher\": {\n \"component\": \"LocaleSwitcher\"\n }\n}\n```" } ]
code_locale-switcher_79b0458c
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/storefront.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { FunctionComponent } from 'react'\n\ndeclare global {\n interface StorefrontFunctionComponent<P = {}> extends FunctionComponent<P> {\n getSchema?(props: P): object\n schema?: object\n }\n\n interface StorefrontComponent<P = {}, S = {}> extends Component<P, S> {\n getSchema?(props: P): object\n schema: object\n }\n}\n\n```" } ]
code_locale-switcher_b650e8d3
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/vtex.css-handles.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.css-handles' {\n export function useCssHandles<ClassKey extends string = string>(\n handles: readonly ClassKey[]\n ): Record<ClassKey, string>\n}\n\n```" } ]
code_locale-switcher_9b697409
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/vtex.render-runtime.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable func-names */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* Typings for `render-runtime` */\ndeclare module 'vtex.render-runtime' {\n import { Component, ComponentType, ReactElement, ReactType } from 'react'\n\n export interface NavigationOptions {\n page: string\n params?: any\n }\n\n export interface RenderContextProps {\n runtime: {\n navigate: (options: NavigationOptions) => void\n }\n }\n\n interface ExtensionPointProps {\n id: string\n [key: string]: any\n }\n\n export const ExtensionPoint: ComponentType<ExtensionPointProps>\n\n interface ChildBlockProps {\n id: string\n }\n\n export interface Culture {\n availableLocales: string[]\n locale: string\n language: string\n country: string\n currency: string\n }\n\n interface RenderContext {\n culture: Culture\n emitter: any\n }\n\n export const ChildBlock: ComponentType<ChildBlockProps>\n export const useChildBlock = function({ id: string }): object {}\n\n export const Helmet: ReactElement\n export const Link: ReactType\n export const NoSSR: ReactElement\n export const RenderContextConsumer: ReactElement\n export const canUseDOM: boolean\n export const useRuntime: () => RenderContext\n export const withRuntimeContext: <TOriginalProps extends {}>(\n Component: ComponentType<TOriginalProps & RenderContextProps>\n ) => ComponentType<TOriginalProps>\n}\n\n```" } ]
code_locale-switcher_4b2b1bf6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/langs.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'langs' {\n export interface SupportedLanguage {\n text: string\n localeId: string\n }\n}\n\n```" } ]
code_locale-switcher_63c11755
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/vtex.store-icons.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.store-icons' {\n export const IconGlobe: React.FC\n}\n\n```" } ]
code_locale-switcher_8aab27fa
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/css.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable @typescript-eslint/no-explicit-any */\ndeclare module '*.css' {\n const css: any\n export default css\n}\n\n```" } ]
code_locale-switcher_3cfed8ab
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/graphql.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.gql' {\n import { DocumentNode } from 'graphql'\n\n const value: DocumentNode\n export default value\n}\n\n```" } ]
code_locale-switcher_9c67586f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/typings/vtex.styleguide.d.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* eslint-disable @typescript-eslint/no-explicit-any */\ndeclare module 'vtex.styleguide' {\n import { ComponentType } from 'react'\n\n export const Input: ComponentType<Props>\n export const Spinner: ComponentType<Props>\n\n interface Props {\n [key: string]: any\n }\n}\n\n```" } ]
code_locale-switcher_24925862
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/components/LocaleSwitcherList.tsx from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { useQuery } from 'react-apollo'\nimport { SupportedLanguage } from 'langs'\nimport { useCssHandles } from 'vtex.css-handles'\n\nimport Spinner from './Spinner'\nimport getLabel from '../modules/getLabel'\nimport LOCALES from '../graphql/locales.gql'\nimport getSupportedLangs from '../modules/getSupportedLangs'\n\ninterface Props {\n open?: boolean\n selectedLocale: SupportedLanguage\n onItemClick: (selectedLang: SupportedLanguage) => void\n}\n\ninterface LocalesQuery {\n languages: {\n default: string\n supported: string[]\n }\n currentBinding: {\n supportedLocales: string[]\n } | null\n}\n\nfunction getLocale(supportedLangs: SupportedLanguage[], locale: string) {\n const localeObj = supportedLangs.find(\n ({ localeId }) => getLabel(localeId) === getLabel(locale)\n )\n\n return (\n localeObj ??\n (supportedLangs?.[0] || {\n text: getLabel(locale),\n localeId: locale,\n })\n )\n}\n\nconst CSS_HANDLES = [\n 'list',\n 'listElement',\n 'localeIdText',\n 'loadingContainer',\n] as const\n\nexport default function LocaleSwitcherList(props: Props) {\n const { open = false, onItemClick, selectedLocale } = props\n const handles = useCssHandles(CSS_HANDLES)\n const { data, loading, error } = useQuery<LocalesQuery>(LOCALES)\n\n const supportedLanguages =\n data?.currentBinding?.supportedLocales ?? data?.languages?.supported ?? []\n const supportedLangs = getSupportedLangs(supportedLanguages)\n\n if (loading && open) {\n return <Spinner handles={handles} />\n }\n\n if (error || supportedLangs.length === 0) {\n return null\n }\n\n const handleItemClick = (id: SupportedLanguage['localeId']) => {\n onItemClick(getLocale(supportedLangs, id))\n }\n\n const listClasses = `${handles.list} absolute z-5 list top-1 w3 ph0 mh0 mt4 bg-base`\n const listElementClasses = `${handles.listElement} t-action--small pointer f5 pa3 hover-bg-muted-5 tc`\n\n return (\n <ul hidden={!open} className={listClasses}>\n {supportedLangs\n .filter(({ localeId }) => localeId !== selectedLocale.localeId)\n .map(({ localeId, text }) => (\n // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions\n <li\n // eslint-disable-next-line jsx-a11y/no-noninteractive-element-to-interactive-role\n role=\"link\"\n tabIndex={-1}\n key={localeId}\n className={listElementClasses}\n onClick={() => handleItemClick(localeId)}\n onKeyDown={() => handleItemClick(localeId)}\n onMouseDown={e => e.preventDefault()}\n >\n <span className={`${handles.localeIdText} w-100`}>{text}</span>\n </li>\n ))}\n </ul>\n )\n}\n\n```" } ]
code_locale-switcher_02d1d8d7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/components/Spinner.tsx from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { Spinner } from 'vtex.styleguide'\nimport classnames from 'classnames'\n\ninterface Props {\n handles: Record<string, string>\n}\n\nexport default function Loading(props: Props) {\n const { handles } = props\n\n const classes = classnames(\n handles.loadingContainer,\n 'absolute z-5 list top-1 pa6 mh0 mt4 bg-base flex items-center justify-center'\n )\n\n return (\n <div className={classes}>\n <Spinner color=\"currentColor\" size={26} />\n </div>\n )\n}\n\n```" } ]
code_locale-switcher_123f3fff
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/graphql/locales.gql from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery Locales {\n languages @context(provider: \"vtex.messages\") {\n default\n supported\n }\n currentBinding @context(provider: \"vtex.tenant-graphql\") {\n supportedLocales\n }\n}\n\n```" } ]
code_locale-switcher_dc478be6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/modules/getLabel.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport default function getLabel(localeId: string) {\n return localeId.split('-')[0]\n}\n\n```" } ]
code_locale-switcher_df629747
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of locale-switcher/react/modules/getSupportedLangs.ts from the locale-switcher VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { SupportedLanguage } from 'langs'\n\nimport getLabel from './getLabel'\n\nexport default function getSupportedLangs(langs: string[]) {\n return langs.reduce((acc: SupportedLanguage[], lang: string) => {\n if (!lang.includes('-')) {\n return acc\n }\n\n return acc.concat({\n text: getLabel(lang),\n localeId: lang,\n })\n }, [])\n}\n\n```" } ]
code_list-context_bcc463cb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/docs/README.md from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# List Context\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nThe List Context app creates lists of product images that can be added, reordered, or deleted via Site Editor. This app aims to be used with other apps to create new interfaces that use the context of product images. For example: `list-context.image-list`, implemented by `vtex.store-image`, and `list-context.product-list`, implemented by `vtex.product-summary`.\n\nThe only interface exposed by `vtex.list-context` is `list-context`, which is supposed to be extended by other apps that want to implement this architecture.\n\n## Setting up the `list-context-renderer`\n\nThe `list-context-renderer` is a block that renders the list present in the `list-context`.\n\n1. Import the `vtex.list-context` app to your theme's dependencies in the `manifest.json`;\n\n```json\n \"dependencies\": {\n \"vtex.list-context\": \"0.x\"\n }\n```\n\n2. Add the block `list-context-renderer` as a children of a `list-context` block. For example:\n\n```json\n{\n \"list-context.product-list#demo1\": {\n \"blocks\": [\"product-summary.shelf\"],\n \"children\": [\"list-context-renderer#wrapped\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\"\n }\n },\n \"list-context-renderer#wrapped\": {\n \"props\": {\n \"listElement\": \"ul\",\n \"itemElement\": \"li\"\n }\n }\n}\n```\n\n| Prop name | Type | Description | Default value |\n| ------------- | -------- | ------------------------------------------------------------------------ | ------------- |\n| `listElement` | `String` | HTML element used to render the list (ex: `div`, `ul`, etc) | `Fragment` |\n| `itemElement` | `String` | HTML element used to render the items of the list (ex: `div`, `li`, etc) | `Fragment` |\n## Creating a new list-context\n\nTo extend `list-context` interface and create a new list, follow the next steps:\n\n1. Choose the app you want to implement the `list-context`.\n\n2. In you store theme code, go to the `store` folder and in `interfaces.json` file, declare a new interface.\n\n```json\n \"list-context.image-list\": {\n \"component\": \"ImageList\",\n \"composition\": \"children\",\n \"allowed\": \"*\",\n \"content\": {\n \"properties\": {\n \"images\": {\n \"$ref\": \"app:vtex.store-image#/definitions/Images\"\n }\n }\n }\n }\n```\n\n> ⚠️\n>\n> We recommend to use `\"composition\": \"children\"` for this new interface so that you can compose it with other `list-context` interface.\n\n3. Implement the React component to be rendered by this interface. In the example below we are using the `ImageList` for example:\n\n```typescript\nimport { useListContext, ListContextProvider } from 'vtex.list-context'\n\n(...)\n\nconst ImageList: StorefrontFunctionComponent<Props> = ({\n images,\n height = 420,\n children,\n}) => {\n const { isMobile } = useDevice()\n const { list } = useListContext() || []\n\n const imageListContent = images.map(\n ({ link, image, mobileImage, description }, idx) => (\n <Image\n key={idx}\n src={isMobile && mobileImage ? mobileImage : image}\n alt={description}\n link={link}\n maxHeight={height}\n width=\"100%\"\n />\n )\n )\n\n const newListContextValue = list.concat(imageListContent)\n\n return (\n <ListContextProvider list={newListContextValue}>\n {children}\n </ListContextProvider>\n )\n}\n\n(...)\n```\n\n> \n> \n> Notice that this app exports a React hook and a React component: `useListContext` and `<ListContextProvider />`. Also notice that this component should wrap its `children` a new `<ListContextProvider />` containing the new list which you just appended to.\n\n## Adding a schema to the `list-context`\n\nTo edit the `list-context` app via Site Editor, add a `schema` to the component that you have chosen. In the example below, we are using the `ImageList` component, so we are using the `ImageList` schema:\n```tsx\nImageList.schema = {\n title: messages.title.id,\n description: messages.description.id,\n type: 'object',\n properties: {\n images: {\n type: 'array',\n title: 'admin/editor.image-list.images.title',\n items: {\n properties: {\n image: {\n $ref: 'app:vtex.native-types#/definitions/url',\n default: '',\n title: 'admin/editor.image-list.images.image.title',\n widget: {\n 'ui:widget': 'image-uploader',\n },\n },\n mobileImage: {\n $ref: 'app:vtex.native-types#/definitions/url',\n default: '',\n title: 'admin/editor.image-list.images.mobileImage.title',\n widget: {\n 'ui:widget': 'image-uploader',\n },\n },\n description: {\n $ref: 'app:vtex.native-types#/definitions/text',\n default: '',\n title: 'admin/editor.image-list.images.description.title',\n },\n link: {\n default: '',\n title: '',\n $ref: 'app:vtex.native-types#/definitions/link',\n },\n },\n },\n },\n height: {\n default: 420,\n enum: [420, 440],\n isLayout: true,\n title: messages.heightTitle.id,\n type: 'number',\n },\n },\n}\n```\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```" } ]
code_list-context_140c29ee
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/react/useListContext.tsx from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport { useContext } from 'react'\n\nimport { ListContext } from './ListContextProvider'\n\nconst useListContext = () => {\n return useContext(ListContext)\n}\n\nexport default useListContext\n\n```" } ]
code_list-context_324b4b85
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/react/ListContextProvider.tsx from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useMemo, FC } from 'react'\n\nexport interface ListContextProps {\n list: JSX.Element[]\n}\n\nexport const ListContext = React.createContext<ListContextProps>({\n list: [],\n})\nListContext.displayName = 'ListContext'\n\nconst ListContextProvider: FC<ListContextProps> = ({ list = [], children }) => {\n const value = useMemo(() => ({ list }), [list])\n return <ListContext.Provider value={value}>{children}</ListContext.Provider>\n}\nListContextProvider.displayName = 'ListContextProvider'\n\nexport default ListContextProvider\n\n```" } ]
code_list-context_87f38aee
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/react/ListRenderer.tsx from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport * as React from 'react'\nimport { useCssHandles, CssHandlesTypes } from 'vtex.css-handles'\n\nimport useListContext from './useListContext'\n\nconst CSS_HANDLES = ['list', 'item'] as const\n\ninterface Props {\n listElement?: string\n itemElement?: string\n classes?: CssHandlesTypes.CustomClasses<typeof CSS_HANDLES>\n}\n\nfunction RenderList({\n listElement = 'Fragment',\n itemElement = 'Fragment',\n classes,\n}: Props) {\n const list = useListContext()?.list ?? []\n const { handles } = useCssHandles(CSS_HANDLES, { classes })\n\n const ListElement = listElement === 'Fragment' ? React.Fragment : listElement\n const ItemElement = itemElement === 'Fragment' ? React.Fragment : itemElement\n const listProps =\n listElement === 'Fragment' ? {} : { className: handles.list }\n const itemProps =\n itemElement === 'Fragment' ? {} : { className: handles.item }\n\n return (\n <ListElement {...listProps}>\n {list.map((item, idx) => (\n <ItemElement {...itemProps} key={idx}>\n {item}\n </ItemElement>\n ))}\n </ListElement>\n )\n}\n\nexport default RenderList\n\n```" } ]
code_list-context_6b2815fc
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/react/package.json from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"lint\": \"tsc --noEmit && eslint --quiet --fix --ext ts,tsx .\",\n \"test\": \"vtex-test-tools test --passWithNoTests\"\n },\n \"dependencies\": {\n \"apollo-client\": \"^2.6.3\",\n \"ramda\": \"^0.26.1\",\n \"react\": \"^16.8.6\",\n \"react-apollo\": \"^2.5.8\",\n \"react-dom\": \"^16.8.6\",\n \"react-intl\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.2.2\",\n \"@types/ramda\": \"^0.26.33\",\n \"@types/react\": \"^16.8.22\",\n \"@types/react-intl\": \"^2.3.18\",\n \"@vtex/test-tools\": \"^0.3.2\",\n \"@vtex/tsconfig\": \"^0.2.0\",\n \"typescript\": \"3.9.7\",\n \"vtex.css-handles\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.css-handles@1.0.0/public/@types/vtex.css-handles\",\n \"vtex.native-types\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.native-types@0.7.5/public/@types/vtex.native-types\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.126.5/public/@types/vtex.render-runtime\"\n },\n \"version\": \"0.2.1\"\n}\n\n```" } ]
code_list-context_f9545ee4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of list-context/store/interfaces.json from the list-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"list-context\": {\n \"component\": \"ListContextProvider\"\n },\n \"list-context-renderer\": {\n \"component\": \"ListRenderer\",\n \"composition\": \"children\"\n }\n}\n\n```" } ]
code_search-result_07d9edc7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/sl.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Rezultat iskanja\",\n \"admin/editor.search-result.query\": \"Poizvedba po meri\",\n \"admin/editor.search-result.query.description\": \"Izvedena poizvedba, ko ni konteksta.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Omogoči poizvedbo po meri\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Največje število predmetov na iskalno stran\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Skrij predmete, ki niso na voljo\",\n \"admin/editor.search-result.query.skusFilter\": \"Filter SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Nastavite prvi filter, ki je na voljo, da bo vaša poizvedba hitrejša.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Noben\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Prvi na voljo\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Vsi na voljo\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Obnašanje simulacije\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Nastavite na preskoči, če želite hitrejše poizvedbe, vendar SKUsi najbrž ne bodo imeli najbol posodobljene cene ali zalogo.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Privzeto\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Preskoči simulacijo\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Obroki\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Izberite kakšne vrste obrokov želite imeti prikazane (npr. največ brez obresti ali z obrestmi).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Največ brez obresti\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Največ\",\n \"admin/editor.search-result.pagination.title\": \"Vrsta oštevilčenja strani\",\n \"admin/editor.search-result.pagination.show-more\": \"Pokaži več\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Neomejeno pomikanje\",\n \"admin/editor.search-result.description\": \"Ovoj za prikaz rezultatov iskanja.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Največje število predmetov na vrstico\",\n \"admin/editor.search-result.mobileLayout\": \"Preklopnik mobilne razporeditve\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Način postavitve 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Način postavitve 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Skriti filtri\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Skrij filter znamk\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Skrij filter kategorij\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Skrij filter cene\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Skrij filtre specifikacij\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Skrij vse filtre specifikacij\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Skriti filtri specifikacij\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Skrit ime filtra specifikacij\",\n \"admin/editor.search-result.showTitle\": \"Pokaži naslov kategorije ali izraza iskanja nad galerijo\",\n \"admin/editor.search-result.gap.title\": \"Vrzel med predmeti galerije\",\n \"admin/editor.search-result.facet-quantity\": \"Pokaži količino predmeta filtra\",\n \"admin/editor.search-result.advanced-settings.title\": \"Napredne nastavitve\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Ime rezultata iskanja GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Ime, ki bo prikazano v storitvi Google Analytics. Če ni dodan noben, bo prikazan \\\"Rezultat iskanja\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Razvrsti po\",\n \"admin/editor.search-result.total-products\": \"Skupaj izdelkov\",\n \"store/search-result.show-more-button\": \"Pokaži več\",\n \"store/search-result.show-previous-button\": \"Pokaži prejšnje\",\n \"store/search-result.showing-products\": \"Kažem {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} od {total, number}\",\n \"store/search-result.showing-all-products\": \"Ogledali ste si vse {value} izdelke\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtri\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtri\",\n \"store/search-result.filter-button.apply\": \"Uporabi\",\n \"store/search-result.filter-button.clear\": \"Počisti\",\n \"store/search-result.filter-button.clearAll\": \"Počisti vse\",\n \"store/search-result.orderby.title\": \"Razvrsti po\",\n \"store/search-result.clear-filters.title\": \"Izbriši\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Oddelki\",\n \"store/search.filter.title.color\": \"Barva\",\n \"store/filter.more-departments\": \"Poglej {quantity} več oddelkov\",\n \"store/filter.more-categories\": \"Poglej {quantity} več kategorij\",\n \"store/filter.more-items\": \"Poglej {quantity} več\",\n \"store/filter.less-items\": \"Poglej manj\",\n \"store/search.filter.placeholder\": \"Išči po {filterName}\",\n \"store/search.filter.title.brands\": \"Znamke\",\n \"store/search.filter.title.price-ranges\": \"Cenovni razponi\",\n \"store/search.text\": \"Kažem {from}-{to} od {recordsFiltered} rezultatov\",\n \"store/search.filter.title.shipping\": \"Odpošiljanje\",\n \"store/search.filter.shipping.name.delivery\": \"Dostavi v\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Prevzemi pri\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Prevzemite blizu\",\n \"store/search.filter.shipping.name.pickup-all\": \"Prevzemi\",\n \"store/search.filter.shipping.action-button.delivery\": \"Vnesi lokacijo\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Vnesite trgovino\",\n \"store/search.selected-filters\": \"Filtrirano po:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {izdelek} two {izdelka} few {izdelkov} other {izdelki}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {izdelek} two {izdelka} few {izdelkov} other {izdelki}}</span>\",\n \"store/search.empty-products\": \"Nismo našli nobenih rezultatov, ki se nanašajo na \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Kaj naj storim?\",\n \"store/search.what-to-do.1\": \"Preverite izraze, ki ste jih vtipkali.\",\n \"store/search.what-to-do.2\": \"Poskusite z uporabo samo ene besede.\",\n \"store/search.what-to-do.3\": \"Uporabite generične izraze v iskanju.\",\n \"store/search.what-to-do.4\": \"Poskusite iskati sinonime željenega izraza.\",\n \"store/search.no-products\": \"Nismo našli nobenih izdelkov\",\n \"store/ordenation.button\": \"Razvrsti\",\n \"store/ordenation.sort-by\": \"Razvrsti po\",\n \"store/ordenation.relevance\": \"Ustreznost\",\n \"store/ordenation.sales\": \"Prodaja\",\n \"store/ordenation.release.date\": \"Datum izdaje\",\n \"store/ordenation.discount\": \"Popust\",\n \"store/ordenation.price.descending\": \"Cena: Visoka do nizka\",\n \"store/ordenation.price.ascending\": \"Cena: Nizka do visoka\",\n \"store/ordenation.name.ascending\": \"Ime, naraščajoče\",\n \"store/ordenation.name.descending\": \"Ime, padajoče\",\n \"store/layoutModeSwitcher.inline\": \"Vrstica\",\n \"store/layoutModeSwitcher.small\": \"Malo\",\n \"store/layoutModeSwitcher.normal\": \"Običajno\",\n \"store/gallery.gapType.none\": \"Nobeno\",\n \"store/gallery.gapType.small\": \"Malo\",\n \"store/gallery.gapType.medium\": \"Srednje\",\n \"store/gallery.gapType.large\": \"Veliko\",\n \"admin/editor.search-result-layout-custom.title\": \"Fleksibilna postavitev iskalnega rezultata po meri\",\n \"admin/editor.search-result-layout.title\": \"Fleksibilna postavitev iskalnega rezultata\",\n \"admin/editor.search-result-mobile.title\": \"Prilagodljiva postavitev rezultatov iskanja - mobilno\",\n \"admin/editor.search-result-desktop.title\": \"Namizna fleksibilna postavitev iskalnega rezultata - namizje\",\n \"store/search-result.price-ranges.submit\": \"Najdi\",\n \"admin/editor.search-result.fetch-more\": \"Pridobiti več\",\n \"admin/editor.search-result.fetch-previous\": \"Pridobi prejšnjo\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Obnašanje gumba\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Gumb\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Povezava na stran - Izboljša SEO, lahko spremeni videz gumba\"\n}\n\n```" } ]
code_search-result_7392910f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/hu.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Keresés eredménye\",\n \"admin/editor.search-result.query\": \"Egyéni lekérdezés\",\n \"admin/editor.search-result.query.description\": \"A lekérdezésre kontextus nélkül került sor.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Egyéni lekérdezés engedélyezése\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Elemek keresési oldalankénti maximális száma\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Nem elérhető elemek elrejtése\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU szűrő\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Állítsa be az első elérhető szűrőt, amely felgyorsítja a lekérdezést.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Egyik sem\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Első elérhető\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Összes elérhető\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Szimuláció viselkedése\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Ha gyorsabb lekérdezést szeretne, állítsa be a Szimuláció kihagyása lehetőséget, de ne feledje, hogy a SKU-k nem feltétlenül a legfrissebb ár- vagy készletinformációkat jelenítik meg.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Alapértelmezett\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Szimuláció kihagyása\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Részletfizetések\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Válassza ki, hogy a termékekhez milyen törlesztőrészletek jelenjenek meg (pl.: maximum kamat nélkül vagy kamattal).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum kamat nélkül\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Lapozás típusa\",\n \"admin/editor.search-result.pagination.show-more\": \"Több megjelenítése\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Végtelen görgetés\",\n \"admin/editor.search-result.description\": \"Keresési eredménycsomagoló.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"A tételek maximális száma soronként\",\n \"admin/editor.search-result.mobileLayout\": \"Mobil elrendezésváltó\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Elrendezési mód 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Elrendezési mód 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Rejtett szűrők\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Márkaszűrő elrejtése\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Kategóriaszűrő elrejtése\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Árszűrő elrejtése\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Specifikációszűrők elrejtése\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Összes specifikációszűrő elrejtése\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Rejtett specifikációszűrő\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Rejtett specifikációszűrő neve\",\n \"admin/editor.search-result.showTitle\": \"Kategória címének vagy keresett kifejezésének megjelenítése a galéria felett\",\n \"admin/editor.search-result.gap.title\": \"Hézag a galéria elemei között\",\n \"admin/editor.search-result.facet-quantity\": \"A szűrési tétel mennyiségének megjelenítése\",\n \"admin/editor.search-result.advanced-settings.title\": \"További beállítások\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM keresési eredmény neve\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"A Google Analyticsben megjelenítendő név. Ha semmit sem adnak át, akkor csak a „Keresési eredmény” elemet fogja használni.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Rendezés\",\n \"admin/editor.search-result.total-products\": \"Összes termék\",\n \"store/search-result.show-more-button\": \"Több megjelenítése\",\n \"store/search-result.show-previous-button\": \"Előző megjelenítése\",\n \"store/search-result.showing-products\": \"{value} megjelenítése\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} / {total, number}\",\n \"store/search-result.showing-all-products\": \"Megtekintette az összes {value} terméket\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Szűrők\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Szűrők\",\n \"store/search-result.filter-button.apply\": \"Alkalmaz\",\n \"store/search-result.filter-button.clear\": \"Törlés\",\n \"store/search-result.filter-button.clearAll\": \"Összes törlése\",\n \"store/search-result.orderby.title\": \"Rendezés\",\n \"store/search-result.clear-filters.title\": \"Törlés\",\n \"store/search-result.filter-action.title\": \"Szűrő\",\n \"store/search.filter.title.categories\": \"Osztályok\",\n \"store/search.filter.title.color\": \"Szín\",\n \"store/filter.more-departments\": \"További {quantity} részleg megtekintése\",\n \"store/filter.more-categories\": \"További {quantity} kategória megtekintése\",\n \"store/filter.more-items\": \"További {quantity} megtekintése\",\n \"store/filter.less-items\": \"Kevesebb megjelenítése\",\n \"store/search.filter.placeholder\": \"Keresés {filterName} szerint\",\n \"store/search.filter.title.brands\": \"Márkák\",\n \"store/search.filter.title.price-ranges\": \"Ártartományok\",\n \"store/search.text\": \"{from}-{to} eredmény megjelenítése a(z) {recordsFiltered} eredményből\",\n \"store/search.filter.title.shipping\": \"Shipping\",\n \"store/search.filter.shipping.name.delivery\": \"Deliver to\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Pickup at\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Pickup nearby\",\n \"store/search.filter.shipping.name.pickup-all\": \"Pickup\",\n \"store/search.filter.shipping.action-button.delivery\": \"Adja meg a tartózkodás helyet\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Adja meg az üzletet\",\n \"store/search.selected-filters\": \"Szűrés:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {termék} other {termék}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {termék} other {termék}}</span>\",\n \"store/search.empty-products\": \"Nem találtunk a következőhöz kapcsolódó találatot: \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Mit tegyek?\",\n \"store/search.what-to-do.1\": \"Ellenőrizze a beírt kifejezéseket.\",\n \"store/search.what-to-do.2\": \"Próbáljon meg egyetlen szót használni.\",\n \"store/search.what-to-do.3\": \"Használj általános kifejezéseket a keresésben.\",\n \"store/search.what-to-do.4\": \"Próbáljon meg a kívánt kifejezés szinonimáira keresni.\",\n \"store/search.no-products\": \"Nem található termék\",\n \"store/ordenation.button\": \"Rendezés\",\n \"store/ordenation.sort-by\": \"Rendezés\",\n \"store/ordenation.relevance\": \"Relevancia\",\n \"store/ordenation.sales\": \"Értékesítés\",\n \"store/ordenation.release.date\": \"Kiadási dátum\",\n \"store/ordenation.discount\": \"Kedvezmény\",\n \"store/ordenation.price.descending\": \"Ár: Magastól alacsonyig\",\n \"store/ordenation.price.ascending\": \"Ár: Alacsonytól a magasig\",\n \"store/ordenation.name.ascending\": \"Név, növekvő\",\n \"store/ordenation.name.descending\": \"Név, csökkenő\",\n \"store/layoutModeSwitcher.inline\": \"Sor\",\n \"store/layoutModeSwitcher.small\": \"Kicsi\",\n \"store/layoutModeSwitcher.normal\": \"Normál\",\n \"store/gallery.gapType.none\": \"Egyik sem\",\n \"store/gallery.gapType.small\": \"Kicsi\",\n \"store/gallery.gapType.medium\": \"Közepes\",\n \"store/gallery.gapType.large\": \"Nagy\",\n \"admin/editor.search-result-layout-custom.title\": \"Keresés eredménye, egyéni rugalmas elrendezés\",\n \"admin/editor.search-result-layout.title\": \"Keresés eredménye, rugalmas elrendezés\",\n \"admin/editor.search-result-mobile.title\": \"Keresés eredménye, rugalmas elrendezésű, mobil\",\n \"admin/editor.search-result-desktop.title\": \"Keresés eredménye, rugalmas elrendezésű, asztali\",\n \"store/search-result.price-ranges.submit\": \"Keresés\",\n \"admin/editor.search-result.fetch-more\": \"Továbbiak lekérése\",\n \"admin/editor.search-result.fetch-previous\": \"Előző lekérése\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Gomb viselkedése\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Gomb\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link az oldalra – Javítja a SEO-t, megváltoztathatja a gomb megjelenését\"\n}\n\n```" } ]
code_search-result_ecf66acd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/nl.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Zoekresultaat\",\n \"admin/editor.search-result.query\": \"Aangepaste query\",\n \"admin/editor.search-result.query.description\": \"Query gemaakt als er geen context is.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Schakel aangepaste query in\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximaal aantal items per zoekpagina\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Verberg niet-beschikbare items\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Stel het eerste beschikbare filter in om uw query sneller te maken.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Geen\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Eerst beschikbaar\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alle beschikbare\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulatiegedrag\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Stel in om over te slaan als u snellere queries wilt, maar SKU's hebben mogelijk niet de meest actuele prijzen of voorraad.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Standaard\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Simulatie overslaan\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Termijnen\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Kies welk type termijnen getoond moet worden (bijv.: maximaal zonder rente of met rente).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximaal zonder rente\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Pagineringstype\",\n \"admin/editor.search-result.pagination.show-more\": \"Toon meer\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Oneindig scrollen\",\n \"admin/editor.search-result.description\": \"Wrapper voor het weergeven van zoekresultaten.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximaal aantal items per regel\",\n \"admin/editor.search-result.mobileLayout\": \"Mobiele layoutswitcher\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layoutmodus 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layoutmodus 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Verborgen filters\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Merkfilter verbergen\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Categoriefilter verbergen\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Prijsfilter verbergen\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Specificatiefilters verbergen\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Alle specificatiefilters verbergen\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Verborgen specificatiefilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Verborgen specificatiefilternaam\",\n \"admin/editor.search-result.showTitle\": \"Toon categorietitel of zoekterm boven de galerij\",\n \"admin/editor.search-result.gap.title\": \"Kloof tussen de items in de galerij\",\n \"admin/editor.search-result.facet-quantity\": \"Toon het aantal filteritems\",\n \"admin/editor.search-result.advanced-settings.title\": \"Geavanceerde instellingen\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM-zoekresultaatnaam\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Naam om te tonen in de Google Analytics. Als er niets wordt doorgegeven zal het gewoon \\\"Zoekresultaat\\\" gebruiken.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sorteer op\",\n \"admin/editor.search-result.total-products\": \"Totaal aantal producten\",\n \"store/search-result.show-more-button\": \"Toon meer\",\n \"store/search-result.show-previous-button\": \"Toon vorige\",\n \"store/search-result.showing-products\": \"Tonen {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} van {total, number}\",\n \"store/search-result.showing-all-products\": \"U hebt alle {value} producten bekeken\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filters\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filters\",\n \"store/search-result.filter-button.apply\": \"Toepassen\",\n \"store/search-result.filter-button.clear\": \"Wissen\",\n \"store/search-result.filter-button.clearAll\": \"Alles wissen\",\n \"store/search-result.orderby.title\": \"Sorteer op\",\n \"store/search-result.clear-filters.title\": \"Wissen\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Afdelingen\",\n \"store/search.filter.title.color\": \"Kleur\",\n \"store/filter.more-departments\": \"Zie {quantity} meer afdelingen\",\n \"store/filter.more-categories\": \"Zie {quantity} meer categorieën\",\n \"store/filter.more-items\": \"Zie {quantity} meer\",\n \"store/filter.less-items\": \"Zie minder\",\n \"store/search.filter.placeholder\": \"Zoeken op {filterName}\",\n \"store/search.filter.title.brands\": \"Merken\",\n \"store/search.filter.title.price-ranges\": \"Prijsklasse\",\n \"store/search.text\": \"Toont {from}-{to} van {recordsFiltered} resultaten\",\n \"store/search.selected-filters\": \"Gefilterd op:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {product} other {producten}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {producten}}</span>\",\n \"store/search.empty-products\": \"We hebben geen resultaten gevonden die gerelateerd zijn aan \\\"{term}\\\"\",\n \"store/search.filter.title.shipping\": \"Verzending\",\n \"store/search.filter.shipping.name.delivery\": \"Leveren aan\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Afhalen op\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Afhalen in de buurt van\",\n \"store/search.filter.shipping.name.pickup-all\": \"Afhalen\",\n \"store/search.filter.shipping.action-button.delivery\": \"Voer locatie in\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Winkel invoeren\",\n \"store/search.what-do-i-do\": \"Wat moet ik doen?\",\n \"store/search.what-to-do.1\": \"Controleer de termen die u hebt getypt.\",\n \"store/search.what-to-do.2\": \"Probeer een enkel woord te gebruiken.\",\n \"store/search.what-to-do.3\": \"Gebruik algemene termen bij het zoeken.\",\n \"store/search.what-to-do.4\": \"Probeer te zoeken op synoniemen van de gewenste term.\",\n \"store/search.no-products\": \"Er zijn geen producten gevonden\",\n \"store/ordenation.button\": \"Sorteer\",\n \"store/ordenation.sort-by\": \"Sorteer op\",\n \"store/ordenation.relevance\": \"Relevantie\",\n \"store/ordenation.sales\": \"Verkoop\",\n \"store/ordenation.release.date\": \"Releasedatum\",\n \"store/ordenation.discount\": \"Korting\",\n \"store/ordenation.price.descending\": \"Prijs: hoog naar laag\",\n \"store/ordenation.price.ascending\": \"Prijs: laag naar hoog\",\n \"store/ordenation.name.ascending\": \"Naam, oplopend\",\n \"store/ordenation.name.descending\": \"Naam, aflopend\",\n \"store/layoutModeSwitcher.inline\": \"Lijn\",\n \"store/layoutModeSwitcher.small\": \"Klein\",\n \"store/layoutModeSwitcher.normal\": \"Normaal\",\n \"store/gallery.gapType.none\": \"Geen\",\n \"store/gallery.gapType.small\": \"Klein\",\n \"store/gallery.gapType.medium\": \"Medium\",\n \"store/gallery.gapType.large\": \"Groot\",\n \"admin/editor.search-result-layout-custom.title\": \"Zoekresultaat aangepaste flexibele layout\",\n \"admin/editor.search-result-layout.title\": \"Zoekresultaat flexibele layout\",\n \"admin/editor.search-result-mobile.title\": \"Zoekresultaat flexibele layout - mobiel\",\n \"admin/editor.search-result-desktop.title\": \"Zoekresultaat flexibele layout - desktop\",\n \"store/search-result.price-ranges.submit\": \"Zoeken\",\n \"admin/editor.search-result.fetch-more\": \"Meer ophalen\",\n \"admin/editor.search-result.fetch-previous\": \"Vorige ophalen\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Knopgedrag\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Knop\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link naar pagina - Verbetert SEO, kan veranderen hoe de knop eruit ziet\"\n}\n\n```" } ]
code_search-result_551edbf9
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ja.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"検索結果\",\n \"admin/editor.search-result.query\": \"カスタムクエリ\",\n \"admin/editor.search-result.query.description\": \"コンテキストがない場合に作成されるクエリ\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"カスタムクエリを有効にする\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"検索結果1ページあたりに表示される最大項目数\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"利用できない項目を非表示にする\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU フィルタ\",\n \"admin/editor.search-result.query.skusFilter.description\": \"最初に利用できるフィルタを設定しておくと、クエリが早くなります!\",\n \"admin/editor.search-result.query.skusFilter.none\": \"なし\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"最初に利用できる\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"すべて利用できる\",\n \"admin/editor.search-result.query.simulationBehavior\": \"シミュレーション動作\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"クエリを高速化したい場合、スキップに設定してください。ただし、SKU の価格と在庫は最新のものに更新されないことがあります\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"デフォルト\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"シミュレーションをスキップ\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"表示する分割払い\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"表示する分割払いのタイプを選びます(例:金利込みの最大金額、金利を別にした最大金額)。\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"金利を別にした最大金額\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"金利込みの最大金額\",\n \"admin/editor.search-result.pagination.title\": \"ページネーションのタイプ\",\n \"admin/editor.search-result.pagination.show-more\": \"もっと見る\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"無限スクロール\",\n \"admin/editor.search-result.description\": \"検索結果のラッパー\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"1行あたりに表示される最大項目数\",\n \"admin/editor.search-result.mobileLayout\": \"モバイルレイアウトの切り替え\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"レイアウトモード1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"レイアウトモード2\",\n \"admin/editor.search-result.hiddenFacets\": \"非表示のフィルタ\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"ブランドフィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"カテゴリフィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"価格フィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"仕様フィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"仕様フィルタをすべて非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"非表示の仕様フィルタ\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"非表示の仕様フィルタ名\",\n \"admin/editor.search-result.showTitle\": \"カテゴリタイトルを表示するか、またはギャラリーの上にある語句を検索する\",\n \"admin/editor.search-result.gap.title\": \"ギャラリー項目間のギャップ\",\n \"admin/editor.search-result.facet-quantity\": \"フィルタ項目数を表示する\",\n \"admin/editor.search-result.advanced-settings.title\": \"高度な設定\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM 検索結果の名前\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Google Analytics で表示される名前。設定しない場合は「検索結果」となります\",\n \"admin/editor.search-result.ordination.sort-by\": \"並べ替え\",\n \"admin/editor.search-result.total-products\": \"製品の合計\",\n \"store/search-result.show-more-button\": \"次を表示\",\n \"store/search-result.show-previous-button\": \"前を表示\",\n \"store/search-result.showing-products\": \"{value} 個を表示中\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} / {total, number}\",\n \"store/search-result.showing-all-products\": \"全 {value} 個の製品を表示しました\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"フィルタ\",\n \"store/search-result.filter-breadcrumbs.primary\": \"フィルタ\",\n \"store/search-result.filter-button.apply\": \"適用\",\n \"store/search-result.filter-button.clear\": \"クリア\",\n \"store/search-result.filter-button.clearAll\": \"すべてクリア\",\n \"store/search-result.orderby.title\": \"並べ替え\",\n \"store/search-result.clear-filters.title\": \"クリア\",\n \"store/search-result.filter-action.title\": \"フィルタ\",\n \"store/search.filter.title.categories\": \"部門\",\n \"store/search.filter.title.color\": \"色\",\n \"store/filter.more-departments\": \"さらに {quantity} 個の部門を表示\",\n \"store/filter.more-categories\": \"さらに {quantity} 個のカテゴリを表示\",\n \"store/filter.more-items\": \"さらに {quantity} 個を表示\",\n \"store/filter.less-items\": \"一部を表示\",\n \"store/search.filter.placeholder\": \"{filterName} で検索\",\n \"store/search.filter.title.brands\": \"ブランド\",\n \"store/search.filter.title.price-ranges\": \"価格帯\",\n \"store/search.filter.title.shipping\": \"発送方法\",\n \"store/search.filter.shipping.name.delivery\": \"宛先\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"集荷場所\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"近くの集荷場所\",\n \"store/search.filter.shipping.name.pickup-all\": \"集荷\",\n \"store/search.filter.shipping.action-button.delivery\": \"場所を入力\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"ストアを入力\",\n \"store/search.text\": \"{from}-{to} に該当する {recordsFiltered} の記録を表示中\",\n \"store/search.selected-filters\": \"検索条件:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, other {製品}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, other {製品}}</span>\",\n \"store/search.empty-products\": \"「{term}」に関連した結果は見つかりませんでした\",\n \"store/search.what-do-i-do\": \"以下を試してください\",\n \"store/search.what-to-do.1\": \"入力した語句を確認してください。\",\n \"store/search.what-to-do.2\": \"単語を1つにしてみてください。\",\n \"store/search.what-to-do.3\": \"一般的な語句で検索してください。\",\n \"store/search.what-to-do.4\": \"探している語句の類義語で検索してみてください。\",\n \"store/search.no-products\": \"製品が見つかりません\",\n \"store/ordenation.button\": \"並べ替え\",\n \"store/ordenation.sort-by\": \"並べ替えの順番\",\n \"store/ordenation.relevance\": \"関連度\",\n \"store/ordenation.sales\": \"売上高\",\n \"store/ordenation.release.date\": \"発売日\",\n \"store/ordenation.discount\": \"割引率\",\n \"store/ordenation.price.descending\": \"価格:高い順\",\n \"store/ordenation.price.ascending\": \"価格:低い順\",\n \"store/ordenation.name.ascending\": \"名前(昇順)\",\n \"store/ordenation.name.descending\": \"名前(降順)\",\n \"store/layoutModeSwitcher.inline\": \"行\",\n \"store/layoutModeSwitcher.small\": \"小\",\n \"store/layoutModeSwitcher.normal\": \"普通\",\n \"store/gallery.gapType.none\": \"なし\",\n \"store/gallery.gapType.small\": \"小\",\n \"store/gallery.gapType.medium\": \"中\",\n \"store/gallery.gapType.large\": \"大\",\n \"admin/editor.search-result-layout-custom.title\": \"検索結果カスタム・フレキシブルレイアウト\",\n \"admin/editor.search-result-layout.title\": \"検索結果フレキシブルレイアウト\",\n \"admin/editor.search-result-mobile.title\": \"検索結果フレキシブルレイアウト・モバイル\",\n \"admin/editor.search-result-desktop.title\": \"検索結果フレキシブルレイアウト・デスクトップ\",\n \"store/search-result.price-ranges.submit\": \"進む\",\n \"admin/editor.search-result.fetch-more\": \"さらに取得\",\n \"admin/editor.search-result.fetch-previous\": \"前のを取得\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"ボタンの動作\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"ボタン\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"ページへのリンク - SEO を改善します。ボタンの見た目が変わることがあります。\"\n}\n\n```" } ]
code_search-result_c5121b18
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/de.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Suchergebnis\",\n \"admin/editor.search-result.query\": \"Benutzerdefinierte Abfrage\",\n \"admin/editor.search-result.query.description\": \"Abfrage erfolgt, wenn kein Kontext vorhanden ist.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Benutzerdefinierte Abfrage aktivieren\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximale Anzahl von Artikeln pro Seite\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Nicht verfügbare Artikel ausblenden\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-Filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Das Setzen des ersten verfügbaren Filters macht Ihre Anfrage schneller.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Keine\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Zuerst verfügbar\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alle verfügbar\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulationsverhalten\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Überspringen, wenn Sie schnellere Abfragen wünschen, die SKUs aber möglicherweise nicht die aktuellsten Preise oder Lagerbestände haben.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Voreinstellung\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Simulation überspringen\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Ratenzahlung\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Wählen Sie die Raten, die bei den Produkten angezeigt werden sollen (z.B.: maximal ohne Zinsen oder mit Zinsen).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum ohne Zinsen\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Art der Seitennummerierung\",\n \"admin/editor.search-result.pagination.show-more\": \"Mehr anzeigen\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Unendliches Scrollen\",\n \"admin/editor.search-result.description\": \"Wrapper für die Anzeige von Suchergebnissen.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximale Anzahl von Artikeln pro Zeile\",\n \"admin/editor.search-result.mobileLayout\": \"Mobile Layout-Umschalter\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layout-Modus 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layout-Modus 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Versteckte Filter\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Markenfilter ausblenden\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Kategorienfilter ausblenden\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Preisfilter ausblenden\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Spezifikationsfilter ausblenden\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Alle Spezifikationsfilter ausblenden\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Ausgeblendete Spezifikationsfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Ausgeblendeter Spezifikationsfiltername\",\n \"admin/editor.search-result.showTitle\": \"Kategorie-Titel oder Suchbegriff oberhalb der Galerie anzeigen\",\n \"admin/editor.search-result.gap.title\": \"Lücke zwischen den Artikeln der Galerie\",\n \"admin/editor.search-result.facet-quantity\": \"Anzahl der Filterartikel anzeigen\",\n \"admin/editor.search-result.advanced-settings.title\": \"Erweiterte Einstellungen\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Name des GTM-Suchergebnisses\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Name, der in Google Analytics angezeigt werden soll. Wenn nichts übergeben wird, wird nur \\\"Suchergebnis\\\" verwendet.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sortieren nach\",\n \"admin/editor.search-result.total-products\": \"Produkte insgesamt\",\n \"store/search-result.show-more-button\": \"Mehr anzeigen\",\n \"store/search-result.show-previous-button\": \"Vorherige anzeigen\",\n \"store/search-result.showing-products\": \"Zeigen {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} von {total, number}\",\n \"store/search-result.showing-all-products\": \"Sie haben alle {value} Produkte angesehen\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filter\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filter\",\n \"store/search-result.filter-button.apply\": \"Anwenden\",\n \"store/search-result.filter-button.clear\": \"Löschen\",\n \"store/search-result.filter-button.clearAll\": \"Alles löschen\",\n \"store/search-result.orderby.title\": \"Sortieren nach\",\n \"store/search-result.clear-filters.title\": \"Löschen\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Abteilungen\",\n \"store/search.filter.title.color\": \"Farbe\",\n \"store/filter.more-departments\": \"Siehe {quantity} weitere Abteilungen\",\n \"store/filter.more-categories\": \"Siehe {quantity} weitere Kategorien\",\n \"store/filter.more-items\": \"Siehe {quantity} mehr\",\n \"store/filter.less-items\": \"Weniger sehen\",\n \"store/search.filter.placeholder\": \"Suche nach {filterName}\",\n \"store/search.filter.title.brands\": \"Marken\",\n \"store/search.filter.title.price-ranges\": \"Preisspannen\",\n \"store/search.text\": \"Anzeigen {from}-{to} aus {recordsFiltered}-Ergebnissen\",\n \"store/search.filter.title.shipping\": \"Versand\",\n \"store/search.filter.shipping.name.delivery\": \"Liefern an\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Abholung bei\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Abholung in der Nähe\",\n \"store/search.filter.shipping.name.pickup-all\": \"Abholung\",\n \"store/search.filter.shipping.action-button.delivery\": \"Ort eingeben\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Geschäft eingeben\",\n \"store/search.selected-filters\": \"Gefiltert nach:\",\n \"store/search.total-products\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {Produkt} other {Produkte}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {Produkt} other {Produkte}}</span>\",\n \"store/search.empty-products\": \"Wir haben keine Ergebnisse in Bezug auf \\\"{term}\\\" gefunden\",\n \"store/search.what-do-i-do\": \"Was kann ich tun?\",\n \"store/search.what-to-do.1\": \"Überprüfen Sie die von Ihnen eingegebenen Begriffe.\",\n \"store/search.what-to-do.2\": \"Versuchen Sie, ein einziges Wort zu verwenden.\",\n \"store/search.what-to-do.3\": \"Verwenden Sie bei der Suche generische Begriffe.\",\n \"store/search.what-to-do.4\": \"Versuchen Sie, nach Synonymen des gewünschten Begriffs zu suchen.\",\n \"store/search.no-products\": \"Es wurden keine Produkte gefunden\",\n \"store/ordenation.button\": \"Sortieren\",\n \"store/ordenation.sort-by\": \"Sortieren nach\",\n \"store/ordenation.relevance\": \"Relevanz\",\n \"store/ordenation.sales\": \"Verkäufe\",\n \"store/ordenation.release.date\": \"Erscheinungsdatum\",\n \"store/ordenation.discount\": \"Rabatt\",\n \"store/ordenation.price.descending\": \"Preis: absteigend\",\n \"store/ordenation.price.ascending\": \"Preis: aufsteigend\",\n \"store/ordenation.name.ascending\": \"Name, aufsteigend\",\n \"store/ordenation.name.descending\": \"Name, absteigend\",\n \"store/layoutModeSwitcher.inline\": \"Line\",\n \"store/layoutModeSwitcher.small\": \"Klein\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Keine\",\n \"store/gallery.gapType.small\": \"Klein\",\n \"store/gallery.gapType.medium\": \"Mittel\",\n \"store/gallery.gapType.large\": \"Groß\",\n \"admin/editor.search-result-layout-custom.title\": \"Suchergebnis Benutzerdefiniertes flexibles Layout\",\n \"admin/editor.search-result-layout.title\": \"Suchergebnis Benutzerdefiniertes flexibles Layout\",\n \"admin/editor.search-result-mobile.title\": \"Suchergebnis flexibles Layout - Mobil\",\n \"admin/editor.search-result-desktop.title\": \"Suchergebnis flexibles Layout-Desktopoberfläche\",\n \"store/search-result.price-ranges.submit\": \"Suche\",\n \"admin/editor.search-result.fetch-more\": \"Mehr abrufen\",\n \"admin/editor.search-result.fetch-previous\": \"Vorherige Informationen abrufen\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Tastenverhalten\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Taste\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link zur Seite - Verbessert SEO, kann das Aussehen der Schaltfläche verändern\"\n}\n\n```" } ]
code_search-result_6122148a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ru.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Результат поиска\",\n \"admin/editor.search-result.query\": \"Персонализированный запрос\",\n \"admin/editor.search-result.query.description\": \"Запрос создан при отсутствии контекста.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Активировать персонализированный запрос\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Максимальное число товаров на странице поиска\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Скрыть недоступные товары\",\n \"admin/editor.search-result.query.skusFilter\": \"Фильтр по артикулу\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Чтобы ускорить запрос, установите фильтр «Первый доступный».\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Отсутствует\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Первый доступный\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Все доступные\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Поведение симуляции\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Чтобы ускорить запросы, выберите «Пропустить симуляцию», но помните: в таком случае у артикулов могут отображаться устаревшие цена или наличие.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"По умолчанию\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Пропустить симуляцию\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Рассрочка\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Выберите тип рассрочки для отображения (например, максимум без процентов или с процентами).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Максимум без процентов\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Максимум\",\n \"admin/editor.search-result.pagination.title\": \"Тип разбивки на страницы\",\n \"admin/editor.search-result.pagination.show-more\": \"Показать больше\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Бесконечная прокрутка\",\n \"admin/editor.search-result.description\": \"Оболочка для показа результатов поиска.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Максимальное число товаров на странице\",\n \"admin/editor.search-result.mobileLayout\": \"Переключатель мобильного макета\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Режим макета 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Режим макета 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Скрытые фильтры\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Скрыть фильтр по бренду\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Скрыть фильтр по категории\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Скрыть фильтр по цене\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Скрыть фильтры по спецификациям\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Скрыть все фильтры по спецификациям\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Скрытый фильтр по спецификациям\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Имя скрытого фильтра по спецификациям\",\n \"admin/editor.search-result.showTitle\": \"Показать название категории или поисковый запрос над галереей\",\n \"admin/editor.search-result.gap.title\": \"Расстояние между элементами галереи\",\n \"admin/editor.search-result.facet-quantity\": \"Показать количество элементов фильтра\",\n \"admin/editor.search-result.advanced-settings.title\": \"Расширенные настройки\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Имя результата поиска GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Имя для отображения в Google Analytics. Если ничего не добавить, будет отображаться имя «Результат поиска».\",\n \"admin/editor.search-result.ordination.sort-by\": \"Критерий сортировки\",\n \"admin/editor.search-result.total-products\": \"Всего товаров\",\n \"store/search-result.show-more-button\": \"Показать больше\",\n \"store/search-result.show-previous-button\": \"Показать предыдущий\",\n \"store/search-result.showing-products\": \"Показано: {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} из {total, number}\",\n \"store/search-result.showing-all-products\": \"Вы просмотрели все товары {value}\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Фильтры\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Фильтры\",\n \"store/search-result.filter-button.apply\": \"Применить\",\n \"store/search-result.filter-button.clear\": \"Очистить\",\n \"store/search-result.filter-button.clearAll\": \"Очистить все\",\n \"store/search-result.orderby.title\": \"Критерий сортировки\",\n \"store/search-result.clear-filters.title\": \"Очистить\",\n \"store/search-result.filter-action.title\": \"Фильтр\",\n \"store/search.filter.title.categories\": \"Отделы\",\n \"store/search.filter.title.color\": \"Цвет\",\n \"store/filter.more-departments\": \"Показать еще отделы (+{quantity})\",\n \"store/filter.more-categories\": \"Показать еще категории (+{quantity})\",\n \"store/filter.more-items\": \"Показать еще {quantity}\",\n \"store/filter.less-items\": \"Показать меньше\",\n \"store/search.filter.placeholder\": \"Искать по критерию «{filterName}»\",\n \"store/search.filter.title.brands\": \"Бренды\",\n \"store/search.filter.title.price-ranges\": \"Диапазоны цен\",\n \"store/search.text\": \"Показаны результаты {from}—{to} из {recordsFiltered}\",\n \"store/search.selected-filters\": \"Критерий фильтрации:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {товар} few {товара} many {тов.} other {тов.}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {товар} few {товара} many {тов.} other {тов.}}</span>\",\n \"store/search.empty-products\": \"Запрос «{term}» не дал результатов\",\n \"store/search.what-do-i-do\": \"И что же мне делать?\",\n \"store/search.what-to-do.1\": \"Проверьте, правильно ли ввели запрос.\",\n \"store/search.what-to-do.2\": \"Попробуйте ввести одно слово.\",\n \"store/search.what-to-do.3\": \"Ищите по общим терминам.\",\n \"store/search.what-to-do.4\": \"Попробуйте ввести синонимы.\",\n \"store/search.filter.title.shipping\": \"Отправка\",\n \"store/search.filter.shipping.name.delivery\": \"Место доставки\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Место самовывоза\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Самовывоз поблизости\",\n \"store/search.filter.shipping.name.pickup-all\": \"Самовывоз\",\n \"store/search.filter.shipping.action-button.delivery\": \"Введите местоположение\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Введите магазин\",\n \"store/search.no-products\": \"Ничего не найдено\",\n \"store/ordenation.button\": \"Сортировать\",\n \"store/ordenation.sort-by\": \"Критерий сортировки\",\n \"store/ordenation.relevance\": \"Релевантность\",\n \"store/ordenation.sales\": \"Распродажи\",\n \"store/ordenation.release.date\": \"Дата выпуска\",\n \"store/ordenation.discount\": \"Скидка\",\n \"store/ordenation.price.descending\": \"Цена: по убыванию\",\n \"store/ordenation.price.ascending\": \"Цена: по возрастанию\",\n \"store/ordenation.name.ascending\": \"Имя по возрастанию\",\n \"store/ordenation.name.descending\": \"Имя по убыванию\",\n \"store/layoutModeSwitcher.inline\": \"Линия\",\n \"store/layoutModeSwitcher.small\": \"Малый режим\",\n \"store/layoutModeSwitcher.normal\": \"Обычный режим\",\n \"store/gallery.gapType.none\": \"Отсутствует\",\n \"store/gallery.gapType.small\": \"Маленькое\",\n \"store/gallery.gapType.medium\": \"Среднее\",\n \"store/gallery.gapType.large\": \"Большое\",\n \"admin/editor.search-result-layout-custom.title\": \"Собственный гибкий макет результатов поиска\",\n \"admin/editor.search-result-layout.title\": \"Гибкий макет результатов поиска\",\n \"admin/editor.search-result-mobile.title\": \"Гибкий макет результатов поиска — мобильная версия\",\n \"admin/editor.search-result-desktop.title\": \"Гибкий макет результатов поиска — компьютерная версия\",\n \"store/search-result.price-ranges.submit\": \"Искать\",\n \"admin/editor.search-result.fetch-more\": \"Загрузить еще\",\n \"admin/editor.search-result.fetch-previous\": \"Предыдущий результат\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Поведение кнопки\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Кнопка\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Ссылка на страницу — оптимизирует поиск, может изменить внешний вид кнопки\"\n}\n\n```" } ]
code_search-result_43a2584d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/pl.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Wynik wyszukiwania\",\n \"admin/editor.search-result.query\": \"Zapytanie spersonalizowane\",\n \"admin/editor.search-result.query.description\": \"Zapytanie zadane, gdy brakuje kontekstu.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Włącz zapytanie spersonalizowane\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maksymalna liczba pozycji przypadających na stronę wyszukiwania\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Ukryj niedostępne pozycje\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtr SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Ustaw pierwszy dostępny filtr, aby przyspieszyć zapytanie.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Brak\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Pierwsze dostępne\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Wszystkie dostępne\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Symulacja zachowania\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Ustaw do pominięcia jeśli chcesz szybsze zapytania, ale SKU mogą nie mieć najbardziej aktualnych cen lub zapasów\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Domyślnie\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Pomiń symulację\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Raty\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Wybierz rodzaj rat do pokazania razem z produktami (np. maksymalne bez odsetek lub z odsetkami).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksymalne bez odsetek\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksymalne\",\n \"admin/editor.search-result.pagination.title\": \"Rodzaj paginacji\",\n \"admin/editor.search-result.pagination.show-more\": \"Pokaż więcej\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Nieskończone przewijanie\",\n \"admin/editor.search-result.description\": \"Otoczka do wyświetlania wyników wyszukiwania.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maksymalna liczba pozycji w wierszu\",\n \"admin/editor.search-result.mobileLayout\": \"Przełącznik układu mobilnego\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Tryb układu 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Tryb układu 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Ukryte filtry\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Ukryj filtr marek\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Ukryj filtr kategorii\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Ukryj filtr cen\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Ukryj filtr specyfikacji\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Ukryj wszystkie filtry specyfikacji\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Ukryty filtr specyfikacji\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nazwa ukrytego filtra specyfikacji\",\n \"admin/editor.search-result.showTitle\": \"Pokaż tytuł kategorii lub wyszukiwany zwrot nad galerią\",\n \"admin/editor.search-result.gap.title\": \"Odstęp pomiędzy pozycjami galerii\",\n \"admin/editor.search-result.facet-quantity\": \"Pokaż liczbę pozycji filtra\",\n \"admin/editor.search-result.advanced-settings.title\": \"Ustawienia zaawansowane\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nazwa wyniku wyszukiwania GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nazwa do pokazania w Google Analytics. W razie jej braku użyta zostanie opcja „Wynik wyszukiwania”.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sortuj według\",\n \"admin/editor.search-result.total-products\": \"Produkty ogółem\",\n \"store/search-result.show-more-button\": \"Pokaż więcej\",\n \"store/search-result.show-previous-button\": \"Pokaż poprzednie\",\n \"store/search-result.showing-products\": \"Pokazuję {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} z {total, number}\",\n \"store/search-result.showing-all-products\": \"Wyświetlono wszystkie {value} produkty\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtry\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtry\",\n \"store/search-result.filter-button.apply\": \"Zastosuj\",\n \"store/search-result.filter-button.clear\": \"Wyczyść\",\n \"store/search-result.filter-button.clearAll\": \"Wyczyść wszystko\",\n \"store/search-result.orderby.title\": \"Sortuj według\",\n \"store/search-result.clear-filters.title\": \"Wyczyść\",\n \"store/search-result.filter-action.title\": \"Filtruj\",\n \"store/search.filter.title.categories\": \"Działy\",\n \"store/search.filter.title.color\": \"Kolor\",\n \"store/filter.more-departments\": \"Zobacz {quantity} więcej działów\",\n \"store/filter.more-categories\": \"Zobacz {quantity} więcej kategorii\",\n \"store/filter.more-items\": \"Zobacz {quantity} więcej\",\n \"store/filter.less-items\": \"Zobacz mniej\",\n \"store/search.filter.placeholder\": \"Wyszukaj według {filterName}\",\n \"store/search.filter.title.brands\": \"Marki\",\n \"store/search.filter.title.price-ranges\": \"Zakresy cenowe\",\n \"store/search.filter.title.shipping\": \"Wysyłka\",\n \"store/search.filter.shipping.name.delivery\": \"Dostarcz do\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Odbiór w\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Odbiór w pobliżu\",\n \"store/search.filter.shipping.name.pickup-all\": \"Odbiór\",\n \"store/search.filter.shipping.action-button.delivery\": \"Wprowadź lokalizację\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Wprowadź sklep\",\n \"store/search.text\": \"Pokazuję {from}-{to} od {recordsFiltered} wpisów\",\n \"store/search.selected-filters\": \"Filtrowane według:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produkt} few {produkty} many {produkty} other {produkty}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produkt} few {produkty} many {produkty} other {produkty}}</span>\",\n \"store/search.empty-products\": \"Nie znaleźliśmy żadnych wyników związanych z „{term}”\",\n \"store/search.what-do-i-do\": \"Co mam zrobić?\",\n \"store/search.what-to-do.1\": \"Sprawdź wpisane zwroty.\",\n \"store/search.what-to-do.2\": \"Spróbuj użyć jednego słowa.\",\n \"store/search.what-to-do.3\": \"Użyj w wyszukiwaniu ogólnych zwrotów.\",\n \"store/search.what-to-do.4\": \"Spróbuj poszukać synonimów pożądanego zwrotu.\",\n \"store/search.no-products\": \"Nie znaleziono produktów\",\n \"store/ordenation.button\": \"Sortuj\",\n \"store/ordenation.sort-by\": \"Sortuj według\",\n \"store/ordenation.relevance\": \"Istotność\",\n \"store/ordenation.sales\": \"Sprzedaż\",\n \"store/ordenation.release.date\": \"Data zwolnienia\",\n \"store/ordenation.discount\": \"Zniżka\",\n \"store/ordenation.price.descending\": \"Cena: od najwyższej do najniższej\",\n \"store/ordenation.price.ascending\": \"Cena: od najniższej do najwyższej\",\n \"store/ordenation.name.ascending\": \"Nazwa, rosnąco\",\n \"store/ordenation.name.descending\": \"Nazwa, malejąco\",\n \"store/layoutModeSwitcher.inline\": \"Wiersz\",\n \"store/layoutModeSwitcher.small\": \"Mały\",\n \"store/layoutModeSwitcher.normal\": \"Normalny\",\n \"store/gallery.gapType.none\": \"Brak\",\n \"store/gallery.gapType.small\": \"Mały\",\n \"store/gallery.gapType.medium\": \"Średni\",\n \"store/gallery.gapType.large\": \"Duży\",\n \"admin/editor.search-result-layout-custom.title\": \"Spersonalizowany elastyczny układ wyników wyszukiwania\",\n \"admin/editor.search-result-layout.title\": \"Elastyczny układ wyników wyszukiwania\",\n \"admin/editor.search-result-mobile.title\": \"Elastyczny układ wyników wyszukiwania – urządzenie mobilne\",\n \"admin/editor.search-result-desktop.title\": \"Elastyczny układ wyników wyszukiwania – komputer\",\n \"store/search-result.price-ranges.submit\": \"Wyszukaj\",\n \"admin/editor.search-result.fetch-more\": \"Pobierz więcej\",\n \"admin/editor.search-result.fetch-previous\": \"Pobierz poprzedni\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Zachowanie przycisku\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Przycisk\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Łącze do strony – poprawia SEO, może zmienić wygląd przycisku\"\n}\n\n```" } ]
code_search-result_07115674
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/uk.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Результат пошуку\",\n \"admin/editor.search-result.query\": \"Спеціальний запит\",\n \"admin/editor.search-result.query.description\": \"Запит зроблено за відсутності контексту.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Активувати спеціальний запит\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Максимальна кількість елементів на сторінці пошуку\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Приховати недоступні елементи\",\n \"admin/editor.search-result.query.skusFilter\": \"Фільтр артикулів\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Щоб прискорити запит, установіть фільтр «Перший доступний».\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Нема\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Перший доступний\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Усі доступні\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Поведінка імітації\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Щоб прискорити запит, виберіть «Пропустити імітацію» (але в такому разі в артикулів можуть відображатися застарілі ціна чи наявність).\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"За замовчуванням\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Пропустити імітацію\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Розстрочка\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Виберіть тип розстрочки, який потрібно показати (наприклад, максимум без відсотків або з відсотками).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Максимум без відсотків\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Максимум\",\n \"admin/editor.search-result.pagination.title\": \"Тип поділу на сторінки\",\n \"admin/editor.search-result.pagination.show-more\": \"Показати більше\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Нескінченна прокрутка\",\n \"admin/editor.search-result.description\": \"Обгортка для відображення результатів пошуку.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Максимальна кількість елементів на рядок\",\n \"admin/editor.search-result.mobileLayout\": \"Перемикач мобільних макетів\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Режим макета 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Режим макета 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Приховані фільтри\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Приховати фільтр за брендом\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Приховати фільтр за категорією\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Приховати фільтр за ціною\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Приховати фільтри за специфікаціями\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Приховати всі фільтри за специфікаціями\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Прихований фільтр за специфікацією\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Назва прихованого фільтра за специфікацією\",\n \"admin/editor.search-result.showTitle\": \"Показати назву категорії або пошуковий запит над галереєю\",\n \"admin/editor.search-result.gap.title\": \"Проміжок між елементами галереї\",\n \"admin/editor.search-result.facet-quantity\": \"Показати кількість елементів фільтра\",\n \"admin/editor.search-result.advanced-settings.title\": \"Розширені налаштування\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Назва результату пошуку GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Назва для показу в Google Analytics. Якщо нічого не ввести, буде показана назва «Результат пошуку».\",\n \"admin/editor.search-result.ordination.sort-by\": \"Критерій сортування\",\n \"admin/editor.search-result.total-products\": \"Усього товарів\",\n \"store/search-result.show-more-button\": \"Показати більше\",\n \"store/search-result.show-previous-button\": \"Показати попередній\",\n \"store/search-result.showing-products\": \"Показано {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} з {total, number}\",\n \"store/search-result.showing-all-products\": \"Ви переглянули всі товари ({value})\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Фільтри\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Фільтри\",\n \"store/search-result.filter-button.apply\": \"Застосувати\",\n \"store/search-result.filter-button.clear\": \"Очистити\",\n \"store/search-result.filter-button.clearAll\": \"Очистити все\",\n \"store/search-result.orderby.title\": \"Критерій сортування\",\n \"store/search-result.clear-filters.title\": \"Очистити\",\n \"store/search-result.filter-action.title\": \"Фільтрувати\",\n \"store/search.filter.title.categories\": \"Відділи\",\n \"store/search.filter.title.color\": \"Колір\",\n \"store/filter.more-departments\": \"Показати ще відділи (+{quantity})\",\n \"store/filter.more-categories\": \"Показати ще категорії (+{quantity})\",\n \"store/filter.more-items\": \"Показати ще {quantity}\",\n \"store/filter.less-items\": \"Показати менше\",\n \"store/search.filter.placeholder\": \"Пошук за критерієм «{filterName}»\",\n \"store/search.filter.title.brands\": \"Бренди\",\n \"store/search.filter.title.price-ranges\": \"Цінові діапазони\",\n \"store/search.text\": \"Показано результатів: {from}—{to} з {recordsFiltered}\",\n \"store/search.selected-filters\": \"Критерій фільтрації:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {товар} few {товари} many {тов.} other {тов.}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {товар} few {товари} many {тов.} other {тов.}}</span>\",\n \"store/search.empty-products\": \"Запит «{term}» не дав результатів\",\n \"store/search.what-do-i-do\": \"Що робити?\",\n \"store/search.what-to-do.1\": \"Перевірте, чи правильно ввели запит.\",\n \"store/search.what-to-do.2\": \"Спробуйте ввести лише одне слово.\",\n \"store/search.what-to-do.3\": \"Пошукайте за узагальненою назвою.\",\n \"store/search.what-to-do.4\": \"Спробуйте ввести синоніми.\",\n \"store/search.no-products\": \"Товарів не знайдено\",\n \"store/search.filter.title.shipping\": \"Відправлення\",\n \"store/search.filter.shipping.name.delivery\": \"Місце доставки\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Місце самовивозу\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Самовивіз поблизу\",\n \"store/search.filter.shipping.name.pickup-all\": \"Самовивіз\",\n \"store/search.filter.shipping.action-button.delivery\": \"Введіть розташування\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Введіть магазин\",\n \"store/ordenation.button\": \"Сортувати\",\n \"store/ordenation.sort-by\": \"Критерій сортування\",\n \"store/ordenation.relevance\": \"Релевантність\",\n \"store/ordenation.sales\": \"Розпродаж\",\n \"store/ordenation.release.date\": \"Дата випуску\",\n \"store/ordenation.discount\": \"Знижка\",\n \"store/ordenation.price.descending\": \"Ціна за зниженням\",\n \"store/ordenation.price.ascending\": \"Ціна за зростанням\",\n \"store/ordenation.name.ascending\": \"Алфавітний порядок\",\n \"store/ordenation.name.descending\": \"Зворотний алфавітний порядок\",\n \"store/layoutModeSwitcher.inline\": \"Лінія\",\n \"store/layoutModeSwitcher.small\": \"Малий\",\n \"store/layoutModeSwitcher.normal\": \"Звичайний\",\n \"store/gallery.gapType.none\": \"Нема\",\n \"store/gallery.gapType.small\": \"Малий\",\n \"store/gallery.gapType.medium\": \"Середній\",\n \"store/gallery.gapType.large\": \"Великий\",\n \"admin/editor.search-result-layout-custom.title\": \"Власний гнучкий макет результатів пошуку\",\n \"admin/editor.search-result-layout.title\": \"Гнучкий макет результатів пошуку\",\n \"admin/editor.search-result-mobile.title\": \"Гнучкий макет результатів пошуку для мобільної версії\",\n \"admin/editor.search-result-desktop.title\": \"Гнучкий макет результатів пошуку для десктопної версії\",\n \"store/search-result.price-ranges.submit\": \"Шукати\",\n \"admin/editor.search-result.fetch-more\": \"Завантажити ще\",\n \"admin/editor.search-result.fetch-previous\": \"Завантажити попередній\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Поведінка кнопки\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Кнопка\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Посилання на сторінку — слугує для пошукової оптимізації, може змінити вигляд кнопки\"\n}\n\n```" } ]
code_search-result_b3f851a1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/fi.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Hakutulos\",\n \"admin/editor.search-result.query\": \"Mukautettu kysely\",\n \"admin/editor.search-result.query.description\": \"Kysely tehty ilman asiayhteyttä.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Ota mukautettu kysely käyttöön\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Tuotteiden maksimimäärä hakusivua kohden\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Piilota ei saatavilla olevat tuotteet\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-suodatin\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Ensimmäisen saatavilla olevan suodattimen asettaminen tekee kyselystä nopeamman.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ei mitään\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Ensimmäinen saatavilla oleva\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Kaikki saatavilla olevat\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulaation käyttäytyminen\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Määritä ohittamaan simulaatio, jos haluat nopeampia kyselyitä, mutta muista, että SKU:t eivät välttämättä näytä uusimpia hintoja tai varastotietoja.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Oletus\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Ohita simulaatio\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Maksuerät\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Valitse, minkätyyppiset maksuerät näytetään tuotteissa (esim. maksimierä ilman korkoa tai koron kanssa).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksimi ilman korkoa\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksimi\",\n \"admin/editor.search-result.pagination.title\": \"Sivutuksen tyyppi\",\n \"admin/editor.search-result.pagination.show-more\": \"Näytä lisää\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Loputon vieritys\",\n \"admin/editor.search-result.description\": \"Hakutulosten kääre.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Tuotteiden maksimimäärä riviä kohden\",\n \"admin/editor.search-result.mobileLayout\": \"Mobiiliasettelun vaihto\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Asettelutila 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Asettelutila 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Piilotetut suodattimet\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Piilota brändisuodatin\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Piilota luokkasuodatin\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Piilota hintasuodatin\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Piilota tietosuodattimet\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Piilota kaikki tietosuodattimet\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Piilotettu tietosuodatin\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Piilotetun tietosuodattimen nimi\",\n \"admin/editor.search-result.showTitle\": \"Näytä luokan nimi tai hakuehto gallerian yläpuolella\",\n \"admin/editor.search-result.gap.title\": \"Väli gallerian kohteiden välissä\",\n \"admin/editor.search-result.facet-quantity\": \"Näytä suodatettujen tuotteiden määrä\",\n \"admin/editor.search-result.advanced-settings.title\": \"Lisäasetukset\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM-hakutuloksen nimi\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Google Analyticsissä näytettävä nimi. Jos mitään ei anneta, käytetään nimeä \\\"Hakutulos\\\"\",\n \"admin/editor.search-result.ordination.sort-by\": \"Järjestelyperuste\",\n \"admin/editor.search-result.total-products\": \"Tuotteita yhteensä\",\n \"store/search-result.show-more-button\": \"Näytä lisää\",\n \"store/search-result.show-previous-button\": \"Näytä edellinen\",\n \"store/search-result.showing-products\": \"Näytetään {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} / {total, number}\",\n \"store/search-result.showing-all-products\": \"Olet nähnyt kaikki {value} tuotetta\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Suodattimet\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Suodattimet\",\n \"store/search-result.filter-button.apply\": \"Käytä\",\n \"store/search-result.filter-button.clear\": \"Tyhjennä\",\n \"store/search-result.filter-button.clearAll\": \"Tyhjennä kaikki\",\n \"store/search-result.orderby.title\": \"Järjestelyperuste\",\n \"store/search-result.clear-filters.title\": \"Tyhjennä\",\n \"store/search-result.filter-action.title\": \"Suodatin\",\n \"store/search.filter.title.categories\": \"Osastot\",\n \"store/search.filter.title.color\": \"Väri\",\n \"store/filter.more-departments\": \"Näytä {quantity} osastoa lisää\",\n \"store/filter.more-categories\": \"Näytä {quantity} luokkaa lisää\",\n \"store/filter.more-items\": \"Näytä {quantity} lisää\",\n \"store/filter.less-items\": \"Näytä vähemmän\",\n \"store/search.filter.placeholder\": \"Hae hakuehdolla {filterName}\",\n \"store/search.filter.title.brands\": \"Brändit\",\n \"store/search.filter.title.price-ranges\": \"Hintaluokat\",\n \"store/search.text\": \"Näytetään {from}–{to} {recordsFiltered} tuloksesta\",\n \"store/search.filter.title.shipping\": \"Toimitus\",\n \"store/search.filter.shipping.name.delivery\": \"Toimitus osoitteeseen\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Nouto myymälästä\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Nouto läheltä\",\n \"store/search.filter.shipping.name.pickup-all\": \"Nouto\",\n \"store/search.filter.shipping.action-button.delivery\": \"Syötä sijainti\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Syötä kauppa\",\n \"store/search.selected-filters\": \"Suodatus:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {tuote} other {tuotetta}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {tuote} other {tuotetta}}</span>\",\n \"store/search.empty-products\": \"Tuloksia hakusanalla \\\"{term}\\\" ei löytynyt\",\n \"store/search.what-do-i-do\": \"Mitä teen?\",\n \"store/search.what-to-do.1\": \"Tarkista hakusanasi.\",\n \"store/search.what-to-do.2\": \"Yritä käyttää yhtä sanaa.\",\n \"store/search.what-to-do.3\": \"Käytä haussa yleisiä sanoja.\",\n \"store/search.what-to-do.4\": \"Kokeile hakea halutun sanan synonyymeillä.\",\n \"store/search.no-products\": \"Tuotteita ei löytynyt\",\n \"store/ordenation.button\": \"Järjestele\",\n \"store/ordenation.sort-by\": \"Järjestelyperuste\",\n \"store/ordenation.relevance\": \"Relevanssi\",\n \"store/ordenation.sales\": \"Myynti\",\n \"store/ordenation.release.date\": \"Julkaisupäivä\",\n \"store/ordenation.discount\": \"Alennus\",\n \"store/ordenation.price.descending\": \"Hinta: Kallein ensin\",\n \"store/ordenation.price.ascending\": \"Hinta: Edullisin ensin\",\n \"store/ordenation.name.ascending\": \"Nimi, nouseva\",\n \"store/ordenation.name.descending\": \"Nimi, laskeva\",\n \"store/layoutModeSwitcher.inline\": \"Rivi\",\n \"store/layoutModeSwitcher.small\": \"Pieni\",\n \"store/layoutModeSwitcher.normal\": \"Normaali\",\n \"store/gallery.gapType.none\": \"Ei mitään\",\n \"store/gallery.gapType.small\": \"Pieni\",\n \"store/gallery.gapType.medium\": \"Keskikoko\",\n \"store/gallery.gapType.large\": \"Suuri\",\n \"admin/editor.search-result-layout-custom.title\": \"Hakutuloksen mukautettu joustava asettelu\",\n \"admin/editor.search-result-layout.title\": \"Hakutuloksen joustava asettelu\",\n \"admin/editor.search-result-mobile.title\": \"Hakutuloksen joustava asettelu – mobiili\",\n \"admin/editor.search-result-desktop.title\": \"Hakutuloksen joustava asettelu – tietokone\",\n \"store/search-result.price-ranges.submit\": \"Hae\",\n \"admin/editor.search-result.fetch-more\": \"Hae lisää\",\n \"admin/editor.search-result.fetch-previous\": \"Hae edellinen\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Painikkeen käyttäytyminen\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Painike\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Linkki sivulle – Parantaa hakukoneoptimointia, voi muuttaa painikkeen ulkonäköä\"\n}\n\n```" } ]
code_search-result_c1e8757e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/sk.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Výsledok vyhľadávania\",\n \"admin/editor.search-result.query\": \"Vlastný dopyt\",\n \"admin/editor.search-result.query.description\": \"Dopyt bol vytvorený, keď neexituje kontext.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Povoliť vlastný dopyt\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximálny počet položiek na stránke vyhľadávania\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Skryť nedostupné položky\",\n \"admin/editor.search-result.query.skusFilter\": \"Filter skladových jednotiek (SKU)\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Nastavením prvého dostupného filtra urýchlite výsledky hľadania.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Žiadny\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Prvý dostupný\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Všetky dostupné\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Správanie simulácie\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Nastavte možnosť Preskočiť simuláciu, ak chcete rýchlejšie výsledky, ale SKU nemusia zobrazovať najaktuálnejšie ceny alebo informácie o zásobách.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Predvolené\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Preskočiť simuláciu\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Splátky\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Vyberte, aký typ splátok sa má zobraziť pri produktoch (napr.: maximum bez úroku alebo s úrokom).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum bez úroku\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Typ stránkovania\",\n \"admin/editor.search-result.pagination.show-more\": \"Zobraziť viac\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Nekonečné posúvanie\",\n \"admin/editor.search-result.description\": \"Rámec výsledkov vyhľadávania.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximálny počet položiek na riadok\",\n \"admin/editor.search-result.mobileLayout\": \"Prepínač mobilného rozloženia\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Režim rozloženia 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Režim rozloženia 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Skryté filtre\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Skryť filter značiek\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Skryť filter kategórií\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Skryť cenový filter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Skryť filtre špecifikácií\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Skryť všetky filtre špecifikácií\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Skrytý filter špecifikácií\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Názov skrytého filtra špecifikácií\",\n \"admin/editor.search-result.showTitle\": \"Zobraziť názov kategórie alebo hľadaný výraz nad galériou\",\n \"admin/editor.search-result.gap.title\": \"Medzera medzi položkami galérie\",\n \"admin/editor.search-result.facet-quantity\": \"Zobraziť položku filtra množstvo\",\n \"admin/editor.search-result.advanced-settings.title\": \"Pokročilé nastavenia\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Názov výsledku vyhľadávania GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Názov, ktorý sa má zobraziť v službe Google Analytics. Ak sa nič nepridá, zobrazí sa iba výsledok vyhľadávania.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Usporiadať podľa\",\n \"admin/editor.search-result.total-products\": \"Celkový počet produktov\",\n \"store/search-result.show-more-button\": \"Zobraziť viac\",\n \"store/search-result.show-previous-button\": \"Zobraziť predchádzajúce\",\n \"store/search-result.showing-products\": \"Zobrazuje sa {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} z {total, number}\",\n \"store/search-result.showing-all-products\": \"Prezreli ste si všetky/všetkých {value} produkty/produktov\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtre\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtre\",\n \"store/search-result.filter-button.apply\": \"Použiť\",\n \"store/search-result.filter-button.clear\": \"Vymazať\",\n \"store/search-result.filter-button.clearAll\": \"Vymazať všetko\",\n \"store/search-result.orderby.title\": \"Usporiadať podľa\",\n \"store/search-result.clear-filters.title\": \"Vymazať\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Oddelenia\",\n \"store/search.filter.title.color\": \"Farba\",\n \"store/filter.more-departments\": \"Zobraziť {quantity} ďalšie oddelenia/ďalších oddelení\",\n \"store/filter.more-categories\": \"Zobraziť {quantity} ďalšie kategórie/ďalších kategórií\",\n \"store/filter.more-items\": \"Zobraziť {quantity} ďalšie\",\n \"store/filter.less-items\": \"Zobraziť menej\",\n \"store/search.filter.placeholder\": \"Vyhľadávať podľa {filterName}\",\n \"store/search.filter.title.brands\": \"Značky\",\n \"store/search.filter.title.price-ranges\": \"Rozsahy cien\",\n \"store/search.text\": \"Zobrazuje sa {from} – {to} z/zo {recordsFiltered} záznamov\",\n \"store/search.filter.title.shipping\": \"Doprava\",\n \"store/search.filter.shipping.name.delivery\": \"Doručiť na\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Vyzdvihnúť na\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Vyzdvihnúť v blízosti\",\n \"store/search.filter.shipping.name.pickup-all\": \"Vyzdvihnúť\",\n \"store/search.filter.shipping.action-button.delivery\": \"Zadajte polohu\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Zadajte obchod\",\n \"store/search.selected-filters\": \"Filtrované podľa:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {product} few {products} many {products} other {products}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {product} few {products} many {products} other {products}}</span>\",\n \"store/search.empty-products\": \"Nenašli sme žiaden výsledok súvisiaci s „{term}“\",\n \"store/search.what-do-i-do\": \"Čo mám urobiť?\",\n \"store/search.what-to-do.1\": \"Skontrolujte zadané výrazy.\",\n \"store/search.what-to-do.2\": \"Skúste použiť jedno slovo.\",\n \"store/search.what-to-do.3\": \"Pri vyhľadávaní použite všeobecné výrazy.\",\n \"store/search.what-to-do.4\": \"Pokúste sa vyhľadať synonymá požadovaného výrazu.\",\n \"store/search.no-products\": \"Nenašli sa žiadne produkty\",\n \"store/ordenation.button\": \"Usporiadať\",\n \"store/ordenation.sort-by\": \"Usporiadať podľa\",\n \"store/ordenation.relevance\": \"Relevantnosť\",\n \"store/ordenation.sales\": \"Obľúbenosti\",\n \"store/ordenation.release.date\": \"Dátum vydania\",\n \"store/ordenation.discount\": \"Zľavy\",\n \"store/ordenation.price.descending\": \"Cena: od najvyššej po najnižšiu\",\n \"store/ordenation.price.ascending\": \"Cena: od najnižšej po najvyššiu\",\n \"store/ordenation.name.ascending\": \"Názvu vzostupne\",\n \"store/ordenation.name.descending\": \"Názvu zostupne\",\n \"store/layoutModeSwitcher.inline\": \"Riadok\",\n \"store/layoutModeSwitcher.small\": \"Malé\",\n \"store/layoutModeSwitcher.normal\": \"Normálne\",\n \"store/gallery.gapType.none\": \"Žiadne\",\n \"store/gallery.gapType.small\": \"Malé\",\n \"store/gallery.gapType.medium\": \"Stredné\",\n \"store/gallery.gapType.large\": \"Veľké\",\n \"admin/editor.search-result-layout-custom.title\": \"Výsledok vyhľadávania – vlastné flexibilné rozloženie\",\n \"admin/editor.search-result-layout.title\": \"Výsledok vyhľadávania – flexibilné rozloženie\",\n \"admin/editor.search-result-mobile.title\": \"Výsledok vyhľadávania – flexibilné mobilné rozloženie\",\n \"admin/editor.search-result-desktop.title\": \"Výsledok vyhľadávania – flexibilné počítačové rozloženie\",\n \"store/search-result.price-ranges.submit\": \"Vyhľadávanie\",\n \"admin/editor.search-result.fetch-more\": \"Získať viac\",\n \"admin/editor.search-result.fetch-previous\": \"Získať predchádzajúce\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Správanie tlačidla\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Tlačidlo\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Odkaz na stránku – zlepšuje SEO, môže zmeniť vzhľad tlačidla\"\n}\n\n```" } ]
code_search-result_d9e5629f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/pt.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Resultados da busca\",\n \"admin/editor.search-result.query\": \"Consulta personalizada\",\n \"admin/editor.search-result.query.description\": \"Consulta feita sem contexto de busca.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Habilitar consulta personalizada\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Número máximo de itens por página de busca\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Ocultar itens indisponíveis\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtro de SKUs\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Configurar o primeiro filtro disponível torna sua consulta muito mais rápida.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Nenhum\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Primeiro disponível\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Todos disponíveis\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Comportamento de simulação\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Configure para pular simulação se desejar uma busca mais rápida, porém os SKUs podem não apresentar as informações de preço e estoque mais atualizadas.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Padrão\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Pular simulação\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Parcelamento\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Escolha qual tipo de parcelamento será exibido (ex.: máximo sem juros ou com juros).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Máximo sem juros\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Máximo\",\n \"admin/editor.search-result.pagination.title\": \"Tipo de paginação\",\n \"admin/editor.search-result.pagination.show-more\": \"Mostrar mais\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Rolagem infinita\",\n \"admin/editor.search-result.description\": \"Wrapper para exibição dos resultados da busca.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Número máximo de itens por linha\",\n \"admin/editor.search-result.mobileLayout\": \"Alternador de layout em dispositivos móveis\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Modo de layout 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Modo de layout 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtros ocultos\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Ocultar filtro de marcas\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Ocultar filtro de categorias\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Ocultar filtro de preço\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Ocultar filtros de especificações\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Ocultar todos os filtros de especificações\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtro de especificações oculto\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nome do filtro de especificações oculto\",\n \"admin/editor.search-result.showTitle\": \"Exibir título da categoria ou termo de busca na parte superior da galeria\",\n \"admin/editor.search-result.gap.title\": \"Espaço entre os itens da galeria\",\n \"admin/editor.search-result.facet-quantity\": \"Mostrar quantidade de itens do filtro\",\n \"admin/editor.search-result.advanced-settings.title\": \"Configurações avançadas\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nome do resultado de busca no GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nome a ser exibido no Google Analytics. Se não for adicionado um nome, será usado apenas \\\"Search result\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Ordenar por\",\n \"admin/editor.search-result.total-products\": \"Total de produtos\",\n \"store/search-result.show-more-button\": \"Mostrar mais\",\n \"store/search-result.show-previous-button\": \"Mostrar anteriores\",\n \"store/search-result.showing-products\": \"Mostrando {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} de {total, number}\",\n \"store/search-result.showing-all-products\": \"Você viu todos os {value} produtos\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtros\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtros\",\n \"store/search-result.filter-button.apply\": \"Aplicar\",\n \"store/search-result.filter-button.clear\": \"Limpar\",\n \"store/search-result.filter-button.clearAll\": \"Limpar tudo\",\n \"store/search-result.orderby.title\": \"Ordenar por\",\n \"store/search-result.clear-filters.title\": \"Limpar\",\n \"store/search-result.filter-action.title\": \"Filtrar\",\n \"store/search.filter.title.categories\": \"Departamentos\",\n \"store/search.filter.title.color\": \"Cor\",\n \"store/filter.more-departments\": \"Ver mais {quantity} departamentos\",\n \"store/filter.more-categories\": \"Ver mais {quantity} categorias\",\n \"store/filter.more-items\": \"Ver mais {quantity}\",\n \"store/filter.less-items\": \"Ver menos\",\n \"store/search.filter.placeholder\": \"Buscar por {filterName}\",\n \"store/search.filter.title.brands\": \"Marcas\",\n \"store/search.filter.title.price-ranges\": \"Faixas de preço\",\n \"store/search.text\": \"Exibindo {from}–{to} de {recordsFiltered} resultados\",\n \"store/search.filter.title.shipping\": \"Entrega\",\n \"store/search.filter.shipping.name.delivery\": \"Entregar em\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Retirada em\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Retirada em lojas próximas\",\n \"store/search.filter.shipping.name.pickup-all\": \"Retirada\",\n \"store/search.filter.shipping.action-button.delivery\": \"Insira seu código postal\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Insira a loja\",\n \"store/search.selected-filters\": \"Filtrado por:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {Produto} other {Produtos}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {Produto} other {Produtos}}</span>\",\n \"store/search.empty-products\": \"Não encontramos nenhum resultado para \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"O que eu devo fazer?\",\n \"store/search.what-to-do.1\": \"Verifique os termos digitados.\",\n \"store/search.what-to-do.2\": \"Tente utilizar uma única palavra.\",\n \"store/search.what-to-do.3\": \"Utilize termos genéricos na busca.\",\n \"store/search.what-to-do.4\": \"Tente utilizar sinônimos do termo desejado.\",\n \"store/search.no-products\": \"Nenhum produto encontrado\",\n \"store/ordenation.button\": \"Ordenar\",\n \"store/ordenation.sort-by\": \"Ordenar por\",\n \"store/ordenation.relevance\": \"Relevância\",\n \"store/ordenation.sales\": \"Mais vendidos\",\n \"store/ordenation.release.date\": \"Mais recentes\",\n \"store/ordenation.discount\": \"Desconto\",\n \"store/ordenation.price.descending\": \"Preço: Do maior para o menor\",\n \"store/ordenation.price.ascending\": \"Preço: Do menor para o maior\",\n \"store/ordenation.name.ascending\": \"Nome em ordem crescente\",\n \"store/ordenation.name.descending\": \"Nome em ordem decrescente\",\n \"store/layoutModeSwitcher.inline\": \"Linha\",\n \"store/layoutModeSwitcher.small\": \"Pequeno\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Nenhum\",\n \"store/gallery.gapType.small\": \"Pequeno\",\n \"store/gallery.gapType.medium\": \"Médio\",\n \"store/gallery.gapType.large\": \"Grande\",\n \"admin/editor.search-result-layout-custom.title\": \"Resultado de busca personalizada - Layout flexível\",\n \"admin/editor.search-result-layout.title\": \"Resultados da busca - Layout flexível\",\n \"admin/editor.search-result-mobile.title\": \"Resultados da busca com layout flexível - Dispositivos móveis\",\n \"admin/editor.search-result-desktop.title\": \"Resultados da busca com layout flexível - Desktop\",\n \"store/search-result.price-ranges.submit\": \"Buscar\",\n \"admin/editor.search-result.fetch-more\": \"Ver mais\",\n \"admin/editor.search-result.fetch-previous\": \"Ver anteriores\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportamento do botão\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Botão\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link para a página - Melhora o SEO, pode mudar a aparência do botão\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Próximo dia\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Mesmo dia\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Entrega no próximo dia\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Retirar no próximo dia\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Entrega no mesmo dia\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Retirar no mesmo dia\"\n}\n\n```" } ]
code_search-result_93d4dc2f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/en.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Search result\",\n \"admin/editor.search-result.query\": \"Custom query\",\n \"admin/editor.search-result.query.description\": \"Query made when no context is available.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Enable custom query\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximum number of items per search page\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Hide unavailable items\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Set the first available filter to make your query faster.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"None\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"First available\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"All available\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulation behavior\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Set to Skip simulation if you want faster queries, but keep in mind that SKUs may not display the most up-to-date price or stock information.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Default\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Skip simulation\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Installments\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Choose the installments that will be displayed with the products (e.g.: maximum without interest or with interest).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum without interest\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Pagination type\",\n \"admin/editor.search-result.pagination.show-more\": \"Show more\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Infinite scrolling\",\n \"admin/editor.search-result.description\": \"Wrapper for displaying search results.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximum number of items per line\",\n \"admin/editor.search-result.mobileLayout\": \"Mobile layout switcher\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layout mode 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layout mode 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Hidden filters\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Hide brand filter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Hide category filter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Hide price filter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Hide specification filters\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Hide all specification filters\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Hidden specification filter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Hidden specification filter name\",\n \"admin/editor.search-result.showTitle\": \"Show category title or search term above the gallery\",\n \"admin/editor.search-result.gap.title\": \"Gap between gallery items\",\n \"admin/editor.search-result.facet-quantity\": \"Show filter item quantity\",\n \"admin/editor.search-result.advanced-settings.title\": \"Advanced settings\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM search result name\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Name that will be shown on Google Analytics. If none is added, \\\"Search result\\\" will be displayed.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sort by\",\n \"admin/editor.search-result.total-products\": \"Total products\",\n \"store/search-result.show-more-button\": \"Show more\",\n \"store/search-result.show-previous-button\": \"Show previous\",\n \"store/search-result.showing-products\": \"Showing {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} of {total, number}\",\n \"store/search-result.showing-all-products\": \"You've viewed all {value} products\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filters\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filters\",\n \"store/search-result.filter-button.apply\": \"Apply\",\n \"store/search-result.filter-button.clear\": \"Clear\",\n \"store/search-result.filter-button.clearAll\": \"Clear all\",\n \"store/search-result.orderby.title\": \"Sort by\",\n \"store/search-result.clear-filters.title\": \"Clear\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Departments\",\n \"store/search.filter.title.color\": \"Color\",\n \"store/filter.more-departments\": \"See {quantity} more departments\",\n \"store/filter.more-categories\": \"See {quantity} more categories\",\n \"store/filter.more-items\": \"See {quantity} more\",\n \"store/filter.less-items\": \"See less\",\n \"store/search.filter.placeholder\": \"Search by {filterName}\",\n \"store/search.filter.title.brands\": \"Brands\",\n \"store/search.filter.title.price-ranges\": \"Price ranges\",\n \"store/search.text\": \"Showing {from}–{to} of {recordsFiltered} results\",\n \"store/search.filter.title.shipping\": \"Shipping\",\n \"store/search.filter.shipping.name.delivery\": \"Deliver to\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Pickup at\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Pickup nearby\",\n \"store/search.filter.shipping.name.pickup-all\": \"Pickup\",\n \"store/search.filter.shipping.action-button.delivery\": \"Enter location\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Enter store\",\n \"store/search.selected-filters\": \"Filtered by:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.empty-products\": \"We didn't find any results related to \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"What should I do?\",\n \"store/search.what-to-do.1\": \"Check the terms you entered.\",\n \"store/search.what-to-do.2\": \"Try using a single word.\",\n \"store/search.what-to-do.3\": \"Use generic terms in the search.\",\n \"store/search.what-to-do.4\": \"Try searching synonyms of the desired term.\",\n \"store/search.no-products\": \"No products were found\",\n \"store/ordenation.button\": \"Sort\",\n \"store/ordenation.sort-by\": \"Sort by\",\n \"store/ordenation.relevance\": \"Relevance\",\n \"store/ordenation.sales\": \"Sales\",\n \"store/ordenation.release.date\": \"Release date\",\n \"store/ordenation.discount\": \"Discount\",\n \"store/ordenation.price.descending\": \"Price: High to low\",\n \"store/ordenation.price.ascending\": \"Price: Low to high\",\n \"store/ordenation.name.ascending\": \"Name, ascending\",\n \"store/ordenation.name.descending\": \"Name, descending\",\n \"store/layoutModeSwitcher.inline\": \"Line\",\n \"store/layoutModeSwitcher.small\": \"Small\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"None\",\n \"store/gallery.gapType.small\": \"Small\",\n \"store/gallery.gapType.medium\": \"Medium\",\n \"store/gallery.gapType.large\": \"Large\",\n \"admin/editor.search-result-layout-custom.title\": \"Search result custom flexible layout\",\n \"admin/editor.search-result-layout.title\": \"Search result flexible layout\",\n \"admin/editor.search-result-mobile.title\": \"Search result flexible layout - Mobile\",\n \"admin/editor.search-result-desktop.title\": \"Search result flexible layout - Desktop\",\n \"store/search-result.price-ranges.submit\": \"Search\",\n \"admin/editor.search-result.fetch-more\": \"Load more\",\n \"admin/editor.search-result.fetch-previous\": \"Load previous\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Button behavior\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Button\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link to page - Improves SEO, may change how the button looks\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Next day\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Same day\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Delivery next day\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Pickup next day\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Delivery same day\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Pickup same day\"\n}\n\n```" } ]
code_search-result_5a8e2000
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/it.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Risultati della ricerca\",\n \"admin/editor.search-result.query\": \"Query personalizzata\",\n \"admin/editor.search-result.query.description\": \"Query effettuata in mancanza di contesto.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Abilita query personalizzata\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Numero massimo di articoli per pagina di ricerca\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Nascondi articoli non disponibili\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtro SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Imposta il primo filtro disponibile per rendere più rapida la tua query.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Nessuno\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Il primo disponibile\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Tutti quelli disponibili\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Comportamento di simulazione\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Imposta su \\\"Salta simulazione\\\" se desideri delle query più rapide, ma tieni presente che gli SKU potrebbero non riportare le informazioni aggiornate sui prezzi o sulle scorte.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Predefinito\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Salta simulazione\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Rate\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Scegli quale tipo di rateizzazione mostrare nei prodotti (ad esempio, massima senza interessi o con interessi).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Massima senza interessi\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Massima\",\n \"admin/editor.search-result.pagination.title\": \"Tipo di impaginazione\",\n \"admin/editor.search-result.pagination.show-more\": \"Mostra di più\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Scorrimento infinito\",\n \"admin/editor.search-result.description\": \"Wrapper dei risultati di ricerca.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Numero massimo di articoli per linea\",\n \"admin/editor.search-result.mobileLayout\": \"Switcher di layout per dispositivi mobili\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Modalità di layout 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Modalità di layout 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtri nascosti\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Nascondi il filtro del brand\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Nascondi il filtro della categoria\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Nascondi il filtro del prezzo\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Nascondi i filtri delle specifiche\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Nascondi tutti i filtri delle specifiche\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtro delle specifiche nascosto\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nome del filtro delle specifiche nascosto\",\n \"admin/editor.search-result.showTitle\": \"Mostra il titolo della categoria o il termine di ricerca sopra alla galleria\",\n \"admin/editor.search-result.gap.title\": \"Distanza tra gli articoli della galleria\",\n \"admin/editor.search-result.facet-quantity\": \"Mostra il filtro della quantità degli articoli\",\n \"admin/editor.search-result.advanced-settings.title\": \"Impostazioni avanzate\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nome del risultato di ricerca nel GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nome da mostrare in Google Analytics. Nel caso non venga impostato, verrà visualizzato semplicemente \\\"Risultati di ricerca\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Ordina per\",\n \"admin/editor.search-result.total-products\": \"Totale prodotti\",\n \"store/search-result.show-more-button\": \"Mostra di più\",\n \"store/search-result.show-previous-button\": \"Mostra precedenti\",\n \"store/search-result.showing-products\": \"Mostra {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} di {total, number}\",\n \"store/search-result.showing-all-products\": \"Hai visualizzato tutti i {value} prodotti\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtri\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtri\",\n \"store/search-result.filter-button.apply\": \"Applica\",\n \"store/search-result.filter-button.clear\": \"Rimuovi\",\n \"store/search-result.filter-button.clearAll\": \"Rimuovi tutto\",\n \"store/search-result.orderby.title\": \"Ordina per\",\n \"store/search-result.clear-filters.title\": \"Rimuovi\",\n \"store/search-result.filter-action.title\": \"Filtra\",\n \"store/search.filter.title.categories\": \"Reparti\",\n \"store/search.filter.title.color\": \"Colore\",\n \"store/filter.more-departments\": \"Visualizza altri {quantity} reparti\",\n \"store/filter.more-categories\": \"Visualizza altre {quantity} categorie\",\n \"store/filter.more-items\": \"Visualizza altri {quantity}\",\n \"store/filter.less-items\": \"Mostra di meno\",\n \"store/search.filter.placeholder\": \"Cerca per {filterName}\",\n \"store/search.filter.title.brands\": \"Brand\",\n \"store/search.filter.title.price-ranges\": \"Fasce di prezzo\",\n \"store/search.text\": \"Mostra {from}–{to} di {recordsFiltered} risultati\",\n \"store/search.filter.title.shipping\": \"Spedizione\",\n \"store/search.filter.shipping.name.delivery\": \"Consegna a\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Ritiro presso\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Ritiro nelle vicinanze\",\n \"store/search.filter.shipping.name.pickup-all\": \"Ritiro\",\n \"store/search.filter.shipping.action-button.delivery\": \"Inserisci località\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Inserisci negozio\",\n \"store/search.selected-filters\": \"Filtrato per:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {prodotto} other {prodotti}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {prodotto} other {prodotti}}</span>\",\n \"store/search.empty-products\": \"Non abbiamo trovato alcun risultato relativo a \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Che fare?\",\n \"store/search.what-to-do.1\": \"Verifica i termini inseriti.\",\n \"store/search.what-to-do.2\": \"Prova a utilizzare una sola parola.\",\n \"store/search.what-to-do.3\": \"Usa termini generici nella ricerca.\",\n \"store/search.what-to-do.4\": \"Prova a cercare dei sinonimi del termine desiderato.\",\n \"store/search.no-products\": \"Non è stato possibile trovare alcun prodotto\",\n \"store/ordenation.button\": \"Ordina\",\n \"store/ordenation.sort-by\": \"Ordina per\",\n \"store/ordenation.relevance\": \"Rilevanza\",\n \"store/ordenation.sales\": \"Vendite\",\n \"store/ordenation.release.date\": \"Data di rilascio\",\n \"store/ordenation.discount\": \"Sconto\",\n \"store/ordenation.price.descending\": \"Prezzo: decrescente\",\n \"store/ordenation.price.ascending\": \"Prezzo: crescente\",\n \"store/ordenation.name.ascending\": \"Nome, dalla A alla Z\",\n \"store/ordenation.name.descending\": \"Nome, dalla Z alla A\",\n \"store/layoutModeSwitcher.inline\": \"Linea\",\n \"store/layoutModeSwitcher.small\": \"Piccolo\",\n \"store/layoutModeSwitcher.normal\": \"Normale\",\n \"store/gallery.gapType.none\": \"Nessuna\",\n \"store/gallery.gapType.small\": \"Piccola\",\n \"store/gallery.gapType.medium\": \"Media\",\n \"store/gallery.gapType.large\": \"Grande\",\n \"admin/editor.search-result-layout-custom.title\": \"Layout flessibile e personalizzato dei risultati di ricerca\",\n \"admin/editor.search-result-layout.title\": \"Layout flessibile dei risultati di ricerca\",\n \"admin/editor.search-result-mobile.title\": \"Layout flessibile dei risultati di ricerca per dispositivi mobili\",\n \"admin/editor.search-result-desktop.title\": \"Layout flessibile dei risultati di ricerca per desktop\",\n \"store/search-result.price-ranges.submit\": \"Ricerca\",\n \"admin/editor.search-result.fetch-more\": \"Recupera altri\",\n \"admin/editor.search-result.fetch-previous\": \"Recupera precedenti\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportamento del pulsante\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Pulsante\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link alla pagina - Migliora la SEO, può cambiare l'aspetto del pulsante\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Giorno lavorativo successivo\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Stesso giorno\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Consegna il giorno lavorativo successivo\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Ritiro il giorno lavorativo successivo\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Consegna lo stesso giorno\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Ritiro lo stesso giorno\"\n}\n\n```" } ]
code_search-result_91c2046f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/fr.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Résultat de la recherche\",\n \"admin/editor.search-result.query\": \"Demande personnalisée\",\n \"admin/editor.search-result.query.description\": \"Demande effectuée en l’absence de contexte.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Activer la demande personnalisée\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Nombre maximum d’articles par page de recherche\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Masquer les articles non disponibles\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtre des SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Paramétrez le premier filtre disponible pour une demande plus rapide.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Aucun\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Premier disponible\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Tous disponibles\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulation\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Passez à l’étape suivante si vous souhaitez des demandes plus rapides, mais il se peut que les prix et les stocks des SKU ne soient pas les plus récents.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Par défaut\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Passer la simulation\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Versements\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Choisissez le type de versements à afficher (par ex : maximum sans frais ou avec les frais).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum sans frais\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Format de pagination\",\n \"admin/editor.search-result.pagination.show-more\": \"Afficher davantage\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Défilement infini\",\n \"admin/editor.search-result.description\": \"Enveloppe des résultats de recherche.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Nombre maximum d’articles par ligne\",\n \"admin/editor.search-result.mobileLayout\": \"Switcher affichage mobile\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Affichage 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Affichage 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtres masqués\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Masquer le filtre des marques\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Masquer le filtre des catégories\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Masquer le filtre tarifaire\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Masquer les filtres de caractéristiques\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Masquer tous les filtres des caractéristiques\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtre caractéristique masqué\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nom du filtre caractéristique masqué\",\n \"admin/editor.search-result.showTitle\": \"Afficher le titre de la catégorie ou le terme de recherche au-dessus de la galerie\",\n \"admin/editor.search-result.gap.title\": \"Espace entre les articles de la gallery\",\n \"admin/editor.search-result.facet-quantity\": \"Afficher le filtre de la quantité d’articles\",\n \"admin/editor.search-result.advanced-settings.title\": \"Paramètres avancés\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nom du résultat de recherche GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nom à afficher dans Google Analytics. Si rien n’est noté, seulement « Résultat de recherche » sera utilisé.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Trier par\",\n \"admin/editor.search-result.total-products\": \"Total des produits\",\n \"store/search-result.show-more-button\": \"Afficher davantage\",\n \"store/search-result.show-previous-button\": \"Afficher le précédent\",\n \"store/search-result.showing-products\": \"Afficher {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} de {total, number}\",\n \"store/search-result.showing-all-products\": \"Vous avez consulté tous les {value} produits\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtres\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtres\",\n \"store/search-result.filter-button.apply\": \"Faire la demande\",\n \"store/search-result.filter-button.clear\": \"Effacer\",\n \"store/search-result.filter-button.clearAll\": \"Tout effacer\",\n \"store/search-result.orderby.title\": \"Trier par\",\n \"store/search-result.clear-filters.title\": \"Effacer\",\n \"store/search-result.filter-action.title\": \"Filtre\",\n \"store/search.filter.title.categories\": \"Services\",\n \"store/search.filter.title.color\": \"Couleur\",\n \"store/filter.more-departments\": \"Voir {quantity} plus de services\",\n \"store/filter.more-categories\": \"Voir {quantity} plus de catégories\",\n \"store/filter.more-items\": \"Voir {quantity} plus\",\n \"store/filter.less-items\": \"Voir moins\",\n \"store/search.filter.placeholder\": \"Rechercher par {filterName}\",\n \"store/search.filter.title.brands\": \"Marques\",\n \"store/search.filter.title.price-ranges\": \"Gammes de prix\",\n \"store/search.text\": \"Afficher les {from}-{to} des {recordsFiltered} résultats\",\n \"store/search.filter.title.shipping\": \"Expédition\",\n \"store/search.filter.shipping.name.delivery\": \"Livrer à\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Retrait à\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Retrait à proximité\",\n \"store/search.filter.shipping.name.pickup-all\": \"Point de retrait\",\n \"store/search.filter.shipping.action-button.delivery\": \"Saisir la localisation\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Saisir le magasin\",\n \"store/search.selected-filters\": \"Filtré par :\",\n \"store/search.total-products\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produit} other {produits}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produit} other {produits}}</span>\",\n \"store/search.empty-products\": \"Nous n’avons trouvé aucun résultat lié à \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Que faire ?\",\n \"store/search.what-to-do.1\": \"Vérifiez les termes que vous avez tapés.\",\n \"store/search.what-to-do.2\": \"Essayez d’utiliser un seul mot.\",\n \"store/search.what-to-do.3\": \"Utilisez des termes génériques dans la recherche.\",\n \"store/search.what-to-do.4\": \"Essayez d’utiliser des synonymes du terme souhaité.\",\n \"store/search.no-products\": \"Aucun produit n'a été trouvé\",\n \"store/ordenation.button\": \"Trier\",\n \"store/ordenation.sort-by\": \"Trier par\",\n \"store/ordenation.relevance\": \"Pertinence\",\n \"store/ordenation.sales\": \"Ventes\",\n \"store/ordenation.release.date\": \"Date de sortie\",\n \"store/ordenation.discount\": \"Réduction\",\n \"store/ordenation.price.descending\": \"Prix : du plus cher au moins cher\",\n \"store/ordenation.price.ascending\": \"Prix : du moins cher au plus cher\",\n \"store/ordenation.name.ascending\": \"Nom, en ordre croissant\",\n \"store/ordenation.name.descending\": \"Nom, en ordre décroissant\",\n \"store/layoutModeSwitcher.inline\": \"Ligne\",\n \"store/layoutModeSwitcher.small\": \"Petit\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Aucun\",\n \"store/gallery.gapType.small\": \"Petit\",\n \"store/gallery.gapType.medium\": \"Moyen\",\n \"store/gallery.gapType.large\": \"Grand\",\n \"admin/editor.search-result-layout-custom.title\": \"Mise en page flexible et personnalisée du résultat de recherche\",\n \"admin/editor.search-result-layout.title\": \"Mise en page flexible du résultat de recherche\",\n \"admin/editor.search-result-mobile.title\": \"Mise en page flexible du résultat de recherche sur mobile\",\n \"admin/editor.search-result-desktop.title\": \"Mise en page flexible du résultat de recherche sur ordinateur\",\n \"store/search-result.price-ranges.submit\": \"Rechercher\",\n \"admin/editor.search-result.fetch-more\": \"Récupérer plus\",\n \"admin/editor.search-result.fetch-previous\": \"Récupérer le précédent\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportement du bouton\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Bouton\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Lien vers la page - Améliore le référencement SEO, peut changer l’apparence du bouton\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Jour ouvrable suivant\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Même jour\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Livraison le jour ouvrable suivant\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Retrait le jour ouvrable suivant\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Livraison le même jour\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Retrait le même jour\"\n}\n\n```" } ]
code_search-result_9da8568a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/el.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Αποτέλεσμα αναζήτησης\",\n \"admin/editor.search-result.query\": \"Προσαρμογή ερωτήματος\",\n \"admin/editor.search-result.query.description\": \"Ερώτημα όταν δεν υπάρχει συγκείμενο.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Δυνατότητα προσαρμογής ερωτήματος\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Μέγιστος αριθμός προϊόντων ανά σελίδα αναζήτησης\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Απόκρυψη μη διαθέσιμων προϊόντων\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU φίλτρο\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Ορισμός του πρώτου διαθέσιμου φίλτρου για πιο γρήγορο ερώτημα.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Κανένα\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Πρώτο διαθέσιμο\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Όλα τα διαθέσιμα\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Συμπεριφορά προσομοίωσης\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Παράλειψη αν επιθυμείτε πιο γρήγορα ερωτήματα αλλά το SKUs μπορεί να μην έχει τις πιο ενημερωμένες τιμές ή το απόθεμα.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Προεπιλογή\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Παράλειψη προσομοίωσης\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Δόσεις\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Επιλέξτε τις δόσεις που θα εμφανίζονται μαζί με τα προϊόντα (π.χ.: μέγιστο χωρίς τόκο ή με τόκο).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Μέγιστο χωρίς τόκο\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Μέγιστο\",\n \"admin/editor.search-result.pagination.title\": \"Τύπος σελιδαρίθμησης\",\n \"admin/editor.search-result.pagination.show-more\": \"Εμφάνιση περισσότερων\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Απεριόριστο σκρολάρισμα\",\n \"admin/editor.search-result.description\": \"Περιτύλιγμα για την εμφάνιση αποτελεσμάτων αναζήτησης.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Μέγιστος αριθμός προϊόντων ανά γραμμή\",\n \"admin/editor.search-result.mobileLayout\": \"Διακόπτης Διάταξης Κινητού\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Μέθοδος Διάταξης 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Μέθοδος Διάταξης 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Κρυμμένα φίλτρα\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Απόκρυψη φίλτρου επωνυμίας\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Απόκρυψη φίλτρου κατηγορίας\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Απόκρυψη φίλτρου τιμής\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Απόκρυψη φίλτρων προδιαγραφών\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Απόκρυψη όλων των φίλτρων προδιαγραφών\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Κρυμμένο φίλτρο προδιαγραφών\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Κρυμμένο όνομα φίλτρου προδιαγραφών\",\n \"admin/editor.search-result.showTitle\": \"Εμφάνιση τίτλου κατηγορίας ή όρου αναζήτησης πάνω από τη συλλογή\",\n \"admin/editor.search-result.gap.title\": \"Κενό ανάμεσα στα προϊόντα της συλλογής\",\n \"admin/editor.search-result.facet-quantity\": \"Εμφάνιση φίλτρου ποσότητας προϊόντων\",\n \"admin/editor.search-result.advanced-settings.title\": \"Προηγμένες ρυθμίσεις\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Όνομα αποτελέσματος αναζήτησης GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Όνομα που θα εμφανίζεται στο Google Analytics. Αν δεν προστεθεί κανένα, θα εμφανιστεί η \\\"Αναζήτηση αποτελέσματος\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Ταξινόμηση ανά\",\n \"admin/editor.search-result.total-products\": \"Σύνολο προϊόντων\",\n \"store/search-result.show-more-button\": \"Εμφάνιση περισσότερων\",\n \"store/search-result.show-previous-button\": \"Εμφάνιση προηγούμενων\",\n \"store/search-result.showing-products\": \"Προβολή {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} από {total, number}\",\n \"store/search-result.showing-all-products\": \"Έχετε δει όλα τα {value} προϊόντα\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Φίλτρα\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Φίλτρα\",\n \"store/search-result.filter-button.apply\": \"Εφαρμογή\",\n \"store/search-result.filter-button.clear\": \"Εκκαθάριση\",\n \"store/search-result.filter-button.clearAll\": \"Εκκαθάριση όλων\",\n \"store/search-result.orderby.title\": \"Ταξινόμηση ανά\",\n \"store/search-result.clear-filters.title\": \"Εκκαθάριση\",\n \"store/search-result.filter-action.title\": \"Φίλτρο\",\n \"store/search.filter.title.categories\": \"Τμήματα\",\n \"store/search.filter.title.color\": \"Χρώμα\",\n \"store/filter.more-departments\": \"Βλέπε {quantity} περισσότερα τμήματα\",\n \"store/filter.more-categories\": \"Βλέπε {quantity} περισσότερες κατηγορίες\",\n \"store/filter.more-items\": \"Βλέπε {quantity} επιπλέον\",\n \"store/filter.less-items\": \"Βλέπε λιγότερα\",\n \"store/search.filter.placeholder\": \"Αναζήτηση ανά {filterName}\",\n \"store/search.filter.title.brands\": \"Εμπορικές επωνυμίες\",\n \"store/search.filter.title.price-ranges\": \"Εύρος τιμών\",\n \"store/search.text\": \"Γίνεται εμφάνιση {from}–{to} από {recordsFiltered} αποτελέσματα\",\n \"store/search.filter.title.shipping\": \"Μεταφορά\",\n \"store/search.filter.shipping.name.delivery\": \"Παράδοση προς\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Παραλαβή σε\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Παραλαβή πλησίον\",\n \"store/search.filter.shipping.name.pickup-all\": \"Παραλαβή\",\n \"store/search.filter.shipping.action-button.delivery\": \"Εισαγάγετε τοποθεσία\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Εισαγάγετε κατάστημα\",\n \"store/search.selected-filters\": \"Φιλτράρισμα ανά:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.empty-products\": \"Δεν βρήκαμε κανένα αποτέλεσμα σχετικό με \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Τι πρέπει να κάνω;\",\n \"store/search.what-to-do.1\": \"Επαληθεύετε τους όρους που πληκτρολογήσατε.\",\n \"store/search.what-to-do.2\": \"Δοκιμάστε να χρησιμοποιήσετε μία μόνο λέξη.\",\n \"store/search.what-to-do.3\": \"Χρησιμοποιήστε γενικούς όρους στην αναζήτηση.\",\n \"store/search.what-to-do.4\": \"Δοκιμάστε να αναζητήσετε συνώνυμα του επιθυμητού όρου.\",\n \"store/search.no-products\": \"Δεν βρέθηκαν προϊόντα\",\n \"store/ordenation.button\": \"Ταξινόμηση\",\n \"store/ordenation.sort-by\": \"Ταξινόμηση ανά\",\n \"store/ordenation.relevance\": \"Σχετικότητα\",\n \"store/ordenation.sales\": \"Πωλήσεις\",\n \"store/ordenation.release.date\": \"Ημερομηνία κυκλοφορίας\",\n \"store/ordenation.discount\": \"Έκπτωση\",\n \"store/ordenation.price.descending\": \"Τιμή: Υψηλή προς χαμηλή\",\n \"store/ordenation.price.ascending\": \"Τιμή: χαμηλή προς υψηλή\",\n \"store/ordenation.name.ascending\": \"Όνομα, αύξουσα σειρά\",\n \"store/ordenation.name.descending\": \"Όνομα, φθίνουσα σειρά\",\n \"store/layoutModeSwitcher.inline\": \"Γραμμή\",\n \"store/layoutModeSwitcher.small\": \"Μικρή\",\n \"store/layoutModeSwitcher.normal\": \"Κανονική\",\n \"store/gallery.gapType.none\": \"Καμία\",\n \"store/gallery.gapType.small\": \"Μικρή\",\n \"store/gallery.gapType.medium\": \"Μεσαία\",\n \"store/gallery.gapType.large\": \"Μεγάλη\",\n \"admin/editor.search-result-layout-custom.title\": \"Προσαρμοσμένη ευέλικτη διάταξη αναζήτησης αποτελέσματος\",\n \"admin/editor.search-result-layout.title\": \"Ευέλικτη διάταξη αναζήτησης αποτελέσματος\",\n \"admin/editor.search-result-mobile.title\": \"Ευέλικτη διάταξη αναζήτησης αποτελέσματος - Κινητό\",\n \"admin/editor.search-result-desktop.title\": \"Ευέλικτη διάταξη αναζήτησης αποτελέσματος - Επιφάνεια εργασίας\",\n \"store/search-result.price-ranges.submit\": \"Αναζήτηση\",\n \"admin/editor.search-result.fetch-more\": \"Ανάκτηση περισσότερων\",\n \"admin/editor.search-result.fetch-previous\": \"Ανάκτηση προηγούμενου\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Συμπεριφορά κουμπιού\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Κουμπί\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Σύνδεσμος για τη σελίδα - Βελτιώνει τη μηχανή αναζήτησης, μπορεί να αλλάξει την εμφάνιση του κουμπιού\"\n}\n\n```" } ]
code_search-result_a2ed06fd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/bg.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Резултат от търсенето\",\n \"admin/editor.search-result.query\": \"Персонализирано запитване\",\n \"admin/editor.search-result.query.description\": \"Запитване, направено при липса на контекст.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Активиране на персонализирано запитване\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Максимален брой елементи на страница от търсенето\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Скриване на недостъпните елементи\",\n \"admin/editor.search-result.query.skusFilter\": \"Филтър по SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Задайте първия достъпен филтър, за да направите запитването си по-бързо.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Никакъв\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Първият наличен\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Всички налични\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Симулатор на поведение\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Ако искате по-бързи запитвания, задайте Пропускане на симулацията, но имайте предвид, че SKU може да не покажат най-актуалната информация за цена или наличност.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"По подразбиране\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Пропускане на симулацията\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Вноски\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Изберете вноските, които ще се показват с продуктите (напр.: максимални без лихва или с лихва).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Максимални без лихва\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Максимум\",\n \"admin/editor.search-result.pagination.title\": \"Вид страниране\",\n \"admin/editor.search-result.pagination.show-more\": \"Показване на повече\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Безкрайно превъртане\",\n \"admin/editor.search-result.description\": \"Обвивка за показване на резултатите от търсенето.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Максимален брой елементи на ред\",\n \"admin/editor.search-result.mobileLayout\": \"Превключвател на оформлението за мобилно устройство\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Режим на оформление 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Режим на оформление 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Скрити филтри\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Скриване на филтър по брандове\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Скриване на филтър по категории\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Скриване на филтър по цени\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Скриване на филтър по спецификации\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Скриване на всички филтри по спецификации\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Скрит филтър по спецификации\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Име на скрит филтър по спецификации\",\n \"admin/editor.search-result.showTitle\": \"Показване на название на категорията или термина за търсене над галерията\",\n \"admin/editor.search-result.gap.title\": \"Разстояние между обектите на галерията\",\n \"admin/editor.search-result.facet-quantity\": \"Показване на количеството филтрирани елементи\",\n \"admin/editor.search-result.advanced-settings.title\": \"Разширени настройки\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Име на резултата от търсенето в GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Име за показване в Google Analytics. Ако не е добавено, ще се показва „Резултат от търсенето“.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Сортиране по\",\n \"admin/editor.search-result.total-products\": \"Общо продукти\",\n \"store/search-result.show-more-button\": \"Показване на повече\",\n \"store/search-result.show-previous-button\": \"Показване на предишен\",\n \"store/search-result.showing-products\": \"Показване на {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} от {total, number}\",\n \"store/search-result.showing-all-products\": \"Прегледали сте всички {value} продукта\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Филтри\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Филтри\",\n \"store/search-result.filter-button.apply\": \"Прилагане\",\n \"store/search-result.filter-button.clear\": \"Изчистване\",\n \"store/search-result.filter-button.clearAll\": \"Изчистване на всички\",\n \"store/search-result.orderby.title\": \"Сортиране по\",\n \"store/search-result.clear-filters.title\": \"Изчистване\",\n \"store/search-result.filter-action.title\": \"Филтриране\",\n \"store/search.filter.title.categories\": \"Отдели\",\n \"store/search.filter.title.color\": \"Цвят\",\n \"store/filter.more-departments\": \"Вижте още {quantity} отдела\",\n \"store/filter.more-categories\": \"Вижте още {quantity} категории\",\n \"store/filter.more-items\": \"Вижте още {quantity}\",\n \"store/filter.less-items\": \"Вижте по-малко\",\n \"store/search.filter.placeholder\": \"Търсене по {filterName}\",\n \"store/search.filter.title.brands\": \"Брандове\",\n \"store/search.filter.title.price-ranges\": \"Ценови диапазони\",\n \"store/search.text\": \"Показване на {from}–{to} от {recordsFiltered} резултата\",\n \"store/search.filter.title.shipping\": \"Доставка\",\n \"store/search.filter.shipping.name.delivery\": \"Доставка до\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Вземане от\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Вземане наблизо\",\n \"store/search.filter.shipping.name.pickup-all\": \"Вземане\",\n \"store/search.filter.shipping.action-button.delivery\": \"Въвеждане на местоположение\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Въвеждане на магазин\",\n \"store/search.selected-filters\": \"Филтрирани по:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {продукт} other {продукта}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {продукт} other {продукта}}</span>\",\n \"store/search.empty-products\": \"Не намерихме никакви резултати, свързани с \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Какво да правя?\",\n \"store/search.what-to-do.1\": \"Проверете въведените от вас термини.\",\n \"store/search.what-to-do.2\": \"Опитайте да използвате една дума.\",\n \"store/search.what-to-do.3\": \"Използвайте родови понятия в търсенето.\",\n \"store/search.what-to-do.4\": \"Опитайте да търсите синоними на желания термин.\",\n \"store/search.no-products\": \"Няма намерени продукти\",\n \"store/ordenation.button\": \"Сортиране\",\n \"store/ordenation.sort-by\": \"Сортиране по\",\n \"store/ordenation.relevance\": \"Приложимост\",\n \"store/ordenation.sales\": \"Разпродажби\",\n \"store/ordenation.release.date\": \"Дата на излизане\",\n \"store/ordenation.discount\": \"Отстъпка\",\n \"store/ordenation.price.descending\": \"Цена: от най-висока към най-ниска\",\n \"store/ordenation.price.ascending\": \"Цена: от най-ниска към най-висока\",\n \"store/ordenation.name.ascending\": \"Име, възходящо\",\n \"store/ordenation.name.descending\": \"Име, низходящо\",\n \"store/layoutModeSwitcher.inline\": \"Линия\",\n \"store/layoutModeSwitcher.small\": \"Малка\",\n \"store/layoutModeSwitcher.normal\": \"Нормална\",\n \"store/gallery.gapType.none\": \"Никаква\",\n \"store/gallery.gapType.small\": \"Малка\",\n \"store/gallery.gapType.medium\": \"Средна\",\n \"store/gallery.gapType.large\": \"Голяма\",\n \"admin/editor.search-result-layout-custom.title\": \"Гъвкаво персонализирано оформление на резултатите от търсенето\",\n \"admin/editor.search-result-layout.title\": \"Гъвкаво оформление на резултатите от търсенето\",\n \"admin/editor.search-result-mobile.title\": \"Гъвкаво оформление на резултатите от търсенето за мобилно устройство\",\n \"admin/editor.search-result-desktop.title\": \"Гъвкаво оформление на резултатите от търсенето за настолен компютър\",\n \"store/search-result.price-ranges.submit\": \"Търсене\",\n \"admin/editor.search-result.fetch-more\": \"Извличане на повече\",\n \"admin/editor.search-result.fetch-previous\": \"Извличане на предишно\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Поведение на бутона\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Бутон\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Връзка към страница – Подобрява SEO оптимизацията, може да промени начина, по който изглежда бутонът\"\n}\n\n```" } ]
code_search-result_0412e649
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ro.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Rezultate căutare\",\n \"admin/editor.search-result.query\": \"Interogare personalizată\",\n \"admin/editor.search-result.query.description\": \"Interogare pentru situații în care nu există context.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Activează interogarea personalizată\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Număr maxim de articole pentru pagina de căutare\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Ascunde articolele indisponibile\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtru SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Setează primul filtru disponibil pentru a face interogarea mai rapidă.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Niciunul\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Primul disponibil\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Toate disponibile\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulator comportament\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Setează la „Sari peste simulare” dacă dorești interogări mai rapide, dar reține că este posibil ca SKU-urile să nu afișeze cele mai noi informații despre preț sau stoc.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Prestabilit\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Sari peste simulare\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Rate\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Alege ratele care vor fi afișate împreună cu produsele (de exemplu: maxim fără dobândă sau cu dobândă).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum fără dobândă\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum\",\n \"admin/editor.search-result.pagination.title\": \"Tip paginare\",\n \"admin/editor.search-result.pagination.show-more\": \"Arată mai mult\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Derulare infinită\",\n \"admin/editor.search-result.description\": \"Wrapper pentru afișarea rezultatelor căutării.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Numărul maxim de articole per linie\",\n \"admin/editor.search-result.mobileLayout\": \"Comutator pentru afișare pe mobil\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Mod afișare 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Mod afișare 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtre ascunse\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Ascunde filtru „Mărci”\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Ascunde filtru „Categorii”\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Ascunde filtru „Preț”\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Ascunde filtru „Specificație”\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Ascunde toate filtrele „Specificație”\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtru „Specificații” ascuns\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Denumire filtru „Specificație” ascunsă\",\n \"admin/editor.search-result.showTitle\": \"Afișează titlul categoriei sau termenul căutat deasupra galeriei\",\n \"admin/editor.search-result.gap.title\": \"Spațiu între articolele din galerie\",\n \"admin/editor.search-result.facet-quantity\": \"Afișează filtru cantitate articol\",\n \"admin/editor.search-result.advanced-settings.title\": \"Setări avansate\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Denumire rezultat căutare GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Denumirea afișată în Google Analytics. Dacă nu este completat, se va folosi „Rezultat căutare”.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sortează după\",\n \"admin/editor.search-result.total-products\": \"Total produse\",\n \"store/search-result.show-more-button\": \"Arată mai mult\",\n \"store/search-result.show-previous-button\": \"Afișează anterior\",\n \"store/search-result.showing-products\": \"Afișează {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} din {total, number}\",\n \"store/search-result.showing-all-products\": \"Ai vizualizat toate cele {value} produse\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtre\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtre\",\n \"store/search-result.filter-button.apply\": \"Aplică\",\n \"store/search-result.filter-button.clear\": \"Elimină\",\n \"store/search-result.filter-button.clearAll\": \"Șterge tot\",\n \"store/search-result.orderby.title\": \"Sortează după\",\n \"store/search-result.clear-filters.title\": \"Elimină\",\n \"store/search-result.filter-action.title\": \"Filtrează\",\n \"store/search.filter.title.categories\": \"Departamente\",\n \"store/search.filter.title.color\": \"Culoare\",\n \"store/filter.more-departments\": \"Vezi încă {quantity} departamente\",\n \"store/filter.more-categories\": \"Vezi încă {quantity} categorii\",\n \"store/filter.more-items\": \"Vezi încă {quantity}\",\n \"store/filter.less-items\": \"Vezi mai puțin\",\n \"store/search.filter.placeholder\": \"Caută după {filterName}\",\n \"store/search.filter.title.brands\": \"Branduri\",\n \"store/search.filter.title.price-ranges\": \"Intervale de prețuri\",\n \"store/search.filter.title.shipping\": \"Transport\",\n \"store/search.filter.shipping.name.delivery\": \"Livrează la\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Ridicare la\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Ridicare în apropiere\",\n \"store/search.filter.shipping.name.pickup-all\": \"Ridicare\",\n \"store/search.filter.shipping.action-button.delivery\": \"Introdu locația\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Introdu magazinul\",\n \"store/search.text\": \"Afișează {from}-{to} de la {recordsFiltered} înregistrări\",\n \"store/search.selected-filters\": \"Filtru după:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produs} few {produse} other {de produse}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produs} few {produse} other {de produse}}</span>\",\n \"store/search.empty-products\": \"Nu am găsit niciun rezultat legat de \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Ce să fac?\",\n \"store/search.what-to-do.1\": \"Verifică termenii pe care i-ai introdus.\",\n \"store/search.what-to-do.2\": \"Încearcă să folosești un singur cuvânt.\",\n \"store/search.what-to-do.3\": \"Folosește termeni generici în căutare.\",\n \"store/search.what-to-do.4\": \"Încearcă să cauți folosind sinonime alte termenului dorit.\",\n \"store/search.no-products\": \"Nu au fost găsite produse\",\n \"store/ordenation.button\": \"Sortează\",\n \"store/ordenation.sort-by\": \"Sortează după\",\n \"store/ordenation.relevance\": \"Relevanță\",\n \"store/ordenation.sales\": \"Vânzări\",\n \"store/ordenation.release.date\": \"Data publicării\",\n \"store/ordenation.discount\": \"Reducere\",\n \"store/ordenation.price.descending\": \"Preț: de la mare la mic\",\n \"store/ordenation.price.ascending\": \"Pret: de la mic la mare\",\n \"store/ordenation.name.ascending\": \"Denumire, crescătoare\",\n \"store/ordenation.name.descending\": \"Denumire, descrescătoare\",\n \"store/layoutModeSwitcher.inline\": \"Linie\",\n \"store/layoutModeSwitcher.small\": \"Mic\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Niciunul\",\n \"store/gallery.gapType.small\": \"Mic\",\n \"store/gallery.gapType.medium\": \"Mediu\",\n \"store/gallery.gapType.large\": \"Mare\",\n \"admin/editor.search-result-layout-custom.title\": \"Mod de afișare rezultat personalizat flexibil\",\n \"admin/editor.search-result-layout.title\": \"Mod de afișare rezultat flexibil\",\n \"admin/editor.search-result-mobile.title\": \"Mod de afișare rezultat flexibil pentru mobil\",\n \"admin/editor.search-result-desktop.title\": \"Mod de afișare rezultat pentru desktop\",\n \"store/search-result.price-ranges.submit\": \"Căutare\",\n \"admin/editor.search-result.fetch-more\": \"Preia mai multe\",\n \"admin/editor.search-result.fetch-previous\": \"Preia anterioarele\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportament buton\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Buton\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link către pagină - Îmbunătățește SEO, poate schimba modul în care arată butonul\"\n}\n\n```" } ]
code_search-result_1813a61a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/jp.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"検索結果\",\n \"admin/editor.search-result.query\": \"カスタムクエリ\",\n \"admin/editor.search-result.query.description\": \"コンテキストがない場合のクエリです。\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"カスタムクエリを有効にする\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"検索結果1ページあたりに表示される最大項目数\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"利用できない項目を非表示にする\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU フィルタ\",\n \"admin/editor.search-result.query.skusFilter.description\": \"クエリを早くするため、利用できるフィルタを最初に設定します。\",\n \"admin/editor.search-result.query.skusFilter.none\": \"なし\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"最初に利用可能\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"すべて利用可能\",\n \"admin/editor.search-result.query.simulationBehavior\": \"シミュレーション動作\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"クエリをもっと早くしたい場合、[シミュレーションをスキップ] に設定してください。ただし、SKU に最新の価格や在庫情報が反映されないことがあるため、ご注意ください。\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"デフォルト\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"シミュレーションをスキップ\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"分割払い\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"製品と一緒に表示される分割払いを選びます(例:金利込みあるいは金利抜きでの最大値)。\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"金利を別にした最大値\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"金利を含めた最大値\",\n \"admin/editor.search-result.pagination.title\": \"ページネーションのタイプ\",\n \"admin/editor.search-result.pagination.show-more\": \"次を表示\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"無限スクロール\",\n \"admin/editor.search-result.description\": \"検索結果を表示するラッパーです。\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"1行あたりに表示される最大項目数\",\n \"admin/editor.search-result.mobileLayout\": \"モバイルレイアウトの切り替え\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"レイアウトモード1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"レイアウトモード2\",\n \"admin/editor.search-result.hiddenFacets\": \"非表示のフィルタ\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"ブランドフィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"カテゴリフィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"価格フィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"仕様フィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"すべての仕様フィルタを非表示にする\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"非表示の仕様フィルタ\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"非表示の仕様フィルタ名\",\n \"admin/editor.search-result.showTitle\": \"カテゴリタイトルを表示するか、またはギャラリーの上にある語句を検索する\",\n \"admin/editor.search-result.gap.title\": \"ギャラリー項目間のギャップ\",\n \"admin/editor.search-result.facet-quantity\": \"フィルタ項目数を表示する\",\n \"admin/editor.search-result.advanced-settings.title\": \"高度な設定\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM 検索結果名\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Googleアナリティクスに表示される名前。未入力の場合は「検索結果」と表示されます。\",\n \"admin/editor.search-result.ordination.sort-by\": \"並び替えの基準\",\n \"admin/editor.search-result.total-products\": \"製品の合計\",\n \"store/search-result.show-more-button\": \"次を表示\",\n \"store/search-result.show-previous-button\": \"前を表示\",\n \"store/search-result.showing-products\": \"{value} 個を表示中\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} / {total, number}\",\n \"store/search-result.showing-all-products\": \"全 {value} 個の製品を表示しました\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"フィルタ\",\n \"store/search-result.filter-breadcrumbs.primary\": \"フィルタ\",\n \"store/search-result.filter-button.apply\": \"適用\",\n \"store/search-result.filter-button.clear\": \"クリア\",\n \"store/search-result.filter-button.clearAll\": \"すべてクリア\",\n \"store/search-result.orderby.title\": \"並び替えの基準\",\n \"store/search-result.clear-filters.title\": \"クリア\",\n \"store/search-result.filter-action.title\": \"フィルタ\",\n \"store/search.filter.title.categories\": \"部門\",\n \"store/search.filter.title.color\": \"色\",\n \"store/filter.more-departments\": \"さらに {quantity} 個の部門を表示\",\n \"store/filter.more-categories\": \"さらに {quantity} 個のカテゴリを表示\",\n \"store/filter.more-items\": \"さらに {quantity} 個を表示\",\n \"store/filter.less-items\": \"一部を表示\",\n \"store/search.filter.placeholder\": \"{filterName} で検索\",\n \"store/search.filter.title.brands\": \"ブランド\",\n \"store/search.filter.title.price-ranges\": \"価格の範囲\",\n \"store/search.text\": \"{from}–{to} に該当する {recordsFiltered} の検索結果を表示中\",\n \"store/search.selected-filters\": \"検索条件:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, other {製品}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, other {製品}}</span>\",\n \"store/search.empty-products\": \"「{term}」に関連した結果は見つかりませんでした\",\n \"store/search.what-do-i-do\": \"以下を試してください\",\n \"store/search.what-to-do.1\": \"入力した語句を確認してください。\",\n \"store/search.what-to-do.2\": \"単語を1つにしてみてください。\",\n \"store/search.what-to-do.3\": \"一般的な語句で検索してください。\",\n \"store/search.what-to-do.4\": \"探している語句の類義語で検索してみてください。\",\n \"store/search.no-products\": \"製品が見つかりません\",\n \"store/ordenation.button\": \"並べ替え\",\n \"store/ordenation.sort-by\": \"並び替えの基準\",\n \"store/ordenation.relevance\": \"関連度\",\n \"store/ordenation.sales\": \"売上高\",\n \"store/ordenation.release.date\": \"発売日\",\n \"store/ordenation.discount\": \"割引率\",\n \"store/ordenation.price.descending\": \"価格:高い順\",\n \"store/ordenation.price.ascending\": \"価格:低い順\",\n \"store/ordenation.name.ascending\": \"名前(昇順)\",\n \"store/ordenation.name.descending\": \"名前(降順)\",\n \"store/layoutModeSwitcher.inline\": \"行\",\n \"store/layoutModeSwitcher.small\": \"小\",\n \"store/layoutModeSwitcher.normal\": \"普通\",\n \"store/gallery.gapType.none\": \"なし\",\n \"store/gallery.gapType.small\": \"小\",\n \"store/gallery.gapType.medium\": \"中\",\n \"store/gallery.gapType.large\": \"大\",\n \"admin/editor.search-result-layout-custom.title\": \"検索結果カスタム・フレキシブルレイアウト\",\n \"admin/editor.search-result-layout.title\": \"検索結果フレキシブルレイアウト\",\n \"admin/editor.search-result-mobile.title\": \"検索結果フレキシブルレイアウト・モバイル\",\n \"admin/editor.search-result-desktop.title\": \"検索結果フレキシブルレイアウト・デスクトップ\",\n \"store/search-result.price-ranges.submit\": \"検索\",\n \"admin/editor.search-result.fetch-more\": \"次の検索結果を取得\",\n \"admin/editor.search-result.fetch-previous\": \"前の検索結果を取得\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"ボタンの動作\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"ボタン\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"ページへのリンク。これにより SEO は改善されますが、ボタンの見た目が変更されることがあります。\"\n}\n\n```" } ]
code_search-result_1285c35b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ca.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Resultat de la cerca\",\n \"admin/editor.search-result.query\": \"Consulta personalitzada\",\n \"admin/editor.search-result.query.description\": \"Consulta feta quan no hi ha cap context.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Habilita la consulta personalitzada\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Nombre màxim d'articles per pàgina de cerca\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Amaga els articles no disponibles\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtre de SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Establiu el primer filtre disponible perquè la consulta es realitzi més de pressa.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Cap\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Primer disponible\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Tots els disponibles\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Comportament de simulació\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Trieu l'opció Omet la simulació si voleu que les consultes es realitzin més de pressa, però teniu en compte que llavors és possible que els SKU no reflecteixin els preus ni l'estoc més actualitzats.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Predeterminat\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Omet la simulació\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Terminis\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Trieu els terminis que es mostraran amb els productes (per exemple, l'import màxim amb interès o sense).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Import màxim sense interès\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Import màxim\",\n \"admin/editor.search-result.pagination.title\": \"Tipus de paginació\",\n \"admin/editor.search-result.pagination.show-more\": \"Mostra'n més\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Desplaçament infinit\",\n \"admin/editor.search-result.description\": \"Embolcall per mostrar els resultats de la cerca.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Nombre màxim d'articles per línia\",\n \"admin/editor.search-result.mobileLayout\": \"Commutador del disseny per a mòbils\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Mode de disseny 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Mode de disseny 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtres amagats\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Amaga el filtre Marca\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Amaga el filtre Categoria\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Amaga el filtre Preu\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Amaga els filtres Especificacions\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Amaga tots els filtres Especificacions\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtre Especificacions amagat\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nom del filtre Especificacions amagat\",\n \"admin/editor.search-result.showTitle\": \"Mostra el títol de la categoria o el terme de cerca sobre la galeria\",\n \"admin/editor.search-result.gap.title\": \"Espai entre articles de la galeria\",\n \"admin/editor.search-result.facet-quantity\": \"Mostra la quantitat d'articles amb filtre\",\n \"admin/editor.search-result.advanced-settings.title\": \"Configuració avançada\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nom dels resultats de la cerca de GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nom que es mostrarà a Google Analytics. Si no se n'hi afegeix cap, es mostrarà \\\"Resultat de la cerca\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Ordena per\",\n \"admin/editor.search-result.total-products\": \"Total de productes\",\n \"store/search-result.show-more-button\": \"Mostra'n més\",\n \"store/search-result.show-previous-button\": \"Mostra l'anterior\",\n \"store/search-result.showing-products\": \"S'està mostrant {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} de {total, number}\",\n \"store/search-result.showing-all-products\": \"Heu visualitzat tots els {value} productes\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtres\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtres\",\n \"store/search-result.filter-button.apply\": \"Aplica\",\n \"store/search-result.filter-button.clear\": \"Esborra\",\n \"store/search-result.filter-button.clearAll\": \"Esborra-ho tot\",\n \"store/search-result.orderby.title\": \"Ordena per\",\n \"store/search-result.clear-filters.title\": \"Esborra\",\n \"store/search-result.filter-action.title\": \"Filtre\",\n \"store/search.filter.title.categories\": \"Departaments\",\n \"store/search.filter.title.color\": \"Color\",\n \"store/filter.more-departments\": \"Mostra {quantity} departaments més\",\n \"store/filter.more-categories\": \"Mostra {quantity} categories més\",\n \"store/filter.more-items\": \"Mostra'n {quantity} més\",\n \"store/filter.less-items\": \"Mostra'n menys\",\n \"store/search.filter.placeholder\": \"Cerca per {filterName}\",\n \"store/search.filter.title.brands\": \"Marques\",\n \"store/search.filter.title.price-ranges\": \"Intervals de preus\",\n \"store/search.text\": \"S'estan mostrant de {from} a {to} de {recordsFiltered} resultats\",\n \"store/search.filter.title.shipping\": \"Enviament\",\n \"store/search.filter.shipping.name.delivery\": \"Lliura a\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Recollida a\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Recollida a prop\",\n \"store/search.filter.shipping.name.pickup-all\": \"Recollida\",\n \"store/search.filter.shipping.action-button.delivery\": \"Introdueix la ubicació\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Introdueix la botiga\",\n \"store/search.selected-filters\": \"Filtrat per:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>\",\n \"store/search.empty-products\": \"No hem trobat cap resultat relacionat amb \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Què hauria de fer?\",\n \"store/search.what-to-do.1\": \"Verifiqueu els termes que heu escrit.\",\n \"store/search.what-to-do.2\": \"Proveu d'utilitzar una sola paraula.\",\n \"store/search.what-to-do.3\": \"Feu servir termes genèrics a la cerca.\",\n \"store/search.what-to-do.4\": \"Proveu de cercar sinònims del terme desitjat.\",\n \"store/search.no-products\": \"No s'ha trobat cap producte\",\n \"store/ordenation.button\": \"Ordena\",\n \"store/ordenation.sort-by\": \"Ordena per\",\n \"store/ordenation.relevance\": \"Rellevància\",\n \"store/ordenation.sales\": \"Vendes\",\n \"store/ordenation.release.date\": \"Data de publicació\",\n \"store/ordenation.discount\": \"Descompte\",\n \"store/ordenation.price.descending\": \"Preu: de major a menor\",\n \"store/ordenation.price.ascending\": \"Preu: de menor a major\",\n \"store/ordenation.name.ascending\": \"Nom, ascendent\",\n \"store/ordenation.name.descending\": \"Nom, descendent\",\n \"store/layoutModeSwitcher.inline\": \"Línia\",\n \"store/layoutModeSwitcher.small\": \"Petit\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Cap\",\n \"store/gallery.gapType.small\": \"Petit\",\n \"store/gallery.gapType.medium\": \"Mitjà\",\n \"store/gallery.gapType.large\": \"Gran\",\n \"admin/editor.search-result-layout-custom.title\": \"Disseny flexible personalitzat dels resultats de la cerca\",\n \"admin/editor.search-result-layout.title\": \"Disseny flexible dels resultats de la cerca\",\n \"admin/editor.search-result-mobile.title\": \"Disseny flexible dels resultats de la cerca: per a mòbils\",\n \"admin/editor.search-result-desktop.title\": \"Disseny flexible dels resultats de la cerca: per a ordinadors\",\n \"store/search-result.price-ranges.submit\": \"Cerca\",\n \"admin/editor.search-result.fetch-more\": \"Recupera'n més\",\n \"admin/editor.search-result.fetch-previous\": \"Recupera l'anterior\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportament del botó\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Botó\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Enllaç a la pàgina: millora la SEO i pot ser que canviï l'aspecte del botó\"\n}\n\n```" } ]
code_search-result_dde7dbc7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/context.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Search Result\",\n \"admin/editor.search-result.query\": \"Custom query\",\n \"admin/editor.search-result.query.description\": \"Query made when there's no context\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Enable custom query\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximum number of items per search page\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Hide unavailable items\",\n \"admin/editor.search-result.query.skusFilter\": \"SKUs Filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Setting the first available filter makes your query much faster!\",\n \"admin/editor.search-result.query.skusFilter.none\": \"None\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"First Available\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"All Available\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simulation Behavior\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Set to skip if you want faster queries but SKUs may not have the most updated prices or stock\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Default\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Skip simulation\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Title of installment criteria property\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Description of installment criteria property\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximum without interest enum name\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximum with interest enum name\",\n \"admin/editor.search-result.pagination.title\": \"Pagination type\",\n \"admin/editor.search-result.pagination.show-more\": \"Show more\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Infinite scrolling\",\n \"admin/editor.search-result.description\": \"Search Result Wrapper\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximum number of items per line\",\n \"admin/editor.search-result.mobileLayout\": \"Mobile Layout Switcher\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layout Mode 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layout Mode 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Hidden Filters\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Hide Brands filter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Hide Categories filter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Hide Price filter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Hide Specifications filters\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Hide all the Specifications filters\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Hidden Specification filter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Hidden Specification filter name\",\n \"admin/editor.search-result.showTitle\": \"Show category title or search term above the gallery\",\n \"admin/editor.search-result.gap.title\": \"Gap between gallery items\",\n \"admin/editor.search-result.facet-quantity\": \"Show filter item quantity\",\n \"admin/editor.search-result.advanced-settings.title\": \"Advanced settings\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM Search Result name\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Name to show in the Google Analytics. If nothing is passed it will use just \\\"Search result\\\"\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sort by\",\n \"admin/editor.search-result.total-products\": \"Total products\",\n \"store/search-result.show-more-button\": \"Show more\",\n \"store/search-result.show-previous-button\": \"Show previous\",\n \"store/search-result.showing-products\": \"Showing {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} of {total, number}\",\n \"store/search-result.showing-all-products\": \"You have already seen all products of this list {value}\",\n \"store/search-result.showing-all-products-count\": \"({total, number})\",\n \"store/search-result.filter-button.title\": \"Filters\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filters\",\n \"store/search-result.filter-button.apply\": \"Apply\",\n \"store/search-result.filter-button.clear\": \"Clear\",\n \"store/search-result.filter-button.clearAll\": \"Clear all\",\n \"store/search-result.orderby.title\": \"Sort by\",\n \"store/search-result.clear-filters.title\": \"Clear\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Departments\",\n \"store/search.filter.title.color\": \"Color\",\n \"store/filter.more-departments\": \"See {quantity} more departments\",\n \"store/filter.more-categories\": \"See {quantity} more categories\",\n \"store/filter.more-items\": \"See {quantity} more\",\n \"store/filter.less-items\": \"See less\",\n \"store/search.filter.placeholder\": \"Search by {filterName}\",\n \"store/search.filter.title.brands\": \"Brands\",\n \"store/search.filter.title.price-ranges\": \"Price Ranges\",\n \"store/search.filter.title.shipping\": \"Shipping\",\n \"store/search.filter.shipping.name.delivery\": \"Deliver to\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Pickup at\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Pickup nearby\",\n \"store/search.filter.shipping.name.pickup-all\": \"Pickup\",\n \"store/search.filter.shipping.action-button.delivery\": \"Enter location\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Enter store\",\n \"store/search.text\": \"Showing {from}-{to} from {recordsFiltered} records\",\n \"store/search.selected-filters\": \"Filtered by:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {Product} other {Products}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {Product} other {Products}}</span>\",\n \"store/search.empty-products\": \"We didn't find any result related to \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"What do I do?\",\n \"store/search.what-to-do.1\": \"Verify the terms you typed.\",\n \"store/search.what-to-do.2\": \"Try to use a single word.\",\n \"store/search.what-to-do.3\": \"Use generic terms in the search.\",\n \"store/search.what-to-do.4\": \"Try to search synonyms of the desired term.\",\n \"store/search.no-products\": \"No products were found\",\n \"store/ordenation.button\": \"Sort\",\n \"store/ordenation.sort-by\": \"Sort By\",\n \"store/ordenation.relevance\": \"Relevance\",\n \"store/ordenation.sales\": \"Sales\",\n \"store/ordenation.release.date\": \"Release Date\",\n \"store/ordenation.discount\": \"Discount\",\n \"store/ordenation.price.descending\": \"Price: High to Low\",\n \"store/ordenation.price.ascending\": \"Price: Low to High\",\n \"store/ordenation.name.ascending\": \"Name, ascending\",\n \"store/ordenation.name.descending\": \"Name, descending\",\n \"store/layoutModeSwitcher.inline\": \"Line\",\n \"store/layoutModeSwitcher.small\": \"Small\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"None\",\n \"store/gallery.gapType.small\": \"Small\",\n \"store/gallery.gapType.medium\": \"Medium\",\n \"store/gallery.gapType.large\": \"Large\",\n \"admin/editor.search-result-layout-custom.title\": \"Title of Search Result Layout Custom\",\n \"admin/editor.search-result-layout.title\": \"Title of Search Result Layout\",\n \"admin/editor.search-result-mobile.title\": \"Title of Search Result Layout for Mobile\",\n \"admin/editor.search-result-desktop.title\": \"Title of Search Result Layout for Deskptop\",\n \"store/search-result.price-ranges.submit\": \"Go\",\n \"admin/editor.search-result.fetch-more\": \"Load more\",\n \"admin/editor.search-result.fetch-previous\": \"Load previous\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Button behavior\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Button\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link to page - Improves SEO, may change how the button looks\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Next day\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Same day\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Delivery next day\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Pickup next day\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Delivery same day\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Pickup same day\"\n}\n\n```" } ]
code_search-result_d8795456
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ko.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"검색 결과\",\n \"admin/editor.search-result.query\": \"사용자 지정 쿼리\",\n \"admin/editor.search-result.query.description\": \"컨텍스트가 제공되지 않은 상태에서 쿼리가 만들어졌습니다.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"사용자 지정 쿼리 사용\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"검색 페이지당 최대 항목 수\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"사용할 수 없는 항목 숨기기\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU 필터\",\n \"admin/editor.search-result.query.skusFilter.description\": \"사용 가능한 첫 번째 필터를 설정하면 쿼리를 더 빠르게 처리할 수 있습니다.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"없음\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"첫 번째 사용 가능\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"모두 사용 가능\",\n \"admin/editor.search-result.query.simulationBehavior\": \"시뮬레이션 동작\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"더 빠른 쿼리를 원한다면 시뮬레이션 건너뛰기로 설정하되, SKU에 최신 가격이나 재고 정보가 표시되지 않을 수 있다는 점에 유의하세요.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"기본값\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"시뮬레이션 건너뛰기\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"할부\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"상품과 함께 표시될 할부 금액을 선택하세요(예: 최대 무이자 또는 무이자 포함).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"무이자 최대\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"최대\",\n \"admin/editor.search-result.pagination.title\": \"페이지 매김 유형\",\n \"admin/editor.search-result.pagination.show-more\": \"더 보기\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"무한 스크롤\",\n \"admin/editor.search-result.description\": \"검색 결과를 표시하기 위한 래퍼입니다.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"줄당 최대 항목 수\",\n \"admin/editor.search-result.mobileLayout\": \"모바일 레이아웃 전환기\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"레이아웃 모드 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"레이아웃 모드 2\",\n \"admin/editor.search-result.hiddenFacets\": \"숨겨진 필터\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"브랜드 필터 숨기기\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"카테고리 필터 숨기기\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"가격 필터 숨기기\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"사양 필터 숨기기\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"모든 사양 필터 숨기기\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"숨겨진 사양 필터\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"숨겨진 사양 필터 이름\",\n \"admin/editor.search-result.showTitle\": \"갤러리 위에 카테고리 제목 또는 검색어 표시\",\n \"admin/editor.search-result.gap.title\": \"갤러리 항목 사이의 간격\",\n \"admin/editor.search-result.facet-quantity\": \"필터 항목 수량 표시\",\n \"admin/editor.search-result.advanced-settings.title\": \"고급 설정\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM 검색 결과 이름\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Google 애널리틱스에 표시될 이름입니다. 아무것도 추가하지 않으면 '검색 결과'가 표시됩니다.\",\n \"admin/editor.search-result.ordination.sort-by\": \"정렬 기준\",\n \"admin/editor.search-result.total-products\": \"총 제품\",\n \"store/search-result.show-more-button\": \"더 보기\",\n \"store/search-result.show-previous-button\": \"이전 표시\",\n \"store/search-result.showing-products\": \"{value} 표시\",\n \"store/search-result.showing-products-count\": \"{total, number}개 중 {productsLoaded, number}개\",\n \"store/search-result.showing-all-products\": \"모든 {value} 제품을 확인했습니다\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"필터\",\n \"store/search-result.filter-breadcrumbs.primary\": \"필터\",\n \"store/search-result.filter-button.apply\": \"적용\",\n \"store/search-result.filter-button.clear\": \"지우기\",\n \"store/search-result.filter-button.clearAll\": \"모두 지우기\",\n \"store/search-result.orderby.title\": \"정렬 기준\",\n \"store/search-result.clear-filters.title\": \"지우기\",\n \"store/search-result.filter-action.title\": \"필터\",\n \"store/search.filter.title.categories\": \"부문\",\n \"store/search.filter.title.color\": \"색상\",\n \"store/filter.more-departments\": \"{quantity}개 더 많은 부문 보기\",\n \"store/filter.more-categories\": \"{quantity}개 더 많은 카테고리 보기\",\n \"store/filter.more-items\": \"{quantity}개 더 보기\",\n \"store/filter.less-items\": \"간략히 보기\",\n \"store/search.filter.placeholder\": \"{filterName}(으)로 검색\",\n \"store/search.filter.title.brands\": \"브랜드\",\n \"store/search.filter.title.price-ranges\": \"가격 범위\",\n \"store/search.text\": \"{recordsFiltered} 결과 중 {from}–{to} 표시\",\n \"store/search.filter.title.shipping\": \"배송\",\n \"store/search.filter.shipping.name.delivery\": \"배송 대상\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"픽업 장소\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"근처 픽업\",\n \"store/search.filter.shipping.name.pickup-all\": \"픽업\",\n \"store/search.filter.shipping.action-button.delivery\": \"위치 입력\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"스토어 입력\",\n \"store/search.selected-filters\": \"필터링 기준:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {제품} other {제품}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {제품} other {제품}}</span>\",\n \"store/search.empty-products\": \"\\\"{term}\\\"와 관련된 결과를 찾을 수 없습니다.\",\n \"store/search.what-do-i-do\": \"무엇을 해야 하나요?\",\n \"store/search.what-to-do.1\": \"입력한 조건을 확인하세요.\",\n \"store/search.what-to-do.2\": \"한 단어를 사용하세요.\",\n \"store/search.what-to-do.3\": \"검색 시 일반적인 용어를 사용하세요.\",\n \"store/search.what-to-do.4\": \"원하는 용어의 동의어를 검색하세요.\",\n \"store/search.no-products\": \"제품을 찾을 수 없습니다\",\n \"store/ordenation.button\": \"정렬\",\n \"store/ordenation.sort-by\": \"정렬 기준\",\n \"store/ordenation.relevance\": \"관련성\",\n \"store/ordenation.sales\": \"판매\",\n \"store/ordenation.release.date\": \"출시일\",\n \"store/ordenation.discount\": \"할인\",\n \"store/ordenation.price.descending\": \"가격: 높은순\",\n \"store/ordenation.price.ascending\": \"가격: 낮은순\",\n \"store/ordenation.name.ascending\": \"이름, 오름차순\",\n \"store/ordenation.name.descending\": \"이름, 내림차순\",\n \"store/layoutModeSwitcher.inline\": \"라인\",\n \"store/layoutModeSwitcher.small\": \"소형\",\n \"store/layoutModeSwitcher.normal\": \"보통\",\n \"store/gallery.gapType.none\": \"없음\",\n \"store/gallery.gapType.small\": \"소형\",\n \"store/gallery.gapType.medium\": \"중형\",\n \"store/gallery.gapType.large\": \"대형\",\n \"admin/editor.search-result-layout-custom.title\": \"검색 결과 사용자 지정 유연한 레이아웃\",\n \"admin/editor.search-result-layout.title\": \"검색 결과 유연한 레이아웃\",\n \"admin/editor.search-result-mobile.title\": \"검색 결과 유연한 레이아웃 - 모바일\",\n \"admin/editor.search-result-desktop.title\": \"검색 결과 유연한 레이아웃 - 데스크톱\",\n \"store/search-result.price-ranges.submit\": \"검색\",\n \"admin/editor.search-result.fetch-more\": \"더 불러오기\",\n \"admin/editor.search-result.fetch-previous\": \"이전 항목 불러오기\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"버튼 동작\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"버튼\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"페이지로 연결 - SEO를 개선하며 버튼의 모양이 변경될 수 있습니다\"\n}\n\n```" } ]
code_search-result_761c9c4e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/id.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Hasil pencarian\",\n \"admin/editor.search-result.query\": \"Permintaan khusus\",\n \"admin/editor.search-result.query.description\": \"Permintaan dibuat saat tidak ada konteks.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Aktifkan permintaan khusus\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Jumlah maksimal item per halaman pencarian\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Sembunyikan item yang tidak tersedia\",\n \"admin/editor.search-result.query.skusFilter\": \"Filter SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Tentukan filter yang pertama tersedia untuk mempercepat permintaan Anda.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Tidak ada\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Yang pertama yang tersedia\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Semua tersedia\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Perilaku simulasi\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Atur untuk Melewati simulasi jika Anda menginginkan permintaan lebih cepat, namun ingat bahwa SKU mungkin tidak menampilkan harga atau informasi stok terbaru.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Bawaan\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Lewati simulasi\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Angsuran\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Pilih angsuran yang akan ditampilkan dengan produk (mis., maksimum tanpa bunga atau dengan bunga).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksimum tanpa bunga\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksimum\",\n \"admin/editor.search-result.pagination.title\": \"Jenis penomoran halaman\",\n \"admin/editor.search-result.pagination.show-more\": \"Tampilkan lebih banyak\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Gulir tanpa batas\",\n \"admin/editor.search-result.description\": \"Wrapper untuk menampilkan hasil pencarian.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Jumlah maksimal item per baris\",\n \"admin/editor.search-result.mobileLayout\": \"Pengalih tata letak seluler\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Mode tata letak 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Tata letak 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filter tersembunyi\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Sembunyikan filter merek\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Sembunyikan filter kategori\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Sembunyikan filter harga\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Sembunyikan filter spesifikasi\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Sembunyikan semua filter spesifikasi\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filter spesifikasi tersembunyi\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nama filter spesifikasi tersembunyi\",\n \"admin/editor.search-result.showTitle\": \"Tampilkan judul kategori atau istilah pencarian di atas galeri\",\n \"admin/editor.search-result.gap.title\": \"Perbedaan antara item galeri\",\n \"admin/editor.search-result.facet-quantity\": \"Tampilkan jumlah item filter\",\n \"admin/editor.search-result.advanced-settings.title\": \"Pengaturan lanjutan\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nama hasil pencarian GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nama yang akan ditampilkan di Google Analytics. Jika tidak ada yang ditambahkan, \\\"Hasil pencarian\\\" akan ditampilkan.\",\n \"admin/editor.search-result.ordination.sort-by\": \"Disortir menurut\",\n \"admin/editor.search-result.total-products\": \"Total produk\",\n \"store/search-result.show-more-button\": \"Tampilkan lebih banyak\",\n \"store/search-result.show-previous-button\": \"Tampilkan sebelumnya\",\n \"store/search-result.showing-products\": \"Menampilkan {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} dari {total, number}\",\n \"store/search-result.showing-all-products\": \"Anda telah melihat semua {value} produk\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filter\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filter\",\n \"store/search-result.filter-button.apply\": \"Terapkan\",\n \"store/search-result.filter-button.clear\": \"Hapus\",\n \"store/search-result.filter-button.clearAll\": \"Hapus semua\",\n \"store/search-result.orderby.title\": \"Sortir menurut\",\n \"store/search-result.clear-filters.title\": \"Hapus\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Departemen\",\n \"store/search.filter.title.color\": \"Warna\",\n \"store/filter.more-departments\": \"Lihat {quantity} departemen lain\",\n \"store/filter.more-categories\": \"Lihat {quantity} kategori lain\",\n \"store/filter.more-items\": \"Lihat {quantity} lain\",\n \"store/filter.less-items\": \"Lihat lebih sedikit\",\n \"store/search.filter.placeholder\": \"Cari menurut {filterName}\",\n \"store/search.filter.title.brands\": \"Merek\",\n \"store/search.filter.title.price-ranges\": \"Rentang harga\",\n \"store/search.text\": \"Menampilka {from}–{to} dari {recordsFiltered} hasil\",\n \"store/search.filter.title.shipping\": \"Pengiriman\",\n \"store/search.filter.shipping.name.delivery\": \"Kirim ke\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Ambil di\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Pengambilan terdekat\",\n \"store/search.filter.shipping.name.pickup-all\": \"Pengambilan\",\n \"store/search.filter.shipping.action-button.delivery\": \"Masukkan lokasi\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Masukkan toko\",\n \"store/search.selected-filters\": \"Difilter menurut:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, other {produk}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, other {produk}}</span>\",\n \"store/search.empty-products\": \"Kami tidak menemukan hasil apa pun terkait dengan \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Apa yang saya harus lakukan?\",\n \"store/search.what-to-do.1\": \"Periksa istilah yang Anda masukkan.\",\n \"store/search.what-to-do.2\": \"Coba gunakan satu kata.\",\n \"store/search.what-to-do.3\": \"Gunakan istilah umum dalam pencarian.\",\n \"store/search.what-to-do.4\": \"Coba cari sinonim dari istilah yang diinginkan.\",\n \"store/search.no-products\": \"Tidak ada produk yang ditemukan\",\n \"store/ordenation.button\": \"Sortir\",\n \"store/ordenation.sort-by\": \"Sortir menurut\",\n \"store/ordenation.relevance\": \"Relevansi\",\n \"store/ordenation.sales\": \"Penjualan\",\n \"store/ordenation.release.date\": \"Tanggal rilis\",\n \"store/ordenation.discount\": \"Diskon\",\n \"store/ordenation.price.descending\": \"Harga: Tinggi ke rendah\",\n \"store/ordenation.price.ascending\": \"Harga: Rendah ke tinggi\",\n \"store/ordenation.name.ascending\": \"Nama, susun ke atas\",\n \"store/ordenation.name.descending\": \"Nama, susun ke bawah\",\n \"store/layoutModeSwitcher.inline\": \"Baris\",\n \"store/layoutModeSwitcher.small\": \"Kecil\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Tidak ada\",\n \"store/gallery.gapType.small\": \"Kecil\",\n \"store/gallery.gapType.medium\": \"Sedang\",\n \"store/gallery.gapType.large\": \"Besar\",\n \"admin/editor.search-result-layout-custom.title\": \"Tata letak fleksibel kustom hasil pencarian\",\n \"admin/editor.search-result-layout.title\": \"Tata letak fleksibel hasil pencarian\",\n \"admin/editor.search-result-mobile.title\": \"Tata letak fleksibel hasil pencarian - Seluler\",\n \"admin/editor.search-result-desktop.title\": \"Tata letak fleksibel hasil pencarian - Desktop\",\n \"store/search-result.price-ranges.submit\": \"Cari\",\n \"admin/editor.search-result.fetch-more\": \"Ambil lebih banyak\",\n \"admin/editor.search-result.fetch-previous\": \"Ambil sebelumnya\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Tombol perilaku\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Tombol\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Tautkan ke halaman - Meningkatkan SEO, dapat mengubah tampilan tombol\"\n}\n\n```" } ]
code_search-result_e54b47b8
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/no.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Søkeresultat\",\n \"admin/editor.search-result.query\": \"Tilpasset søk\",\n \"admin/editor.search-result.query.description\": \"Søk utført når det ikke er noen sammenheng.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Aktiver tilpasset søk\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maksimalt antall varer per søkeside\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Skjul utilgjengelige varer\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Bruk det første tilgjengelige filteret for å gjøre søket raskere.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ingen\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Første tilgjengelige\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alle tilgjengelige\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simuleringsadferd\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Sett til å hoppe over hvis du vil ha raskere søk, men SKU-er har kanskje ikke de mest oppdaterte prisene eller lagerbeholdning.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Standard\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Hopp over simulering\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Avdrag\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Velg hvilken type avdrag som skal vises (f.eks: maksimum uten renter eller med renter).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksimum uten renter\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksimum\",\n \"admin/editor.search-result.pagination.title\": \"Sidenummereringstype\",\n \"admin/editor.search-result.pagination.show-more\": \"Vis mer\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Uendelig scrolling\",\n \"admin/editor.search-result.description\": \"Wrapper for å vise søkeresultater.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maksimalt antall varer per linje\",\n \"admin/editor.search-result.mobileLayout\": \"Bytte oppsett på mobilen\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Oppsettmodus 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Oppsettmodus 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Skjulte filtre\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Skjul merkefilter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Skjul kategorifilter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Skjul prisfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Skjul spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Skjul alle spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Skjulte spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Navn på skjult spesifikasjonsfilter\",\n \"admin/editor.search-result.showTitle\": \"Vis kategoritittel eller søkeord over galleriet\",\n \"admin/editor.search-result.gap.title\": \"Mellomrom mellom gallerivarer\",\n \"admin/editor.search-result.facet-quantity\": \"Vis antall filtrerte varer\",\n \"admin/editor.search-result.advanced-settings.title\": \"Avanserte innstillinger\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Navn på GTM-søkeresultat\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Navn som skal vises i Google Analytics. Hvis ingenting godkjennes, bruker det kun i \\\"Søkeresultat\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sorter etter\",\n \"admin/editor.search-result.total-products\": \"Totalt antall produkter\",\n \"store/search-result.show-more-button\": \"Vis mer\",\n \"store/search-result.show-previous-button\": \"Vis forrige\",\n \"store/search-result.showing-products\": \"Viser {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} av {total, number}\",\n \"store/search-result.showing-all-products\": \"Du har sett alle {value} produktene\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtre\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtre\",\n \"store/search-result.filter-button.apply\": \"Bruk\",\n \"store/search-result.filter-button.clear\": \"Tøm\",\n \"store/search-result.filter-button.clearAll\": \"Tøm alt\",\n \"store/search-result.orderby.title\": \"Sorter etter\",\n \"store/search-result.clear-filters.title\": \"Tøm\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Avdelinger\",\n \"store/search.filter.title.color\": \"Farge\",\n \"store/filter.more-departments\": \"Se {quantity} flere avdelinger\",\n \"store/filter.more-categories\": \"Se {quantity} flere kategorier\",\n \"store/filter.more-items\": \"Se {quantity} mer\",\n \"store/filter.less-items\": \"Se mindre\",\n \"store/search.filter.placeholder\": \"Søk etter {filterName}\",\n \"store/search.filter.title.brands\": \"Merker\",\n \"store/search.filter.title.price-ranges\": \"Prisklasser\",\n \"store/search.text\": \"Viser {from}–{to} av {recordsFiltered} resultater\",\n \"store/search.filter.title.shipping\": \"Forsendelse\",\n \"store/search.filter.shipping.name.delivery\": \"Leveres til\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Hent hos\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Henting i nærheten\",\n \"store/search.filter.shipping.name.pickup-all\": \"Hent\",\n \"store/search.filter.shipping.action-button.delivery\": \"Skriv inn sted\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Skriv inn butikken\",\n \"store/search.selected-filters\": \"Filtrert etter:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.empty-products\": \"Vi fant ingen resultater relatert til \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Hva skal jeg gjøre?\",\n \"store/search.what-to-do.1\": \"Bekreft begrepene du skrev inn.\",\n \"store/search.what-to-do.2\": \"Prøv å bruke et enkelt ord.\",\n \"store/search.what-to-do.3\": \"Bruk generiske begreper i søket.\",\n \"store/search.what-to-do.4\": \"Prøv å søke i synonymer for ønsket begrep.\",\n \"store/search.no-products\": \"Fant ingen produkter\",\n \"store/ordenation.button\": \"Sorter\",\n \"store/ordenation.sort-by\": \"Sorter etter\",\n \"store/ordenation.relevance\": \"Relevans\",\n \"store/ordenation.sales\": \"Salg\",\n \"store/ordenation.release.date\": \"Utgivelsesdato\",\n \"store/ordenation.discount\": \"Rabatt\",\n \"store/ordenation.price.descending\": \"Pris: Høy til lav\",\n \"store/ordenation.price.ascending\": \"Pris: Lav til høy\",\n \"store/ordenation.name.ascending\": \"Navn, stigende\",\n \"store/ordenation.name.descending\": \"Navn, synkende\",\n \"store/layoutModeSwitcher.inline\": \"Linje\",\n \"store/layoutModeSwitcher.small\": \"Liten\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Ingen\",\n \"store/gallery.gapType.small\": \"Liten\",\n \"store/gallery.gapType.medium\": \"Middels\",\n \"store/gallery.gapType.large\": \"Stor\",\n \"admin/editor.search-result-layout-custom.title\": \"Søkeresultat tilpasset fleksibelt oppsett\",\n \"admin/editor.search-result-layout.title\": \"Søkeresultat fleksibelt oppsett\",\n \"admin/editor.search-result-mobile.title\": \"Søkeresultat fleksibelt oppsett for mobil\",\n \"admin/editor.search-result-desktop.title\": \"Søkeresultat fleksibelt oppsett for skrivebord\",\n \"store/search-result.price-ranges.submit\": \"Søk\",\n \"admin/editor.search-result.fetch-more\": \"Hent flere\",\n \"admin/editor.search-result.fetch-previous\": \"Hent forrige\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Oppførsel for knapp\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Knapp\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link til side – Forbedrer SEO, kan endre hvordan knappen ser ut\"\n}\n\n```" } ]
code_search-result_28d73fea
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/da.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Søgeresultat\",\n \"admin/editor.search-result.query\": \"Tilpasset forespørgsel\",\n \"admin/editor.search-result.query.description\": \"Forespørgsel foretaget, når ingen kontekst er tilgængelig.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Aktiver tilpasset forespørgsel\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maksimalt antal elementer pr. søgeside\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Skjul ikke-tilgængelige elementer\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Indstil det første tilgængelige filter for at gøre din forespørgsel hurtigere.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ingen\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Første tilgængelige\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alle tilgængelige\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simuleringsopførsel\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Indstil til Spring over, hvis du ønsker hurtigere efterspørgsler, men SKU'er har muligvis ikke de mest opdaterede priser eller lager.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Standard\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Spring simulering over\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Afdrag\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Vælg hvilken type rater, der skal vises (f.eks. Maks. Uden renter eller med renter).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksimum uden rente\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksimum\",\n \"admin/editor.search-result.pagination.title\": \"Paginationstype\",\n \"admin/editor.search-result.pagination.show-more\": \"Vis mere\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Uendelig rulning\",\n \"admin/editor.search-result.description\": \"Wrapper til visning af søgeresultater.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maksimum antal varer per linje\",\n \"admin/editor.search-result.mobileLayout\": \"Skift mobillayout\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layout tilstand 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layout tilstand 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Skjulte filtre\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Skjul brandfilter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Skjul kategorifilter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Skjul prisfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Skjul specifikationsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Skjul alle specifikationsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Skjult specifikationsfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Skjult specifikationsfilternavn\",\n \"admin/editor.search-result.showTitle\": \"Vis kategorititel eller søgeudtryk over galleriet\",\n \"admin/editor.search-result.gap.title\": \"Mellemrum mellem galleriemner\",\n \"admin/editor.search-result.facet-quantity\": \"Vis filtermængde antal\",\n \"admin/editor.search-result.advanced-settings.title\": \"Avancerede indstillinger\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM søgeresultat navn\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Navn, der skal vises i Google Analytics. Hvis der ikke gives noget, bruger det bare \\\"Søgeresultat\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sorter efter\",\n \"admin/editor.search-result.total-products\": \"Produkter i alt\",\n \"store/search-result.show-more-button\": \"Vis mere\",\n \"store/search-result.show-previous-button\": \"Vis forrige\",\n \"store/search-result.showing-products\": \"Viser {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} af {total, number}\",\n \"store/search-result.showing-all-products\": \"Du har set alle {value} produkter\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtre\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtre\",\n \"store/search-result.filter-button.apply\": \"Anvend\",\n \"store/search-result.filter-button.clear\": \"Ryd\",\n \"store/search-result.filter-button.clearAll\": \"Ryd alle\",\n \"store/search-result.orderby.title\": \"Sorter efter\",\n \"store/search-result.clear-filters.title\": \"Ryd\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Afdelinger\",\n \"store/search.filter.title.color\": \"Farve\",\n \"store/filter.more-departments\": \"Se {quantity} flere afdelinger\",\n \"store/filter.more-categories\": \"Se {quantity} flere kategorier\",\n \"store/filter.more-items\": \"Se {quantity} mere\",\n \"store/filter.less-items\": \"Se mindre\",\n \"store/search.filter.placeholder\": \"Søg efter {filterName}\",\n \"store/search.filter.title.brands\": \"Brands\",\n \"store/search.filter.title.price-ranges\": \"Prisintervaller\",\n \"store/search.filter.title.shipping\": \"Forsendelse\",\n \"store/search.filter.shipping.name.delivery\": \"Lever til\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Afhentning ved\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Afhentning i nærheden\",\n \"store/search.filter.shipping.name.pickup-all\": \"Afhentning\",\n \"store/search.filter.shipping.action-button.delivery\": \"Indtast lokation\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Indtast butik\",\n \"store/search.text\": \"Viser {from}-{to} fra {recordsFiltered} optegnelser\",\n \"store/search.selected-filters\": \"Filtreret efter:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.empty-products\": \"Vi fandt intet resultat relateret til \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Hvad gør jeg?\",\n \"store/search.what-to-do.1\": \"Bekræft de vilkår, du indtastede.\",\n \"store/search.what-to-do.2\": \"Prøv at bruge et enkelt ord.\",\n \"store/search.what-to-do.3\": \"Brug generiske udtryk i søgningen.\",\n \"store/search.what-to-do.4\": \"Prøv at søge i synonymer til det ønskede udtryk.\",\n \"store/search.no-products\": \"Ingen produkter blev fundet\",\n \"store/ordenation.button\": \"Sorter\",\n \"store/ordenation.sort-by\": \"Sorter efter\",\n \"store/ordenation.relevance\": \"Relevans\",\n \"store/ordenation.sales\": \"Salg\",\n \"store/ordenation.release.date\": \"Udgivelsesdato\",\n \"store/ordenation.discount\": \"Rabat\",\n \"store/ordenation.price.descending\": \"Pris: Høj til lav\",\n \"store/ordenation.price.ascending\": \"Pris: lav til høj\",\n \"store/ordenation.name.ascending\": \"Navn, stigende\",\n \"store/ordenation.name.descending\": \"Navn, faldende\",\n \"store/layoutModeSwitcher.inline\": \"Linje\",\n \"store/layoutModeSwitcher.small\": \"Lille\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Ingen\",\n \"store/gallery.gapType.small\": \"Lille\",\n \"store/gallery.gapType.medium\": \"Medium\",\n \"store/gallery.gapType.large\": \"Stor\",\n \"admin/editor.search-result-layout-custom.title\": \"Søgeresultat Brugerdefineret fleksibelt layout\",\n \"admin/editor.search-result-layout.title\": \"Søgeresultat fleksibelt layout\",\n \"admin/editor.search-result-mobile.title\": \"Søgeresultat fleksibelt layout mobil\",\n \"admin/editor.search-result-desktop.title\": \"Søgeresultat fleksibelt layout desktop\",\n \"store/search-result.price-ranges.submit\": \"Søg\",\n \"admin/editor.search-result.fetch-more\": \"Hent mere\",\n \"admin/editor.search-result.fetch-previous\": \"Hent tidligere\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Knapadfærd\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Knap\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link til side - Forbedrer SEO, kan ændre knapens udseende\"\n}\n\n```" } ]
code_search-result_1e8d9085
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/th.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"ผลการค้นหา\",\n \"admin/editor.search-result.query\": \"คำถามแบบกำหนดเอง\",\n \"admin/editor.search-result.query.description\": \"ตั้งคำถามเมื่อไม่มีบริบทให้\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"เปิดใช้คำถามแบบกำหนดเอง\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"จำนวนรายการสูงสุดต่อหน้าการค้นหา\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"ซ่อนรายการที่ไม่พร้อมใช้\",\n \"admin/editor.search-result.query.skusFilter\": \"ตัวกรอง SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"ตั้งค่าตัวกรองรายการแรกที่มีเพื่อให้คุณได้คำตอบเร็วขึ้น\",\n \"admin/editor.search-result.query.skusFilter.none\": \"ไม่มี\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"รายการแรกที่มี\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"ทั้งหมดที่มี\",\n \"admin/editor.search-result.query.simulationBehavior\": \"ลักษณะการจำลอง\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"ตั้งค่าให้ข้ามการจำลองหากต้องการให้เร็วขึ้น แต่อย่าลืมว่าราคาหรือสต็อกของ SKU ที่แสดงอาจไม่ใช่ข้อมูลล่าสุด\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"ค่าเริ่มต้น\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"ข้ามการจำลอง\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"การชำระเป็นงวด\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"เลือกการชำระเป็นงวดที่จะแสดงพร้อมกับผลิตภัณฑ์ (เช่น ไม่มีดอกเบี้ย หรือมีดอกเบี้ย)\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"สูงสุดไม่มีดอกเบี้ย\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"สูงสุด\",\n \"admin/editor.search-result.pagination.title\": \"ชนิดเลขหน้า\",\n \"admin/editor.search-result.pagination.show-more\": \"แสดงเพิ่ม\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"เลื่อนเมาส์ได้ไม่จำกัด\",\n \"admin/editor.search-result.description\": \"Wrapper สำหรับแสดงผลการค้นหา\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"จำนวนรายการสูงสุดต่อบรรทัด\",\n \"admin/editor.search-result.mobileLayout\": \"ตัวสลับ Layout ในอุปกรณ์เคลื่อนที่\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"โหมด Layout 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"โหมด Layout 2\",\n \"admin/editor.search-result.hiddenFacets\": \"ตัวกรองที่ซ่อน\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"ซ่อนตัวกรองแบรนด์\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"ซ่อนตัวกรองหมวดหมู่\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"ซ่อนตัวกรองราคา\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"ซ่อนตัวกรองข้อมูลจำเพาะ\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"ซ่อนตัวกรองข้อมูลจำเพาะทั้งหมด\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"ตัวกรองข้อมูลจำเพาะที่ซ่อน\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"ชื่อตัวกรองข้อมูลจำเพาะที่ซ่อน\",\n \"admin/editor.search-result.showTitle\": \"แสดงชื่อหมวดหมู่หรือคำค้นหาที่ด้านบนแกลเลอรี\",\n \"admin/editor.search-result.gap.title\": \"ช่องว่างระหว่างรายการแกลเลอรี\",\n \"admin/editor.search-result.facet-quantity\": \"แสดงจำนวนรายการตัวกรอง\",\n \"admin/editor.search-result.advanced-settings.title\": \"การตั้งค่าขั้นสูง\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"ชื่อผลการค้นหา GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"ชื่อที่จะแสดงใน Google Analytics หากไม่มีข้อมูลเพิ่ม จะแสดง \\\"ผลการค้นหา\\\"\",\n \"admin/editor.search-result.ordination.sort-by\": \"เรียงตาม\",\n \"admin/editor.search-result.total-products\": \"ผลิตภัณฑ์ทั้งหมด\",\n \"store/search-result.show-more-button\": \"แสดงเพิ่มเติม\",\n \"store/search-result.show-previous-button\": \"แสดงก่อนหน้า\",\n \"store/search-result.showing-products\": \"แสดง {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} จาก {total, number}\",\n \"store/search-result.showing-all-products\": \"คุณได้แสดงผลิตภัณฑ์ทั้งหมด {value} รายการ\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"ตัวกรอง\",\n \"store/search-result.filter-breadcrumbs.primary\": \"ตัวกรอง\",\n \"store/search-result.filter-button.apply\": \"ใช้\",\n \"store/search-result.filter-button.clear\": \"ล้าง\",\n \"store/search-result.filter-button.clearAll\": \"ล้างทั้งหมด\",\n \"store/search-result.orderby.title\": \"เรียงตาม\",\n \"store/search-result.clear-filters.title\": \"ล้าง\",\n \"store/search-result.filter-action.title\": \"ตัวกรอง\",\n \"store/search.filter.title.categories\": \"แผนก\",\n \"store/search.filter.title.color\": \"สี\",\n \"store/filter.more-departments\": \"ดูอีก {quantity} แผนก\",\n \"store/filter.more-categories\": \"ดูอีก {quantity} หมวดหมู่\",\n \"store/filter.more-items\": \"ดูอีก {quantity} หมวดหมู่\",\n \"store/filter.less-items\": \"ดูน้อยลง\",\n \"store/search.filter.placeholder\": \"ค้นหาตาม {filterName}\",\n \"store/search.filter.title.brands\": \"แบรนด์\",\n \"store/search.filter.title.price-ranges\": \"ช่วงราคา\",\n \"store/search.text\": \"กำลังแสดงผล {from}–{to} ของ {recordsFiltered}\",\n \"store/search.filter.title.shipping\": \"การส่ง\",\n \"store/search.filter.shipping.name.delivery\": \"จัดส่งไปยัง\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"จุดรับสินค้าเอง\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"จุดรับสินค้าบริเวณใกล้เคียง\",\n \"store/search.filter.shipping.name.pickup-all\": \"การรับสินค้าเอง\",\n \"store/search.filter.shipping.action-button.delivery\": \"ใส่ตำแหน่งที่ตั้ง\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"ใส่ร้านค้า\",\n \"store/search.selected-filters\": \"กรองตาม:\",\n \"store/search.total-products\": \"ผลิตภัณฑ์ {recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, other {รายการ}}</span>\",\n \"store/search.total-products-2\": \"ผลิตภัณฑ์ {recordsFiltered} <span>{recordsFiltered, plural, other {รายการ}}</span>\",\n \"store/search.empty-products\": \"เราไม่พบผลที่เกี่ยวกับ \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"ฉันควรทำอย่างไร\",\n \"store/search.what-to-do.1\": \"ตรวจคำค้นที่คุณกรอก\",\n \"store/search.what-to-do.2\": \"โปรดลองใช้คำคำเดียว\",\n \"store/search.what-to-do.3\": \"ใช้คำทั่วไปในการค้นหา\",\n \"store/search.what-to-do.4\": \"ลองค้นหาคำพ้องความหมายของคำที่ต้องการ\",\n \"store/search.no-products\": \"ไม่พบผลิตภัณฑ์\",\n \"store/ordenation.button\": \"เรียงลำดับ\",\n \"store/ordenation.sort-by\": \"เรียงตาม\",\n \"store/ordenation.relevance\": \"ความเกี่ยวข้อง\",\n \"store/ordenation.sales\": \"การขาย\",\n \"store/ordenation.release.date\": \"วันที่เผยแพร่\",\n \"store/ordenation.discount\": \"ส่วนลด\",\n \"store/ordenation.price.descending\": \"ราคา: สูงไปต่ำ\",\n \"store/ordenation.price.ascending\": \"ราคา: ต่ำไปสูง\",\n \"store/ordenation.name.ascending\": \"ชื่อ - เรียงจากน้อยไปมาก\",\n \"store/ordenation.name.descending\": \"ชื่อ - เรียงจากมากไปน้อย\",\n \"store/layoutModeSwitcher.inline\": \"บรรทัด\",\n \"store/layoutModeSwitcher.small\": \"เล็ก\",\n \"store/layoutModeSwitcher.normal\": \"ธรรมดา\",\n \"store/gallery.gapType.none\": \"ไม่มี\",\n \"store/gallery.gapType.small\": \"เล็ก\",\n \"store/gallery.gapType.medium\": \"กลาง\",\n \"store/gallery.gapType.large\": \"ใหญ่\",\n \"admin/editor.search-result-layout-custom.title\": \"Layout ผลการค้นหายืดหยุ่นแบบกำหนดเอง\",\n \"admin/editor.search-result-layout.title\": \"Layout ผลการค้นหาแบบยืดหยุ่น\",\n \"admin/editor.search-result-mobile.title\": \"Layout ผลการค้นหาแบบยืดหยุ่น - อุปกรณ์เคลื่อนที่\",\n \"admin/editor.search-result-desktop.title\": \"Layout ผลการค้นหาแบบยืดหยุ่น - เดสก์ท็อป\",\n \"store/search-result.price-ranges.submit\": \"ค้นหา\",\n \"admin/editor.search-result.fetch-more\": \"เรียกดูเพิ่มเติม\",\n \"admin/editor.search-result.fetch-previous\": \"เรียกดูก่อนหน้า\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"ลักษณะปุ่ม\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"ปุ่ม\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"เชื่อมโยงไปหน้าเพจ - ปรับปรุง SEO, อาจเปลี่ยนวิธีแสดงปุ่ม\"\n}\n\n```" } ]
code_search-result_54ed270a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/sv.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Sökresultat\",\n \"admin/editor.search-result.query\": \"Anpassad fråga\",\n \"admin/editor.search-result.query.description\": \"Fråga som ställdes när det inte fanns något sammanhang.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Aktivera anpassad fråga\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maximalt antal föremål per söksida\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Dölj otillgängliga föremål\",\n \"admin/editor.search-result.query.skusFilter\": \"SKUs Filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Ställ in det första tillgängliga filtret för att hantera din fråga snabbare.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ingen\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Första tillgängliga\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alla tillgängliga\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simuleringsbeteende\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Ställ in för att hoppa över om du vill ha snabbare frågor, men SKUs kanske inte har de mest uppdaterade priserna eller lagren.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Standard\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Hoppa över simulering\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Avbetalningar\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Välj vilken typ av utbetalningar som ska visas (exempelvis maximal utan ränta eller med ränta).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maximal utan ränta\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maximal\",\n \"admin/editor.search-result.pagination.title\": \"Pagineringstyp\",\n \"admin/editor.search-result.pagination.show-more\": \"Visa fler\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Oändlig scroll\",\n \"admin/editor.search-result.description\": \"Omslag för sökresultat.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maximalt antal föremål per rad\",\n \"admin/editor.search-result.mobileLayout\": \"Omkopplare för mobil layout\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Layout läge 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Layout läge 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Dolda filter\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Dölj varumärkesfilter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Dölj kategorifilter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Dölj prisfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Dölj specifikationsfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Dölj alla specifikationsfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Dolda specifikationsfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Dolda specifikationsfilters namn\",\n \"admin/editor.search-result.showTitle\": \"Visa kategorititel eller sökord ovanför galleriet\",\n \"admin/editor.search-result.gap.title\": \"Mellanrum mellan galleriföremål\",\n \"admin/editor.search-result.facet-quantity\": \"Visa filter föremålskvantitet\",\n \"admin/editor.search-result.advanced-settings.title\": \"Avancerade inställningar\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"GTM namn för sökresultat\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Namn som ska visas i Google Analytics. Om ingenting godkänns kommer den att använda \\\"Sökresultat\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sortera efter\",\n \"admin/editor.search-result.total-products\": \"Totala produkter\",\n \"store/search-result.show-more-button\": \"Visa fler\",\n \"store/search-result.show-previous-button\": \"Visa föregående\",\n \"store/search-result.showing-products\": \"Visar {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} av {total, number}\",\n \"store/search-result.showing-all-products\": \"Du visade alla {value} produkter\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filter\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filter\",\n \"store/search-result.filter-button.apply\": \"Tillämpa\",\n \"store/search-result.filter-button.clear\": \"Rengör\",\n \"store/search-result.filter-button.clearAll\": \"Rensa alla\",\n \"store/search-result.orderby.title\": \"Sortera efter\",\n \"store/search-result.clear-filters.title\": \"Rengör\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Avdelningar\",\n \"store/search.filter.title.color\": \"Färg\",\n \"store/filter.more-departments\": \"Se {quantity} fler avdelningar\",\n \"store/filter.more-categories\": \"Se {quantity} fler kategorier\",\n \"store/filter.more-items\": \"Se {quantity} mer\",\n \"store/filter.less-items\": \"Se mindre\",\n \"store/search.filter.placeholder\": \"Sök efter {filterName}\",\n \"store/search.filter.title.brands\": \"Varumärken\",\n \"store/search.filter.title.price-ranges\": \"Prisklasser\",\n \"store/search.text\": \"Visar {from}–{to} av {recordsFiltered} resultat\",\n \"store/search.filter.title.shipping\": \"Frakt\",\n \"store/search.filter.shipping.name.delivery\": \"Leverera till\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Hämta vid\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Hämtning i närheten\",\n \"store/search.filter.shipping.name.pickup-all\": \"Hämta\",\n \"store/search.filter.shipping.action-button.delivery\": \"Ange plats\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Ange butik\",\n \"store/search.selected-filters\": \"Filtrerad enligt:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.empty-products\": \"Vi hittade inga resultat relaterade till \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Vad ska jag göra?\",\n \"store/search.what-to-do.1\": \"Verifiera det du skrev.\",\n \"store/search.what-to-do.2\": \"Försök att använda ett enskilt ord.\",\n \"store/search.what-to-do.3\": \"Använd generiska termer i sökningen.\",\n \"store/search.what-to-do.4\": \"Försök att söka i synonymer av önskad term.\",\n \"store/search.no-products\": \"Inga produkter hittades\",\n \"store/ordenation.button\": \"Sortera\",\n \"store/ordenation.sort-by\": \"Sortera efter\",\n \"store/ordenation.relevance\": \"Relevans\",\n \"store/ordenation.sales\": \"Försäljning\",\n \"store/ordenation.release.date\": \"Utgivningsdatum\",\n \"store/ordenation.discount\": \"Rabatt\",\n \"store/ordenation.price.descending\": \"Pris: Högt till lågt\",\n \"store/ordenation.price.ascending\": \"Pris: lågt till högt\",\n \"store/ordenation.name.ascending\": \"Namn, stigande\",\n \"store/ordenation.name.descending\": \"Namn, fallande\",\n \"store/layoutModeSwitcher.inline\": \"Rad\",\n \"store/layoutModeSwitcher.small\": \"Liten\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Ingen\",\n \"store/gallery.gapType.small\": \"Liten\",\n \"store/gallery.gapType.medium\": \"Medium\",\n \"store/gallery.gapType.large\": \"Stor\",\n \"admin/editor.search-result-layout-custom.title\": \"Sökresultat anpassad flexibel layout\",\n \"admin/editor.search-result-layout.title\": \"Sökresultat flexibel layout\",\n \"admin/editor.search-result-mobile.title\": \"Flexibel sökresultat - Mobil\",\n \"admin/editor.search-result-desktop.title\": \"Flexibel sökresultat - Skrivbord\",\n \"store/search-result.price-ranges.submit\": \"Sök\",\n \"admin/editor.search-result.fetch-more\": \"Hämta mer\",\n \"admin/editor.search-result.fetch-previous\": \"Hämta tidigare\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Knappens beteende\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Knapp\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Länk till sida - Förbättrar SEO, kan ändra hur knappen ser ut\"\n}\n\n```" } ]
code_search-result_b8c117cd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/nn.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Søkeresultat\",\n \"admin/editor.search-result.query\": \"Tilpasset søk\",\n \"admin/editor.search-result.query.description\": \"Søk utført når det ikke er noen sammenheng.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Aktiver tilpasset søk\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Maksimalt antall varer per søkeside\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Skjul utilgjengelige varer\",\n \"admin/editor.search-result.query.skusFilter\": \"SKU-filter\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Bruk det første tilgjengelige filteret for å gjøre søket raskere.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ingen\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Første tilgjengelige\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Alle tilgjengelige\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Simuleringsadferd\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Sett til å hoppe over hvis du vil ha raskere søk, men SKU-er har kanskje ikke de mest oppdaterte prisene eller lagerbeholdning.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Standard\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Hopp over simulering\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Avdrag\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Velg hvilken type avdrag som skal vises (f.eks: maksimum uten renter eller med renter).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Maksimum uten renter\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Maksimum\",\n \"admin/editor.search-result.pagination.title\": \"Sidenummereringstype\",\n \"admin/editor.search-result.pagination.show-more\": \"Vis mer\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Uendelig scrolling\",\n \"admin/editor.search-result.description\": \"Wrapper for å vise søkeresultater.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Maksimalt antall varer per linje\",\n \"admin/editor.search-result.mobileLayout\": \"Bytte oppsett på mobilen\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Oppsettmodus 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Oppsettmodus 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Skjulte filtre\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Skjul merkefilter\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Skjul kategorifilter\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Skjul prisfilter\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Skjul spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Skjul alle spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Skjulte spesifikasjonsfiltre\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Navn på skjult spesifikasjonsfilter\",\n \"admin/editor.search-result.showTitle\": \"Vis kategoritittel eller søkeord over galleriet\",\n \"admin/editor.search-result.gap.title\": \"Mellomrom mellom gallerivarer\",\n \"admin/editor.search-result.facet-quantity\": \"Vis antall filtrerte varer\",\n \"admin/editor.search-result.advanced-settings.title\": \"Avanserte innstillinger\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Navn på GTM-søkeresultat\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Navn som skal vises i Google Analytics. Hvis ingenting godkjennes, bruker det kun i \\\"Søkeresultat\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Sorter etter\",\n \"admin/editor.search-result.total-products\": \"Totalt antall produkter\",\n \"store/search-result.show-more-button\": \"Vis mer\",\n \"store/search-result.show-previous-button\": \"Vis forrige\",\n \"store/search-result.showing-products\": \"Viser {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} av {total, number}\",\n \"store/search-result.showing-all-products\": \"Du har sett alle {value} produktene\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtre\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtre\",\n \"store/search-result.filter-button.apply\": \"Bruk\",\n \"store/search-result.filter-button.clear\": \"Tøm\",\n \"store/search-result.filter-button.clearAll\": \"Tøm alt\",\n \"store/search-result.orderby.title\": \"Sorter etter\",\n \"store/search-result.clear-filters.title\": \"Tøm\",\n \"store/search-result.filter-action.title\": \"Filter\",\n \"store/search.filter.title.categories\": \"Avdelinger\",\n \"store/search.filter.title.color\": \"Farge\",\n \"store/filter.more-departments\": \"Se {quantity} flere avdelinger\",\n \"store/filter.more-categories\": \"Se {quantity} flere kategorier\",\n \"store/filter.more-items\": \"Se {quantity} mer\",\n \"store/filter.less-items\": \"Se mindre\",\n \"store/search.filter.placeholder\": \"Søk etter {filterName}\",\n \"store/search.filter.title.brands\": \"Merker\",\n \"store/search.filter.title.price-ranges\": \"Prisklasser\",\n \"store/search.text\": \"Viser {from}–{to} av {recordsFiltered} resultater\",\n \"store/search.filter.title.shipping\": \"Forsendelse\",\n \"store/search.filter.shipping.name.delivery\": \"Leveres til\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Hent hos\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Henting i nærheten\",\n \"store/search.filter.shipping.name.pickup-all\": \"Hent\",\n \"store/search.filter.shipping.action-button.delivery\": \"Skriv inn sted\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Skriv inn butikken\",\n \"store/search.selected-filters\": \"Filtrert etter:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {produkt} other {produkter}}</span>\",\n \"store/search.empty-products\": \"Vi fant ingen resultater relatert til \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"Hva skal jeg gjøre?\",\n \"store/search.what-to-do.1\": \"Bekreft begrepene du skrev inn.\",\n \"store/search.what-to-do.2\": \"Prøv å bruke et enkelt ord.\",\n \"store/search.what-to-do.3\": \"Bruk generiske begreper i søket.\",\n \"store/search.what-to-do.4\": \"Prøv å søke i synonymer for ønsket begrep.\",\n \"store/search.no-products\": \"Fant ingen produkter\",\n \"store/ordenation.button\": \"Sorter\",\n \"store/ordenation.sort-by\": \"Sorter etter\",\n \"store/ordenation.relevance\": \"Relevans\",\n \"store/ordenation.sales\": \"Salg\",\n \"store/ordenation.release.date\": \"Utgivelsesdato\",\n \"store/ordenation.discount\": \"Rabatt\",\n \"store/ordenation.price.descending\": \"Pris: Høy til lav\",\n \"store/ordenation.price.ascending\": \"Pris: Lav til høy\",\n \"store/ordenation.name.ascending\": \"Navn, stigende\",\n \"store/ordenation.name.descending\": \"Navn, synkende\",\n \"store/layoutModeSwitcher.inline\": \"Linje\",\n \"store/layoutModeSwitcher.small\": \"Liten\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Ingen\",\n \"store/gallery.gapType.small\": \"Liten\",\n \"store/gallery.gapType.medium\": \"Middels\",\n \"store/gallery.gapType.large\": \"Stor\",\n \"admin/editor.search-result-layout-custom.title\": \"Søkeresultat tilpasset fleksibelt oppsett\",\n \"admin/editor.search-result-layout.title\": \"Søkeresultat fleksibelt oppsett\",\n \"admin/editor.search-result-mobile.title\": \"Søkeresultat fleksibelt oppsett for mobil\",\n \"admin/editor.search-result-desktop.title\": \"Søkeresultat fleksibelt oppsett for skrivebord\",\n \"store/search-result.price-ranges.submit\": \"Søk\",\n \"admin/editor.search-result.fetch-more\": \"Hent flere\",\n \"admin/editor.search-result.fetch-previous\": \"Hent forrige\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Oppførsel for knapp\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Knapp\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link til side – Forbedrer SEO, kan endre hvordan knappen ser ut\"\n}\n\n```" } ]
code_search-result_c65541b5
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/es.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"Resultado de la búsqueda\",\n \"admin/editor.search-result.query\": \"Consulta personalizada\",\n \"admin/editor.search-result.query.description\": \"Consulta realizada cuando no hay contexto\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"Activar consulta personalizada\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"Número máximo de ítems por página de búsqueda\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"Ocultar ítems no disponibles\",\n \"admin/editor.search-result.query.skusFilter\": \"Filtro de SKUs\",\n \"admin/editor.search-result.query.skusFilter.description\": \"Configura el primer filtro disponible para que la consulta sea más rápida\",\n \"admin/editor.search-result.query.skusFilter.none\": \"Ninguno\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"Primero disponible\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"Todos los disponibles\",\n \"admin/editor.search-result.query.simulationBehavior\": \"Comportamiento de la simulación\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"Configura la opción Omitir simulación para búsquedas más rápidas, pero recuerda que los SKUs pueden no mostrar la información de precio o stock más actualizada\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"Predeterminado\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"Omitir simulación\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"Cuotas\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"Selecciona los tipos de cuotas que se mostrarán con los productos (ejemplo: máximo sin interés o con interés).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"Máximo sin interés\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"Máximo\",\n \"admin/editor.search-result.pagination.title\": \"Tipo de paginación\",\n \"admin/editor.search-result.pagination.show-more\": \"Mostrar más\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"Desplazamiento infinito\",\n \"admin/editor.search-result.description\": \"Contenedor de resultados de búsqueda\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"Número máximo de ítems por línea\",\n \"admin/editor.search-result.mobileLayout\": \"Alternador de layout en el dispositivo móvil\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"Modo de layout 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"Modo de layout 2\",\n \"admin/editor.search-result.hiddenFacets\": \"Filtros ocultos\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"Ocultar filtro de marcas\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"Ocultar filtro de categorías\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"Ocultar filtro de precio\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"Ocultar filtros de especificaciones\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"Ocultar todos los filtros de especificaciones\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"Filtro de especificaciones oculto\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"Nombre del filtro de especificaciones oculto\",\n \"admin/editor.search-result.showTitle\": \"Mostrar título de la categoría o término de búsqueda en la parte superior de la galería\",\n \"admin/editor.search-result.gap.title\": \"Espacio entre los elementos de la galería\",\n \"admin/editor.search-result.facet-quantity\": \"Mostrar la cantidad de ítems del filtro\",\n \"admin/editor.search-result.advanced-settings.title\": \"Configuración avanzada\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"Nombre del resultado de búsqueda en GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"Nombre que se mostrará en Google Analytics. Si no se agrega un nombre, solo se mostrará \\\"Resultados de la búsqueda\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"Ordenar por\",\n \"admin/editor.search-result.total-products\": \"Total de productos\",\n \"store/search-result.show-more-button\": \"Mostrar más\",\n \"store/search-result.show-previous-button\": \"Mostrar anteriores\",\n \"store/search-result.showing-products\": \"Mostrando {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} de {total, number}\",\n \"store/search-result.showing-all-products\": \"Has visto todos los {value} productos\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"Filtros\",\n \"store/search-result.filter-breadcrumbs.primary\": \"Filtros\",\n \"store/search-result.filter-button.apply\": \"Aplicar\",\n \"store/search-result.filter-button.clear\": \"Limpiar\",\n \"store/search-result.filter-button.clearAll\": \"Limpiar todo\",\n \"store/search-result.orderby.title\": \"Ordenar por\",\n \"store/search-result.clear-filters.title\": \"Limpiar\",\n \"store/search-result.filter-action.title\": \"Filtrar\",\n \"store/search.filter.title.categories\": \"Departamentos\",\n \"store/search.filter.title.color\": \"Color\",\n \"store/filter.more-departments\": \"Mostrar {quantity} departamentos más\",\n \"store/filter.more-categories\": \"Mostrar {quantity} categorías más\",\n \"store/filter.more-items\": \"Mostrar {quantity} más\",\n \"store/filter.less-items\": \"Mostrar menos\",\n \"store/search.filter.placeholder\": \"Buscar por {filterName}\",\n \"store/search.filter.title.brands\": \"Marcas\",\n \"store/search.filter.title.price-ranges\": \"Rangos de precio\",\n \"store/search.text\": \"Mostrando {from}-{to} de {recordsFiltered} resultados\",\n \"store/search.filter.title.shipping\": \"Envío\",\n \"store/search.filter.shipping.name.delivery\": \"Entregar a\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"Recogida en\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"Recogida en tiendas cercanas\",\n \"store/search.filter.shipping.name.pickup-all\": \"Recogida\",\n \"store/search.filter.shipping.action-button.delivery\": \"Ingresa tu ubicación\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"Ingresa la tienda\",\n \"store/search.selected-filters\": \"Filtrado por:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {producto} other {productos}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {producto} other {productos}}</span>\",\n \"store/search.empty-products\": \"No encontramos ningún resultado para \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"¿Qué debo hacer?\",\n \"store/search.what-to-do.1\": \"Comprueba los términos ingresados\",\n \"store/search.what-to-do.2\": \"Intenta utilizar una sola palabra\",\n \"store/search.what-to-do.3\": \"Utiliza términos genéricos en la búsqueda\",\n \"store/search.what-to-do.4\": \"Intenta buscar sinónimos del término deseado\",\n \"store/search.no-products\": \"No se encontró ningún producto\",\n \"store/ordenation.button\": \"Orden\",\n \"store/ordenation.sort-by\": \"Ordenar por\",\n \"store/ordenation.relevance\": \"Relevancia\",\n \"store/ordenation.sales\": \"Ventas\",\n \"store/ordenation.release.date\": \"Fecha de release\",\n \"store/ordenation.discount\": \"Descuento\",\n \"store/ordenation.price.descending\": \"Precio: mayor a menor\",\n \"store/ordenation.price.ascending\": \"Precio: menor a mayor\",\n \"store/ordenation.name.ascending\": \"Nombre, ascendente\",\n \"store/ordenation.name.descending\": \"Nombre, descendente\",\n \"store/layoutModeSwitcher.inline\": \"Línea\",\n \"store/layoutModeSwitcher.small\": \"Pequeño\",\n \"store/layoutModeSwitcher.normal\": \"Normal\",\n \"store/gallery.gapType.none\": \"Ninguno\",\n \"store/gallery.gapType.small\": \"Pequeño\",\n \"store/gallery.gapType.medium\": \"Mediano\",\n \"store/gallery.gapType.large\": \"Grande\",\n \"admin/editor.search-result-layout-custom.title\": \"Layout flexible para resultados de búsquedas personalizadas\",\n \"admin/editor.search-result-layout.title\": \"Layout flexible para resultados de búsquedas\",\n \"admin/editor.search-result-mobile.title\": \"Layout flexible para resultados de búsquedas en móvil\",\n \"admin/editor.search-result-desktop.title\": \"Layout flexible para resultados de búsquedas en escritorio\",\n \"store/search-result.price-ranges.submit\": \"Buscar\",\n \"admin/editor.search-result.fetch-more\": \"Cargar más\",\n \"admin/editor.search-result.fetch-previous\": \"Cargar anterior\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"Comportamiento del botón\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"Botón\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"Link a la página (mejora el SEO; puede cambiar el aspecto del botón)\",\n \"store/search.filter.dynamic-estimate.next-day.name\": \"Siguiente día\",\n \"store/search.filter.dynamic-estimate.same-day.name\": \"Mismo día\",\n \"store/search.filter.dynamic-estimate.delivery-next-day.name\": \"Entrega el siguiente día\",\n \"store/search.filter.dynamic-estimate.pickup-next-day.name\": \"Recoger el siguiente día\",\n \"store/search.filter.dynamic-estimate.delivery-same-day.name\": \"Entrega el mismo día\",\n \"store/search.filter.dynamic-estimate.pickup-same-day.name\": \"Recoger el mismo día\"\n}\n\n```" } ]
code_search-result_6305496e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/messages/ar.json from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"admin/editor.search-result.title\": \"نتائج البحث\",\n \"admin/editor.search-result.query\": \"استعلام مخصص\",\n \"admin/editor.search-result.query.description\": \"استعلام تم إجراؤه في حالة عدم توفر سياق.\",\n \"admin/editor.search-result.query.enableCustomQuery\": \"تمكين إستعلام مخصص\",\n \"admin/editor.search-result.query.maxItemsPerPage\": \"الحد الأقصى لعدد العناصر لكل صفحة بحث\",\n \"admin/editor.search-result.query.hideUnavailableItems\": \"إخفاء العناصر غير المتاحة\",\n \"admin/editor.search-result.query.skusFilter\": \"ترشيح SKU\",\n \"admin/editor.search-result.query.skusFilter.description\": \"قم بتعيين أول مرشح متاح لجعل استعلامك أسرع.\",\n \"admin/editor.search-result.query.skusFilter.none\": \"لا شيء\",\n \"admin/editor.search-result.query.skusFilter.first-available\": \"‮المتاح أولًا\",\n \"admin/editor.search-result.query.skusFilter.all-available\": \"كل العناصر المتاحة\",\n \"admin/editor.search-result.query.simulationBehavior\": \"سلوك المحاكاة\",\n \"admin/editor.search-result.query.simulationBehavior.description\": \"اضبطه على تخطي المحاكاة إذا كنت تريد استعلامات أسرع، ولكن ضع في اعتبارك أن وحدات SKU قد لا تعرض أحدث معلومات عن الأسعار أو المخزون.\",\n \"admin/editor.search-result.query.simulationBehavior.default\": \"افتراضي\",\n \"admin/editor.search-result.query.simulationBehavior.skip\": \"تخطي المحاكاة\",\n \"admin/editor.search-result.query.installmentCriteria.title\": \"الأقساط\",\n \"admin/editor.search-result.query.installmentCriteria.description\": \"اختر الأقساط التي سيتم عرضها مع المنتجات (على سبيل المثال: الحد الأقصى بدون فائدة أو بفائدة).\",\n \"admin/editor.search-result.query.installmentCriteria.max-without-interest\": \"الحد الأقصى بدون فوائد\",\n \"admin/editor.search-result.query.installmentCriteria.max-with-interest\": \"الحد الأقصى\",\n \"admin/editor.search-result.pagination.title\": \"نوع ترقيم الصفحات\",\n \"admin/editor.search-result.pagination.show-more\": \"عرض المزيد\",\n \"admin/editor.search-result.pagination.infinite-scroll\": \"تمرير لا نهائي\",\n \"admin/editor.search-result.description\": \"غلاف لعرض نتائج البحث.\",\n \"admin/editor.search-result.maxItemsPerLine.title\": \"الحد الأقصى لعدد العناصر في كل سطر\",\n \"admin/editor.search-result.mobileLayout\": \"محوّل تصميم الهاتف المحمول\",\n \"admin/editor.search-result.mobileLayout.mode1\": \"وضع التصميم 1\",\n \"admin/editor.search-result.mobileLayout.mode2\": \"وضع التصميم 2\",\n \"admin/editor.search-result.hiddenFacets\": \"المرشحات المخفية\",\n \"admin/editor.search-result.hiddenFacets.brands\": \"إخفاء مرشح العلامة التجارية\",\n \"admin/editor.search-result.hiddenFacets.categories\": \"إخفاء مرشح الفئات\",\n \"admin/editor.search-result.hiddenFacets.priceRange\": \"إخفاء مرشح السعر\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters\": \"إخفاء مرشحات المواصفات\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hideAll\": \"إخفاء جميع مرشحات المواصفات\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\": \"مرشح المواصفات المخفية\",\n \"admin/editor.search-result.hiddenFacets.specificationFilters.hiddenFilter.name\": \"اسم مرشح المواصفات المخفية\",\n \"admin/editor.search-result.showTitle\": \"إظهار عنوان الفئة أو مصطلح البحث أعلى المعرض\",\n \"admin/editor.search-result.gap.title\": \"فجوة بين عناصر المعرض\",\n \"admin/editor.search-result.facet-quantity\": \"إظهار كمية عنصر التصفية\",\n \"admin/editor.search-result.advanced-settings.title\": \"إعدادات متقدمة\",\n \"admin/editor.search-result.advanced-settings.trackingId.title\": \"اسم نتيجة بحث GTM\",\n \"admin/editor.search-result.advanced-settings.trackingId.description\": \"الاسم الذي سيظهر على Google Analytics. إذا لم تتم إضافة أي منها، سيتم عرض \\\"نتيجة البحث\\\".\",\n \"admin/editor.search-result.ordination.sort-by\": \"ترتيب حسب\",\n \"admin/editor.search-result.total-products\": \"إجمالي المنتجات\",\n \"store/search-result.show-more-button\": \"عرض المزيد\",\n \"store/search-result.show-previous-button\": \"عرض السابق\",\n \"store/search-result.showing-products\": \"عرض {value}\",\n \"store/search-result.showing-products-count\": \"{productsLoaded, number} من {total, number}\",\n \"store/search-result.showing-all-products\": \"لقد شاهدت جميع المنتجات {value}\",\n \"store/search-result.showing-all-products-count\": \"{total, number}\",\n \"store/search-result.filter-button.title\": \"المرشحات\",\n \"store/search-result.filter-breadcrumbs.primary\": \"المرشحات\",\n \"store/search-result.filter-button.apply\": \"تطبيق\",\n \"store/search-result.filter-button.clear\": \"حذف\",\n \"store/search-result.filter-button.clearAll\": \"مسح الكل\",\n \"store/search-result.orderby.title\": \"ترتيب حسب\",\n \"store/search-result.clear-filters.title\": \"حذف\",\n \"store/search-result.filter-action.title\": \"تصنيف\",\n \"store/search.filter.title.categories\": \"الأقسام\",\n \"store/search.filter.title.color\": \"اللون\",\n \"store/filter.more-departments\": \"شاهد {quantity} أكثر من الأقسام\",\n \"store/filter.more-categories\": \"شاهد {quantity} أكثر من الفئات\",\n \"store/filter.more-items\": \"عرض {quantity} أكثر\",\n \"store/filter.less-items\": \"عرض أقل\",\n \"store/search.filter.placeholder\": \"بحث حسب {filterName}\",\n \"store/search.filter.title.brands\": \"العلامات التجارية\",\n \"store/search.filter.title.price-ranges\": \"نطاقات السعر\",\n \"store/search.text\": \"عرض {from}-{to} من {recordsFiltered} نتائج\",\n \"store/search.filter.title.shipping\": \"الشحن\",\n \"store/search.filter.shipping.name.delivery\": \"توصيل الى\",\n \"store/search.filter.shipping.name.pickup-in-point\": \"الاستلام في\",\n \"store/search.filter.shipping.name.pickup-nearby\": \"استلام بقرب\",\n \"store/search.filter.shipping.name.pickup-all\": \"الإستلام\",\n \"store/search.filter.shipping.action-button.delivery\": \"أدخل الموقع\",\n \"store/search.filter.shipping.action-button.pickup-in-point\": \"أدخل المتجر\",\n \"store/search.selected-filters\": \"تصفية حسب:\",\n \"store/search.total-products\": \"{recordsFiltered} <span class=\\\"c-muted-2\\\">{recordsFiltered, plural, one {منتج} other {منتجات}}</span>\",\n \"store/search.total-products-2\": \"{recordsFiltered} <span>{recordsFiltered, plural, one {منتج} other {منتجات}}</span>\",\n \"store/search.empty-products\": \"لم نعثر على أي نتائج متعلقة بـ \\\"{term}\\\"\",\n \"store/search.what-do-i-do\": \"ماذا يجب أن أفعل؟\",\n \"store/search.what-to-do.1\": \"تحقق من الشروط التي كتبتها.\",\n \"store/search.what-to-do.2\": \"حاول استخدام كلمة واحدة.\",\n \"store/search.what-to-do.3\": \"استخدم مصطلحات عامة في البحث.\",\n \"store/search.what-to-do.4\": \"حاول البحث عن مرادفات للمصطلح المطلوب.\",\n \"store/search.no-products\": \"لم يتم العثور على أي منتجات\",\n \"store/ordenation.button\": \"ترشيح\",\n \"store/ordenation.sort-by\": \"تصنيف حسب\",\n \"store/ordenation.relevance\": \"الصلة\",\n \"store/ordenation.sales\": \"المبيعات\",\n \"store/ordenation.release.date\": \"تاريخ الإصدار\",\n \"store/ordenation.discount\": \"الخصم\",\n \"store/ordenation.price.descending\": \"السعر: الأعلى إلى الأقل\",\n \"store/ordenation.price.ascending\": \"السعر: الأقل إلى الأعلى\",\n \"store/ordenation.name.ascending\": \"الاسم تصاعديًا\",\n \"store/ordenation.name.descending\": \"الاسم تنازليًا\",\n \"store/layoutModeSwitcher.inline\": \"السطر\",\n \"store/layoutModeSwitcher.small\": \"صغير\",\n \"store/layoutModeSwitcher.normal\": \"عادي\",\n \"store/gallery.gapType.none\": \"لا شيء\",\n \"store/gallery.gapType.small\": \"صغير\",\n \"store/gallery.gapType.medium\": \"متوسط\",\n \"store/gallery.gapType.large\": \"كبير\",\n \"admin/editor.search-result-layout-custom.title\": \"تصميم مرن مخصص لنتائج البحث\",\n \"admin/editor.search-result-layout.title\": \"تصميم مرن لنتائج البحث\",\n \"admin/editor.search-result-mobile.title\": \"تصميم مرن مخصص لنتائج البحث - للمحمول\",\n \"admin/editor.search-result-desktop.title\": \"تصميم مرن مخصص لنتائج البحث - للحاسوب\",\n \"store/search-result.price-ranges.submit\": \"بحث\",\n \"admin/editor.search-result.fetch-more\": \"استرجع المزيد\",\n \"admin/editor.search-result.fetch-previous\": \"استرجاع السابق\",\n \"admin/editor.search-result.fetch-button.button-behavior\": \"وظيفة الزر\",\n \"admin/editor.search-result.fetch-button.button-behavior.button\": \"الزر\",\n \"admin/editor.search-result.fetch-button.button-behavior.link-to-page\": \"الرابط إلى الصفحة - تحسين SEO، قد يغير تصميم الزر\"\n}\n\n```" } ]
code_search-result_da8e0197
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/docs/README.md from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n📢 Use this project, [contribute](https://github.com/vtex-apps/search-result) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).\n\n# Search Result\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nThe Search Result app handles the results returned by the [VTEX Search API](https://developers.vtex.com/docs/guides/search-overview) and displays them to users.\n\nThe app exports all store blocks expected on a search results page, such as the filters and the product gallery.\n\n![search-result](https://user-images.githubusercontent.com/52087100/77557721-d96b6580-6e98-11ea-9178-77c8c4a6408e.png)\n\n## Configuration\n\nTo configure the VTEX Search Result, follow the instructions below.\n\n### Adding the Search Result app to your theme's dependencies\n\nIn your theme's `manifest.json`, add the Search Result app as a dependency:\n\n```json\n\"dependencies\": {\n \"vtex.search-result\": \"3.x\"\n}\n```\n\nNow, you can use all the blocks exported by the `search-result` app. See the complete list below:\n\n#### `search-result` blocks\n\n| Block name | Description |\n|---|---|\n| `search-result-layout` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Builds the search result page using its three children blocks: `search-result-layout desktop`, `search-result-layout.mobile`, and `search-not-found-layout`. Use it in the `store.search` template, as it uses context from the VTEX Search API. |\n| `search-result-layout.customQuery` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Use this block instead of `search-result-layout` when the search result is declared in a template that doesn't fetch Search context, such as Home. It accepts a `querySchema` prop that executes search custom queries. It also supports three children blocks: `search-result-layout.desktop`, `search-result-layout.mobile`, and `search-not-found-layout`. |\n| `search-result-layout.desktop` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Builds the search result page structure for desktop mode. |\n| `search-result-layout.mobile` | Builds the search result page structure for mobile mode. If `search-result-layout.mobile` isn't provided, `search-result-layout.desktop` is used. |\n| `search-layout-switcher` | Enables mobile users to switch between layout modes. |\n| `search-not-found-layout` | Builds the entire search results page structure for scenarios where no result was found. It renders when users search for a term that doesn't return a product. |\n| `gallery` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Displays the gallery with all the products found in the search. |\n| `gallery-layout-switcher` | Allows users to switch between available `gallery` layouts. Learn more in the guide [Building a search results page with multiple layouts](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-building-a-search-results-page-with-multiple-layouts). |\n| `gallery-layout-option` | Defines how each layout option renders for users. Learn more in the guide [Building a search results page with multiple layouts](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-building-a-search-results-page-with-multiple-layouts). |\n| `not-found` | Contains text and a description for a page not found in the search. Declare it as a child of `search-not-found-layout`. |\n| `search-content` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Decides, behind the scenes, which block to display: either the `gallery` block (if products are found) or the `not-found` (if selected filters lead to an empty search results page). This means both `gallery` and `not-found` must be declared `search-content` children. |\n| `store.not-found#search` | When configured, it displays a `404` error message when the server can’t return what the browser's request is, or isn’t configured to handle that request. |\n| `search-products-count-per-page` | Displays the total number of products on the search results page. |\n| `search-products-progress-bar` | Displays a progress bar of products on the search results page. |\n| `order-by.v2` | Allows users to choose the product order on the search results page. |\n| `filter-navigator.v3` | Allows users to apply different filters to the search. On mobile, it renders a button that, when clicked, displays all available filters in a sidebar. |\n| `total-products.v2` | Displays the total number of products found for that search. |\n| `search-title.v2` | Displays a title for the performed search. |\n| `search-fetch-more` | Displays the **Show more** button. This button doesn't render when the user is on the last page. |\n| `search-fetch-previous` | Displays the **Show previous** button. This button doesn't render when the user is on the first page. |\n| `sidebar-close-button` | Displays an `X` button on the filter sidebar on mobile. |\n\n## Adding the Search Result to page templates\n\nSearch Result app data usually displays on search pages (`store.search`), but you can add it to any other page.\n\nWhen adding to the search page, use the `search-result-layout`, which fetches data from the template's current search context. To add the app to another page, use the [`search-result-layout.customQuery`](#search-result-blocks) block.\n\nOn the desired store page, add the `search-result-layout` block or the `search-result-layout.customQuery` to the correct template blocks list. Check both codes below as examples.\n\nOn search pages:\n\n```json\n\"store.search\": {\n \"blocks\": [\"search-result-layout\"]\n}\n```\n\nOn other pages:\n\n```diff\n\"store.home\": {\n \"blocks\": [\n \"carousel#home\",\n \"shelf#home\",\n + \"search-result-layout.customQuery#home\"\n ]\n}\n```\n\n### Defining how the search query data should be fetched\n\nBefore declaring the blocks into the search results layout, define how the search results will be fetched.\n\nYou should define these results through a custom query on the homepage. On the search template, use the already provided context.\n\nIf you use `search-result-layout`, the blocks define the fetched data from the `context`. If you use `search-result-layout.customQuery`, send the props through the `querySchema` to configure the custom query.\n\nUsing `search-result-layout`:\n\n```json\n{\n \"store.search\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n }\n}\n```\n\nUsing `search-result-layout.customQuery`:\n\n```json\n{\n \"store.home\": {\n \"blocks\": [\n \"carousel#home\",\n \"shelf#home\",\n \"search-result-layout.customQuery#home\"\n ]\n },\n \"search-result-layout.customQuery#home\": {\n \"props\": {\n \"querySchema\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n }\n}\n```\n\nCheck all props to configure your search data in the table below.\n\n### The `context` and `querySchema` props\n\n| Prop name | Type | Description | Default value |\n|---|---|---|---|\n| `queryField` | `string` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Query string of the search URL that defines the results to fetch in the custom query. Example: `Blue`. This prop only works if `mapField` is also declared. | `undefined` |\n| `mapField` | `string` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Search URL's `map` parameter to define which results to fetch in the custom query. Example: `specificationFilter_100`. This prop only works if the `queryField` prop is also declared. | `undefined` |\n| `maxItemsPerPage` | `number` |Maximum number of items per search page. The maximum value of this prop is `50`. If a higher number is added, the query will fail. | `10` |\n| `orderByField` | `enum` | Determines the order products follow when displayed. Possible values are named after the sorting type: `OrderByReleaseDateDESC`, `OrderByBestDiscountDESC`, `OrderByPriceDESC`, `OrderByPriceASC`, `OrderByNameASC`, `OrderByNameDESC`, or `OrderByTopSaleDESC`. <br/><br/>`ASC` and `DESC` stand for ascending order and descending order, respectively, based on the position of each value's corresponding code in the [ASCII table](http://www.asciitable.com/). <br/><br/>`OrderByTopSaleDESC` considers the number of units sold of the product in the past 90 days, taking into account only ecommerce orders (no physical store orders) from `order-placed` events (Example: Without checking if the payment was approved). If the store has an app, it's possible to consider events from the app — provided they're implemented on the store's side, as they aren't enabled by default. If the shopper has an ad-blocking extension or a browser restriction that disables sending events, their navigation won't be counted.<br/><br/>If not set to any of the mentioned values, the fallback behavior is sorting by [relevance settings](https://help.vtex.com/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb/1qlObWIib6KqgrfX1FCOXS). <br/><br/>`OrderByScoreDESC` is **not** a valid value for this prop. | `\"\"` |\n| `hideUnavailableItems` | `boolean` | Determines whether the search result should hide unavailable items (`true`) or not (`false`). This prop only hides items that are unavailable according to indexed information, without taking into account `simulationBehavior`. | `false` |\n| `facetsBehavior` | `string` | Defines the filters' behavior. When set to `Dynamic`, results are restricted according to the filters the user selected. If set to `Static`, all filters continue to display to the user, even if there are no results. | `Static` |\n| `skusFilter` | `enum` | Refines the SKUs returned for each product in the query. Fewer returned SKUs result in a more performant shelf query. Available value: `FIRST_AVAILABLE` (returns only the first available SKU), `ALL_AVAILABLE` (returns all available SKUs), and `ALL` (returns all product SKUs). | `ALL_AVAILABLE` |\n| `simulationBehavior` | `enum` | Defines whether the search data will be up-to-date (`default`) or fetched using the cache (`skip`). Use the last option only if you prefer faster queries over the most up-to-date prices or inventory. | `default` |\n| `installmentCriteria` | `enum` | Defines which price to display when different installments are available. Possible values: `MAX_WITHOUT_INTEREST` (displays the maximum installment option with no interest attached) or ´MAX_WITH_INTEREST` (displays the maximum installment option, whether it has interest attached or not). | `\"MAX_WITHOUT_INTEREST\"` |\n| `excludedPaymentSystems` | `string` | List of payment systems not to consider when displaying installment options to users. This prop works only if `installmentCriteria` is also declared. Otherwise, all available payment systems display regardless. | `undefined` |\n| `includedPaymentSystems` | `string` | List of payment systems to consider when displaying installment options to users. This prop works only if `installmentCriteria` is also declared. Otherwise, all available payment systems display regardless. | `undefined` |\n\n>ℹ️ Pagination doesn't display results after page 50. You can configure it to display more products per page by increasing the number of products on each page using the `maxItemsPerPage` prop.\n\n>⚠️ When the `simulationBehavior` prop is set as `skip`, it defines that the search data should only be fetched using the store's cache. This may impact the content displayed on store pages, as cache storage changes based on user interaction on each page.\n\nYou must define the query for the following search pages:\n\n* Brand\n* Department\n* Category\n* Subcategory\n\nThis allows you to define custom behaviors for your store's search pages. For example:\n\n```json\n{\n \"store.search\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n },\n \"store.search#category\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n },\n \"store.search#brand\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n },\n \"store.search#department\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n },\n \"store.search#subcategory\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"FIRST_AVAILABLE\",\n \"simulationBehavior\": \"default\"\n }\n }\n }\n}\n```\n\n### Defining your search results page's layout and behavior\n\nNow you can structure the `search-result-layout` or the `search-result-layout.customQuery` blocks. Both require the `search-result-layout.desktop` as a child. You can also provide props to other children, such as `search-result-layout.mobile` and `search-not-found-layout`.\n\nDepending on your store's scenario, structure the `search-result-layout` or the `search-result-layout.customQuery` by declaring their children and then configuring them using the [Flex Layout](https://developers.vtex.com/docs/guides/vtex-flex-layout) blocks and their props. For example:\n\n```json\n{\n \"search-result-layout\": {\n \"blocks\": [\n \"search-result-layout.desktop\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n \"search-result-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#searchbread\",\n \"flex-layout.row#searchtitle\",\n \"flex-layout.row#result\"\n ],\n \"props\": {\n \"preventRouteChange\": true\n }\n }\n}\n```\n\n#### The `search-result-layout.desktop`, `search-result-layout.mobile`, and `search-not-found-layout` props\n\n| Prop name | Type | Description | Default value |\n|--------------------------|-----------|---------------------------|-----------------|\n| `hiddenFacets` | `object` | Indicates which filters should be hidden. The possible values are in [this table](#the-hiddenfacets-object). | `undefined` |\n| `showFacetQuantity` | `boolean` |Determines whether the resulting amount in each filter should appear beside its name on the `filter-navigator.v3` block (`true`) or not (`false`). | `false` |\n| `showFacetTitle` | `boolean` | Determines whether the facet title should appear on the selected filters section on the `filter-navigator.v3` block (`true`) or not (`false`). | `false` |\n| `blockClass` | `string` | Unique block ID for [CSS customization](https://developers.vtex.com/docs/guides/vtex-io-documentation-using-css-handles-for-store-customization#using-the-blockclass-property). | `undefined` |\n| `trackingId` | `string` | ID for Google Analytics to track store metrics based on the Search Result block. | `Search result` |\n| `mobileLayout` | `object` | Controls how the search results page displays to users using the mobile layout. Possible values are in [this table](#the-mobilelayout-object). | `undefined` |\n| `defaultGalleryLayout` | `string` | Determines the default name of the gallery layout on the search results page. This prop is required when the `gallery` block explicitly defines several layouts. This prop's value must match the layout name defined in the `name` prop from `layouts` object. | `undefined` |\n| `thresholdForFacetSearch` | `number` | Specifies the minimum number of facets that must be displayed for the search bar to appear. If you declare `0`, the search bar always displays. | `undefined` |\n| `preventRouteChange` | `boolean` | Keeps page customizations even when the user applies new filters. This prop only changes the URL's query string rather than the entire URL, preventing a full page reload when filters are applied. | `false` |\n| `showShippingFacet` | `boolean` | Determines whether Shipping filters should display (`true`) or not (`false`). | `false` |\n\n#### The `mobileLayout` object\n\n| Prop name | Type | Description | Default value |\n| --------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `mode1` | `enum` | Defines the default layout for the mobile search results page. Possible values: `normal`, `small`, or `inline`. | `normal` |\n| `mode2` | `enum` | Defines which layout sets for the mobile search results page when users click the layout selector button. Possible values are also `normal`, `small`, or `inline`. | `small` |\n\n#### The `hiddenFacets` object\n\n| Prop name | Type | Description | Default value |\n| ---------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `brands` | `boolean` | Determines whether Brand filters should be hidden (`true`) or not (`false`). | `false` |\n| `categories` | `boolean` | Determines whether Category filters should be hidden (`true`) or not (`false`). | `false` |\n| `priceRange` | `boolean` | Determines whether Price filters should be hidden (`true`) or not (`false`). | `false` |\n| `specificationFilters` | `object` | Indicates which specification filters should be hidden. Possible values are in [this table](#the-specificationfilters-object). | `undefined` |\n\n#### The `specificationFilters` object\n\n| Prop name | Type | Description | Default value |\n| --------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `hideAll` | `boolean` | Determines whether specification filters should be hidden (`true`) or not (`false`). | `false` |\n| `hiddenFilters` | `object` | Object array of specification filters that should be hidden. Possible values are in [this table](#the-hiddenfilters-object). | `undefined` |\n\n#### The `hiddenFilters` object\n\n| Prop name | Type | Description | Default value |\n| --------- | -------- | ------------------------------------------------------- | ------------- |\n| `name` | `string` | Defines the name of the specification filter that you want to hide. | `undefined` |\n\n### Using the Flex Layout to build your search results page\n\nYou can build your search results page with the [Flex Layout](https://developers.vtex.com/docs/guides/vtex-flex-layout) app and the other blocks exported by the Search Results app, such as the `gallery`.\n\nBelow are the available blocks to build your store's search results page and their existing props.\n\n#### The `gallery` block\n\nThe `gallery` block defines how fetched items display on the store's search results page.\n\nWhen declared with no props, it expects the [`product-summary.shelf`](https://developers.vtex.com/docs/guides/vtex-product-summary) as a child and consequently the block structure inherited from it.\n\nHowever, you can use the `layouts` prop to provide several layouts for the page, allowing your store to arrange items that best fit your users' needs.\n\nIn a scenario where multiple layouts are provided, your store users will be able to shift between them according to their needs using the `gallery-layout-switcher` block, described in [the table below](#the-gallery-layout-switcher-props). The `gallery` will then render the component provided by the currently selected layout.\n\nLearn more in [Building a search results page with multiple layouts](https://developers.vtex.com/docs/guides/vtex-io-documentation-building-a-search-results-page-with-multiple-layouts).\n\n##### The `gallery-layout-switcher` props\n\n| Prop name | Type | Description | Default value |\n| ----------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n| `layouts` | `object` | Arranges and displays items on the search results page. If no value is provided, the `gallery` block must receive a `product-summary-shelf` block as a child. Check [this table](#the-layouts-object) for props of this block. | `undefined` |\n| `undefined` | `block` | Defines which blocks should reder per layout. The prop name is not `undefined`, you must include the value passed on the `component` prop. This prop's value must match the block name you choose to render in that specific layout. | `undefined` |\n| `customSummaryInterval` | `number` | Defines the item interval at which the **Gallery** should render a custom `product-summary` block. For example, declaring `5` renders a custom block at every four items rendered, as shown [on this image](https://user-images.githubusercontent.com/1207017/101687291-0cff1780-3a49-11eb-9c00-678b70001c8a.jpg). This prop doesn't support `layouts` yet. | `undefined` |\n| `CustomSummary` | `block` | Defines a block to render according to the interval defined by the `customSummaryInterval` prop. | `undefined` |\n| `preferredSKU` | `PreferredSKUEnum` | Controls which SKU will initially be selected in the product summary. | `\"FIRST_AVAILABLE\"` |\n\nFor `PreferredSKUEnum`:\n\n| Name | Value | Description |\n| --------------- | ----------------- | -------------------------------------------------------------- |\n| First Available | `FIRST_AVAILABLE` | First available SKU in stock found or first SKU without stock. |\n| Last Available | `LAST_AVAILABLE` | Last available SKU in stock found or last SKU without stock. |\n| Cheapest | `PRICE_ASC` | Cheapest SKU in stock found or first SKU without stock. |\n| Most Expensive | `PRICE_DESC` | Most expensive SKU in stock found or first SKU without stock. |\n\n>⚠️ To select which SKU should take preference over this prop, you can create a product specification (field) and, for each product, assign the value of the desired SKU to be initially selected. If the specification doesn't exist or the value is empty, it will use the `preferredSKU` prop as a fallback. Learn more in [Recipes](https://developers.vtex.com/docs/guides/storefront-implementation).\n\n##### The `layouts` object\n\n| Prop name | Type | Description | Default value |\n| ------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `name` | `string` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Specifies the layout name. This value must be unique. For example, not equal to other layout names declared in the `gallery` block. | `undefined` |\n| `component` | `string` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Names the `undefined` prop from the `gallery` block, which declares the block to render in this layout. This prop's value can be anything as long as it's PascalCased, meaning the first letter of each word in its name is capitalized. **Caution**: For this to work, the chosen value must be named after the `gallery` block's `undefined` prop. _Don’t use the `component` prop's value to directly pass the desired block name itself_. See the example below to understand the underlying logic behind this prop. | `undefined` |\n| `itemsPerRow` | `number` / `object` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Specifies the number of items to display in each row of this layout. This prop works with [responsive values](https://developers.vtex.com/docs/apps/vtex.responsive-values/), so it also accepts an object with different numbers for desktop, tablet, or phone screen sizes (_see the table below_). | `undefined` |\n\n##### The `itemsPerRow` object\n\n| Prop name | Type | Description | Default value |\n| --------- | -------- | ------------------------------------------------ | ------------- |\n| `desktop` | `number` | Number of slides to show on desktop devices. | `undefined` |\n| `tablet` | `number` | Number of slides to show on tablet devices. | `undefined` |\n| `phone` | `number` | Number of slides to show on phone devices. | `undefined` |\n\n##### Example of a `gallery` block\n\n```json\n{\n \"gallery\": {\n \"props\": {\n \"layouts\": [\n {\n \"name\": \"whole\",\n \"component\": \"OneOrTwoLineSummary\",\n \"itemsPerRow\": 1\n },\n {\n \"name\": \"two\",\n \"component\": \"OneOrTwoLineSummary\",\n \"itemsPerRow\": 2\n },\n {\n \"name\": \"many\",\n \"component\": \"ManyByLineSummary\",\n \"itemsPerRow\": {\n \"desktop\": 5,\n \"mobile\": 1\n }\n }\n ],\n \"OneOrTwoLineSummary\": \"product-summary.shelf\",\n \"ManyByLineSummary\": \"product-summary.shelf\"\n }\n }\n}\n```\n\n#### The `gallery-layout-switcher` block\n\nThe `gallery-layout-switcher` block is a logical block that allows users to switch between the available `gallery` layouts.\n\nIt receives no props and expects [the `gallery-layout-option` block](#the-gallery-layout-option-block) as a child. For the accessibility features to work correctly, define the options in the same order as the layouts.\n\n#### The `gallery-layout-option` block\n\nThis block defines how each layout option renders for users.\n\n| Prop name | Type | Description | Default value |\n| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `name` | `string` | ![https://img.shields.io/badge/-Mandatory-red](https://img.shields.io/badge/-Mandatory-red)<br/><br/>Specifies the name of the layout option. This prop's value must match the one passed to the [`name` prop](#the-layouts-object). | `undefined` |\n\n##### Example of the `gallery-layout-switcher` and the `gallery-layout-option` blocks\n\n```jsonc\n{\n \"gallery-layout-switcher\": {\n \"children\": [\n //It follows the same whole -> two -> many order\n \"gallery-layout-option#whole\",\n \"gallery-layout-option#two\",\n \"gallery-layout-option#many\"\n ]\n },\n \"gallery-layout-option#whole\": {\n \"props\": {\n \"name\": \"whole\"\n },\n \"children\": [\"icon-single-grid\", \"rich-text#option-whole\"]\n },\n \"gallery-layout-option#two\": {\n \"props\": {\n \"name\": \"two\"\n },\n \"children\": [\"icon-inline-grid\", \"rich-text#option-two\"]\n },\n \"gallery-layout-option#many\": {\n \"props\": {\n \"name\": \"many\"\n },\n \"children\": [\"icon-menu\", \"rich-text#option-many\"]\n }\n}\n```\n\n#### `filter-navigator.v3` block\n\nThis block renders a filter selector for the fetched results.\n\n| Prop name | Type | Description | Default value |\n|---|---|---|---|\n| `categoryFiltersMode` | `enum` | Determines whether the category filters use the `href` attribute with category page URLs (`href`) or not (`default`). By default, the filters use HTML divs with `role=\"link\"`. Setting this prop's value to `href` creates a link, which can improve the SEO ranking of your category pages. | `default` |\n| `layout` | `enum` | Determines whether the **Filter Navigator** layout is responsive (`responsive`) or not (`desktop`). You can use `desktop` when the **Filter Navigator** is configured to display in a [drawer](https://developers.vtex.com/docs/guides/vtex-store-drawer). | `responsive` |\n| `maxItemsDepartment` | `number` | Specifies the maximum number of departments to display before the **See more** button triggers. | `8` |\n| `maxItemsCategory` | `number` | Specifies the maximum number of category items to display before the **See more** button triggers. | `8` |\n| `initiallyCollapsed` | `boolean` | Makes the search filters start collapsed (`true`) or open (`false`). | `false` |\n| `openFiltersMode` | `enum` | Defines how many filters can open simultaneously on the **Filter Navigator** component. Possible values are `many` (more than one filter can open simultaneously) and `one` (only one filter can open). If `one` is declared, all filters collapse before user interaction, regardless of the `initiallyCollapsed` prop's value. | `many` |\n| `filtersTitleHtmlTag` | `string` | Specifies the HTML tag for the filter's title. | `h5` |\n| `scrollToTop` | `enum` | Scrolls the page to the top (`auto` or `smooth`) or not (`none`) when selecting a facet. | `none` |\n| `truncateFilters` | `boolean` | Determines whether a filter selector with more than 10 filter options shortens the list and displays a **See more** button (`true`) or not (`false`). | `false` |\n| `closeOnOutsideClick` | `boolean` | Determines whether the **Filter Navigator** component closes when users click outside of it (`true`) or not (`false`). This prop only works if the `openFiltersMode` prop is set to `one`. | `false` |\n| `appliedFiltersOverview` | `enum` | Determines whether an overview of the applied filters displays (`show`) or not (`hide`). | `hide` |\n| `totalProductsOnMobile` | `enum` | Determines whether the **Filter Navigator** displays the total number of products on mobile devices (`show`) or not (`hide`). | `hide` |\n| `fullWidthOnMobile` | `boolean` | Determines whether the `filter-navigator.v3` renders on mobile using the full screen width (`true`) or not (`false`). | `false` |\n| `navigationTypeOnMobile` | `enum` | Defines how mobile users should navigate on the filter selector component. Possible values are `page` (only one list of options can be seen at a time) or `collapsible` (all lists of options can be seen simultaneously). | `page` |\n| `updateOnFilterSelectionOnMobile` | `boolean` | Determines whether search results on mobile update based on the filter selection (`true`) or not (`false`). This prop only works if the `preventRouteChange` prop is declared as `true`. | `false` |\n| `drawerDirectionMobile` | `Enum` | Determines whether search filters on mobile open to the left (`drawerLeft`) or to the right (`drawerRight`). | `drawerLeft` |\n| `showClearByFilter` | `boolean` | Determines whether a clear button (which erases all selected filter options) displays alongside the filter name (`true`) or not (`false`). | `false` |\n| `showClearAllFiltersOnDesktop` | `boolean` | Determines whether a clear button displays (`true`) or not (`false`). This button resets all selected filters. | `false` |\n| `priceRangeLayout` | `enum` | Determines whether a text field for entering the desired price range displays (`inputAndSlider`) or not (`slider`). | `slider` |\n| `facetOrdering` | `array` | Applies custom sorting rules for filters. The default behavior sorts items by quantity, in descending order. | `undefined` |\n| `showQuantityBadgeOnMobile` | `boolean` | Displays a badge for mobile users indicating how many active filters there are. | `false` |\n\n- **`facetOrdering` object:**\n\n| Prop name | Type | Description | Default value |\n|---|---|---|---|\n| `key` | `string` | Specifies the facet key to sort. Possible values are `category-1`, `category-2`, `category-3` (for department, category, and subcategory), `brand`, or a product specification name. | `undefined` |\n| `orderBy` | `enum` | Specifies the field from facets to use when sorting entries. Possible values are `name` and `quantity`. | `undefined` |\n| `order` | `enum` | Determines whether the filter should sort by ascending (`ASC`) or descending (`DESC`) order. | `ASC` |\n\nFor example:\n\n```jsonc\n{\n \"filter-navigator.v3\": {\n \"props\": {\n \"facetOrdering\": [\n {\n \"key\": \"brand\",\n \"orderBy\": \"name\",\n \"order\": \"ASC\"\n }\n ]\n }\n }\n}\n```\n\n>⚠️ The `facetOrdering` prop conflicts with the `enableFiltersFetchOptimization` flag on `vtex.store`, as it returns only the top filter values ordered by count. To achieve the desired outcome with `facetOrdering`, set `enableFiltersFetchOptimization` as `false` in your `vtex.store` Admin settings.\n\n#### The `order-by` block\n\nThe `order-by` block renders a dropdown button with [sorting options](#the-sorting-options-for-the-order-by-block) to display the fetched results. See the block props in the table below.\n\n##### The `order-by` props\n\n| Prop name | Type | Description | Default value |\n| ---------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `specificationOptions` | `[object]` | Indicates which sorting options by specification will be displayed. This only works for stores using `vtex.search-resolver@1.x` | `undefined` |\n| `hiddenOptions` | `[string]` | Indicates which sorting options will be hidden. Example: `[\"OrderByNameASC\", \"OrderByNameDESC\"]` | `undefined` |\n| `showOrderTitle` | `boolean` | Determines whether the selected order value (example: `Relevance`) displays (`true`) or not (`false`). | `true` |\n\n- **`specificationOptions` Object:**\n\n | Prop name | Type | Description | Default value |\n | --------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n | value | string | Value sent for sorting in the API. It must be in the format `{specification key}:{asc/desc}`. Example: `\"size:desc\"` or `\"priceByUnit:asc\"`. | `undefined` |\n | label | string | Label that displays in the sorting options. Example: `\"Price by unit, ascending\"` | `undefined` |\n\n##### Sorting options for the `order-by` block\n\n| Sorting option | Value |\n| ------------------------ | --------------------------- |\n| Relevance | `\"\"` |\n| Top Sales Descending | `\"OrderByTopSaleDESC\"` |\n| Release Date Descending | `\"OrderByReleaseDateDESC\"` |\n| Best Discount Descending | `\"OrderByBestDiscountDESC\"` |\n| Price Descending | `\"OrderByPriceDESC\"` |\n| Price Ascending | `\"OrderByPriceASC\"` |\n| Name Ascending | `\"OrderByNameASC\"` |\n| Name Descending | `\"OrderByNameDESC\"` |\n| Collection | `\"OrderByCollection\"` |\n\n#### The `search-fetch-more` block\n\nThe `search-fetch-more` block renders a `Show more` button that loads the following search results page. See the block props in the table below.\n\n>ℹ️ This block doesn't render if there is no next page.\n\n##### The `search-fetch-more` prop\n\n| Prop name | Type | Description | Default value |\n| ---------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |\n| `htmlElementForButton` | `enum` | Specifies which HTML element displays for the `Show more` button component. Possible values: `a` (displays a `<a>` element with `href` and `rel` attributes) or `button` (displays a `<button>` element without `href` and `rel` attributes). | `button` |\n\n#### The `search-fetch-previous` block\n\nThe `search-fetch-previous` block renders a `Show previous` button that loads the previous search results page. See the block props in the table below.\n\n>ℹ️ This block doesn't render if there is no previous page.\n\n##### The `search-fetch-previous` prop\n\n| Prop name | Type | Description | Default value |\n| ---------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- |\n| `htmlElementForButton` | `enum` | Specifies which HTML element displays for `Show previous` button component. Possible values: `a` (displays a `<a>` element with `href` and `rel` attributes) or `button` (displays a `<button>` element without `href` and `rel` attributes). | `button` |\n\n#### The `search-products-count-per-page` block\n\nThe `search-products-count-per-page` block shows the product count per search page. When declared, this block doesn't need any props.\n\n#### The `search-products-progress-bar` block\n\nThe `search-products-progress-bar` block shows a progress bar of search results. When declared, this block doesn't need any props.\n\n#### The `sidebar-close-button` block\n\nThe `sidebar-close-button` block is the `Close` button rendered on the top right of the mobile filter sidebar.\n\n##### The `sidebar-close-button` props\n\n| Prop name | Type | Description | Default value |\n| --------- | -------- | ------------------------ | ------------- |\n| `size` | `number` | Size of the button icon. | `30` |\n| `type` | `string` | Type of the button icon. | `line` |\n\n## Customization\n\nTo apply CSS customization in this and other blocks, follow the instructions given in the recipe on [Using CSS Handles for store customization](https://developers.vtex.com/docs/guides/vtex-io-documentation-building-a-search-results-page-with-multiple-layouts).\n\n| CSS handles |\n| -------------------------------------- |\n| `accordionFilter` |\n| `accordionFilterContainer` |\n| `accordionFilterContent` |\n| `accordionFilterItemActive` |\n| `accordionFilterItemBox` |\n| `accordionFilterItemHidden` |\n| `accordionFilterItemIcon` |\n| `accordionFilterItemOptions` |\n| `accordionFilterItemTitle` |\n| `accordionFilterItem` |\n| `accordionFilterOpen` |\n| `accordionSelectedFilters` |\n| `border` |\n| `breadcrumb` |\n| `buttonShowMore` |\n| `categoriesContainer` |\n| `categoryGroup` |\n| `categoryParent` |\n| `clearAllFilters` |\n| `container` |\n| `dropdownMobile` |\n| `filter` |\n| `filterAccordionBreadcrumbs` |\n| `filterBreadcrumbsContent` |\n| `filterBreadcrumbsText` |\n| `filterBreadcrumbsItem` |\n| `filterBreadcrumbsItemName` |\n| `filterAccordionItemBox--{facetValue}` |\n| `filterApplyButtonWrapper` |\n| `filterAvailable` |\n| `filterIsOpen` |\n| `filterButtonsBox` |\n| `filterClearButtonWrapper` |\n| `filterContainer--{facetType}` |\n| `filterContainer--b` |\n| `filterContainer--c` |\n| `filterContainer--priceRange` |\n| `filterContainer--{selectedFilters}` |\n| `filterContainer--{title}` |\n| `filterContainer` |\n| `filterIcon` |\n| `filterItem--{facetValue}` |\n| `filterItem--selected` |\n| `filterItem` |\n| `filterMessage` |\n| `filterPopup` |\n| `filterPopupArrowIcon` |\n| `filterPopupButton` |\n| `filterPopupContent` |\n| `filterPopupContentContainer` |\n| `filterPopupContentContainerOpen` |\n| `filterPopupFooter` |\n| `filterPopupOpen` |\n| `filterPopupTitle` |\n| `filterSelected` |\n| `filterSelectedFilters` |\n| `filterTotalProducts` |\n| `filtersWrapper` |\n| `filtersWrapperMobile` |\n| `filterTemplateOverflow` |\n| `filterTitle` |\n| `filterTitleSpan` |\n| `footerButton` |\n| `galleryItem` |\n| `galleryItem--custom` |\n| `galleryItem--{displayMode}` |\n| `galleryTitle` |\n| `gallery` |\n| `galleryLayoutSwitcher` |\n| `galleryLayoutOptionButton` |\n| `layoutSwitcher` |\n| `loadingOverlay` |\n| `loadingSpinnerInnerContainer` |\n| `loadingSpinnerOuterContainer` |\n| `orderByButton` |\n| `orderByDropdown` |\n| `orderByOptionItem` |\n| `orderByOptionItem--selected` |\n| `orderByOptionsContainer` |\n| `orderByText` |\n| `orderBy` |\n| `productCount` |\n| `progressBarContainer` |\n| `progressBar` |\n| `progressBarFiller` |\n| `resultGallery` |\n| `searchNotFoundInfo` |\n| `searchNotFoundOops` |\n| `searchNotFoundTerm` |\n| `searchNotFoundTextListLine` |\n| `searchNotFoundWhatDoIDo` |\n| `searchNotFoundWhatToDoDotsContainer` |\n| `searchNotFoundWhatToDoDots` |\n| `searchNotFound` |\n| `searchResultContainer` |\n| `seeMoreButton` |\n| `selectedFilterItem` |\n| `showingProductsContainer` |\n| `showingProductsCount` |\n| `showingProducts` |\n| `switch` |\n| `totalProductsMessage` |\n| `totalProducts` |\n\n## Contributors ✨\n\nThanks goes out to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/grupo-exito-ecommerce\"><img src=\"https://avatars2.githubusercontent.com/u/46934781?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>grupo-exito-ecommerce</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=grupo-exito-ecommerce\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/ygorneves10\"><img src=\"https://avatars1.githubusercontent.com/u/39542011?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ygor Neves</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=ygorneves10\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/marcosewbank\"><img src=\"https://avatars3.githubusercontent.com/u/27689698?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Marcos André Suarez Ewbank</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=marcosewbank\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/BeatrizMiranda\"><img src=\"https://avatars2.githubusercontent.com/u/28959326?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Beatriz Miranda</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=BeatrizMiranda\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/felipeireslan\"><img src=\"https://avatars3.githubusercontent.com/u/47363947?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>felipeireslan</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=felipeireslan\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://juliomoreira.pro\"><img src=\"https://avatars2.githubusercontent.com/u/1207017?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Julio Moreira</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=juliomoreira\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/anto90fg\"><img src=\"https://avatars.githubusercontent.com/u/73878310?v=4?s=100\" width=\"100px;\" alt=\"\"/><br /><sub><b>Antonio Cervelione</b></sub></a><br /><a href=\"https://github.com/vtex-apps/search-result/commits?author=anto90fg\" title=\"Code\">💻</a></td>\n </tr>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```" } ]
code_search-result_812e9581
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/SearchResultFlexibleMobile.js from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport React from 'react'\n\nimport SearchResultFlexible from './SearchResultFlexible'\n\nconst SearchResultFlexibleMobile = props => {\n return <SearchResultFlexible {...props} />\n}\n\nSearchResultFlexibleMobile.schema = {\n title: 'admin/editor.search-result-mobile.title',\n}\n\nexport default SearchResultFlexibleMobile\n\n```" } ]
code_search-result_51b6284b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/Gallery.tsx from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Fragment } from 'react'\nimport { ProductList as ProductListStructuredData } from 'vtex.structured-data'\nimport { useRuntime } from 'vtex.render-runtime'\n\nimport GalleryLayout from './GalleryLayout'\nimport type { GalleryLayoutProps, Slots } from './GalleryLayout'\nimport type { GalleryProps as GalleryLegacyProps } from './GalleryLegacy'\nimport GalleryLegacy from './GalleryLegacy'\n\n/*\n * This type receives Slots directly, instead of using the 'slots' prop to do it.\n * Is the equivalent of adding '[key: string]: ComponentType' at the end of GalleryLayoutProps\n * and removing the 'slots' prop.\n */\ntype GalleryLayoutPropsWithSlots = Omit<GalleryLayoutProps, 'slots'> & Slots\n\nconst Gallery: React.FC<\n GalleryLegacyProps | GalleryLayoutPropsWithSlots\n> = props => {\n const {\n route: { routeId },\n } = useRuntime()\n\n if ('layouts' in props && props.layouts.length > 0) {\n const {\n layouts,\n lazyItemsRemaining,\n products,\n showingFacets,\n summary,\n preferredSKU,\n ...slots\n } = props as GalleryLayoutPropsWithSlots\n\n return (\n <Fragment>\n {!routeId.includes('store.search') && (\n <ProductListStructuredData products={products} />\n )}\n <GalleryLayout\n layouts={layouts}\n lazyItemsRemaining={lazyItemsRemaining}\n products={products}\n showingFacets={showingFacets}\n summary={summary}\n slots={slots}\n preferredSKU={preferredSKU}\n />\n </Fragment>\n )\n }\n\n return <GalleryLegacy {...(props as GalleryLegacyProps)} />\n}\n\nexport interface Product {\n /** Product's id. */\n productId: string\n /** Product's cache id. */\n cacheId: string\n /** Product's name. */\n productName: string\n /** Product's description. */\n description: string\n /** Product's categories. */\n categories: unknown[]\n /** Product's link. */\n link?: string\n /** Product's link text. */\n linkText: string\n /** Product's brand. */\n brand?: string\n /** Product's SKU items. */\n items: ProductItem[]\n specification: string\n}\n\ninterface ProductItemReference {\n Value: string\n}\n\ninterface ProductItemImage {\n /** Images's imageUrl. */\n imageUrl: string\n /** Images's imageTag. */\n imageTag: string\n}\n\ninterface ProductItemSeller {\n /** Sellers's commertialOffer. */\n commertialOffer: {\n /** CommertialOffer's price. */\n Price: number\n /** CommertialOffer's list price. */\n ListPrice: number\n }\n}\n\ninterface ProductItem {\n /** SKU's id. */\n itemId: string\n /** SKU's name. */\n name: string\n /** SKU's referenceId. */\n referenceId?: ProductItemReference[]\n /** SKU's images. */\n images: ProductItemImage[]\n /** SKU's sellers. */\n sellers: ProductItemSeller[]\n}\n\nexport default Gallery\n\n```" } ]
code_search-result_9e5ab37d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/SearchResultLayout.js from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport React from 'react'\nimport { useChildBlock, ExtensionPoint } from 'vtex.render-runtime'\nimport { useDevice } from 'vtex.device-detector'\nimport { path, compose, equals, pathOr, isEmpty, isNil } from 'ramda'\nimport { useAds } from '@vtex/ads-react'\n\nimport OldSearchResult from './index'\nimport useMergeResults from './hooks/useMergeResults'\nimport { removeTreePath } from './utils/removeTreePath'\n\nconst noProducts = compose(\n isEmpty,\n pathOr([], ['data', 'productSearch', 'products'])\n)\n\nconst isFtOnly = compose(equals('ft'), path(['variables', 'map']))\n\nconst noRedirect = compose(isNil, path(['data', 'productSearch', 'redirect']))\n\nconst foundNothing = searchQuery => {\n const { loading } = searchQuery || {}\n\n return isFtOnly(searchQuery) && !loading && noProducts(searchQuery)\n}\n\nconst SearchResultLayout = props => {\n const { searchQuery } = props\n const hasMobileBlock = !!useChildBlock({ id: 'search-result-layout.mobile' })\n const hasCustomNotFound = !!useChildBlock({ id: 'search-not-found-layout' })\n const { isMobile } = useDevice()\n\n const sponsoredSearchResult = useAds({\n placement: 'top_search',\n type: 'product',\n amount: props?.sponsoredCount ?? 3,\n term: searchQuery?.variables?.query ?? '',\n selectedFacets: searchQuery?.variables?.selectedFacets ?? [],\n })\n\n const newProps = useMergeResults({ props, sponsoredSearchResult })\n\n if (\n foundNothing(searchQuery) &&\n hasCustomNotFound &&\n noRedirect(searchQuery)\n ) {\n return (\n <ExtensionPoint\n id=\"search-not-found-layout\"\n {...removeTreePath(newProps)}\n />\n )\n }\n\n if (hasMobileBlock && isMobile) {\n return (\n <ExtensionPoint\n id=\"search-result-layout.mobile\"\n {...removeTreePath(newProps)}\n />\n )\n }\n\n return (\n <ExtensionPoint\n id=\"search-result-layout.desktop\"\n {...removeTreePath(newProps)}\n />\n )\n}\n\nSearchResultLayout.getSchema = () => {\n const { description, ...schema } = OldSearchResult.getSchema({\n searchQuery: true,\n })\n\n return {\n ...schema,\n title: 'admin/editor.search-result-layout.title',\n properties: {\n ...schema?.properties,\n sponsoredCount: {\n type: 'number',\n title: 'Sponsored count',\n default: 3,\n },\n },\n }\n}\n\nexport default SearchResultLayout\n\n```" } ]
code_search-result_78d09d45
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/searchResult.css from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container {\n display: grid;\n display: -ms-grid;\n grid-template-columns: 230px repeat(4, auto) 306px;\n -ms-grid-columns: 230px (1fr) [4] 306px;\n grid-template-rows: auto auto auto 60px auto;\n grid-template-areas:\n 'breadcrumb breadcrumb breadcrumb breadcrumb breadcrumb breadcrumb'\n 'richTitle richTitle richTitle richTitle richTitle richTitle'\n 'title title title title title title'\n 'filters quantity . . . orderby'\n 'filters gallery gallery gallery gallery gallery'\n '. pagination pagination pagination pagination pagination';\n}\n\n.container a {\n outline: 0;\n}\n\n.buttonShowMore {\n -ms-grid-row: 3;\n -ms-grid-column: 2;\n -ms-grid-column-span: 5;\n grid-column: pagination;\n grid-row: pagination;\n justify-self: end;\n align-self: center;\n}\n.filterTitleSpan {\n overflow: hidden;\n}\n.clearAllFilters {\n background: transparent;\n border: none;\n outline: none;\n cursor: pointer;\n}\n\n.switch {\n -ms-grid-row: 1;\n -ms-grid-column: 6;\n grid-column: switch;\n grid-row: switch;\n}\n\n.breadcrumb {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n -ms-grid-column-span: 3;\n grid-column: breadcrumb;\n grid-row: breadcrumb;\n align-self: center;\n justify-self: stretch;\n}\n\n.richTitle {\n grid-column: richTitle;\n grid-row: richTitle;\n}\n\n.filters {\n -ms-grid-row: 2;\n -ms-grid-column: 1;\n grid-column: filters;\n grid-row: filters;\n}\n\n.filter__container {\n}\n\n.resultGallery {\n -ms-grid-row: 2;\n -ms-grid-column: 2;\n -ms-grid-column-span: 5;\n grid-column-start: filters;\n grid-column-end: gallery;\n grid-row: gallery;\n}\n\n.filters ~ .resultGallery {\n grid-column-start: gallery;\n}\n\n.gallery {\n}\n\n.galleryTitle {\n grid-column: title;\n grid-row: title;\n}\n\n.filterPopupButton {\n background: none;\n height: 3.3rem;\n border-top: none;\n border-left: none;\n border-right: none;\n}\n\n.accordionFilter {\n color: #828282;\n}\n\n.filterAccordionItemBox {\n min-height: 3.75rem;\n}\n\n.filterAccordionBreadcrumbs {\n height: 4.25rem;\n}\n\n.filterButtonsBox {\n height: 4rem;\n}\n\n.filterPopupFooter {\n margin-top: auto;\n}\n\n.accordionFilterItemOptions {\n}\n\n.dropdownMobile {\n margin-top: -2px;\n}\n\n.accordionFilterItemActive svg path {\n fill: #4f4f4f;\n}\n\n.totalProducts {\n -ms-grid-row: 1;\n -ms-grid-column: 5;\n grid-row: quantity;\n justify-self: start;\n align-self: center;\n}\n\n.filters ~ .totalProducts {\n grid-column: quantity;\n grid-row: quantity;\n}\n\n.orderBy {\n -ms-grid-row: 1;\n -ms-grid-column: 6;\n grid-column: orderby;\n grid-row: orderby;\n align-self: center;\n justify-self: stretch;\n display: flex;\n}\n\n.filterPopupTitle {\n}\n\n.filterPopupArrowIcon {\n}\n\n.filterPopup {\n}\n\n.filterPopupOpen {\n}\n\n.filterPopupContent {\n}\n\n.filterPopupContentContainer {\n}\n\n.filterPopupContentContainerOpen {\n}\n\n.orderByOptionsContainer {\n min-width: 180px;\n}\n\n.orderByOptionItem {\n min-width: 180px;\n}\n\n@media only screen and (max-width: 64.1em) {\n .container {\n grid-template-columns: 1fr 1fr 1fr;\n grid-template-areas:\n 'filters orderby switch'\n 'breadcrumb breadcrumb breadcrumb'\n 'richTitle richTitle richTitle'\n 'title title title'\n 'quantity quantity quantity'\n 'gallery gallery gallery';\n }\n\n .totalProducts {\n border-top-style: solid;\n border-top-width: 2px;\n justify-self: stretch;\n grid-column: quantity;\n }\n}\n\n@media only screen and (min-width: 40em) {\n .sidebar {\n width: 16rem;\n }\n}\n\n@media only screen and (max-width: 40em) {\n .container {\n -ms-grid-columns: 2fr 1.5fr 0.2fr;\n grid-template-columns: 2fr 1.5fr 0.2fr;\n grid-template-areas:\n 'orderby filters switch'\n 'breadcrumb breadcrumb breadcrumb'\n 'richTitle richTitle richTitle'\n 'quantity quantity quantity'\n 'gallery gallery gallery';\n grid-template-rows: auto;\n }\n\n .resultGallery {\n grid-column-start: gallery;\n grid-column-end: gallery;\n }\n\n .filterTitle {\n font-weight: 300;\n }\n}\n\n.filterPopupOpen {\n overflow: hidden;\n}\n\n.filterQuantityBadgeDefault {\n top: -0.7rem;\n right: -0.8rem;\n}\n\n.filters--layout {\n}\n\n.buttonShowMore--layout {\n}\n\n.galleryTitle--layout {\n}\n\n.totalProducts--layout {\n}\n\n.orderBy--layout {\n}\n\n.container--layout {\n}\n\n.notFound--layout {\n}\n\n.shippingActionButton {\n border: 0;\n padding: 0;\n font-size: 14px;\n background: unset;\n cursor: pointer;\n text-align: left;\n font-weight: 500;\n color: #134CD8;\n}\n\n.scrim, .sidebar {\n z-index: 999;\n}\n\n.filterContent {\n padding-right: 2px;\n}\n```" } ]
code_search-result_bc16cae9
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/ProductsProgressBar.js from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport React from 'react'\nimport { path } from 'ramda'\nimport { useSearchPage } from 'vtex.search-page-context/SearchPageContext'\nimport { useCssHandles } from 'vtex.css-handles'\n\nconst CSS_HANDLES = ['progressBarContainer', 'progressBar', 'progressBarFiller']\n\nconst ProductsProgressBar = props => {\n const { searchQuery } = useSearchPage()\n const handles = useCssHandles(CSS_HANDLES)\n const products =\n path(['data', 'productSearch', 'products'], searchQuery) ||\n props.products ||\n []\n\n const recordsFiltered =\n path(['data', 'productSearch', 'recordsFiltered'], searchQuery) ||\n props.recordsFiltered ||\n 0\n\n const productsLoadedPercentage = Math.round(\n (100 * products.length) / recordsFiltered\n )\n\n if (products.length === 0) {\n return null\n }\n\n return (\n <div className={handles.progressBarContainer}>\n <div\n className={`${handles.progressBar} relative flex bg-action-secondary center mv4 br-pill w-50 w-30-m w-25-l h1`}\n >\n <span\n className={`${handles.progressBarFiller} absolute br-pill bg-action-primary h1`}\n style={{ width: `${productsLoadedPercentage}%` }}\n />\n </div>\n </div>\n )\n}\n\nexport default ProductsProgressBar\n\n```" } ]
code_search-result_2d1ee03a
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/GalleryLegacy.tsx from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport type { ComponentType } from 'react'\nimport React, { useMemo, useContext } from 'react'\nimport classNames from 'classnames'\n// eslint-disable-next-line no-restricted-imports\nimport { splitEvery } from 'ramda'\nimport { useDevice } from 'vtex.device-detector'\nimport { ProductListContext } from 'vtex.product-list-context'\nimport { useResponsiveValue } from 'vtex.responsive-values'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { useRuntime } from 'vtex.render-runtime'\nimport { Spinner } from 'vtex.styleguide'\nimport type { MaybeResponsiveInput } from 'vtex.responsive-values'\n\nimport withResizeDetector from './components/withResizeDetector'\nimport GalleryRow from './components/GalleryRow'\nimport ProductListEventCaller from './utils/ProductListEventCaller'\nimport SettingsContext from './components/SettingsContext'\nimport type { Product } from './Gallery'\nimport type { PreferredSKU } from './GalleryLayout'\nimport { useBreadcrumb } from './hooks/useBreadcrumb'\nimport { useSearchTitle } from './hooks/useSearchTitle'\n\n/** Layout with one column */\nconst ONE_COLUMN_LAYOUT = 1\n\nconst LAZY_RENDER_THRESHOLD = 2\n\nconst CSS_HANDLES = ['gallery'] as const\n\nconst { ProductListProvider } = ProductListContext\n\nexport type MobileLayoutMode = 'normal' | 'small' | 'inline'\n\nexport interface GalleryProps {\n products: Product[]\n mobileLayoutMode: MobileLayoutMode\n maxItemsPerRow: MaybeResponsiveInput<number>\n minItemWidth: number\n width: number\n summary: any\n showingFacets: any\n lazyItemsRemaining: number\n customSummaryInterval?: number\n CustomSummary?: ComponentType\n /** Logic to enable which SKU will be the selected item */\n preferredSKU?: PreferredSKU\n}\n\n/**\n * Canonical gallery that displays a list of given products.\n */\nconst Gallery: React.FC<GalleryProps> = ({\n products = [],\n mobileLayoutMode = 'normal',\n maxItemsPerRow = {\n desktop: 5,\n tablet: 3,\n phone: 2,\n },\n minItemWidth = 240,\n width,\n summary,\n showingFacets,\n lazyItemsRemaining,\n customSummaryInterval,\n CustomSummary,\n preferredSKU,\n}) => {\n const { isMobile } = useDevice()\n const { trackingId } = useContext(SettingsContext) || {}\n const handles = useCssHandles(CSS_HANDLES)\n const { getSettings } = useRuntime()\n const responsiveMaxItemsPerRow = useResponsiveValue(maxItemsPerRow)\n const breadcrumb = useBreadcrumb()\n const searchTitle = useSearchTitle(breadcrumb ?? [], { matchFt: true }).trim()\n\n // Not using ?? operator because trackingId and searchTitle can be ''\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n const listName = trackingId || searchTitle || 'Search result'\n\n const layoutMode = isMobile ? mobileLayoutMode : 'normal'\n\n const getItemsPerRow = () => {\n const maxItemsPerMinWidth = Math.floor(width / minItemWidth)\n\n if (isMobile) {\n if (layoutMode === 'normal') {\n return ONE_COLUMN_LAYOUT\n }\n\n const maxItemsOnMobile =\n maxItemsPerMinWidth >= 2 ? maxItemsPerMinWidth : 2\n\n return responsiveMaxItemsPerRow <= maxItemsOnMobile\n ? responsiveMaxItemsPerRow\n : maxItemsOnMobile\n }\n\n return responsiveMaxItemsPerRow <= maxItemsPerMinWidth\n ? responsiveMaxItemsPerRow\n : maxItemsPerMinWidth\n }\n\n const itemsPerRow = getItemsPerRow() || responsiveMaxItemsPerRow\n\n const rows = useMemo(\n () => splitEvery(itemsPerRow, products),\n [itemsPerRow, products]\n )\n\n const galleryClasses = classNames(\n handles.gallery,\n 'flex flex-row flex-wrap items-stretch bn ph1 na4',\n {\n 'justify-center': !showingFacets,\n 'pl9-l': showingFacets,\n }\n )\n\n const isLazyRenderEnabled =\n getSettings('vtex.store')?.enableSearchRenderingOptimization\n\n return (\n <ProductListProvider listName={listName}>\n <div className={galleryClasses}>\n {rows.map((rowProducts, index) => (\n <GalleryRow\n key={index}\n products={rowProducts}\n lazyRender={isLazyRenderEnabled && index >= LAZY_RENDER_THRESHOLD}\n summary={summary}\n displayMode={layoutMode}\n itemsPerRow={itemsPerRow}\n rowIndex={index}\n listName={listName}\n customSummaryInterval={customSummaryInterval}\n CustomSummary={CustomSummary}\n preferredSKU={preferredSKU}\n />\n ))}\n {typeof lazyItemsRemaining === 'number' && lazyItemsRemaining > 0 && (\n <div\n style={{\n width: '100%',\n // Approximate number, just to add scroll leeway\n height: 300 * Math.ceil(lazyItemsRemaining / itemsPerRow),\n }}\n className=\"flex justify-center pt10\"\n >\n <Spinner />\n </div>\n )}\n </div>\n <ProductListEventCaller />\n </ProductListProvider>\n )\n}\n\nexport default withResizeDetector<GalleryProps>(Gallery)\n\n```" } ]
code_search-result_8a65c08e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/TotalProducts.js from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport { useIntl } from 'react-intl'\nimport React from 'react'\nimport PropTypes from 'prop-types'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { formatIOMessage } from 'vtex.native-types'\n\nimport styles from './searchResult.css'\n\nconst CSS_HANDLES = ['totalProductsMessage']\n\nconst TotalProducts = ({\n message = 'store/search.total-products-2',\n recordsFiltered,\n wrapperClass = styles.totalProducts,\n}) => {\n const handles = useCssHandles(CSS_HANDLES)\n const intl = useIntl()\n const values = {\n recordsFiltered,\n // eslint-disable-next-line react/display-name\n span: (...chunks) => (\n <span className={`${handles.totalProductsMessage} c-muted-2`}>\n {chunks}\n </span>\n ),\n }\n\n const totalProductsMessage = formatIOMessage({ id: message, intl }, values)\n\n return (\n <div\n className={`${wrapperClass} pv5 ph9 bn-ns bt-s b--muted-5 tc-s tl t-action--small`}\n >\n <span>{totalProductsMessage}</span>\n </div>\n )\n}\n\nTotalProducts.propTypes = {\n /** Total of records filtered */\n recordsFiltered: PropTypes.number.isRequired,\n wrapperClass: PropTypes.string,\n message: PropTypes.string,\n}\n\nexport default TotalProducts\n\n```" } ]
code_search-result_8ea5222c
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of search-result/react/SearchQuery.js from the search-result VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nimport SearchQuery from './components/SearchQuery'\n\nexport default SearchQuery\n\n```" } ]