@cavuno/board 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/format.js CHANGED
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/format/index.ts
21
21
  var format_exports = {};
22
22
  __export(format_exports, {
23
+ PUBLIC_LABEL_GROUPS: () => PUBLIC_LABEL_GROUPS,
23
24
  cardLocationLabel: () => cardLocationLabel,
24
25
  companyIntro: () => companyIntro,
25
26
  fieldLabel: () => fieldLabel,
@@ -30,7 +31,8 @@ __export(format_exports, {
30
31
  fullJobToCard: () => fullJobToCard,
31
32
  getSalaryLexicon: () => getSalaryLexicon,
32
33
  locationLabel: () => locationLabel,
33
- resolveCustomFieldDisplay: () => resolveCustomFieldDisplay
34
+ resolveCustomFieldDisplay: () => resolveCustomFieldDisplay,
35
+ uiCopy: () => uiCopy
34
36
  });
35
37
  module.exports = __toCommonJS(format_exports);
36
38
 
@@ -238,6 +240,54 @@ var EN_LABELS = {
238
240
  volunteer: "Volunteer",
239
241
  other: "Other"
240
242
  };
243
+ var DE_LABELS = {
244
+ on_site: "Vor Ort",
245
+ hybrid: "Hybrid",
246
+ remote: "Remote",
247
+ full_time: "Vollzeit",
248
+ part_time: "Teilzeit",
249
+ contract: "Freiberuflich",
250
+ internship: "Praktikum",
251
+ temporary: "Befristet",
252
+ volunteer: "Ehrenamtlich",
253
+ other: "Sonstiges"
254
+ };
255
+ var FR_LABELS = {
256
+ on_site: "Sur site",
257
+ hybrid: "Hybride",
258
+ remote: "T\xE9l\xE9travail",
259
+ full_time: "Temps plein",
260
+ part_time: "Temps partiel",
261
+ contract: "Contrat",
262
+ internship: "Stage",
263
+ temporary: "Temporaire",
264
+ volunteer: "B\xE9n\xE9volat",
265
+ other: "Autre"
266
+ };
267
+ var VOCABULARIES = {
268
+ en: EN_LABELS,
269
+ de: DE_LABELS,
270
+ fr: FR_LABELS
271
+ };
272
+ var OVERRIDE_KEYS = {
273
+ on_site: "onSiteLabel",
274
+ hybrid: "hybridLabel",
275
+ remote: "remoteLabel",
276
+ full_time: "fullTimeLabel",
277
+ part_time: "partTimeLabel",
278
+ contract: "contractLabel",
279
+ internship: "internshipLabel",
280
+ temporary: "temporaryLabel",
281
+ volunteer: "volunteerLabel",
282
+ entry_level: "seniorityEntryLevel",
283
+ associate: "seniorityAssociate",
284
+ mid_level: "seniorityMidLevel",
285
+ senior: "senioritySenior",
286
+ lead: "seniorityLead",
287
+ principal: "seniorityPrincipal",
288
+ director: "seniorityDirector",
289
+ executive: "seniorityExecutive"
290
+ };
241
291
  var SENIORITY_KEYS = /* @__PURE__ */ new Set([
242
292
  "entry_level",
243
293
  "associate",
@@ -248,12 +298,20 @@ var SENIORITY_KEYS = /* @__PURE__ */ new Set([
248
298
  "director",
249
299
  "executive"
250
300
  ]);
251
- function fieldLabel(locale, value) {
301
+ function storedOverride(value, labels) {
302
+ const key = OVERRIDE_KEYS[value];
303
+ const override = key ? labels?.jobCardLabels?.[key] : void 0;
304
+ return typeof override === "string" && override.trim() !== "" ? override : null;
305
+ }
306
+ function fieldLabel(locale, value, labels) {
252
307
  if (!value) return null;
308
+ const override = storedOverride(value, labels);
309
+ if (override) return override;
253
310
  if (SENIORITY_KEYS.has(value)) {
254
311
  return getSalaryLexicon(locale).seniority[value];
255
312
  }
256
- return EN_LABELS[value] ?? value;
313
+ const vocabulary = VOCABULARIES[locale] ?? EN_LABELS;
314
+ return vocabulary[value] ?? EN_LABELS[value] ?? value;
257
315
  }
258
316
 
259
317
  // src/format/location.ts
@@ -526,3 +584,503 @@ function resolveCustomFieldDisplay(definitions, values) {
526
584
  }
527
585
  return entries;
528
586
  }
587
+
588
+ // src/format/ui-copy.ts
589
+ var PUBLIC_LABEL_GROUPS = [
590
+ "jobCardLabels",
591
+ "navLabels",
592
+ "breadcrumbsLabels",
593
+ "footerLabels",
594
+ "entityLabels",
595
+ "jobSearchLabels",
596
+ "globalPaginationLabels",
597
+ "blogSharedLabels",
598
+ "salaryLabels"
599
+ ];
600
+ var EN2 = {
601
+ jobCard: {
602
+ featuredLabel: "Featured",
603
+ aiRankedLabel: "AI-ranked",
604
+ sortNewestLabel: "Most recent",
605
+ sortSalaryHighLabel: "Salary: high to low"
606
+ },
607
+ jobSearch: {
608
+ headingJobs: "Jobs",
609
+ keywordLabel: "Keyword",
610
+ keywordPlaceholder: "Search jobs\u2026",
611
+ locationLabel: "Location",
612
+ locationPlaceholder: "City or region",
613
+ workplacePlaceholder: "Workplace",
614
+ anyWorkplaceLabel: "Any workplace",
615
+ typePlaceholder: "Type",
616
+ anyTypeLabel: "Any type",
617
+ sortPlaceholder: "Sort",
618
+ loadMoreLabel: "Load more",
619
+ noJobsMatchText: "No jobs match \u2014 try clearing a filter."
620
+ },
621
+ jobDetail: {
622
+ categoriesHeading: "Categories",
623
+ skillsHeading: "Skills",
624
+ additionalDetailsHeading: "Additional details",
625
+ customFieldYesLabel: "Yes",
626
+ customFieldNoLabel: "No",
627
+ locationsLabel: "Locations",
628
+ workPermitsLabel: "Work permits",
629
+ timezonesLabel: "Timezones",
630
+ educationLabel: "Education",
631
+ experienceLabel: "Experience",
632
+ worldwideLabel: "Worldwide",
633
+ noExperienceRequiredLabel: "No experience required",
634
+ experienceYears: (years) => `${years}+ years`,
635
+ posted: (published) => `Posted ${published}`,
636
+ noDescriptionText: "No description provided.",
637
+ viewCompanyProfileLabel: "View company profile",
638
+ similarJobsHeading: "Similar jobs",
639
+ breadcrumbAriaLabel: "Breadcrumb"
640
+ },
641
+ apply: {
642
+ applyButtonText: "Apply for this job",
643
+ applyingLabel: "Applying\u2026",
644
+ applyOnEmployerSiteLabel: "Apply on employer site",
645
+ signInToApplyLabel: "Sign in to apply",
646
+ verifyEmailToApplyLabel: "Verify email to apply",
647
+ appliedViewApplicationsLabel: "Applied \u2014 view applications",
648
+ applicationSubmitError: "Something went wrong. Please try again."
649
+ },
650
+ alerts: {
651
+ jobAlertTitle: "Get job alerts",
652
+ jobAlertEmailPlaceholder: "you@example.com",
653
+ jobAlertButtonText: "Get alerts",
654
+ subscribingLabel: "Subscribing\u2026",
655
+ jobAlertSuccessToast: "Check your email to confirm your subscription.",
656
+ jobAlertDuplicateToast: "You're already subscribed to this alert.",
657
+ jobAlertErrorToast: "Something went wrong. Please try again.",
658
+ sectionAriaLabel: "Job alerts",
659
+ emailAriaLabel: "email",
660
+ submitAriaLabel: "get job alerts"
661
+ },
662
+ copyLink: {
663
+ copyLinkLabel: "Copy link",
664
+ copiedLabel: "Copied",
665
+ ariaLabel: "copy link"
666
+ },
667
+ salary: {
668
+ comparisonHeadlineAverage: "Average salary",
669
+ perYearSuffix: "/ year",
670
+ comparisonPercentile25Label: "25th percentile",
671
+ medianLabel: "Median",
672
+ comparisonPercentile75Label: "75th percentile",
673
+ basedOnLabel: "Based on",
674
+ seniorityTableHeaderLevel: "Level",
675
+ seniorityTableHeaderAvg: "Average",
676
+ boardBaselineLabel: "Board baseline",
677
+ seniorityTableHeaderDiff: "vs. board",
678
+ faqHeading: "Frequently asked questions"
679
+ },
680
+ nav: {
681
+ home: "Jobs",
682
+ companies: "Companies",
683
+ pricing: "Pricing",
684
+ talent: "Talent",
685
+ post: "Post a job",
686
+ blog: "Blog"
687
+ },
688
+ footer: {
689
+ forCandidatesHeading: "For Candidates",
690
+ forCompaniesHeading: "For Companies",
691
+ resourcesHeading: "Resources",
692
+ aboutHeading: "About",
693
+ websiteLabel: "Website",
694
+ aboutLabel: "About",
695
+ contactLabel: "Contact us",
696
+ locationsLabel: "Locations",
697
+ salariesLabel: "Salaries",
698
+ sitemapLabel: "Sitemap",
699
+ termsOfServiceLabel: "Terms of Service",
700
+ privacyPolicyLabel: "Privacy Policy",
701
+ cookiePolicyLabel: "Cookie Policy",
702
+ impressumLabel: "Impressum",
703
+ allRightsReservedText: "All rights reserved.",
704
+ copyrightPrefix: "\xA9 {{year}} {{board_name}}.",
705
+ poweredByText: "Powered by",
706
+ defaultDescription: "Discover the latest roles from {{board_name}}."
707
+ },
708
+ breadcrumbs: {
709
+ home: "Home",
710
+ jobs: "Jobs",
711
+ locations: "Locations",
712
+ salaries: "Salaries",
713
+ companies: "Companies",
714
+ skills: "Skills",
715
+ titles: "Titles",
716
+ blog: "Blog",
717
+ post: "Post a Job",
718
+ pricing: "Pricing",
719
+ about: "About",
720
+ impressum: "Impressum",
721
+ termsOfService: "Terms of Service",
722
+ privacyPolicy: "Privacy Policy",
723
+ cookiePolicy: "Cookie Policy",
724
+ talent: "Talent"
725
+ },
726
+ pagination: {
727
+ ariaLabel: "Pagination",
728
+ previousLabel: "Previous",
729
+ nextLabel: "Next"
730
+ },
731
+ blog: {
732
+ bylineLabel: "By",
733
+ readingTimeLabel: "min read",
734
+ searchLabel: "Search",
735
+ searchPlaceholder: "Search posts...",
736
+ clearButtonLabel: "Clear search",
737
+ tagFilterLabel: "Topics",
738
+ tagFilterAllLabel: "All",
739
+ emptyTitle: "No matching posts",
740
+ emptyDescription: "Try adjusting your search or clearing your filters.",
741
+ emptyResetLabel: "Clear filters"
742
+ },
743
+ entity: {
744
+ jobSingular: "job",
745
+ jobPlural: "jobs",
746
+ companySingular: "company",
747
+ companyPlural: "companies"
748
+ }
749
+ };
750
+ var DE2 = {
751
+ jobCard: {
752
+ featuredLabel: "Hervorgehoben",
753
+ aiRankedLabel: "KI-sortiert",
754
+ sortNewestLabel: "Neueste zuerst",
755
+ sortSalaryHighLabel: "Gehalt: absteigend"
756
+ },
757
+ jobSearch: {
758
+ headingJobs: "Jobs",
759
+ keywordLabel: "Stichwort",
760
+ keywordPlaceholder: "Jobtitel oder -beschreibungen suchen",
761
+ locationLabel: "Standort",
762
+ locationPlaceholder: "Stadt, Land oder Region",
763
+ workplacePlaceholder: "Arbeitsmodell",
764
+ anyWorkplaceLabel: "Alle Arbeitsmodelle",
765
+ typePlaceholder: "Anstellungsart",
766
+ anyTypeLabel: "Alle Anstellungsarten",
767
+ sortPlaceholder: "Sortieren",
768
+ loadMoreLabel: "Mehr laden",
769
+ noJobsMatchText: "Keine passenden Jobs \u2014 setze einen Filter zur\xFCck."
770
+ },
771
+ jobDetail: {
772
+ categoriesHeading: "Kategorien",
773
+ skillsHeading: "F\xE4higkeiten",
774
+ additionalDetailsHeading: "Weitere Details",
775
+ customFieldYesLabel: "Ja",
776
+ customFieldNoLabel: "Nein",
777
+ locationsLabel: "Standorte",
778
+ workPermitsLabel: "Arbeitserlaubnis",
779
+ timezonesLabel: "Zeitzonen",
780
+ educationLabel: "Ausbildung",
781
+ experienceLabel: "Berufserfahrung",
782
+ worldwideLabel: "Weltweit",
783
+ noExperienceRequiredLabel: "Keine Berufserfahrung erforderlich",
784
+ experienceYears: (years) => `${years}+ Jahre`,
785
+ posted: (published) => `Ver\xF6ffentlicht ${published}`,
786
+ noDescriptionText: "Keine Beschreibung vorhanden.",
787
+ viewCompanyProfileLabel: "Unternehmensprofil ansehen",
788
+ similarJobsHeading: "\xC4hnliche Jobs",
789
+ breadcrumbAriaLabel: "Seitenpfad"
790
+ },
791
+ apply: {
792
+ applyButtonText: "Jetzt bewerben",
793
+ applyingLabel: "Wird gesendet \u2026",
794
+ applyOnEmployerSiteLabel: "Beim Unternehmen bewerben",
795
+ signInToApplyLabel: "Zum Bewerben anmelden",
796
+ verifyEmailToApplyLabel: "E-Mail best\xE4tigen, um dich zu bewerben",
797
+ appliedViewApplicationsLabel: "Beworben \u2014 Bewerbungen ansehen",
798
+ applicationSubmitError: "Etwas ist schiefgelaufen. Bitte versuche es erneut."
799
+ },
800
+ alerts: {
801
+ jobAlertTitle: "Job-Benachrichtigungen erhalten",
802
+ jobAlertEmailPlaceholder: "name@beispiel.de",
803
+ jobAlertButtonText: "Abonnieren",
804
+ subscribingLabel: "Wird abonniert \u2026",
805
+ jobAlertSuccessToast: "\xDCberpr\xFCfe deine E-Mails, um dein Abonnement zu best\xE4tigen.",
806
+ jobAlertDuplicateToast: "Du hast diese Benachrichtigung bereits abonniert.",
807
+ jobAlertErrorToast: "Etwas ist schiefgelaufen. Bitte versuche es erneut.",
808
+ sectionAriaLabel: "Job-Benachrichtigungen",
809
+ emailAriaLabel: "E-Mail",
810
+ submitAriaLabel: "Job-Benachrichtigungen erhalten"
811
+ },
812
+ copyLink: {
813
+ copyLinkLabel: "Link kopieren",
814
+ copiedLabel: "Kopiert",
815
+ ariaLabel: "Link kopieren"
816
+ },
817
+ salary: {
818
+ comparisonHeadlineAverage: "Durchschnittsgehalt",
819
+ perYearSuffix: "/ Jahr",
820
+ comparisonPercentile25Label: "25. Perzentil",
821
+ medianLabel: "Median",
822
+ comparisonPercentile75Label: "75. Perzentil",
823
+ basedOnLabel: "Basierend auf",
824
+ seniorityTableHeaderLevel: "Erfahrungslevel",
825
+ seniorityTableHeaderAvg: "Durchschnitt",
826
+ boardBaselineLabel: "Board-Durchschnitt",
827
+ seniorityTableHeaderDiff: "vs. Board",
828
+ faqHeading: "H\xE4ufig gestellte Fragen"
829
+ },
830
+ nav: {
831
+ home: "Jobs",
832
+ companies: "Unternehmen",
833
+ pricing: "Preise",
834
+ talent: "Talente",
835
+ post: "Job ver\xF6ffentlichen",
836
+ blog: "Blog"
837
+ },
838
+ footer: {
839
+ forCandidatesHeading: "F\xFCr Kandidaten",
840
+ forCompaniesHeading: "F\xFCr Unternehmen",
841
+ resourcesHeading: "Ressourcen",
842
+ aboutHeading: "\xDCber uns",
843
+ websiteLabel: "Website",
844
+ aboutLabel: "\xDCber uns",
845
+ contactLabel: "Kontakt",
846
+ locationsLabel: "Standorte",
847
+ salariesLabel: "Geh\xE4lter",
848
+ sitemapLabel: "Sitemap",
849
+ termsOfServiceLabel: "Nutzungsbedingungen",
850
+ privacyPolicyLabel: "Datenschutzerkl\xE4rung",
851
+ cookiePolicyLabel: "Cookie-Richtlinie",
852
+ impressumLabel: "Impressum",
853
+ allRightsReservedText: "Alle Rechte vorbehalten.",
854
+ copyrightPrefix: "\xA9 {{year}} {{board_name}}.",
855
+ poweredByText: "Bereitgestellt von",
856
+ defaultDescription: "Entdecke die neuesten Stellen von {{board_name}}."
857
+ },
858
+ breadcrumbs: {
859
+ home: "Startseite",
860
+ jobs: "Jobs",
861
+ locations: "Standorte",
862
+ salaries: "Geh\xE4lter",
863
+ companies: "Unternehmen",
864
+ skills: "F\xE4higkeiten",
865
+ titles: "Berufsbezeichnungen",
866
+ blog: "Blog",
867
+ post: "Job ver\xF6ffentlichen",
868
+ pricing: "Preise",
869
+ about: "\xDCber uns",
870
+ impressum: "Impressum",
871
+ termsOfService: "Nutzungsbedingungen",
872
+ privacyPolicy: "Datenschutzerkl\xE4rung",
873
+ cookiePolicy: "Cookie-Richtlinie",
874
+ talent: "Talente"
875
+ },
876
+ pagination: {
877
+ ariaLabel: "Seitennummerierung",
878
+ previousLabel: "Zur\xFCck",
879
+ nextLabel: "Weiter"
880
+ },
881
+ blog: {
882
+ bylineLabel: "Von",
883
+ readingTimeLabel: "Minuten Lesezeit",
884
+ searchLabel: "Suche",
885
+ searchPlaceholder: "Artikel suchen...",
886
+ clearButtonLabel: "Suche leeren",
887
+ tagFilterLabel: "Themen",
888
+ tagFilterAllLabel: "Alle",
889
+ emptyTitle: "Keine passenden Artikel gefunden",
890
+ emptyDescription: "Versuche, deine Suche anzupassen oder die Filter zur\xFCckzusetzen.",
891
+ emptyResetLabel: "Filter zur\xFCcksetzen"
892
+ },
893
+ entity: {
894
+ jobSingular: "Job",
895
+ jobPlural: "Jobs",
896
+ companySingular: "Unternehmen",
897
+ companyPlural: "Unternehmen"
898
+ }
899
+ };
900
+ var FR = {
901
+ jobCard: {
902
+ featuredLabel: "\xC0 la une",
903
+ aiRankedLabel: "Classement IA",
904
+ sortNewestLabel: "Plus r\xE9centes",
905
+ sortSalaryHighLabel: "Salaire : d\xE9croissant"
906
+ },
907
+ jobSearch: {
908
+ headingJobs: "Offres d'emploi",
909
+ keywordLabel: "Mot-cl\xE9",
910
+ keywordPlaceholder: "Rechercher une offre\u2026",
911
+ locationLabel: "Lieu",
912
+ locationPlaceholder: "Ville ou r\xE9gion",
913
+ workplacePlaceholder: "Mode de travail",
914
+ anyWorkplaceLabel: "Tous les modes de travail",
915
+ typePlaceholder: "Type de contrat",
916
+ anyTypeLabel: "Tous les types",
917
+ sortPlaceholder: "Trier",
918
+ loadMoreLabel: "Voir plus",
919
+ noJobsMatchText: "Aucune offre ne correspond \u2014 essayez de retirer un filtre."
920
+ },
921
+ jobDetail: {
922
+ categoriesHeading: "Cat\xE9gories",
923
+ skillsHeading: "Comp\xE9tences",
924
+ additionalDetailsHeading: "Informations compl\xE9mentaires",
925
+ customFieldYesLabel: "Oui",
926
+ customFieldNoLabel: "Non",
927
+ locationsLabel: "Lieux",
928
+ workPermitsLabel: "Permis de travail",
929
+ timezonesLabel: "Fuseaux horaires",
930
+ educationLabel: "Formation",
931
+ experienceLabel: "Exp\xE9rience",
932
+ worldwideLabel: "Monde entier",
933
+ noExperienceRequiredLabel: "Aucune exp\xE9rience requise",
934
+ experienceYears: (years) => `${years}+ ans`,
935
+ posted: (published) => `Publi\xE9e ${published}`,
936
+ noDescriptionText: "Aucune description fournie.",
937
+ viewCompanyProfileLabel: "Voir le profil de l'entreprise",
938
+ similarJobsHeading: "Offres similaires",
939
+ breadcrumbAriaLabel: "Fil d'Ariane"
940
+ },
941
+ apply: {
942
+ applyButtonText: "Postuler \xE0 cette offre",
943
+ applyingLabel: "Envoi en cours\u2026",
944
+ applyOnEmployerSiteLabel: "Postuler sur le site de l'employeur",
945
+ signInToApplyLabel: "Connectez-vous pour postuler",
946
+ verifyEmailToApplyLabel: "V\xE9rifiez votre e-mail pour postuler",
947
+ appliedViewApplicationsLabel: "Candidature envoy\xE9e \u2014 voir mes candidatures",
948
+ applicationSubmitError: "Une erreur est survenue. Veuillez r\xE9essayer."
949
+ },
950
+ alerts: {
951
+ jobAlertTitle: "Recevoir des alertes emploi",
952
+ jobAlertEmailPlaceholder: "vous@exemple.fr",
953
+ jobAlertButtonText: "Activer les alertes",
954
+ subscribingLabel: "Abonnement en cours\u2026",
955
+ jobAlertSuccessToast: "V\xE9rifiez votre e-mail pour confirmer votre abonnement.",
956
+ jobAlertDuplicateToast: "Vous \xEAtes d\xE9j\xE0 abonn\xE9 \xE0 cette alerte.",
957
+ jobAlertErrorToast: "Une erreur est survenue. Veuillez r\xE9essayer.",
958
+ sectionAriaLabel: "Alertes emploi",
959
+ emailAriaLabel: "e-mail",
960
+ submitAriaLabel: "recevoir des alertes emploi"
961
+ },
962
+ copyLink: {
963
+ copyLinkLabel: "Copier le lien",
964
+ copiedLabel: "Copi\xE9",
965
+ ariaLabel: "copier le lien"
966
+ },
967
+ salary: {
968
+ comparisonHeadlineAverage: "Salaire moyen",
969
+ perYearSuffix: "/ an",
970
+ comparisonPercentile25Label: "25e percentile",
971
+ medianLabel: "M\xE9diane",
972
+ comparisonPercentile75Label: "75e percentile",
973
+ basedOnLabel: "Bas\xE9 sur",
974
+ seniorityTableHeaderLevel: "Niveau",
975
+ seniorityTableHeaderAvg: "Moyenne",
976
+ boardBaselineLabel: "R\xE9f\xE9rence du site",
977
+ seniorityTableHeaderDiff: "vs site",
978
+ faqHeading: "Questions fr\xE9quentes"
979
+ },
980
+ nav: {
981
+ home: "Offres",
982
+ companies: "Entreprises",
983
+ pricing: "Tarifs",
984
+ talent: "Talents",
985
+ post: "Publier une offre",
986
+ blog: "Blog"
987
+ },
988
+ footer: {
989
+ forCandidatesHeading: "Pour les candidats",
990
+ forCompaniesHeading: "Pour les entreprises",
991
+ resourcesHeading: "Ressources",
992
+ aboutHeading: "\xC0 propos",
993
+ websiteLabel: "Site web",
994
+ aboutLabel: "\xC0 propos",
995
+ contactLabel: "Nous contacter",
996
+ locationsLabel: "Lieux",
997
+ salariesLabel: "Salaires",
998
+ sitemapLabel: "Plan du site",
999
+ termsOfServiceLabel: "Conditions d'utilisation",
1000
+ privacyPolicyLabel: "Politique de confidentialit\xE9",
1001
+ cookiePolicyLabel: "Politique de cookies",
1002
+ impressumLabel: "Mentions l\xE9gales",
1003
+ allRightsReservedText: "Tous droits r\xE9serv\xE9s.",
1004
+ copyrightPrefix: "\xA9 {{year}} {{board_name}}.",
1005
+ poweredByText: "Propuls\xE9 par",
1006
+ defaultDescription: "D\xE9couvrez les derni\xE8res offres de {{board_name}}."
1007
+ },
1008
+ breadcrumbs: {
1009
+ home: "Accueil",
1010
+ jobs: "Offres",
1011
+ locations: "Lieux",
1012
+ salaries: "Salaires",
1013
+ companies: "Entreprises",
1014
+ skills: "Comp\xE9tences",
1015
+ titles: "Intitul\xE9s de poste",
1016
+ blog: "Blog",
1017
+ post: "Publier une offre",
1018
+ pricing: "Tarifs",
1019
+ about: "\xC0 propos",
1020
+ impressum: "Mentions l\xE9gales",
1021
+ termsOfService: "Conditions d'utilisation",
1022
+ privacyPolicy: "Politique de confidentialit\xE9",
1023
+ cookiePolicy: "Politique de cookies",
1024
+ talent: "Talents"
1025
+ },
1026
+ pagination: {
1027
+ ariaLabel: "Pagination",
1028
+ previousLabel: "Pr\xE9c\xE9dent",
1029
+ nextLabel: "Suivant"
1030
+ },
1031
+ blog: {
1032
+ bylineLabel: "Par",
1033
+ readingTimeLabel: "min de lecture",
1034
+ searchLabel: "Recherche",
1035
+ searchPlaceholder: "Rechercher un article...",
1036
+ clearButtonLabel: "Effacer la recherche",
1037
+ tagFilterLabel: "Th\xE8mes",
1038
+ tagFilterAllLabel: "Tous",
1039
+ emptyTitle: "Aucun article correspondant",
1040
+ emptyDescription: "Essayez de modifier votre recherche ou de r\xE9initialiser les filtres.",
1041
+ emptyResetLabel: "R\xE9initialiser les filtres"
1042
+ },
1043
+ entity: {
1044
+ jobSingular: "offre",
1045
+ jobPlural: "offres",
1046
+ companySingular: "entreprise",
1047
+ companyPlural: "entreprises"
1048
+ }
1049
+ };
1050
+ var CATALOGS = { en: EN2, de: DE2, fr: FR };
1051
+ function mergeGroup(group, overrides) {
1052
+ if (!overrides) return group;
1053
+ const out = { ...group };
1054
+ for (const [key, value] of Object.entries(group)) {
1055
+ if (typeof value !== "string") continue;
1056
+ const override = overrides[key];
1057
+ if (typeof override === "string" && override.trim() !== "") {
1058
+ out[key] = override;
1059
+ }
1060
+ }
1061
+ return out;
1062
+ }
1063
+ var GROUP_OVERRIDE_SOURCE = {
1064
+ jobCard: "jobCardLabels",
1065
+ jobSearch: "jobSearchLabels",
1066
+ jobDetail: "jobCardLabels",
1067
+ apply: "jobCardLabels",
1068
+ alerts: "jobCardLabels",
1069
+ copyLink: "jobCardLabels",
1070
+ salary: "salaryLabels",
1071
+ nav: "navLabels",
1072
+ footer: "footerLabels",
1073
+ breadcrumbs: "breadcrumbsLabels",
1074
+ pagination: "globalPaginationLabels",
1075
+ blog: "blogSharedLabels",
1076
+ entity: "entityLabels"
1077
+ };
1078
+ function uiCopy(language, labels) {
1079
+ const catalog = language && CATALOGS[language] || EN2;
1080
+ if (!labels) return catalog;
1081
+ const resolved = {};
1082
+ for (const [group, source] of Object.entries(GROUP_OVERRIDE_SOURCE)) {
1083
+ resolved[group] = mergeGroup(catalog[group], labels[source]);
1084
+ }
1085
+ return resolved;
1086
+ }