Adding a missing translation for "Visiting card"
Also, changing "Visiting Card" to "Business Card" in English
This commit is contained in:
parent
0b095eb85c
commit
9bfce8412a
@ -7,6 +7,7 @@ import type { PlayerAnimationDirections } from "../Player/Animation";
|
|||||||
import type { Unsubscriber } from "svelte/store";
|
import type { Unsubscriber } from "svelte/store";
|
||||||
import type { ActivatableInterface } from "../Game/ActivatableInterface";
|
import type { ActivatableInterface } from "../Game/ActivatableInterface";
|
||||||
import type CancelablePromise from "cancelable-promise";
|
import type CancelablePromise from "cancelable-promise";
|
||||||
|
import LL from "../../i18n/i18n-svelte";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class representing the sprite of a remote player (a player that plays on another computer)
|
* Class representing the sprite of a remote player (a player that plays on another computer)
|
||||||
@ -107,7 +108,7 @@ export class RemotePlayer extends Character implements ActivatableInterface {
|
|||||||
private registerDefaultActionsMenuActions(): void {
|
private registerDefaultActionsMenuActions(): void {
|
||||||
if (this.visitCardUrl) {
|
if (this.visitCardUrl) {
|
||||||
this.registeredActions.push({
|
this.registeredActions.push({
|
||||||
actionName: "Visiting Card",
|
actionName: LL.woka.menu.businessCard(),
|
||||||
callback: () => {
|
callback: () => {
|
||||||
requestVisitCardsStore.set(this.visitCardUrl);
|
requestVisitCardsStore.set(this.visitCardUrl);
|
||||||
actionsMenuStore.clear();
|
actionsMenuStore.clear();
|
||||||
|
@ -15,6 +15,9 @@ const woka: NonNullable<Translation["woka"]> = {
|
|||||||
continue: "Auswählen",
|
continue: "Auswählen",
|
||||||
customize: "Bearbeite dein WOKA",
|
customize: "Bearbeite dein WOKA",
|
||||||
},
|
},
|
||||||
|
menu: {
|
||||||
|
businessCard: "Visitenkarte",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default woka;
|
export default woka;
|
||||||
|
@ -15,6 +15,9 @@ const woka: BaseTranslation = {
|
|||||||
continue: "Continue",
|
continue: "Continue",
|
||||||
customize: "Customize your WOKA",
|
customize: "Customize your WOKA",
|
||||||
},
|
},
|
||||||
|
menu: {
|
||||||
|
businessCard: "Business Card",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default woka;
|
export default woka;
|
||||||
|
@ -15,6 +15,9 @@ const woka: NonNullable<Translation["woka"]> = {
|
|||||||
continue: "Continuer",
|
continue: "Continuer",
|
||||||
customize: "Personnalisez votre WOKA",
|
customize: "Personnalisez votre WOKA",
|
||||||
},
|
},
|
||||||
|
menu: {
|
||||||
|
businessCard: "Carte de visite",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default woka;
|
export default woka;
|
||||||
|
Loading…
Reference in New Issue
Block a user