Add i18n comments
This commit is contained in:
@@ -52,7 +52,12 @@ export function DraftItem({
|
|||||||
case device.FALLBACK_IOS:
|
case device.FALLBACK_IOS:
|
||||||
case device.FALLBACK_ANDROID:
|
case device.FALLBACK_ANDROID:
|
||||||
case device.FALLBACK_WEB:
|
case device.FALLBACK_WEB:
|
||||||
name = _(msg`another device`)
|
name = _(
|
||||||
|
msg({
|
||||||
|
message: `another device`,
|
||||||
|
comment: `Prefixed with "This media is stored on...". Example: "This media is stored on another device"`,
|
||||||
|
}),
|
||||||
|
)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
return name
|
return name
|
||||||
@@ -110,7 +115,12 @@ export function DraftItem({
|
|||||||
{mediaExistsOnOtherDevice && (
|
{mediaExistsOnOtherDevice && (
|
||||||
<DraftMetadataTag
|
<DraftMetadataTag
|
||||||
icon={WarningIcon}
|
icon={WarningIcon}
|
||||||
text={_(msg`Media stored on ${deviceName}`)}
|
text={_(
|
||||||
|
msg({
|
||||||
|
message: `Media stored on ${deviceName}`,
|
||||||
|
comment: `This media is stored on... Example: "This media is stored on John's iPhone"`,
|
||||||
|
}),
|
||||||
|
)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{mediaIsMissing && (
|
{mediaIsMissing && (
|
||||||
|
|||||||
Reference in New Issue
Block a user