Skip to content

Commit

Permalink
Fix repeat i18n values
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Jul 2, 2024
1 parent b3bbf9c commit b7fbedc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
20 changes: 8 additions & 12 deletions frontend/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"_global.documentation": "Documentation",
"_global.enter-username-mail": "Enter your username or email",
"_global.events": "Events",
"_global.events_lower": "events",
"_global.events-name": "Event Name",
"_global.events_lower": "events",
"_global.faq": "FAQ",
"_global.get-active": "Get active",
"_global.get-organized": "Get organized",
Expand Down Expand Up @@ -423,11 +423,13 @@
"pages._global.become-supporter": "Become a supporter",
"pages._global.contact-page": "contact page",
"pages._global.create.tagline": "Tagline",
"pages._global.description": "Description",
"pages._global.faq-img-alt-text": "A question mark within a square.",
"pages._global.get-active-img-alt-text": "Drawing of a fist raised.",
"pages._global.get-organized-img-alt-text": "Drawing of fists in a circle pointed at the center.",
"pages._global.grow-organization-img-alt-text": "Drawing of fists raised upwards in a group.",
"pages._global.information": "Information",
"pages._global.link": "Link",
"pages._global.location": "Location",
"pages._global.our-network": "Our network",
"pages._global.our-supporters": "Our supporters",
Expand Down Expand Up @@ -516,31 +518,27 @@
"pages.error.message": "Oops, something went wrong:",
"pages.error.title": "Error \u2022 activist",
"pages.events.create.button-left": "Back",
"pages.events.create.button-left-aria-label": "Go to previous form page",
"pages.events.create.button-right": "Next",
"pages.events.create.button-right-aria-label": "Go to previous form page",
"pages.events.create.description": "Description",
"pages.events.create.description-placeholder": "Please provide a description of the event for the community so that we can learn more about it",
"pages.events.create.events-name-placeholder": "The name of the event",
"pages.events.create.event-type": "Type",
"pages.events.create.events-name-placeholder": "The name of the event",
"pages.events.create.format": "Format",
"pages.events.create.format-placeholder": "The format of the event (e.g. Protest, Seminar)",
"pages.events.create.header-0": "Information",
"pages.events.create.go-to-previous-page": "Go to previous form page",
"pages.events.create.header-1": "Event type and roles",
"pages.events.create.header-2": "Location and time",
"pages.events.create.link": "Link",
"pages.events.create.link-placeholder": "https://example.com",
"pages.events.create.location-placeholder": "Where the organization is based or active",
"pages.events.create.location-placeholder": "Where the event is taking place",
"pages.events.create.organizer": "Organizer",
"pages.events.create.organizer-instructions": "You can select from all organizations you're an admin of and invite others to join later in the process.",
"pages.events.create.organizer-placeholder": "The organizer of the event",
"pages.events.create.roles": "Roles",
"pages.events.create.setting": "Setting",
"pages.events.create.submit": "Submit",
"pages.events.create.submit-aria-label": "Submit your event to save and share it with others.",
"pages.events.create.subtext-0": "Thanks for creating your event on activist! Please provide all information for the event below, and note that some fields are required (*). First add a name and choose an optional tagline to let people know what the main goal is efore selecting the host organization(s). Then add important social media accounts and provide a description to set the stage and tell people what to expect.",
"pages.events.create.subtext-1": "What kind of an event is this? Tell people if your event is for taking action or for learning what to do next, and add a format and topics to make it easy to find. Afterwards, tell people exactly what they'll be doing at your event by listing roles that will be available for potential joiners. Don't forget to add a description in the (i) field if it could be confusing!",
"pages.events.create.subtext-2": "In this section, you can define the time and place of your event. Is it in-person or online? Is this a regular meeting or a one time action? Set the time for your event so that joiners know when they can participate. Location type can be offline, online, or both. For location, let attendees know where to meet for the event.",
"pages.events.create.submit": "Submit",
"pages.events.create.submit-aria-label": "Submit your event to save and share it with others.",
"pages.events.create.tagline-placeholder": "A short tagline for the event (optional)",
"pages.events.discussion.tagline": "Planning and review for this event",
"pages.events.index.header-title": "Events home",
Expand Down Expand Up @@ -669,7 +667,6 @@
"pages.legal.trademark-policy.section-5-subheader": "Contact Us",
"pages.legal.trademark-policy.title": "Trademark",
"pages.organizations.create.complete-application": "Complete application",
"pages.organizations.create.description": "Description",
"pages.organizations.create.description-placeholder": "Please provide a description of the organization for the community so that we can learn more about its goals and composition",
"pages.organizations.create.header": "Application information",
"pages.organizations.create.location-placeholder": "Where the organization is based or active",
Expand All @@ -689,7 +686,6 @@
"pages.resources.create.complete-application-aria-label": "Link the resource to save and share it with others",
"pages.resources.create.description": "Short description",
"pages.resources.create.description-placeholder": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua",
"pages.resources.create.link": "Link",
"pages.resources.create.link-placeholder": "A URL to the resource",
"pages.resources.create.location-placeholder": "A location if the resource is for a given place",
"pages.resources.create.organization-placeholder": "Select an organization if the resource should be linked to it",
Expand Down
10 changes: 5 additions & 5 deletions frontend/pages/events/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PageBreadcrumbs class="mt-2" />
<div v-if="page === 0" class="mt-4">
<h1 class="responsive-h2 font-bold">
{{ $t("pages.events.create.header-0") }}
{{ $t("pages._global.information") }}
</h1>
<p class="mt-4">
{{ $t("pages.events.create.subtext-0") }}
Expand Down Expand Up @@ -92,7 +92,7 @@
</div>
<div class="card-style mx-14 mt-5 w-full px-5 py-6">
<label for="description" class="responsive-h3 block font-medium"
>{{ $t("pages.events.create.description") }}*</label
>{{ $t("pages._global.description") }}*</label
>
<textarea
v-model="formData.description"
Expand Down Expand Up @@ -197,7 +197,7 @@
</div>
<div class="w-2/5">
<label for="link" class="responsive-h3 block font-medium"
>{{ $t("pages.events.create.link") }}*</label
>{{ $t("pages._global.link") }}*</label
>
<input
v-model="formData.link"
Expand Down Expand Up @@ -271,7 +271,7 @@
leftIcon=""
fontSize="lg"
iconSize="1.25em"
ariaLabel="pages.events.create.button-left-aria-label"
ariaLabel="pages.events.create.go-to-previous-page"
/>
<BtnAction
v-if="!hasNextPage"
Expand All @@ -291,7 +291,7 @@
rightIcon=""
fontSize="lg"
iconSize="1.25em"
ariaLabel="pages.events.create.button-right-aria-label"
ariaLabel="pages.events.create.go-to-previous-page"
/>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/groups/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</div>
<div class="card-style mx-14 mt-5 w-full px-5 py-6">
<label for="description" class="responsive-h3 block font-medium"
>{{ $t("pages.organizations.create.description") }}*</label
>{{ $t("pages._global.description") }}*</label
>
<textarea
v-model="formData.description"
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/organizations/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>
<div class="card-style mx-14 mt-5 w-full px-5 py-6">
<label for="description" class="responsive-h3 block font-medium"
>{{ $t("pages.organizations.create.description") }}*</label
>{{ $t("pages._global.description") }}*</label
>
<textarea
v-model="formData.description"
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/resources/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>
<div class="w-1/2">
<label for="location" class="responsive-h3 block font-medium"
>{{ $t("pages.resources.create.link") }}*</label
>{{ $t("pages._global.link") }}*</label
>
<input
v-model="formData.link"
Expand Down

0 comments on commit b7fbedc

Please sign in to comment.