Centralize softcore pair wording
This commit is contained in:
@@ -54,6 +54,7 @@ class CaptionMetadataRouteDependencies:
|
||||
natural_cast_descriptor_text: Callable[[str], str]
|
||||
cast_labels: Callable[[str], list[str]]
|
||||
natural_label_text: Callable[[Any, list[str]], str]
|
||||
softcore_caption_setup_phrase: Callable[..., str]
|
||||
metadata_to_prose: Callable[..., tuple[str, str]]
|
||||
|
||||
|
||||
@@ -352,10 +353,12 @@ def insta_of_pair_from_row_result(
|
||||
if cast_descriptor_text and not same_soft_cast:
|
||||
parts.append(deps.natural_cast_descriptor_text(cast_descriptor_text))
|
||||
if same_soft_cast and include_soft:
|
||||
if target == "auto":
|
||||
parts.append("The softcore version keeps the same adult cast present together in a non-explicit teaser setup")
|
||||
else:
|
||||
parts.append("The same adult cast is present together in a non-explicit teaser setup")
|
||||
parts.append(
|
||||
deps.softcore_caption_setup_phrase(
|
||||
same_cast=True,
|
||||
target_auto=target == "auto",
|
||||
)
|
||||
)
|
||||
partner_styling = row.get("softcore_partner_styling")
|
||||
if isinstance(partner_styling, dict):
|
||||
outfits = partner_styling.get("outfits")
|
||||
@@ -368,9 +371,9 @@ def insta_of_pair_from_row_result(
|
||||
if pose:
|
||||
parts.append(f"The shared softcore cast pose is {pose}")
|
||||
if soft_text:
|
||||
parts.append(f"Softcore version: {soft_text}" if target == "auto" else soft_text)
|
||||
parts.append(f"Softcore side: {soft_text}" if target == "auto" else soft_text)
|
||||
if hard_text:
|
||||
parts.append(f"Hardcore version: {hard_text}" if target == "auto" else hard_text)
|
||||
parts.append(f"Hardcore side: {hard_text}" if target == "auto" else hard_text)
|
||||
if not parts:
|
||||
return None
|
||||
return CaptionMetadataRoute(deps.join_sentences(parts), "metadata(insta_of_pair)")
|
||||
|
||||
Reference in New Issue
Block a user