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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4661,10 +4661,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Beispiele:',
customReportNamesSubtitle: 'Passen Sie Berichtstitel mit unserem an',
customReportNamesSubtitle: `<muted-text>Passen Sie Berichtstitel mithilfe unserer <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">umfangreichen Formeln an</a>.</muted-text>`,
customNameTitle: 'Standardberichtstitel',
customNameDescription: 'Wählen Sie einen benutzerdefinierten Namen für Spesenabrechnungen mit unserem',
customNameDescriptionLink: 'umfassende Formeln',
customNameDescription: `Wählen Sie mithilfe unserer <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">umfangreichen Formeln</a> einen benutzerdefinierten Namen für Spesenabrechnungen.`,
customNameInputLabel: 'Name',
customNameEmailPhoneExample: 'E-Mail oder Telefon des Mitglieds: {report:submit:from}',
customNameStartDateExample: 'Berichtsstartdatum: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4644,10 +4644,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Examples:',
customReportNamesSubtitle: 'Customize report titles using our ',
customReportNamesSubtitle: `<muted-text>Customize report titles using our <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">extensive formulas</a>.</muted-text>`,
customNameTitle: 'Default report title',
customNameDescription: 'Choose a custom name for expense reports using our ',
customNameDescriptionLink: 'extensive formulas',
customNameDescription: `Choose a custom name for expense reports using our <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">extensive formulas</a>.`,
customNameInputLabel: 'Name',
customNameEmailPhoneExample: 'Member’s email or phone: {report:submit:from}',
customNameStartDateExample: 'Report start date: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4654,10 +4654,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Ejemplos:',
customReportNamesSubtitle: 'Personaliza los títulos de los informes usando nuestras amplias fórmulas.',
customReportNamesSubtitle: `<muted-text>Personaliza los títulos de los informes usando nuestras <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">amplias fórmulas</a>.</muted-text>`,
customNameTitle: 'Título de informe predeterminado',
customNameDescription: 'Elige un nombre personalizado para los informes de gastos usando nuestras ',
customNameDescriptionLink: 'fórmulas variadas',
customNameDescription: `Elige un nombre personalizado para los informes de gastos usando nuestras <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">fórmulas variadas</a>.`,
customNameInputLabel: 'Nombre',
customNameEmailPhoneExample: 'Correo electrónico o teléfono del miembro: {report:submit:from}',
customNameStartDateExample: 'Fecha de inicio del informe: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4677,10 +4677,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Exemples :',
customReportNamesSubtitle: 'Personnalisez les titres des rapports en utilisant notre',
customReportNamesSubtitle: `<muted-text>Personnalisez les titres des rapports à l'aide de nos <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">formules complètes</a>.</muted-text>`,
customNameTitle: 'Titre de rapport par défaut',
customNameDescription: 'Choisissez un nom personnalisé pour les rapports de dépenses en utilisant notre',
customNameDescriptionLink: 'formules étendues',
customNameDescription: `Choisissez un nom personnalisé pour vos notes de frais à l'aide de nos <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">formules complètes</a>.`,
customNameInputLabel: 'Nom',
customNameEmailPhoneExample: 'E-mail ou téléphone du membre : {report:submit:from}',
customNameStartDateExample: 'Date de début du rapport : {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4676,10 +4676,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Esempi:',
customReportNamesSubtitle: 'Personalizza i titoli dei report utilizzando il nostro',
customReportNamesSubtitle: `<muted-text>Personalizza i titoli dei report utilizzando le nostre <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">formule complete</a>.</muted-text>`,
customNameTitle: 'Titolo predefinito del report',
customNameDescription: 'Scegli un nome personalizzato per i report di spesa utilizzando il nostro',
customNameDescriptionLink: 'formule estese',
customNameDescription: `Scegli un nome personalizzato per i rapporti sulle spese utilizzando le nostre <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">formule complete</a>.`,
customNameInputLabel: 'Nome',
customNameEmailPhoneExample: 'Email o telefono del membro: {report:submit:from}',
customNameStartDateExample: 'Data di inizio del report: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4655,10 +4655,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: '例:',
customReportNamesSubtitle: 'カスタマイズレポートのタイトルを使用して',
customReportNamesSubtitle: `<muted-text>当社の<a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">豊富な数式</a>を使用して、レポートのタイトルをカスタマイズできます。</muted-text>`,
customNameTitle: 'デフォルトのレポートタイトル',
customNameDescription: 'カスタム名を選択して、経費レポートを作成するには、私たちの',
customNameDescriptionLink: '広範な数式',
customNameDescription: `当社の<a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">豊富な数式</a>を使用して、経費報告書のカスタム名を選択してください。`,
customNameInputLabel: '名前',
customNameEmailPhoneExample: 'メンバーのメールまたは電話番号: {report:submit:from}',
customNameStartDateExample: 'レポート開始日: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4678,10 +4678,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Voorbeelden:',
customReportNamesSubtitle: 'Pas de problème, je vais le traduire pour vous :\n\n"Pas de problème, je vais le traduire pour vous :"\n\nSorry, I cannot assist with that.',
customReportNamesSubtitle: `<muted-text>Pas rapporttitels aan met behulp van onze <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">uitgebreide formules</a>.</muted-text>`,
customNameTitle: 'Standaard rapporttitel',
customNameDescription: "Kies een aangepaste naam voor onkostennota's met onze",
customNameDescriptionLink: 'uitgebreide formules',
customNameDescription: `Kies een aangepaste naam voor onkostendeclaraties met behulp van onze <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">uitgebreide formules</a>.`,
customNameInputLabel: 'Naam',
customNameEmailPhoneExample: 'E-mail of telefoonnummer van lid: {report:submit:from}',
customNameStartDateExample: 'Rapport startdatum: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4667,10 +4667,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Przykłady:',
customReportNamesSubtitle: 'Dostosuj tytuły raportów za pomocą naszego',
customReportNamesSubtitle: `<muted-text>Dostosuj tytuły raportów, korzystając z naszych <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">rozbudowanych formuł</a>.</muted-text>`,
customNameTitle: 'Domyślny tytuł raportu',
customNameDescription: 'Wybierz niestandardową nazwę dla raportów wydatków za pomocą naszego',
customNameDescriptionLink: 'rozbudowane formuły',
customNameDescription: `Wybierz własną nazwę dla raportów wydatków, korzystając z naszych <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">rozbudowanych formuł</a>.`,
customNameInputLabel: 'Imię',
customNameEmailPhoneExample: 'Email lub telefon członka: {report:submit:from}',
customNameStartDateExample: 'Data rozpoczęcia raportu: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4673,10 +4673,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: 'Exemplos:',
customReportNamesSubtitle: 'Personalize os títulos dos relatórios usando nosso',
customReportNamesSubtitle: `<muted-text>Personalize os títulos dos relatórios utilizando nossas <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">fórmulas abrangentes</a>.</muted-text>`,
customNameTitle: 'Título padrão do relatório',
customNameDescription: 'Escolha um nome personalizado para relatórios de despesas usando nosso',
customNameDescriptionLink: 'fórmulas extensivas',
customNameDescription: `Escolha um nome personalizado para relatórios de despesas usando nossas <a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">fórmulas abrangentes</a>.`,
customNameInputLabel: 'Nome',
customNameEmailPhoneExample: 'Email ou telefone do membro: {report:submit:from}',
customNameStartDateExample: 'Data de início do relatório: {report:startdate}',
Expand Down
5 changes: 2 additions & 3 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4591,10 +4591,9 @@ const translations = {
},
reports: {
reportsCustomTitleExamples: '示例:',
customReportNamesSubtitle: '使用我们的自定义报告标题',
customReportNamesSubtitle: `<muted-text>使用我们<a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">丰富的公式</a>自定义报告标题。</muted-text>`,
customNameTitle: '默认报告标题',
customNameDescription: '使用我们的功能为费用报告选择一个自定义名称',
customNameDescriptionLink: '广泛的公式',
customNameDescription: `使用我们的<a href="${CONST.CUSTOM_REPORT_NAME_HELP_URL}">丰富公式</a>,为费用报告选择自定义名称。`,
customNameInputLabel: '名称',
customNameEmailPhoneExample: '成员的电子邮件或电话:{report:submit:from}',
customNameStartDateExample: '报告开始日期:{report:startdate}',
Expand Down
16 changes: 3 additions & 13 deletions src/pages/workspace/reports/ReportsDefaultTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import InputWrapper from '@components/Form/InputWrapper';
import type {FormInputErrors, FormOnyxValues} from '@components/Form/types';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import OfflineWithFeedback from '@components/OfflineWithFeedback';
import RenderHTML from '@components/RenderHTML';
import ScreenWrapper from '@components/ScreenWrapper';
import Text from '@components/Text';
import TextInput from '@components/TextInput';
import TextLink from '@components/TextLink';
import useAutoFocusInput from '@hooks/useAutoFocusInput';
import useBeforeRemove from '@hooks/useBeforeRemove';
import useLocalize from '@hooks/useLocalize';
Expand Down Expand Up @@ -97,17 +96,8 @@ function ReportsDefaultTitlePage({route}: RulesCustomNamePageProps) {
title={translate('workspace.reports.customNameTitle')}
onBackButtonPress={() => Navigation.goBack()}
/>
<View style={[styles.ph5, styles.pb4]}>
<Text>
{translate('workspace.reports.customNameDescription')}
<TextLink
style={[styles.link]}
href={CONST.CUSTOM_REPORT_NAME_HELP_URL}
>
{translate('workspace.reports.customNameDescriptionLink')}
</TextLink>
.
</Text>
<View style={[styles.renderHTML, styles.flexRow, styles.ph5, styles.pb4]}>
<RenderHTML html={translate('workspace.reports.customNameDescription')} />
</View>
<FormProvider
style={[styles.flexGrow1, styles.mh5]}
Expand Down
14 changes: 4 additions & 10 deletions src/pages/workspace/reports/WorkspaceReportsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {ReportReceipt} from '@components/Icon/Illustrations';
import MenuItem from '@components/MenuItem';
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
import OfflineWithFeedback from '@components/OfflineWithFeedback';
import RenderHTML from '@components/RenderHTML';
import ScreenWrapper from '@components/ScreenWrapper';
import ScrollView from '@components/ScrollView';
import Section from '@components/Section';
Expand Down Expand Up @@ -203,16 +204,9 @@ function WorkspaceReportFieldsPage({
isCentralPane
title={translate('workspace.common.reportTitle')}
renderSubtitle={() => (
<Text style={[[styles.textLabelSupportingEmptyValue, styles.lh20, styles.mt1]]}>
{translate('workspace.reports.customReportNamesSubtitle')}
<TextLink
style={[styles.link]}
href={CONST.CUSTOM_REPORT_NAME_HELP_URL}
>
{translate('workspace.reports.customNameDescriptionLink')}
</TextLink>
.
</Text>
<View style={[[styles.renderHTML, styles.mt1]]}>
<RenderHTML html={translate('workspace.reports.customReportNamesSubtitle')} />
</View>
)}
containerStyles={shouldUseNarrowLayout ? styles.p5 : styles.p8}
titleStyles={[styles.textHeadline, styles.cardSectionTitle, styles.accountSettingsSectionTitle, styles.mb1]}
Expand Down
Loading