-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing translations #33035
Add missing translations #33035
Conversation
Codenotify: Notifying subscribers in CODENOTIFY files for diff 25be72c...5706afa.
|
@@ -92,7 +92,7 @@ export const getApplicationPermissionEditor = createSelector( | |||
|
|||
return { | |||
id: group.id, | |||
name: group.name, | |||
name: getGroupNameLocalized(group), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -55,7 +55,7 @@ const getEditSegmentedAccessPostAction = (entityId, groupId, view) => | |||
if (hasPremiumFeature("sandboxes")) { | |||
PLUGIN_ADMIN_USER_FORM_FIELDS.push({ | |||
name: "login_attributes", | |||
title: "Attributes", | |||
title: t`Attributes`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import MappingEditor from "./MappingEditor"; | ||
|
||
const LoginAttributesWidget = ({ field }) => ( | ||
<MappingEditor | ||
value={field.value || {}} | ||
onChange={field.onChange} | ||
addText="Add an attribute" | ||
addText={t`Add an attribute`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -27,7 +27,7 @@ export const DataPermissionsHelp = () => { | |||
defaultValue="database-level" | |||
> | |||
<Accordion.Item value="database-level"> | |||
<Accordion.Control>Database levels</Accordion.Control> | |||
<Accordion.Control>{t`Database levels`}</Accordion.Control> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -89,19 +89,19 @@ export const CustomHomePageModal = ({ | |||
return ( | |||
<Modal isOpen={isOpen} onClose={onClose}> | |||
<ModalContent | |||
title="Customize Homepage" | |||
title={t`Customize Homepage`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -31,13 +32,13 @@ export const HomeLayout = ({ | |||
{hasIllustration && <LayoutIllustration />} | |||
{hasMetabot ? <MetabotWidget /> : <HomeGreeting />} | |||
{isAdmin && ( | |||
<Tooltip tooltip="Pick a dashboard to serve as the homepage"> | |||
<Tooltip tooltip={t`Pick a dashboard to serve as the homepage`}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -45,7 +45,7 @@ export function DatabasePromptBanner({ location }: DatabasePromptBannerProps) { | |||
}} | |||
> | |||
<ConnectDatabaseButton small> | |||
Connect your database | |||
{t`Connect your database`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
const isPinnedGroup = (group: Group) => | ||
isAdminGroup(group) || isDefaultGroup(group); | ||
|
||
export const getOrderedGroups = createSelector( | ||
Groups.selectors.getList, | ||
(groups: Group[]) => _.partition(groups, isPinnedGroup), | ||
(groups: Group[]) => { | ||
const translatedGroups = groups.map(group => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #33035 +/- ##
=======================================
Coverage 74.84% 74.84%
=======================================
Files 2995 2995
Lines 106099 106101 +2
Branches 12799 12799
=======================================
+ Hits 79406 79408 +2
Misses 21215 21215
Partials 5478 5478
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Description
Fix missing translations reported in this Slack thread
Checklist
Tests have been added/updated to cover changes in this PRNo test has been added since this is just translating existing strings in the codebase.