Skip to content

Commit

Permalink
feat: add new translations (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamilleLegeron committed May 29, 2024
1 parent 6cfcffc commit 5956c20
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/client/ui/AppHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class AppHeader extends Disposable {
// Show 'Organization Settings' when on a home page of a valid org.
(!this._docPageModel && this._currentOrg && !this._currentOrg.owner ?
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))) :
// Don't show on doc pages, or for personal orgs.
null),
Expand Down Expand Up @@ -153,12 +153,12 @@ export class AppHeader extends Disposable {
(isBillingManager
? menuItemLink(
urlState().setLinkUrl({billing: 'billing'}),
'Billing Account',
t('Billing Account'),
testId('orgmenu-billing'),
)
: menuItem(
() => null,
'Billing Account',
t('Billing Account'),
dom.cls('disabled', true),
testId('orgmenu-billing'),
)
Expand Down
48 changes: 43 additions & 5 deletions static/locales/en.client.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@
"Legacy": "Legacy",
"Personal Site": "Personal Site",
"Team Site": "Team Site",
"Grist Templates": "Grist Templates"
"Grist Templates": "Grist Templates",
"Billing Account": "Billing Account",
"Manage Team": "Manage Team"
},
"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."
Expand Down Expand Up @@ -327,7 +329,17 @@
"Time Zone": "Time Zone",
"Try API calls from the browser": "Try API calls from the browser",
"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": {
"Attachments Size": "Size of Attachments",
Expand Down Expand Up @@ -525,7 +537,8 @@
"Trash": "Trash",
"Workspace will be moved to Trash.": "Workspace will be moved to Trash.",
"Workspaces": "Workspaces",
"Tutorial": "Tutorial"
"Tutorial": "Tutorial",
"Terms of service": "Terms of service"
},
"Importer": {
"Merge rows that match these fields:": "Merge rows that match these fields:",
Expand Down Expand Up @@ -1017,7 +1030,9 @@
"Add conditional style": "Add conditional style",
"Error in style rule": "Error in style rule",
"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": {
"Invalid currency": "Invalid currency"
Expand Down Expand Up @@ -1536,7 +1551,20 @@
"Security Settings": "Security Settings",
"Updates": "Updates",
"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": {
"Remove Column": "Remove Column"
Expand Down Expand Up @@ -1587,5 +1615,15 @@
"Custom": "Custom",
"Form": "Form",
"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)"
}
}

0 comments on commit 5956c20

Please sign in to comment.