Repository navigation
[CP Staging] Revert "Merge pull request #82218 from nyomanjyotisa/issue-70991" - #82578
Conversation
|
@arosiclair Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
🦜 Polyglot Parrot! 🦜Squawk! Looks like you added some shiny new English strings. Allow me to parrot them back to you in other tongues: View the translation diffdiff --git a/src/languages/de.ts b/src/languages/de.ts
index 891d5bf1..19a301ca 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5404,7 +5403,7 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU
findTag: 'Tag finden',
subtitle: 'Tags bieten detailliertere Möglichkeiten, Kosten zu klassifizieren.',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>Sie verwenden <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">abhängige Tags</a>. Sie können <a href="${importSpreadsheetLink}">eine Tabelle erneut importieren</a>, um Ihre Tags zu aktualisieren.</muted-text>`,
+ `<muted-text>Sie verwenden <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">abhängige Tags</a>. Sie können eine <a href="${importSpreadsheetLink}">Tabelle erneut importieren</a>, um Ihre Tags zu aktualisieren.</muted-text>`,
emptyTags: {
title: 'Sie haben noch keine Tags erstellt',
subtitle: 'Füge ein Tag hinzu, um Projekte, Standorte, Abteilungen und mehr zu verfolgen.',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 32de489d..a75f32e5 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
diff --git a/src/languages/it.ts b/src/languages/it.ts
index ede4421c..07585d3d 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5392,7 +5391,7 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST.
findTag: 'Trova tag',
subtitle: 'I tag aggiungono modi più dettagliati per classificare i costi.',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>Stai usando i <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">tag dipendenti</a>. Puoi <a href="${importSpreadsheetLink}">importare nuovamente un foglio di calcolo</a> per aggiornare i tuoi tag.</muted-text>`,
+ `<muted-text>Stai usando i <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">tag dipendenti</a>. Puoi <a href="${importSpreadsheetLink}">reimportare un foglio di calcolo</a> per aggiornare i tuoi tag.</muted-text>`,
emptyTags: {
title: 'Non hai creato alcun tag',
subtitle: 'Aggiungi un tag per tenere traccia di progetti, sedi, reparti e altro ancora.',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index 8ed5186b..230e428c 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5345,7 +5344,7 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
findTag: 'タグを検索',
subtitle: 'タグを使うと、コストをより詳しく分類できます。',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>あなたは<a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">連動タグ</a>を使用しています。タグを更新するには、<a href="${importSpreadsheetLink}">スプレッドシートを再インポート</a>できます。</muted-text>`,
+ `<muted-text><a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">従属タグ</a>を使用しています。タグを更新するには、<a href="${importSpreadsheetLink}">スプレッドシートを再インポート</a>できます。</muted-text>`,
emptyTags: {
title: 'タグがまだ作成されていません',
subtitle: 'タグを追加して、プロジェクト、所在地、部署などを追跡しましょう。',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index e6cc6ec2..c61e0b33 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5380,7 +5379,7 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_
findTag: 'Tag zoeken',
subtitle: 'Labels bieden meer gedetailleerde manieren om kosten te classificeren.',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>Je gebruikt <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">afhankelijke labels</a>. Je kunt <a href="${importSpreadsheetLink}">een spreadsheet opnieuw importeren</a> om je labels bij te werken.</muted-text>`,
+ `<muted-text>U gebruikt <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">afhankelijke tags</a>. U kunt <a href="${importSpreadsheetLink}">een spreadsheet opnieuw importeren</a> om uw tags bij te werken.</muted-text>`,
emptyTags: {
title: 'Je hebt nog geen labels gemaakt',
subtitle: 'Voeg een tag toe om projecten, locaties, afdelingen en meer bij te houden.',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index acef32a2..ad863475 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5370,7 +5369,7 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy
findTag: 'Znajdź tag',
subtitle: 'Tagi umożliwiają bardziej szczegółowe klasyfikowanie kosztów.',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>Używasz <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">zależnych tagów</a>. Możesz <a href="${importSpreadsheetLink}">ponownie zaimportować arkusz kalkulacyjny</a>, aby zaktualizować swoje tagi.</muted-text>`,
+ `<muted-text>Używasz <a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">tagów zależnych</a>. Możesz <a href="${importSpreadsheetLink}">ponownie zaimportować arkusz kalkulacyjny</a>, aby zaktualizować swoje tagi.</muted-text>`,
emptyTags: {
title: 'Nie utworzono jeszcze żadnych tagów',
subtitle: 'Dodaj tag, aby śledzić projekty, lokalizacje, działy i inne.',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index 23b86df0..30b59eeb 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index a31ba4ab..76509cd3 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -175,7 +175,6 @@ import type {
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
-
type StateValue = {
stateISO: string;
stateName: string;
@@ -5277,7 +5276,7 @@ _如需更详细的说明,请[访问我们的帮助网站](${CONST.NETSUITE_IM
findTag: '查找标签',
subtitle: '标签可用于以更细致的方式分类成本。',
dependentMultiLevelTagsSubtitle: (importSpreadsheetLink: string) =>
- `<muted-text>您正在使用<a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">依赖标签</a>。您可以<a href="${importSpreadsheetLink}">重新导入电子表格</a>来更新您的标签。</muted-text>`,
+ `<muted-text>您正在使用<a href="${CONST.IMPORT_TAGS_EXPENSIFY_URL_DEPENDENT_TAGS}">从属标签</a>。您可以<a href="${importSpreadsheetLink}">重新导入电子表格</a>来更新您的标签。</muted-text>`,
emptyTags: {
title: '你还没有创建任何标签',
subtitle: '添加标签,以跟踪项目、地点、部门等。',
Note You can apply these changes to your branch by copying the patch to your clipboard, then running |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ce3ce6ccef
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| {hasDependentTags && ( | ||
| <View style={[styles.renderHTML]}> | ||
| <RenderHTML |
There was a problem hiding this comment.
Avoid nesting View/RenderHTML inside Text subtitle
In the hasDependentTags path, this code inserts a <View><RenderHTML /></View> as a child of the surrounding <Text>, but React Native does not support View inside Text. On native clients this triggers the Nesting of <View> within <Text> is not currently supported invariant and breaks the dependent-tags subtitle rendering for workspaces that use dependent tags (when the accounting-import header branch is not shown).
Useful? React with 👍 / 👎.
|
🚧 @NikkiWines has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@youssef-lr Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@NikkiWines looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Straight revert |
|
🚧 @NikkiWines has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.3.20-2 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.3.21-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.21-4 🚀
|
This reverts commit ecf5ec4, reversing changes made to 304d489.
Explanation of Change
Fixed Issues
$ #82573
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari