mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Properly mark strings for translation.
This commit is contained in:
parent
bba2a264ea
commit
41e837d1e2
@ -19,8 +19,8 @@ const QS_CONFIG = (order_by = 'name') =>
|
||||
function AssociateModal({
|
||||
header = t`Items`,
|
||||
columns = [
|
||||
{ key: 'hostname', name: 'Name' },
|
||||
{ key: 'node_type', name: 'Node Type' },
|
||||
{ key: 'hostname', name: t`Name` },
|
||||
{ key: 'node_type', name: t`Node Type` },
|
||||
],
|
||||
title = t`Select Items`,
|
||||
onClose,
|
||||
|
||||
@ -49,10 +49,9 @@ function OptionsList({
|
||||
<HeaderRow qsConfig={qsConfig}>
|
||||
{columns?.length > 0 ? (
|
||||
columns.map((col) => (
|
||||
<HeaderCell
|
||||
key={col.key}
|
||||
sortKey={col.key}
|
||||
>{t`${col.name}`}</HeaderCell>
|
||||
<HeaderCell key={col.key} sortKey={col.key}>
|
||||
{col.name}
|
||||
</HeaderCell>
|
||||
))
|
||||
) : (
|
||||
<HeaderCell sortKey="name">{t`Name`}</HeaderCell>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user