fix(projects): non i18nized text
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1010 B After Width: | Height: | Size: 578 B |
@@ -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);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user