feat: add new translations (#1004)

This commit is contained in:
CamilleLegeron 2024-05-29 20:02:00 +02:00 committed by GitHub
parent 6cfcffc561
commit 5956c20c29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 8 deletions

View File

@ -118,7 +118,7 @@ export class AppHeader extends Disposable {
// Show 'Organization Settings' when on a home page of a valid org. // Show 'Organization Settings' when on a home page of a valid org.
(!this._docPageModel && this._currentOrg && !this._currentOrg.owner ? (!this._docPageModel && this._currentOrg && !this._currentOrg.owner ?
menuItem(() => manageTeamUsersApp({app: this._appModel}), menuItem(() => manageTeamUsersApp({app: this._appModel}),
'Manage Team', testId('orgmenu-manage-team'), t('Manage Team'), testId('orgmenu-manage-team'),
dom.cls('disabled', !roles.canEditAccess(this._currentOrg.access))) : dom.cls('disabled', !roles.canEditAccess(this._currentOrg.access))) :
// Don't show on doc pages, or for personal orgs. // Don't show on doc pages, or for personal orgs.
null), null),
@ -153,12 +153,12 @@ export class AppHeader extends Disposable {
(isBillingManager (isBillingManager
? menuItemLink( ? menuItemLink(
urlState().setLinkUrl({billing: 'billing'}), urlState().setLinkUrl({billing: 'billing'}),
'Billing Account', t('Billing Account'),
testId('orgmenu-billing'), testId('orgmenu-billing'),
) )
: menuItem( : menuItem(
() => null, () => null,
'Billing Account', t('Billing Account'),
dom.cls('disabled', true), dom.cls('disabled', true),
testId('orgmenu-billing'), testId('orgmenu-billing'),
) )

View File

@ -118,7 +118,9 @@
"Legacy": "Legacy", "Legacy": "Legacy",
"Personal Site": "Personal Site", "Personal Site": "Personal Site",
"Team Site": "Team Site", "Team Site": "Team Site",
"Grist Templates": "Grist Templates" "Grist Templates": "Grist Templates",
"Billing Account": "Billing Account",
"Manage Team": "Manage Team"
}, },
"AppModel": { "AppModel": {
"This team site is suspended. Documents can be read, but not modified.": "This team site is suspended. Documents can be read, but not modified." "This team site is suspended. Documents can be read, but not modified.": "This team site is suspended. Documents can be read, but not modified."
@ -327,7 +329,17 @@
"Time Zone": "Time Zone", "Time Zone": "Time Zone",
"Try API calls from the browser": "Try API calls from the browser", "Try API calls from the browser": "Try API calls from the browser",
"python2 (legacy)": "python2 (legacy)", "python2 (legacy)": "python2 (legacy)",
"python3 (recommended)": "python3 (recommended)" "python3 (recommended)": "python3 (recommended)",
"Cancel": "Cancel",
"Force reload the document while timing formulas, and show the result.": "Force reload the document while timing formulas, and show the result.",
"Formula timer": "Formula timer",
"Reload data engine": "Reload data engine",
"Reload data engine?": "Reload data engine?",
"Start timing": "Start timing",
"Stop timing...": "Stop timing...",
"Time reload": "Time reload",
"Timing is on": "Timing is on",
"You can make changes to the document, then stop timing to see the results.": "You can make changes to the document, then stop timing to see the results."
}, },
"DocumentUsage": { "DocumentUsage": {
"Attachments Size": "Size of Attachments", "Attachments Size": "Size of Attachments",
@ -525,7 +537,8 @@
"Trash": "Trash", "Trash": "Trash",
"Workspace will be moved to Trash.": "Workspace will be moved to Trash.", "Workspace will be moved to Trash.": "Workspace will be moved to Trash.",
"Workspaces": "Workspaces", "Workspaces": "Workspaces",
"Tutorial": "Tutorial" "Tutorial": "Tutorial",
"Terms of service": "Terms of service"
}, },
"Importer": { "Importer": {
"Merge rows that match these fields:": "Merge rows that match these fields:", "Merge rows that match these fields:": "Merge rows that match these fields:",
@ -1017,7 +1030,9 @@
"Add conditional style": "Add conditional style", "Add conditional style": "Add conditional style",
"Error in style rule": "Error in style rule", "Error in style rule": "Error in style rule",
"Row Style": "Row Style", "Row Style": "Row Style",
"Rule must return True or False": "Rule must return True or False" "Rule must return True or False": "Rule must return True or False",
"Conditional Style": "Conditional Style",
"IF...": "IF..."
}, },
"CurrencyPicker": { "CurrencyPicker": {
"Invalid currency": "Invalid currency" "Invalid currency": "Invalid currency"
@ -1536,7 +1551,20 @@
"Security Settings": "Security Settings", "Security Settings": "Security Settings",
"Updates": "Updates", "Updates": "Updates",
"unconfigured": "unconfigured", "unconfigured": "unconfigured",
"unknown": "unknown" "unknown": "unknown",
"Administrator Panel Unavailable": "Administrator Panel Unavailable",
"Authentication": "Authentication",
"Check failed.": "Check failed.",
"Check succeeded.": "Check succeeded.",
"Current authentication method": "Current authentication method",
"Details": "Details",
"Grist allows different types of authentication to be configured, including SAML and OIDC. We recommend enabling one of these if Grist is accessible over the network or being made available to multiple people.": "Grist allows different types of authentication to be configured, including SAML and OIDC. We recommend enabling one of these if Grist is accessible over the network or being made available to multiple people.",
"No fault detected.": "No fault detected.",
"Notes": "Notes",
"Or, as a fallback, you can set: {{bootKey}} in the environment and visit: {{url}}": "Or, as a fallback, you can set: {{bootKey}} in the environment and visit: {{url}}",
"Results": "Results",
"Self Checks": "Self Checks",
"You do not have access to the administrator panel.\nPlease log in as an administrator.": "You do not have access to the administrator panel.\nPlease log in as an administrator."
}, },
"Columns": { "Columns": {
"Remove Column": "Remove Column" "Remove Column": "Remove Column"
@ -1587,5 +1615,15 @@
"Custom": "Custom", "Custom": "Custom",
"Form": "Form", "Form": "Form",
"Table": "Table" "Table": "Table"
},
"TimingPage": {
"Average Time (s)": "Average Time (s)",
"Column ID": "Column ID",
"Formula timer": "Formula timer",
"Loading timing data. Don't close this tab.": "Loading timing data. Don't close this tab.",
"Max Time (s)": "Max Time (s)",
"Number of Calls": "Number of Calls",
"Table ID": "Table ID",
"Total Time (s)": "Total Time (s)"
} }
} }