Skip to content

Commit 1769b5d

Browse files
authored
Merge pull request Expensify#78589 from Expensify/nat-cardimporterrormessage
[NoQA] Support card import broken message
2 parents 49e60fa + d2d1d05 commit 1769b5d

19 files changed

Lines changed: 98 additions & 1 deletion

File tree

src/CONST/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,7 @@ const CONST = {
12441244
HOLD: 'HOLD',
12451245
HOLD_COMMENT: 'HOLDCOMMENT',
12461246
INTEGRATION_SYNC_FAILED: 'INTEGRATIONSYNCFAILED',
1247+
COMPANY_CARD_CONNECTION_BROKEN: 'COMPANYCARDCONNECTIONBROKEN',
12471248
IOU: 'IOU',
12481249
INTEGRATIONS_MESSAGE: 'INTEGRATIONSMESSAGE', // OldDot Action
12491250
MANAGER_ATTACH_RECEIPT: 'MANAGERATTACHRECEIPT', // OldDot Action

src/languages/de.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6962,6 +6962,8 @@ Fordere Spesendetails wie Belege und Beschreibungen an, lege Limits und Standard
69626962
removedConnection: ({connectionName}: ConnectionNameParams) => `Verbindung zu ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} entfernt`,
69636963
addedConnection: ({connectionName}: ConnectionNameParams) => `verbunden mit ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69646964
leftTheChat: 'hat den Chat verlassen',
6965+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6966+
`Die ${feedName}-Verbindung ist unterbrochen. Um Kartenimporte wiederherzustellen, <a href='${workspaceCompanyCardRoute}'>melden Sie sich bei Ihrer Bank an</a>`,
69656967
},
69666968
error: {
69676969
invalidCredentials: 'Ungültige Anmeldedaten. Bitte überprüfen Sie die Konfiguration Ihrer Verbindung.',

src/languages/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6818,6 +6818,8 @@ const translations = {
68186818
takeControl: `took control`,
68196819
integrationSyncFailed: ({label, errorMessage, workspaceAccountingLink}: IntegrationSyncFailedParams) =>
68206820
`there was a problem syncing with ${label}${errorMessage ? ` ("${errorMessage}")` : ''}. Please fix the issue in <a href="${workspaceAccountingLink}">workspace settings</a>.`,
6821+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6822+
`The ${feedName} connection is broken. To restore card imports, <a href='${workspaceCompanyCardRoute}'>log into your bank</a>`,
68216823
addEmployee: (email: string, role: string) => `added ${email} as ${role === 'member' ? 'a' : 'an'} ${role}`,
68226824
updateRole: ({email, currentRole, newRole}: UpdateRoleParams) => `updated the role of ${email} to ${newRole} (previously ${currentRole})`,
68236825
updatedCustomField1: ({email, previousValue, newValue}: UpdatedCustomFieldParams) => {

src/languages/es.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6543,6 +6543,8 @@ ${amount} para ${merchant} - ${date}`,
65436543
takeControl: `tomó el control`,
65446544
integrationSyncFailed: ({label, errorMessage, workspaceAccountingLink}) =>
65456545
`hubo un problema al sincronizar con ${label}${errorMessage ? ` ("${errorMessage}")` : ''}. Por favor, soluciona el problema en la <a href="${workspaceAccountingLink}">configuración del espacio de trabajo</a>.`,
6546+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6547+
`La conexión ${feedName} está rota. Para restaurar las importaciones de tarjetas, <a href='${workspaceCompanyCardRoute}'>inicia sesión en tu banco</a>`,
65466548
addEmployee: (email, role) => `agregó a ${email} como ${role}`,
65476549
updateRole: ({email, currentRole, newRole}) => `actualizó el rol ${email} a ${newRole} (previamente ${currentRole})`,
65486550
updatedCustomField1: ({email, previousValue, newValue}) => {

src/languages/fr.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6973,6 +6973,8 @@ Exigez des informations de dépense comme les reçus et les descriptions, défin
69736973
removedConnection: ({connectionName}: ConnectionNameParams) => `connexion à ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} supprimée`,
69746974
addedConnection: ({connectionName}: ConnectionNameParams) => `connecté à ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69756975
leftTheChat: 'a quitté la discussion',
6976+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6977+
`La connexion à ${feedName} est rompue. Pour rétablir l’importation des cartes, <a href='${workspaceCompanyCardRoute}'>connectez-vous à votre banque</a>`,
69766978
},
69776979
error: {
69786980
invalidCredentials: 'Identifiants invalides, veuillez vérifier la configuration de votre connexion.',

src/languages/it.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6947,6 +6947,8 @@ Richiedi dettagli di spesa come ricevute e descrizioni, imposta limiti e valori
69476947
removedConnection: ({connectionName}: ConnectionNameParams) => `connessione a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} rimossa`,
69486948
addedConnection: ({connectionName}: ConnectionNameParams) => `connesso a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69496949
leftTheChat: 'ha lasciato la chat',
6950+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6951+
`La connessione ${feedName} non funziona. Per ripristinare le importazioni delle carte, <a href='${workspaceCompanyCardRoute}'>accedi alla tua banca</a>`,
69506952
},
69516953
error: {
69526954
invalidCredentials: 'Credenziali non valide, controlla la configurazione della connessione.',

src/languages/ja.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6892,6 +6892,8 @@ ${reportName}
68926892
removedConnection: ({connectionName}: ConnectionNameParams) => `${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} への接続を削除しました`,
68936893
addedConnection: ({connectionName}: ConnectionNameParams) => `${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} に接続済み`,
68946894
leftTheChat: 'チャットを退出しました',
6895+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6896+
`${feedName} との接続が切断されています。カードの取引明細の取り込みを再開するには、<a href='${workspaceCompanyCardRoute}'>銀行にログイン</a>してください`,
68956897
},
68966898
error: {
68976899
invalidCredentials: '認証情報が無効です。接続の設定を確認してください。',

src/languages/nl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6935,6 +6935,8 @@ Vraag verplichte uitgavedetails zoals bonnetjes en beschrijvingen, stel limieten
69356935
removedConnection: ({connectionName}: ConnectionNameParams) => `verbinding met ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]} verwijderd`,
69366936
addedConnection: ({connectionName}: ConnectionNameParams) => `verbonden met ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69376937
leftTheChat: 'heeft de chat verlaten',
6938+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6939+
`De ${feedName}-verbinding is verbroken. Om kaartimporten te herstellen, <a href='${workspaceCompanyCardRoute}'>log in bij uw bank</a>`,
69386940
},
69396941
error: {
69406942
invalidCredentials: 'Ongeldige inloggegevens, controleer de configuratie van uw verbinding.',

src/languages/pl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6922,6 +6922,8 @@ Wymagaj szczegółów wydatków, takich jak paragony i opisy, ustawiaj limity i
69226922
removedConnection: ({connectionName}: ConnectionNameParams) => `usunięto połączenie z ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69236923
addedConnection: ({connectionName}: ConnectionNameParams) => `połączono z ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69246924
leftTheChat: 'opuścił czat',
6925+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6926+
`Połączenie ${feedName} jest przerwane. Aby przywrócić importy kart, <a href='${workspaceCompanyCardRoute}'>zaloguj się do swojego banku</a>`,
69256927
},
69266928
error: {
69276929
invalidCredentials: 'Nieprawidłowe dane logowania, sprawdź konfigurację swojego połączenia.',

src/languages/pt-BR.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6926,6 +6926,8 @@ Exija detalhes de despesas como recibos e descrições, defina limites e padrõe
69266926
removedConnection: ({connectionName}: ConnectionNameParams) => `removeu a conexão com ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69276927
addedConnection: ({connectionName}: ConnectionNameParams) => `conectado a ${CONST.POLICY.CONNECTIONS.NAME_USER_FRIENDLY[connectionName]}`,
69286928
leftTheChat: 'saiu do chat',
6929+
companyCardConnectionBroken: ({feedName, workspaceCompanyCardRoute}: {feedName: string; workspaceCompanyCardRoute: string}) =>
6930+
`A conexão ${feedName} está quebrada. Para restaurar as importações do cartão, <a href='${workspaceCompanyCardRoute}'>faça login no seu banco</a>`,
69296931
},
69306932
error: {
69316933
invalidCredentials: 'Credenciais inválidas, verifique a configuração da sua conexão.',

0 commit comments

Comments
 (0)