You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// (intro): the second `{% ifversion default-setup-self-hosted-runners-GHEC %}`
1570
+
// is a corruption — it should be `{% endif %}` to close the first one.
1571
+
// This left the `{% ifversion %}` block unclosed and broke the
1572
+
// /ko/code-security landing page scrape. Restore the endif.
1573
+
content=content.replaceAll(
1574
+
'{% data variables.product.prodname_dotcom %}.{% ifversion default-setup-self-hosted-runners-GHEC %}',
1575
+
'{% data variables.product.prodname_dotcom %}.{% endif %}',
1576
+
)
1538
1577
}
1539
1578
1540
1579
if(context.code==='de'){
@@ -1718,6 +1757,26 @@ export function correctTranslatedContentStrings(
1718
1757
'Mit angepassten Organisationsrollen kannst du den Zugriff auf die Einstellungen deiner {% ifversion org-custom-role-with-repo-permissions %}Organisation und die Repositories{% else %}einer Organisation steuern.',
1719
1758
'Mit angepassten Organisationsrollen kannst du den Zugriff auf die Einstellungen deiner {% ifversion org-custom-role-with-repo-permissions %}Organisation und die Repositories{% else %}einer Organisation{% endif %} steuern.',
// (intro): translator swapped the ghes/non-ghes branches. The EMU/dotcom/data-residency
1763
+
// text ended up inside `{% ifversion ghes %}...{% endif %}`, the `{% endif %}` closed
1764
+
// the block too early, and `{% else %}` was left as an orphan after it.
1765
+
// Reconstruct to match English: {% ifversion ghes %}centrally manage...{% else %}for EMUs on dotcom...{% endif %}.
1766
+
content=content.replaceAll(
1767
+
'{% ifversion ghes %}ein, um Authentifizierung und Provisionierung für {% data variables.product.prodname_emus %} auf {% data variables.product.prodname_dotcom_the_website %} oder {% data variables.enterprise.data_residency_site %}{% endif %} für Ihr Unternehmen{% else %} zentral zu verwalten.',
1768
+
'{% ifversion ghes %}ein, um Authentifizierung und Provisionierung für Ihr Unternehmen zentral zu verwalten{% else %}für {% data variables.product.prodname_emus %} auf {% data variables.product.prodname_dotcom_the_website %} oder {% data variables.enterprise.data_residency_site %}{% endif %}.',
'{% ifversion ghes %}ein, um Authentifizierung und Provisionierung für {% data variables.product.prodname_emus %} auf {% data variables.product.prodname_dotcom_the_website %} oder {% data variables.enterprise.data_residency_site %}{% endif %} für Ihr Unternehmen{% else %} zentral zu verwalten.'
2330
+
expect(fix(broken,'de')).toBe(
2331
+
'{% ifversion ghes %}ein, um Authentifizierung und Provisionierung für Ihr Unternehmen zentral zu verwalten{% else %}für {% data variables.product.prodname_emus %} auf {% data variables.product.prodname_dotcom_the_website %} oder {% data variables.enterprise.data_residency_site %}{% endif %}.',
0 commit comments