Skip to content

Commit

Permalink
Merge pull request #759 from Shinsina/additional-mundo-translations
Browse files Browse the repository at this point in the history
Additional Mundo translations
  • Loading branch information
Shinsina authored Oct 17, 2024
2 parents 47757fd + de73e9a commit de46c27
Show file tree
Hide file tree
Showing 21 changed files with 107 additions and 74 deletions.
6 changes: 3 additions & 3 deletions packages/global/components/document.marko
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $ const buttonLabels = { continue: continueLabel };
newsletter-menu-block-props={
buttonLabels,
loginEmailLabel,
loginEmailPlaceholder: '[email protected]',
loginEmailPlaceholder: i18n("[email protected]"),
actionText: i18n("signing up to receive your email notifications"),
imageWidth: "170",
imageHeight: "242"
Expand All @@ -130,7 +130,7 @@ $ const buttonLabels = { continue: continueLabel };
newsletter-menu-block-props={
buttonLabels,
loginEmailLabel,
loginEmailPlaceholder: '[email protected]',
loginEmailPlaceholder: i18n("[email protected]"),
actionText: i18n("signing up to receive your email notifications"),
imageWidth: "170",
imageHeight: "242"
Expand All @@ -148,7 +148,7 @@ $ const buttonLabels = { continue: continueLabel };
newsletter-block-props={
buttonLabels,
loginEmailLabel,
loginEmailPlaceholder: '[email protected]',
loginEmailPlaceholder: i18n("[email protected]"),
actionText: i18n("signing up to receive your email notifications") }
/>
</@below-container>
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/layouts/content/default.marko
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ $ const shouldInjectAds = ["article", "blog", "news", "podcast", "press-release"
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineContent"
action-text=actionText
image-width="120"
Expand Down Expand Up @@ -330,7 +330,7 @@ $ const shouldInjectAds = ["article", "blog", "news", "podcast", "press-release"
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineContent"
action-text=actionText
with-image=false
Expand Down
2 changes: 1 addition & 1 deletion packages/global/components/layouts/content/webinar.marko
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ $ const actionText = i18n("signing up to receive your email notifications");
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineContent"
action-text=actionText
image-width="120"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $ const queryParams = {
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
image-width="120"
Expand Down
10 changes: 5 additions & 5 deletions packages/global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
"@parameter1/base-cms-image": "^4.47.1",
"@parameter1/base-cms-inflector": "^4.5.12",
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-deferred-script-loader": "^4.40.3",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-html-sitemap": "^4.40.3",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-inquiry": "^4.40.3",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-omeda": "^4.51.0",
"@parameter1/base-cms-marko-web-omeda-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-omeda-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-search": "^4.55.4",
"@parameter1/base-cms-marko-web-social-sharing": "^4.55.4",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/global/templates/magazine/publication.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import issueFragment from "@parameter1/base-cms-marko-web-theme-monorail-magazine/graphql/fragments/magazine-issue-archive";

$ const { pagination: p, req, site } = out.global;
$ const { pagination: p, req, site, i18n } = out.global;
$ const { id, pageNode } = data;
$ const perPage = 16;
$ const description = site.get("magazines.description");
Expand All @@ -17,11 +17,11 @@ $ const description = site.get("magazines.description");
<div class="row">
<div class="col">
<theme-breadcrumbs modifiers=["website-section"]>
<@item><marko-web-link href="/magazine">Magazine</marko-web-link></@item>
<@item><marko-web-link href="/magazine">${i18n("Magazine")}</marko-web-link></@item>
</theme-breadcrumbs>
<marko-web-resolve-page|{ data: publication }| node=pageNode>
<h1 class="page-wrapper__title">
${publication.name} Issue Archive
${i18n(`${publication.name} Issue Archive`)}
<if(p.page > 1)>: Page ${p.page}</if>
</h1>
<if(description)>
Expand Down
2 changes: 1 addition & 1 deletion packages/global/templates/taxonomy-category/index.marko
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $ const queryParams = {
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
with-image=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $ const queryParams = {
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
image-width="120"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ $ const queryParams = {
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
with-image=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ $ const queryParams = {
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
image-width="120"
Expand Down
8 changes: 4 additions & 4 deletions sites/cpgnext.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
],
"dependencies": {
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
8 changes: 4 additions & 4 deletions sites/healthcarepackaging.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
],
"dependencies": {
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-deferred-script-loader": "^4.40.3",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
14 changes: 9 additions & 5 deletions sites/mundopmmi.com/config/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ module.exports = {
'the latest downloads from mundo expo pack': 'Las últimas descargas de Mundo EXPO PACK',
'the latest eventos from mundo expo pack': 'Los últimos eventos de Mundo EXPO PACK',
'the latest videos from mundo expo pack': 'Los últimos videos de Mundo EXPO PACK',
'previous page': 'Pagina Anterior',
page: 'Pagina',
'previous page': 'Página Anterior',
page: 'Página',
of: 'de',
'next page': 'Próxima Pagina',
'next page': 'Próxima Página',
email: 'Correo electrónico',
'email address': 'Correo electrónico',
'sign up': 'Suscríbase ',
Expand All @@ -47,7 +47,7 @@ module.exports = {
'latest episode': 'Último Episodio',
'more episodes': 'Más episodios',
'most popular': 'Los Más Populares ',
'sponsored by': 'Auspiciado Por',
'sponsored by': 'Patrocinado Por',
'read next': 'Lee Próximo',
'read more': 'Lee Más',
'related stories': 'Artículos Relacionados',
Expand All @@ -67,7 +67,7 @@ module.exports = {
search: 'Búsqueda',
filters: 'Filtros',
'content types': 'Tipos de Contenido',
'website sections': 'Secciones del Website',
'website sections': 'Secciones del Sitio Web',
article: 'Artículo',
company: 'Compañía',
document: 'Documento',
Expand All @@ -94,4 +94,8 @@ module.exports = {
webinars: 'seminario-web',
'on demand': 'Por Demanda',
upcoming: 'próximamente',
'mundo pmmi issue archive': 'Archivo de Mundo EXPO PACK',
magazine: 'Revista',
'[email protected]': 'ejemplo@compañía.com',
archives: 'Archivos',
};
2 changes: 1 addition & 1 deletion sites/mundopmmi.com/config/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const desktopMenu = {
{ href: '/videos', label: 'Vídeos' },
{ href: '/downloads', label: 'Recursos Digitales' },
{ href: '/page/newsletterarchive', label: 'Archivo de boletines' },
{ href: '/noticias-de-los-proveedores', label: 'Noticias de los proveedores' },
// { href: '/noticias-de-los-proveedores', label: 'Noticias de los proveedores' },
],
},
};
Expand Down
8 changes: 4 additions & 4 deletions sites/mundopmmi.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
],
"dependencies": {
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
23 changes: 23 additions & 0 deletions sites/mundopmmi.com/server/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,26 @@ $theme-site-navbar-secondary-font-size: 16px !default;
width: 80px
}
}


.section-feed-content-node {
$self: &;
&__content-start-date,
&__content-end-date {
&::before {
content: "Fecha: ";
}
}
}

.ad-container {
$self: &;
&--with-label {
> *:first-child {

&::before {
content: "Publicidad";
}
}
}
}
4 changes: 2 additions & 2 deletions sites/mundopmmi.com/server/templates/index.marko
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $ const actionText = i18n("signing up to receive your email notifications");
$ const publicationIds = site.get("magazine.publicationIds");
<if(publicationIds.length)>
<@section>
<theme-magazine-issues-block publication-id=publicationIds[0] title="Impreso" />
<theme-magazine-issues-block publication-id=publicationIds[0] title="Impresos" />
</@section>
</if>

Expand All @@ -81,7 +81,7 @@ $ const actionText = i18n("signing up to receive your email notifications");
<identity-x-newsletter-form-inline
button-labels=buttonLabels
login-email-label=loginEmailLabel
login-email-placeholder="[email protected]"
login-email-placeholder=i18n("[email protected]")
type="inlineSection"
action-text=actionText
image-width="120"
Expand Down
8 changes: 4 additions & 4 deletions sites/oemmagazine.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
],
"dependencies": {
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
8 changes: 4 additions & 4 deletions sites/packworld.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
],
"dependencies": {
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
8 changes: 4 additions & 4 deletions sites/profoodworld.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@
"dependencies": {
"@parameter1/base-cms-env": "^4.5.12",
"@parameter1/base-cms-marko-core": "^4.55.4",
"@parameter1/base-cms-marko-web": "^4.65.2",
"@parameter1/base-cms-marko-web": "^4.71.2",
"@parameter1/base-cms-marko-web-gam": "^4.55.1",
"@parameter1/base-cms-marko-web-gcse": "^4.40.3",
"@parameter1/base-cms-marko-web-gtm": "^4.60.2",
"@parameter1/base-cms-marko-web-icons": "^4.36.8",
"@parameter1/base-cms-marko-web-identity-x": "^4.68.1",
"@parameter1/base-cms-marko-web-identity-x": "^4.71.2",
"@parameter1/base-cms-marko-web-leaders": "^4.56.2",
"@parameter1/base-cms-marko-web-native-x": "^4.60.2",
"@parameter1/base-cms-marko-web-p1-events": "^4.65.4",
"@parameter1/base-cms-marko-web-reveal-ad": "^4.40.3",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.68.1",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.60.2",
"@parameter1/base-cms-marko-web-theme-monorail": "^4.72.0",
"@parameter1/base-cms-marko-web-theme-monorail-magazine": "^4.72.0",
"@parameter1/base-cms-object-path": "^4.40.3",
"@parameter1/base-cms-utils": "^4.40.3",
"@parameter1/base-cms-web-cli": "^4.57.1",
Expand Down
Loading

0 comments on commit de46c27

Please sign in to comment.