diff --git a/app/Console/Commands/CheckTranslations.php b/app/Console/Commands/CheckTranslations.php index 4333ce3b86..b0bb3368ad 100644 --- a/app/Console/Commands/CheckTranslations.php +++ b/app/Console/Commands/CheckTranslations.php @@ -117,6 +117,7 @@ private function usedInCode($key) { 'resources/views/', // Blade templates 'resources/js/components/', // Vue templates 'resources/js/mixins/', // Vue mixins (rare) + 'resources/js/misc/', // JS helpers (e.g. share footnote keys) 'app/', // Models (rare) 'app/Notifications/', // Email notifications 'app/Http/Controllers/', // Controllers (rarely) @@ -124,7 +125,7 @@ private function usedInCode($key) { 'app/Services/', // Services(rarely) 'app/' // Models rarely) ] as $loc) { - $cmd = 'grep -r "' . addslashes($key) . '" ' . $loc . ' > /dev/null'; + $cmd = 'grep -r --exclude="*.test.js" "' . addslashes($key) . '" ' . $loc . ' > /dev/null'; system($cmd, $rc); if ($rc == 0) { diff --git a/lang/de/groups.php b/lang/de/groups.php index 618539a0f4..0f2bd9b2d5 100644 --- a/lang/de/groups.php +++ b/lang/de/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => '
Es gibt keine Gruppen innerhalb von 50 km von Ihrem Standort. Sie können hier alle Gruppen sehen. Oder warum starten Sie nicht Ihre eigene? Erfahren Sie, was das Durchführen einer eigenen Reparaturveranstaltung beinhaltet.
', 'group_count' => 'Es gibt :count Gruppe.|Es gibt :count Gruppen.', 'search_name_placeholder' => 'Name suchen...', - 'search_location_placeholder' => 'Standort suchen...', - 'search_country_placeholder' => 'Land...', 'search_tags_placeholder' => 'Tag', 'show_filters' => 'Filter anzeigen', 'hide_filters' => 'Filter ausblenden', diff --git a/lang/en/groups.php b/lang/en/groups.php index 7bd3f226ad..206f7cb4aa 100644 --- a/lang/en/groups.php +++ b/lang/en/groups.php @@ -110,8 +110,6 @@ 'group_count' => 'There is :count group in this area. Search and zoom to find more.|There are :count groups in this area. Search and zoom to find more.', 'group_count_none' => 'If you can\'t see any here yet, why not find a group near you?', 'search_name_placeholder' => 'Search by name', - 'search_location_placeholder' => 'Search by location', - 'search_country_placeholder' => 'Filter by country', 'search_tags_placeholder' => 'Filter by tags', 'show_filters' => 'Show filters', 'hide_filters' => 'Hide filters', diff --git a/lang/en/partials.php b/lang/en/partials.php index 83b5384c6a..d160084c97 100644 --- a/lang/en/partials.php +++ b/lang/en/partials.php @@ -97,6 +97,9 @@ 'share_modal_seedlings' => "tree seedling for 10 years.*|tree seedlings for 10 years.*", 'share_modal_planting_around' => "planting around", 'share_modal_hectares' => "hectare of trees.*|hectares of trees.*", + 'share_modal_footnote' => "*medium growth coniferous or deciduous trees planted in an urban setting & grown for 10 years", + 'share_modal_footnote_hectares' => "*broadleaf tree seedlings grown in a plantation or woodlot in England for 1 year", + 'share_modal_generated_by' => "generated by :site", 'impact_estimates' => 'Impact figures are estimates based on data entered by groups into Restarters.net.', 'see_further_reports' => 'See more analysis in our further reports.' ]; diff --git a/lang/es/groups.php b/lang/es/groups.php index fa3e30721d..0610c3dee5 100644 --- a/lang/es/groups.php +++ b/lang/es/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'No hay grupos en un radio de 50 km de tu ubicación. Puedes ver todos los grupos aquí. ¿O por qué no creas el tuyo? Aprende en qué consiste organizar tu propio evento de reparación.
', 'group_count' => 'Hay :count grupo.|Hay :count grupos.', 'search_name_placeholder' => 'Buscar nombre...', - 'search_location_placeholder' => 'Buscar ubicación...', - 'search_country_placeholder' => 'País...', 'search_tags_placeholder' => 'Etiqueta', 'show_filters' => 'Mostrar filtros', 'hide_filters' => 'Ocultar filtros', diff --git a/lang/fr-BE/groups.php b/lang/fr-BE/groups.php index d59dd5ef60..e0ab05241e 100644 --- a/lang/fr-BE/groups.php +++ b/lang/fr-BE/groups.php @@ -116,8 +116,6 @@ 'no_groups_mine' => 'Si vous ne pouvez encore en voir aucun ici, pourquoi ne pas trouver un Repair Café près de chez vous?', 'no_groups_nearest_no_location' => 'Vous n\'avez pas défini de village/ville. Vous pouvez en ajouter un.e dans votre profil.
Vous pouvez aussi voir tous les Repair Cafés.
', 'no_groups_nearest_with_location' => 'Il n\'y a apparemment pas encore de Repair Cafés listé proche de chez vous.
Voulez-vous créer ou ajouter un Repair Café? Regardez comment faire dans nos ressources.
', - 'search_country_placeholder' => 'Filtrer par pays', - 'search_location_placeholder' => 'Rechercher par localisation', 'search_name_placeholder' => 'Rechercher par nom', 'search_tags_placeholder' => 'Filtrer par tag', 'show_filters' => 'Afficher les filtres', diff --git a/lang/fr-BE/partials.php b/lang/fr-BE/partials.php index 2a02bfa25f..d872a717ff 100644 --- a/lang/fr-BE/partials.php +++ b/lang/fr-BE/partials.php @@ -100,6 +100,9 @@ 'share_modal_seedlings' => "plant d’arbre pendant 10 ans.*|plants d’arbres pour 10 ans.*", 'share_modal_planting_around' => "planter environ", 'share_modal_hectares' => "hectare d’arbres.*|hectares d’arbres.*", + 'share_modal_footnote' => "*arbres conifères ou feuillus à croissance moyenne, plantés en milieu urbain et cultivés pendant 10 ans", + 'share_modal_footnote_hectares' => "*semis d’arbres feuillus cultivés pendant 1 an dans une plantation ou un boisé en Angleterre", + 'share_modal_generated_by' => "généré par :site", 'impact_estimates' => 'Les chiffres relatifs à l\'impact sont des estimations basées sur les données saisies par les groupes dans Restarters.net.', 'see_further_reports' => 'Voir plus d\'analyses dans nos rapports détaillés.', ]; diff --git a/lang/fr/groups.php b/lang/fr/groups.php index 30f2681f2a..5bbacbae2c 100644 --- a/lang/fr/groups.php +++ b/lang/fr/groups.php @@ -116,8 +116,6 @@ 'no_groups_mine' => 'Si vous ne pouvez encore en voir aucun ici, pourquoi ne pas trouver un Repair Café près de chez vous?', 'no_groups_nearest_no_location' => 'Vous n\'avez pas défini de village/ville. Vous pouvez en ajouter un.e dans votre profil.
Vous pouvez aussi voir tous les Repair Cafés.
', 'no_groups_nearest_with_location' => 'Il n\'y a apparemment pas encore de Repair Cafés listé proche de chez vous.
Voulez-vous créer ou ajouter un Repair Café? Regardez comment faire dans nos ressources.
', - 'search_country_placeholder' => 'Filtrer par pays', - 'search_location_placeholder' => 'Rechercher par localisation', 'search_name_placeholder' => 'Rechercher par nom', 'search_tags_placeholder' => 'Filtrer par tag', 'show_filters' => 'Afficher les filtres', diff --git a/lang/fr/partials.php b/lang/fr/partials.php index 2a02bfa25f..d872a717ff 100644 --- a/lang/fr/partials.php +++ b/lang/fr/partials.php @@ -100,6 +100,9 @@ 'share_modal_seedlings' => "plant d’arbre pendant 10 ans.*|plants d’arbres pour 10 ans.*", 'share_modal_planting_around' => "planter environ", 'share_modal_hectares' => "hectare d’arbres.*|hectares d’arbres.*", + 'share_modal_footnote' => "*arbres conifères ou feuillus à croissance moyenne, plantés en milieu urbain et cultivés pendant 10 ans", + 'share_modal_footnote_hectares' => "*semis d’arbres feuillus cultivés pendant 1 an dans une plantation ou un boisé en Angleterre", + 'share_modal_generated_by' => "généré par :site", 'impact_estimates' => 'Les chiffres relatifs à l\'impact sont des estimations basées sur les données saisies par les groupes dans Restarters.net.', 'see_further_reports' => 'Voir plus d\'analyses dans nos rapports détaillés.', ]; diff --git a/lang/it/groups.php b/lang/it/groups.php index 6cac8af26a..1de155022c 100644 --- a/lang/it/groups.php +++ b/lang/it/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'Non ci sono gruppi entro 50 km dalla tua posizione. Puoi vedere tutti i gruppi qui. Oppure perché non ne avvii uno tuo? Scopri cosa comporta organizzare il tuo evento di riparazione.
', 'group_count' => 'C\'è :count gruppo.|Ci sono :count gruppi.', 'search_name_placeholder' => 'Cerca nome...', - 'search_location_placeholder' => 'Cerca luogo...', - 'search_country_placeholder' => 'Paese...', 'search_tags_placeholder' => 'Etichetta', 'show_filters' => 'Mostra filtri', 'hide_filters' => 'Nascondi filtri', diff --git a/lang/ne/groups.php b/lang/ne/groups.php index 683d881841..5907341d7f 100644 --- a/lang/ne/groups.php +++ b/lang/ne/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'Er zijn geen groepen binnen 50 km van jouw locatie. Je kunt hier alle groepen bekijken. Of waarom begin je niet je eigen? Lees wat het runnen van je eigen reparatie-evenement inhoudt.
', 'group_count' => 'Er is :count groep.|Er zijn :count groepen.', 'search_name_placeholder' => 'Naam zoeken...', - 'search_location_placeholder' => 'Locatie zoeken...', - 'search_country_placeholder' => 'Land...', 'search_tags_placeholder' => 'Label', 'show_filters' => 'Filters tonen', 'hide_filters' => 'Filters verbergen', diff --git a/lang/nl-BE/groups.php b/lang/nl-BE/groups.php index 475ad6097e..27b88c8630 100644 --- a/lang/nl-BE/groups.php +++ b/lang/nl-BE/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'Er zijn geen groepen binnen 50 km van jouw locatie. Je kunt hier alle groepen bekijken. Of waarom start je niet zelf een groep? Lees wat het organiseren van je eigen herstelactiviteit inhoudt.
', 'group_count' => 'Er is :count groep.|Er zijn :count groepen.', 'search_name_placeholder' => 'Naam zoeken...', - 'search_location_placeholder' => 'Locatie zoeken...', - 'search_country_placeholder' => 'Land...', 'search_tags_placeholder' => 'Label', 'show_filters' => 'Filters tonen', 'hide_filters' => 'Filters verbergen', diff --git a/lang/nl/groups.php b/lang/nl/groups.php index 683d881841..5907341d7f 100644 --- a/lang/nl/groups.php +++ b/lang/nl/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'Er zijn geen groepen binnen 50 km van jouw locatie. Je kunt hier alle groepen bekijken. Of waarom begin je niet je eigen? Lees wat het runnen van je eigen reparatie-evenement inhoudt.
', 'group_count' => 'Er is :count groep.|Er zijn :count groepen.', 'search_name_placeholder' => 'Naam zoeken...', - 'search_location_placeholder' => 'Locatie zoeken...', - 'search_country_placeholder' => 'Land...', 'search_tags_placeholder' => 'Label', 'show_filters' => 'Filters tonen', 'hide_filters' => 'Filters verbergen', diff --git a/lang/no/groups.php b/lang/no/groups.php index 0d0578c229..461136abd7 100644 --- a/lang/no/groups.php +++ b/lang/no/groups.php @@ -111,8 +111,6 @@ 'no_groups_nearest_with_location' => 'Det er ingen grupper innen 50 km fra din plassering. Du kan se alle grupper her. Eller hvorfor ikke starte din egen? Lær hva det innebærer å arrangere eget reparasjonsarrangement.
', 'group_count' => 'Det er :count gruppe.|Det er :count grupper.', 'search_name_placeholder' => 'Søk navn...', - 'search_location_placeholder' => 'Søk sted...', - 'search_country_placeholder' => 'Land...', 'search_tags_placeholder' => 'Etikett', 'show_filters' => 'Vis filtre', 'hide_filters' => 'Skjul filtre', diff --git a/resources/js/components/StatsShare.vue b/resources/js/components/StatsShare.vue index d31449b6e7..b929d9916c 100644 --- a/resources/js/components/StatsShare.vue +++ b/resources/js/components/StatsShare.vue @@ -20,6 +20,8 @@