Skip to content

Commit 1f64d25

Browse files
committed
localization
1 parent 729f504 commit 1f64d25

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

UI/web-app/src/components/HRQuerySource/HRQuerySource.base.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ const checkType = (value: string, type: string | undefined): string => {
16741674
{(includeFilter || source.filter) &&
16751675
<div className={classNames.cardHeader}>
16761676
<div className={classNames.cardTitle}>
1677-
Attributes
1677+
{strings.HROnboarding.attributeTitle}
16781678
</div>
16791679
<IconButton
16801680
iconProps={{ iconName: expanded ? 'ChevronUp' : 'ChevronDown' }}
@@ -1711,13 +1711,13 @@ const checkType = (value: string, type: string | undefined): string => {
17111711
iconProps={{ iconName: 'GroupObject' }}
17121712
onClick={onGroupClick}
17131713
disabled={!(selectedIndices.length > 1)}>
1714-
Group
1714+
{strings.HROnboarding.group}
17151715
</ActionButton>
17161716
<ActionButton
17171717
iconProps={{ iconName: 'GroupObject' }}
17181718
onClick={onUnGroupClick}
17191719
disabled={!(selectedIndices.length > 0 && groups.length > 0 && groupingEnabled)}>
1720-
Ungroup
1720+
{strings.HROnboarding.ungroup}
17211721
</ActionButton>
17221722
<br/>
17231723

UI/web-app/src/services/localization/IStrings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export type IStrings = {
3030
includeOrg: string;
3131
includeFilter: string;
3232
includeLeader: string;
33+
group: string;
34+
ungroup: string;
35+
attributeTitle: string;
3336
addAttribute: string;
3437
attribute: string;
3538
equalityOperator: string;

UI/web-app/src/services/localization/i18n/locales/en/translations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export const strings: IStrings = {
3333
includeOrg: "Do you want this source to be based on organization structure?",
3434
includeFilter: "Do you want to filter by properties?",
3535
includeLeader: "Include leader",
36+
group: "Group",
37+
ungroup: "Ungroup",
38+
attributeTitle: "Attributes",
3639
addAttribute: "Add attribute",
3740
attribute: "Attribute",
3841
equalityOperator: "Equality operator",

UI/web-app/src/services/localization/i18n/locales/es/translations.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export const strings: IStrings = {
3434
includeOrg: "¿Quiere que esta fuente se base en la estructura de la organización?",
3535
includeFilter: "¿Quieres filtrar por propiedades?",
3636
includeLeader: "incluir líder",
37+
group: "Grupo",
38+
ungroup: "Desagrupar",
39+
attributeTitle: "Atributos",
3740
addAttribute: "Agregar atributo",
3841
attribute: "Seleccione el atributo",
3942
equalityOperator: "Seleccione el operador de igualdad",

0 commit comments

Comments
 (0)