fix(projects): non i18nized text

This commit is contained in:
2026-03-11 00:24:29 +01:00
parent edd5322503
commit 2758a6a8d7
4 changed files with 7 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 578 B

View File

@@ -56,8 +56,6 @@ const drawTextWithShadow2Lines = (
};
onRender((ctx) => {
assets.images.projects.topScreen.background.draw(ctx, 0, 0);
ctx.font = "16px Pokemon DP Pro";
const project = store.projects[store.currentProject];
@@ -148,6 +146,9 @@ onRender((ctx) => {
"black",
);
drawTextWithShadow(ctx, "white", $t("projects.title"), 7, -1);
drawTextWithShadow(ctx, "black", $t("projects.technologies"), 167, 143);
ctx.fillStyle = `rgba(0, 0, 0, ${store.isIntro ? store.intro.fadeOpacity : store.isOutro ? store.outro.fadeOpacity : 0})`;
ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT);
});

View File

@@ -209,6 +209,8 @@
"backToHome": "Back to Home"
},
"projects": {
"title": "PROJECTS AND EXPERIENCES",
"technologies": "Technologies",
"linkConfirmationPopup": {
"yes": "yes",
"no": "no",

View File

@@ -209,6 +209,8 @@
"backToHome": "Retour à l'accueil"
},
"projects": {
"title": "PROJETS ET EXPÉRIENCES",
"technologies": "Technologies",
"linkConfirmationPopup": {
"yes": "oui",
"no": "non",