Skip to content

Commit ba4eff7

Browse files
committed
Update navigation labels and add translations for view all requests, offers, and agreements
1 parent bfbb04c commit ba4eff7

File tree

4 files changed

+21
-12
lines changed

4 files changed

+21
-12
lines changed

app/views/better_together/joatu/hub/index.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<% end %>
3030
</div>
3131
<div class="panel-footer d-flex justify-content-end">
32-
<%= link_to t('better_together.joatu.nav.requests', default: 'View all'), joatu_requests_path, class: 'btn btn-link btn-sm' %>
32+
<%= link_to t('better_together.joatu.hub.view_all_requests', default: 'View all requests'), joatu_requests_path, class: 'btn btn-link btn-sm' %>
3333
</div>
3434
</div>
3535
</div>
@@ -47,7 +47,7 @@
4747
<% end %>
4848
</div>
4949
<div class="panel-footer d-flex justify-content-end">
50-
<%= link_to t('better_together.joatu.nav.offers', default: 'View all'), joatu_offers_path, class: 'btn btn-link btn-sm' %>
50+
<%= link_to t('better_together.joatu.hub.view_all_offers', default: 'View all offers'), joatu_offers_path, class: 'btn btn-link btn-sm' %>
5151
</div>
5252
</div>
5353
</div>
@@ -72,7 +72,7 @@
7272
<% end %>
7373
</ul>
7474
<div class="panel-footer d-flex justify-content-end">
75-
<%= link_to t('better_together.joatu.nav.agreements', default: 'View all'), joatu_agreements_path, class: 'btn btn-link btn-sm' %>
75+
<%= link_to t('better_together.joatu.hub.view_all_agreements', default: 'View all agreements'), joatu_agreements_path, class: 'btn btn-link btn-sm' %>
7676
</div>
7777
</div>
7878
</div>

config/locales/en.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,18 +1079,21 @@ en:
10791079
sign_in_hint: Sign in to see your offers, requests, and agreements.
10801080
suggested: Suggested Matches
10811081
title: Exchange Hub
1082+
view_all_agreements: View all agreements
1083+
view_all_offers: View all offers
1084+
view_all_requests: View all requests
10821085
matches:
10831086
create_agreement: Create Agreement
10841087
matches_offer: 'Matches offer:'
10851088
matches_request: 'Matches request:'
10861089
none: No matches found right now.
10871090
title: Potential Matches
10881091
nav:
1089-
agreements: View all
1092+
agreements: Agreements
10901093
hub: Hub
10911094
manage_categories: Manage Categories
1092-
offers: View all
1093-
requests: View all
1095+
offers: Offers
1096+
requests: Requests
10941097
offers:
10951098
agreement_heading: Agreement
10961099
agreement_with: Agreement with

config/locales/es.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,18 +1085,21 @@ es:
10851085
sign_in_hint: Inicia sesión para ver tus ofertas, solicitudes y acuerdos.
10861086
suggested: Sugerencias
10871087
title: Centro de intercambio
1088+
view_all_agreements: Ver todos los acuerdos
1089+
view_all_offers: Ver todas las ofertas
1090+
view_all_requests: Ver todas las solicitudes
10881091
matches:
10891092
create_agreement: Crear acuerdo
10901093
matches_offer: 'Coincide con la oferta:'
10911094
matches_request: 'Coincide con la solicitud:'
10921095
none: No se encontraron coincidencias por ahora.
10931096
title: Coincidencias potenciales
10941097
nav:
1095-
agreements: Ver todo
1098+
agreements: Acuerdos
10961099
hub: Hub
10971100
manage_categories: Gestionar categorías
1098-
offers: Ver todo
1099-
requests: Ver todo
1101+
offers: Ofertas
1102+
requests: Solicitudes
11001103
offers:
11011104
agreement_heading: Acuerdo
11021105
agreement_with: Acuerdo con

config/locales/fr.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,18 +1091,21 @@ fr:
10911091
sign_in_hint: Connectez-vous pour voir vos offres, demandes et accords.
10921092
suggested: Correspondances suggérées
10931093
title: Hub d'échange
1094+
view_all_agreements: Voir tous les accords
1095+
view_all_offers: Voir toutes les offres
1096+
view_all_requests: Voir toutes les demandes
10941097
matches:
10951098
create_agreement: Create Agreement
10961099
matches_offer: 'Matches offer:'
10971100
matches_request: 'Matches request:'
10981101
none: No matches found right now.
10991102
title: Potential Matches
11001103
nav:
1101-
agreements: Voir tout
1104+
agreements: Accords
11021105
hub: Hub
11031106
manage_categories: Gérer les catégories
1104-
offers: Voir tout
1105-
requests: Voir tout
1107+
offers: Offres
1108+
requests: Demandes
11061109
offers:
11071110
agreement_heading: Agreement
11081111
agreement_with: Agreement with

0 commit comments

Comments
 (0)