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