Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strata/platform text update #441

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion strr-platform-web/app/locales/en-CA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default {
selectAccountForStrr: 'Select the account you wish to use to register your Short-term rental platform.',
onlyPremiumAccountWarning: '{boldStart}Note:{boldEnd} Only Premium accounts using Pre-authorized Debit (PAD) can be used to register Short-term Rental Registry Platforms.',
onlyPremiumAccountModalContent: 'You must create a BC Registries Premium Account that uses a Pre-authorized Debit (PAD) payment method.',
listEachPlatform: 'Please list each platform operated by the platform service provider.'
listEachPlatform: 'List each platform operating in B.C. by the platform service provider.'
},
review: {
platInfo: {
Expand Down
2 changes: 1 addition & 1 deletion strr-platform-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "strr-platform-web",
"private": true,
"type": "module",
"version": "0.0.35",
"version": "0.0.36",
"scripts": {
"build-check": "nuxt build",
"build": "nuxt generate",
Expand Down
2 changes: 1 addition & 1 deletion strr-strata-web/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NUXT_HOUSING_STRR_URL="" # TODO: add housing strr base url here for redirects
NUXT_STRATA_TAC_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/registry/registry-toc-strataplatforms"
NUXT_BCGOV_STRR_URL="https://www.gov.bc.ca/STRRegistry"
NUXT_DECLINE_TOS_REDIRECT_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/registry"
NUXT_STRATA_DOCS_UPLOAD_LEARN_MORE_URL="https://www.gov.bc.ca/STRRegistry" # TODO: URL IS TBD
NUXT_DOES_PR_APPLY_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/principal-residence-requirement#PRapplies"

#vaults keycloak
NUXT_KEYCLOAK_AUTH_URL="https://dev.loginproxy.gov.bc.ca/auth"
Expand Down
4 changes: 2 additions & 2 deletions strr-strata-web/app/components/form/StrataDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ onMounted(async () => {
<i18n-t keypath="text.addAllReqDocs" scope="global">
<template #link>
<UButton
:label="$t('link.learnMore')"
:to="useRuntimeConfig().public.strataDocsUploadLearnMoreUrl"
:label="$t('link.doesPrApply')"
:to="useRuntimeConfig().public.doesPrApplyUrl"
:padded="false"
variant="link"
target="_blank"
Expand Down
5 changes: 3 additions & 2 deletions strr-strata-web/app/locales/en-CA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ export default {
},
link: {
strataHotelInfoPage: 'strata hotel information page',
learnMore: 'Learn More'
learnMore: 'Learn More',
doesPrApply: 'Does the principal residence requirement apply?'
},
modal: {
helpRegisteringStrata: {
Expand Down Expand Up @@ -146,7 +147,7 @@ export default {
selectAccount: {
generic: 'Select the account you wish to use to register and manage your short-term rentals, or create a new account.'
},
addAllReqDocs: 'Upload supporting strata-titled hotel or motel documentation. {link}',
addAllReqDocs: 'If the strata hotel is located in an area with the principal residence requirement, add all required documentation that supports your short-term rental registration. {link}',
noDocsUploaded: 'No supporting documentation uploaded.'
},
validation: {
Expand Down
2 changes: 1 addition & 1 deletion strr-strata-web/devops/vaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ NUXT_HOUSING_STRR_URL="" # TODO: add housing strr base url here for redirects
NUXT_STRATA_TAC_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/registry/registry-toc-strataplatforms"
NUXT_BCGOV_STRR_URL="https://www.gov.bc.ca/STRRegistry"
NUXT_DECLINE_TOS_REDIRECT_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/registry"
NUXT_STRATA_DOCS_UPLOAD_LEARN_MORE_URL="https://www.gov.bc.ca/STRRegistry" # TODO: URL IS TBD
NUXT_DOES_PR_APPLY_URL="https://www2.gov.bc.ca/gov/content/housing-tenancy/short-term-rentals/principal-residence-requirement#PRapplies"

# vaults api
NUXT_PAY_API_URL="op://API/$APP_ENV/pay-api/PAY_API_URL"
Expand Down
2 changes: 1 addition & 1 deletion strr-strata-web/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default defineNuxtConfig({
baseUrl: process.env.NUXT_BASE_URL,
version: `STRR Strata Hotel UI v${process.env.npm_package_version}`,
strataTacUrl: process.env.NUXT_STRATA_TAC_URL,
strataDocsUploadLearnMoreUrl: process.env.NUXT_STRATA_DOCS_UPLOAD_LEARN_MORE_URL
doesPrApplyUrl: process.env.NUXT_DOES_PR_APPLY_URL
// set by strr-base-web layer (still required in .env)
// addressCompleteKey - NUXT_ADDRESS_COMPLETE_KEY
// payApiURL - NUXT_PAY_API_VERSION
Expand Down
2 changes: 1 addition & 1 deletion strr-strata-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "strr-strata-web",
"private": true,
"type": "module",
"version": "0.0.36",
"version": "0.0.37",
"scripts": {
"build-check": "nuxt build",
"build": "nuxt generate",
Expand Down
Loading