Skip to content

Commit

Permalink
Removed de layout templates and used i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jan 14, 2024
1 parent 020b27f commit 69a97c5
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 152 deletions.
27 changes: 24 additions & 3 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
- id: references
translation: "Referenzen"
- id: home_what_we_do
translation: "Was wir machen"
- id: home_teaser
translation: "Wir unterstützen Unternehmen, Behörden und Open-Source-Projekte dabei, die CO2-Emissionen ihrer digitalen Dienste zu analysieren und zu reduzieren, um umweltfreundlichere digitale Lösungen zu fördern."
- id: home_cta
translation: "👉 Mehr Details"
- id: home_about_details
translation: "Mehr erfahren über die CO2-Emissionen von Software"
- id: home_what_we_do
translation: "Was wir machen"
- id: home_projects
translation: "Projekte"
- id: home_projects_teaser
translation: "Wir entwickeln Werkzeuge, die es Entwicklern und Anwendern ermöglichen Optimierungen zu machenum den Energieverbrauch und CO2-Emissionen zu senken"
- id: home_talks_teaser
translation: "Eine Auswahl unserer letzten Events und Veranstaltungen"
- id: home_talks_full_list
translation: "Alle Events und Veranstaltungen"



- id: about
translation: Über
Expand All @@ -18,4 +36,7 @@
- id: team
translation: Team
- id: list_orgs
translation: "Eine sorgfältig ausgewählte Liste von Organisationen, mit denen wir zusammengearbeitet haben oder bei denen wir Vorträge gehalten haben."
translation: "Eine ausgewählte Liste von Organisationen, mit denen wir zusammengearbeitet haben oder bei denen wir Vorträge gehalten haben."

- id: references
translation: "Referenzen"
20 changes: 17 additions & 3 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
- id: home_what_we_do
translation: "What we do"
- id: home_teaser
translation: "We help companies, goverment bodies and open source communites to understand and optimize the carbon emissions of their digital services"
- id: home_cta
translation: "👉 See our services"
- id: references
translation: "References"
- id: home_about_details
translation: "Read some details about the carbon emissions of software"
- id: home_projects
translation: "Projects"
- id: home_projects_teaser
translation: "We develop tools to empower developers and users to reduce energy and carbon emissons of software"
- id: home_talks_teaser
translation: "Browse through our latest events and watch recordings (if available :) )"
- id: home_talks_full_list
translation: "For a full list"


- id: about
translation: Über
Expand All @@ -22,4 +33,7 @@
- id: team
translation: Team
- id: list_orgs
translation: "A curated list of organizations we have been working with or have been giving talks at."
translation: "A curated list of organizations we have been working with or have been giving talks at."

- id: references
translation: "References"
112 changes: 0 additions & 112 deletions layouts/home.de.html

This file was deleted.

24 changes: 11 additions & 13 deletions layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
<section id="about" class="bg-one">
<div id="nav-about"></div>
<div class="section-one">
<div class="title-one">What we do</div>
<div class="title-one">{{ i18n "home_what_we_do" }}</div>
<div class="separator">
<div class="line line-1"></div>
</div>
<div class="data-content-one">
<p>{{ i18n "home_teaser" }}</p>
<div class="btn-one">
<a href="/services"><span>{{i18n "home_cta"}}</span></a>
<a href="{{ absLangURL "services" }}"><span>{{i18n "home_cta"}}</span></a>
</div>
</div>
<div class="separator">
<div class="line line-1"></div>
</div>
<div class="data-content-one">
<a href="/about">Read some details about the carbon emissions of software</a>.
<a href="{{ absLangURL "about" }}">{{ i18n "home_about_details" }}</a>.
</div>
</div>
</section><!-- end about -->
<section id="projects" class="bg-two">
<div id="nav-projects"></div>
<div class="section-two bottom-works">
<h1><div class="title-two">Our Projects</div></h1>
<h1><div class="title-two">{{ i18n "home_projects" }}</div></h1>
<div class="separator">
<div class="line line-2"></div>
</div>
<div class="data-content-two">
We develop tools to empower developers and users to make energy and carbon concious decisions
{{ i18n "home_projects_teaser" }}
</div>
<div id="project-items-container" class="data-content-two">
{{/*
Expand Down Expand Up @@ -60,9 +60,7 @@ <h2><div class="title-two">Talks & Events</div></h2>
<div class="line line-2"></div>
</div>
<div class="data-content-two">
Browse through our latest events and watch recordings (if available :) )<br>
For a full list: 👉 <a href="{{ absLangURL "talks-and-events" }}" style="color: white; text-decoration: underline;">All
our Talks & Events</a>
{{ i18n "home_talks_teaser" }}<br>
</div>
</div>
<div id="portfolio" class="container">
Expand Down Expand Up @@ -94,11 +92,11 @@ <h2><div class="title-two">Talks & Events</div></h2>
{{end}}
<div class="final"></div>
</div>
<!-- Project -->
<div id="project-show"></div>
<div class="project-window">
<div class="project-content"></div><!-- AJAX Dinamic Content -->
</div><!-- end Project -->
<div class="data-content-two">
👉 <a href="{{ absLangURL "talks-and-events" }}" style="color: white; text-decoration: underline;">{{ i18n "home_talks_full_list" }}</a>
</div>


</div> <!-- #container -->
</div> <!-- /END ISOTOPE PORTFOLIO-->
</div><!-- end portfolio -->
Expand Down
21 changes: 0 additions & 21 deletions layouts/talks-and-events/section.de.html

This file was deleted.

0 comments on commit 69a97c5

Please sign in to comment.