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) => { onRender((ctx) => {
assets.images.projects.topScreen.background.draw(ctx, 0, 0);
ctx.font = "16px Pokemon DP Pro"; ctx.font = "16px Pokemon DP Pro";
const project = store.projects[store.currentProject]; const project = store.projects[store.currentProject];
@@ -148,6 +146,9 @@ onRender((ctx) => {
"black", "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.fillStyle = `rgba(0, 0, 0, ${store.isIntro ? store.intro.fadeOpacity : store.isOutro ? store.outro.fadeOpacity : 0})`;
ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT); ctx.fillRect(0, 0, LOGICAL_WIDTH, LOGICAL_HEIGHT);
}); });

View File

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

View File

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