feat(15d): complete localization of full-guide page to PT

This commit is contained in:
Marcos Paulo
2026-09-05 22:30:50 +00:00
parent c022a93302
commit 054393f7af
38 changed files with 1322 additions and 325 deletions
+16 -2
View File
@@ -20,13 +20,27 @@ interface PackageFile {
interface Props {
files: PackageFile[];
initial?: string;
packageLabel?: string | Localized;
}
const { files, initial = files[0]?.id ?? 'skill' } = Astro.props;
const { files, initial = files[0]?.id ?? 'skill', packageLabel = 'SKILL PACKAGE' } = Astro.props;
---
<div class="skill-package" role="tree" aria-label="Skill package files">
<span class="skill-package-label">SKILL PACKAGE</span>
<span class="skill-package-label">
{
typeof packageLabel === 'string' ? (
packageLabel
) : (
<>
<span data-language-content="en">{packageLabel.en}</span>
<span data-language-content="pt" hidden>
{packageLabel.pt}
</span>
</>
)
}
</span>
{
files.map((file) => (
<button