Skip to content

Commit

Permalink
Merge pull request #966 from jennethydyrova/bugFix/#902-rename-add-mi…
Browse files Browse the repository at this point in the history
…ssing-key

Rename and add missing key to the keys list
  • Loading branch information
andrewtavis authored Sep 3, 2024
2 parents fb48a1e + e107c56 commit 7da83a2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
4 changes: 2 additions & 2 deletions frontend/components/card/search-result/CardSearchResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<MetaTagVideo
v-if="onlineLocation"
:link="onlineLocation"
label="components.meta-tag-video.view-video"
label="components.card_search_result.view_video"
/>
<MetaTagDate v-if="event && event.id != ''" :date="date" />
</div>
Expand All @@ -181,7 +181,7 @@
<MetaTagVideo
v-if="onlineLocation"
:link="onlineLocation"
label="components.meta-tag-video.view-video"
label="components.card_search_result.view_video"
/>
<MetaTagDate v-if="event && event.id != ''" :date="date" />
</div>
Expand Down
10 changes: 7 additions & 3 deletions frontend/composables/useMenuEntriesState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ const useMenuEntriesState = () => {
const organizationEntries = ref([
createMenuEntry("_global.about", "organizations", `${IconMap.ABOUT}`),
createMenuEntry("_global.events", "organizations", `${IconMap.EVENT}`),
createMenuEntry("_global.groups", "organizations", `${IconMap.GROUP}`),
createMenuEntry(
"composables.use_menu_entries_state.groups",
"organizations",
`${IconMap.GROUP}`
),
createMenuEntry(
"_global.resources",
"organizations",
Expand All @@ -37,7 +41,7 @@ const useMenuEntriesState = () => {
createMenuEntry("_global.faq", "organizations", `${IconMap.FAQ}`),
// createMenuEntry("_global.team", "organizations", `${IconMap.PEOPLE}`),
createMenuEntry(
"_global.affiliates",
"composables.use_menu_entries_state.affiliates",
"organizations",
`${IconMap.SUPPORT}`
),
Expand Down Expand Up @@ -72,7 +76,7 @@ const useMenuEntriesState = () => {

for (const button of buttons.value) {
if (currentPath.value.includes("/groups/")) {
if (button.label === "_global.groups") {
if (button.label === "composables.use_menu_entries_state.groups") {
button.selected = true;
} else {
button.selected = false;
Expand Down
4 changes: 2 additions & 2 deletions frontend/i18n/de.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"_global.about": "Über",
"_global.activist_icon_img_alt_text": "Das activist-Symbol: ein Kleinbuchstabe a mit einem Halbkreis, der nach unten und links in der Mitte zeigt.",
"_global.affiliates": "Netzwerk",
"composables.use_menu_entries_state.affiliates": "Netzwerk",
"_global.auth.reset_password": "Passwort zurücksetzen",
"_global.auth.sign_in_aria_label": "Zur Anmeldeseite navigieren",
"_global.auth.sign_up_aria_label": "Navigieren Sie zur Anmeldeseite",
Expand All @@ -14,7 +14,7 @@
"_global.entity_logo": "{entity_name}-Logo",
"_global.events": "Ereignisse",
"_global.faq": "Häufig gestellte Fragen",
"_global.groups": "Gruppen",
"composables.use_menu_entries_state.groups": "Gruppen",
"_global.help": "Hilfe",
"_global.home": "Zurück",
"_global.imprint": "Impression",
Expand Down
5 changes: 3 additions & 2 deletions frontend/i18n/en-US.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"_global.about": "About",
"_global.activist_icon_img_alt_text": "The activist icon: a lower case letter a with a half circle pointing down and to the left in the center.",
"_global.affiliates": "Affiliates",
"_global.auth.reset_password": "Reset password",
"_global.auth.sign_in_aria_label": "Navigate to the sign in page",
"_global.auth.sign_up_aria_label": "Navigate to the sign up page",
Expand All @@ -14,7 +13,6 @@
"_global.entity_logo": "{entity_name} logo",
"_global.events": "Events",
"_global.faq": "FAQ",
"_global.groups": "Groups",
"_global.help": "Help",
"_global.home": "Home",
"_global.imprint": "Imprint",
Expand Down Expand Up @@ -153,6 +151,7 @@
"components.card_search_result.navigate_to_user_aria_label": "Navigate to the page for this user",
"components.card_search_result.organization_img_alt_text": "The organization logo of",
"components.card_search_result.supporters_lower": "supporters",
"components.card_search_result.view_video": "View video",
"components.card_topic_selection.header": "Topics",
"components.card_topic_selection.hide_all_topics": "Hide all topics",
"components.card_topic_selection.selector_placeholder": "Type to filter topics",
Expand Down Expand Up @@ -342,6 +341,8 @@
"components.tooltip_password_requirements.number_of_chars": "At least 12 characters",
"components.tooltip_password_requirements.password_rules_message": "For your security and that of the community, please choose a password that you've never used before. Thank you!",
"components.tooltip_sign_in.text": "You need to be signed in to see this content.",
"composables.use_menu_entries_state.affiliates": "Affiliates",
"composables.use_menu_entries_state.groups": "Groups",
"error.message": "Oops, something went wrong:",
"error.title": "Error \u2022 activist",
"layouts.auth.auth": "Auth",
Expand Down
4 changes: 2 additions & 2 deletions frontend/i18n/es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"_global.about": "Acerca de",
"_global.activist_icon_img_alt_text": "El símbolo activista: una letra a minúscula con un semicírculo apuntando hacia abajo y a la izquierda del centro.",
"_global.affiliates": "Afiliados",
"_global.auth.reset_password": "Restablecer contraseña",
"_global.auth.sign_in_aria_label": "Ir a la página de inicio de sesión",
"_global.auth.sign_up_aria_label": "Ir a la página de registro",
Expand All @@ -12,7 +11,6 @@
"_global.documentation": "Documentación",
"_global.events": "Eventos",
"_global.faq": "Preguntas frecuentes",
"_global.groups": "Grupos",
"_global.help": "Ayuda",
"_global.home": "Inicio",
"_global.imprint": "Imprimir",
Expand All @@ -39,6 +37,8 @@
"components.empty_state.create_organization": "Crear una organización",
"components.modal_share_page.url_copied": "URL copiada",
"components.modal_upload_images.drag_image": "Arrastra tu imagen o haz clic aquí para agregarla",
"composables.use_menu_entries_state.affiliates": "Afiliados",
"composables.use_menu_entries_state.groups": "Grupos",
"pages._global.discussions_lower": "debates",
"pages._global.get_active": "Mantente activo",
"pages._global.get_organized": "Organízate",
Expand Down
4 changes: 2 additions & 2 deletions frontend/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"_global.about": "À propos",
"_global.activist_icon_img_alt_text": "L’icône d'Activist : une lettre a minuscule avec un demi-cercle pointant vers le bas et à gauche au centre.",
"_global.affiliates": "Affiliés",
"_global.auth.reset_password": "Réinitialiser mot de passe",
"_global.auth.sign_in_aria_label": "Vous connecter à votre compte",
"_global.auth.sign_up_aria_label": "Créer un nouveau compte",
Expand All @@ -14,7 +13,6 @@
"_global.entity_logo": "Logo {entity_name}",
"_global.events": "Évènements",
"_global.faq": "FAQ",
"_global.groups": "Groupes",
"_global.help": "Aide",
"_global.home": "Accueil",
"_global.join_group": "Rejoindre groupe",
Expand Down Expand Up @@ -335,6 +333,8 @@
"components.tooltip_password_requirements.number_of_chars": "Au moins 12 caractères",
"components.tooltip_password_requirements.password_rules_message": "Pour votre sécurité et celle de la communauté, choisissez un mot de passe que vous n’avez jamais utilisé auparavant. Merci !",
"components.tooltip_sign_in.text": "Vous devez être connecté pour voir ce contenu.",
"composables.use_menu_entries_state.affiliates": "Affiliés",
"composables.use_menu_entries_state.groups": "Groupes",
"error.message": "Oups, quelque chose a mal tourné :",
"error.title": "Erreur • Activist",
"layouts.auth.reset_password_forgot_password": "Mot de passe oublié ?",
Expand Down

0 comments on commit 7da83a2

Please sign in to comment.