Skip to content

Commit

Permalink
Merge pull request #1865 from GW2Treasures/feature/generic-festival-t…
Browse files Browse the repository at this point in the history
…ranslations

Rename generic wintersday translations for upcoming festivals
  • Loading branch information
darthmaim authored Dec 18, 2024
2 parents cc8080c + 9a04c80 commit 2a1c9ae
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default async function WintersdayPage({ params }: PageProps) {

<div style={{ marginTop: 32 }}/>

<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.items.login"/>} authorizationMessage={<Trans id="festival.wintersday.items.authorize"/>}>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.items.login"/>} authorizationMessage={<Trans id="festival.items.authorize"/>}>
{items.map((item) => (
<Fragment key={item.id}>
<Headline id={item.id.toString()}><ItemLink item={item}/></Headline>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default async function WintersdayAchievementsPage({ params }: PageProps)

return (
<PageLayout>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.achievements.login"/>} authorizationMessage={<Trans id="festival.wintersday.achievements.authorize"/>}/>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.achievements.login"/>} authorizationMessage={<Trans id="festival.achievements.authorize"/>}/>

<AchievementTable achievements={achievements} language={language} includeRewardsColumns>
{(table, ColumnSelect) => (
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/[language]/festival/wintersday/minis/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default async function WintersdayAchievementsPage() {

return (
<PageLayout>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.minis.login"/>} authorizationMessage={<Trans id="festival.wintersday.minis.authorize"/>}/>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.minis.login"/>} authorizationMessage={<Trans id="festival.minis.authorize"/>}/>

<MiniTable minis={minis}>
{(table, ColumnSelect) => (
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/[language]/festival/wintersday/skins/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default async function WintersdayAchievementsPage() {

return (
<PageLayout>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.skins.login"/>} authorizationMessage={<Trans id="festival.wintersday.skins.authorize"/>}/>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.skins.login"/>} authorizationMessage={<Trans id="festival.skins.authorize"/>}/>

<SkinTable skins={skins}>
{(table, ColumnSelect) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default async function WintersdayAchievementsPage({ params }: PageProps)

return (
<PageLayout>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wintersday.wizards-vault.login"/>} authorizationMessage={<Trans id="festival.wintersday.wizards-vault.authorize"/>}/>
<Gw2Accounts requiredScopes={requiredScopes} loading={null} loginMessage={<Trans id="festival.wizards-vault.login"/>} authorizationMessage={<Trans id="festival.wizards-vault.authorize"/>}/>

<p><Trans id="festival.wintersday.wizards-vault.description"/></p>

Expand Down
22 changes: 11 additions & 11 deletions apps/web/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,22 +306,22 @@
"fractal.underground_facility": "Underground Facility",
"fractal.urban_battleground": "Urban Battleground",
"fractal.volcanic": "Volcanic",
"festival.items.authorize": "You need to authorize gw2treasures.com to be able to see your accounts inventories.",
"festival.items.login": "You need to login to be able to see your accounts inventories.",
"festival.achievements.authorize": "You need to authorize gw2treasures.com to be able to see your accounts achievement progress.",
"festival.achievements.login": "You need to login to be able to see your accounts achievement progress.",
"festival.skins.authorize": "You need to authorize gw2treasures.com to be able to see your accounts wardrobe unlocks.",
"festival.skins.login": "You need to login to be able to see your accounts wardrobe unlocks.",
"festival.minis.authorize": "You need to authorize gw2treasures.com to be able to see your accounts mini unlocks.",
"festival.minis.login": "You need to login to be able to see your accounts mini unlocks.",
"festival.wizards-vault.authorize": "You need to authorize gw2treasures.com to be able to see your accounts Wizard's Vault progress.",
"festival.wizards-vault.login": "You need to login to be able to see your accounts Wizard's Vault progress.",
"festival.wintersday": "Wintersday",
"festival.wintersday.intro": "Bells are ringing, snowballs are flying, and Toymaster Tixx’s fantastic golem-shaped airship is hovering over Divinity’s Reach—the traditional Tyrian celebration of Wintersday is here again!",
"festival.wintersday.description": "Keep track of your progress on all your accounts during Wintersday on gw2treasures.com.",
"festival.wintersday.items.authorize": "You need to authorize gw2treasures.com to be able to see your accounts inventories.",
"festival.wintersday.items.login": "You need to login to be able to see your accounts inventories.",
"festival.wintersday.achievements.description": "These achievements are only available during wintersday.",
"festival.wintersday.achievements.authorize": "You need to authorize gw2treasures.com to be able to see your accounts achievement progress.",
"festival.wintersday.achievements.login": "You need to login to be able to see your accounts achievement progress.",
"festival.wintersday.skins.description": "These skins are only available during wintersday.",
"festival.wintersday.skins.authorize": "You need to authorize gw2treasures.com to be able to see your accounts wardrobe unlocks.",
"festival.wintersday.skins.login": "You need to login to be able to see your accounts wardrobe unlocks.",
"festival.wintersday.minis": "Minis",
"festival.wintersday.minis.description": "These minis are only available during wintersday.",
"festival.wintersday.minis.authorize": "You need to authorize gw2treasures.com to be able to see your accounts mini unlocks.",
"festival.wintersday.minis.login": "You need to login to be able to see your accounts mini unlocks.",
"festival.wintersday.wizards-vault.description": "These are all the Wizard's Vault objectives only active during Wintersday.",
"festival.wintersday.wizards-vault.authorize": "You need to authorize gw2treasures.com to be able to see your accounts Wizard's Vault progress.",
"festival.wintersday.wizards-vault.login": "You need to login to be able to see your accounts Wizard's Vault progress."
"festival.wintersday.wizards-vault.description": "These are all the Wizard's Vault objectives only active during Wintersday."
}

0 comments on commit 2a1c9ae

Please sign in to comment.