From e74f3d08f2a88675b8c29f78e6a54a16a85ebff9 Mon Sep 17 00:00:00 2001
From: Keunes <11229646+keunes@users.noreply.github.com>
Date: Mon, 8 May 2023 09:33:13 +0200
Subject: [PATCH 1/2] Add Media kit & Branding page
---
_config.yml | 8 ++
_i18n/en.yml | 22 ++++-
.../en/press-releases/2023-05-08-version-3.md | 34 +++++++
_includes/breadcrumbs.html | 2 +-
_includes/footer.html | 4 +-
_includes/image.html | 14 ++-
_layouts/doc.html | 4 +-
_layouts/press-release.html | 32 +++++++
_plugins/filename.rb | 26 ++++++
_press-releases/2023-05-08-version-3.md | 6 ++
media-branding/index.html | 88 +++++++++++++++++++
11 files changed, 231 insertions(+), 9 deletions(-)
create mode 100644 _i18n/en/press-releases/2023-05-08-version-3.md
create mode 100644 _layouts/press-release.html
create mode 100644 _plugins/filename.rb
create mode 100644 _press-releases/2023-05-08-version-3.md
create mode 100644 media-branding/index.html
diff --git a/_config.yml b/_config.yml
index 4da66ca42..e7636c47c 100644
--- a/_config.yml
+++ b/_config.yml
@@ -37,6 +37,9 @@ collections:
events:
output: true
permalink: /events/:year/:month/:title
+ press-releases:
+ output: true
+ permalink: /media-branding/press-releases/:year/:month/:title
defaults:
- scope:
@@ -49,6 +52,11 @@ defaults:
type: "events"
values:
layout: "event"
+ - scope:
+ path: ""
+ type: "press-releases"
+ values:
+ layout: "press-release"
# Exclude from processing.
# The following items will not be processed, by default.
diff --git a/_i18n/en.yml b/_i18n/en.yml
index 8da4da09f..c4d4df51f 100644
--- a/_i18n/en.yml
+++ b/_i18n/en.yml
@@ -7,7 +7,7 @@ titles:
events: "Events"
download: "Download AntennaPod"
forum: "Forum"
- media-kit: "Media Kit"
+ media-branding: "Media kit and brand guidelines"
license: "License"
privacy: "Privacy Policy"
@@ -199,6 +199,26 @@ events:
recurrence:
every-2nd-saturday: "every second Saturday of the month"
+## Media and Brand Kit
+media-branding:
+ general:
+ introduction: AntennaPod is the free and open source podcast app for Android. Here you'll find our announcements, logos and more.
+ core-principles: More about our core principles and history.
+ logos:
+ title: Logos
+ icon: App icon
+ wordmark: Icon + word mark
+ all-logos: View all logos
+ logo-pack: Full logo pack [ZIP]
+ brand-guidelines: Brand guidelines
+ press-releases:
+ general:
+ announcements: Announcements
+ announcement: Announcement
+ published: Published
+ 2023:
+ version3: Free podcasting app for Android ‘AntennaPod’ adds new Home screen and gets new look in 3.0 release
+
## Footer
footer:
description: "The easy-to-use, flexible and open-source podcast manager for Android."
diff --git a/_i18n/en/press-releases/2023-05-08-version-3.md b/_i18n/en/press-releases/2023-05-08-version-3.md
new file mode 100644
index 000000000..8277d4e92
--- /dev/null
+++ b/_i18n/en/press-releases/2023-05-08-version-3.md
@@ -0,0 +1,34 @@
+{: .lead}
+Tuesday 9 May 2023 – The new 3.0 release of the free and ad-free podcast app for Android ‘AntennaPod’ introduces a Home screen, giving users an overview of the most important sections and content in the app. This new version will land in users’ hands with a refreshed icon and interface. The updated app is available for download on Google Play and F-Droid from today.
+
+The newly added Home screen introduces a navigation flow that encourages users to discover the content from podcasters they trust and have subscribed to. By drawing on local app data the screen personalizes the app experience while respecting users' privacy.
+
+The Home screen allows users to quickly pick up episodes they started listening before, find newly released episodes and more. Sections on the screen display content to directly play or open, and provide quick access to the most commonly used screens like the Queue. The Home screen also builds on the Inbox, which was introduced in the previous release and positively received by users.
+
+AntennaPod's new modern look follows Google's '[Material 3](https://m3.material.io/)' design system. With it, the app now also supports [dynamic colors](https://www.android.com/android-12/#a12-color-reimagined), a method to match system and app themes with a user's wallpaper, as well as [themed icons](https://www.android.com/android-13/#a13-your-phone-your-aesthetic), the monochrome app icons introduced in Android 13.
+
+The app also has a refreshed app icon, which features prominently in the splash screen. The evolution of the icon is part of a brand update for the whole project, an exercise that is lead by and a contribution of the design company [Freehive](https://freehive.com/) (known in the open source community from their Gnome 40 release video).
+
+Other improvements in the 3.0 release include the ability to remove a single episode from the playback history, better episode spread while using smart shuffle in the queue, multi-select in the Inbox and the ability to load an episode's latest chapters if based on the Podcasting 2.0 standard.
+
+
+
+AntennaPod is a volunteer- and donation-based project. It is always open to contributions of all types, such as website and app development, translations, marketing, user research and design.
+
+To find out more about the project, try the app via [Google Play](https://play.google.com/store/apps/details?id=de.danoeh.antennapod) or [F-Droid](https://f-droid.org/packages/de.danoeh.antennapod/), or check the website on [www.antennapod.org](http://www.antennapod.org/).
+
+To discover the Home screen in detail, have a look at our blog post [Welcome Home! Introducing AntennaPod's new default screen](https://antennapod.org/blog/2023/05/introducing-the-home-screen).
+
+
+{% include image.html
+ alt="
+
+ Visual explainer of the Home screen features.
+
+ "
+ loc="/assets/images/blog/2023"
+ file="Home-screen-showcase.png"
+ max-width="25rem"
+ class="w-100"
+%}
+
diff --git a/_includes/breadcrumbs.html b/_includes/breadcrumbs.html
index 1b45deb7d..e1ddb34e7 100644
--- a/_includes/breadcrumbs.html
+++ b/_includes/breadcrumbs.html
@@ -1,4 +1,4 @@
-
+
{% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
{% t generic.home %}
{% for crumb in crumbs offset: 1 %}
diff --git a/_includes/footer.html b/_includes/footer.html
index 6739e5b52..76bc8d848 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -31,8 +31,8 @@
diff --git a/_includes/image.html b/_includes/image.html
index 3f7b07309..561c8d667 100644
--- a/_includes/image.html
+++ b/_includes/image.html
@@ -12,7 +12,9 @@
{%- endfor %}
{%- capture url %}
- {%- if native-exists == true %}
+ {%- if include.file contains 'http' == true %}
+ {{ include.file }}
+ {%- elsif native-exists == true %}
{{- native-url }}
{%- elsif english-exists == true %}
{{- english-url }}
@@ -21,11 +23,14 @@
{%- endif %}
{%- endcapture -%}
-
+{% unless include.file contains 'AntennaPod/Branding' == true %}{% endunless %}

+ style="
+ {%- if include.max-width %}max-width:{{ include.max-width }}; {% endif %}
+ {%- if include.max-height %}max-height:{{ include.max-height }}; {% endif %}"
+ class="rounded {{ include.class }}">
+{% unless include.file contains 'AntennaPod/Branding' == true %}
+{%- endunless %}
diff --git a/_layouts/doc.html b/_layouts/doc.html
index 59b7bd654..e42b075d7 100644
--- a/_layouts/doc.html
+++ b/_layouts/doc.html
@@ -8,8 +8,10 @@
{% include nav.html %}
-
+
{% include breadcrumbs.html %}
+
+
{{ content | remove: "" | remove: "" | remove: "" | remove: "" }}
diff --git a/_layouts/press-release.html b/_layouts/press-release.html
new file mode 100644
index 000000000..f17fd217c
--- /dev/null
+++ b/_layouts/press-release.html
@@ -0,0 +1,32 @@
+---
+layout: internal
+---
+
+
+
diff --git a/_plugins/filename.rb b/_plugins/filename.rb
new file mode 100644
index 000000000..d346721cf
--- /dev/null
+++ b/_plugins/filename.rb
@@ -0,0 +1,26 @@
+# from https://stackoverflow.com/a/74381528
+
+require 'pathname'
+
+module Jekyll
+ class Filename
+ def self.hook_proc
+ proc { |page|
+ page.data['filename'] = Filename.new(Pathname.new(page.path).basename)
+ }
+ end
+
+ def initialize(filename)
+ raise "empty filename" if filename.empty?
+ @filename = filename
+ end
+
+ def to_liquid
+ @filename
+ end
+ end
+
+ Hooks.register :pages, :post_init, &Filename.hook_proc
+ Hooks.register :documents, :post_init, &Filename.hook_proc
+end
+
diff --git a/_press-releases/2023-05-08-version-3.md b/_press-releases/2023-05-08-version-3.md
new file mode 100644
index 000000000..d365152d5
--- /dev/null
+++ b/_press-releases/2023-05-08-version-3.md
@@ -0,0 +1,6 @@
+---
+title: media-branding.press-releases.2023.version3
+date: "2023-05-09 08:00:00"
+---
+
+{% tf press-releases/{{ page.filename }} %}
diff --git a/media-branding/index.html b/media-branding/index.html
new file mode 100644
index 000000000..8ac941ec9
--- /dev/null
+++ b/media-branding/index.html
@@ -0,0 +1,88 @@
+---
+layout: internal
+title: titles.media-branding
+---
+
+
+
+
+
+
{% t titles.media-branding %}
+
+
+
+
+
{% t media-branding.general.introduction %}
+
+
+
+
+
+
+
+
+ {% for press-release in site.press-releases reversed %}
+ {% if press-release.unlisted != true %}
+
+
+
+
+
{% t press-release.title %}
+
+
{{ press-release.excerpt | strip_html | truncatewords: 50 }}
+
+
+
+ {% endif %}
+ {% endfor %}
+
+
+
+
+
+
{% t media-branding.general.core-principles %}
+
+
+
+
+
+
+
{% t media-branding.general.logos.title %}
+
+
+
+
+
+
+
+
From b64f43b25720e58e11f9e1a9c4f405292cfb8043 Mon Sep 17 00:00:00 2001
From: Keunes <11229646+keunes@users.noreply.github.com>
Date: Wed, 10 May 2023 22:42:08 +0200
Subject: [PATCH 2/2] Fix translations
* Remove deprecated strings from translation files
* Update Actions
---
.../workflows/clear-translation-target-files.txt | 1 +
.../workflows/en-updates-to-translation-repo.yml | 2 ++
.../workflows/translation-updates-to-main-repo.yml | 14 ++++++++++++++
_i18n/da.yml | 1 -
_i18n/de.yml | 1 -
_i18n/es.yml | 1 -
_i18n/fr.yml | 1 -
_i18n/it.yml | 1 -
_i18n/nl.yml | 1 -
9 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/clear-translation-target-files.txt b/.github/workflows/clear-translation-target-files.txt
index ee8a111c6..11f993d8b 100644
--- a/.github/workflows/clear-translation-target-files.txt
+++ b/.github/workflows/clear-translation-target-files.txt
@@ -5,3 +5,4 @@
!documentation-pages/*
!general-pages/*
!general-strings/*
+!press-releases/*
diff --git a/.github/workflows/en-updates-to-translation-repo.yml b/.github/workflows/en-updates-to-translation-repo.yml
index 6a5ec9f81..c25dc0dcd 100644
--- a/.github/workflows/en-updates-to-translation-repo.yml
+++ b/.github/workflows/en-updates-to-translation-repo.yml
@@ -30,6 +30,8 @@ jobs:
run: md2po _i18n/en/contribute/*.md --po-filepath _i18n/translation-files/site-contribute.pot --save --quiet
- name: Create/update POT file of Documentation section
run: md2po _i18n/en/documentation/*.md _i18n/en/documentation/*/*.md --po-filepath _i18n/translation-files/site-documentation.pot --save --quiet
+ - name: Create/update POT file of Press releases
+ run: md2po _i18n/en/press-releases/*.md --po-filepath _i18n/translation-files/site-press-releases.pot --save --quiet
- name: Create/update POT file of other website pages
run: md2po _i18n/en/general/*.md --po-filepath _i18n/translation-files/site-general.pot --save --quiet
- name: Push to translation-files branch
diff --git a/.github/workflows/translation-updates-to-main-repo.yml b/.github/workflows/translation-updates-to-main-repo.yml
index 5a378abd4..d4de4260c 100644
--- a/.github/workflows/translation-updates-to-main-repo.yml
+++ b/.github/workflows/translation-updates-to-main-repo.yml
@@ -113,6 +113,20 @@ jobs:
done
cd ../
done
+ - name: Make Press releases
+ run: |
+ cd _i18n/en/press-releases
+ languages=(${{ env.languages }})
+ for language in "${languages[@]}"
+ do mkdir -p ../../$language/press-releases
+ done
+ for file in *
+ do
+ for language in "${languages[@]}"
+ do po2md $file --po-files ../../../translation-files/press-releases/site-press-releases_$language.po --save ../../$language/press-releases/$file --wrapwidth inf
+ git add ../../$language/press-releases/$file
+ done
+ done
- name: Make General pages
run: |
cd _i18n/en/general
diff --git a/_i18n/da.yml b/_i18n/da.yml
index 0b9c993ed..4c4278d96 100644
--- a/_i18n/da.yml
+++ b/_i18n/da.yml
@@ -8,7 +8,6 @@ titles:
download: Hent AntennaPod
about: Om
contribute: Bidrag
- media-kit: Pressemateriale
events: Begivenheder
generic:
home: Hjem
diff --git a/_i18n/de.yml b/_i18n/de.yml
index 11897f212..8676e64ae 100644
--- a/_i18n/de.yml
+++ b/_i18n/de.yml
@@ -115,7 +115,6 @@ titles:
about: Über
privacy: Datenschutzbestimmungen
media: Pressemappe
- media-kit: Pressematerial
events: Veranstaltungen
generic:
share: Teilen
diff --git a/_i18n/es.yml b/_i18n/es.yml
index 65c072480..9c6fbe335 100644
--- a/_i18n/es.yml
+++ b/_i18n/es.yml
@@ -8,7 +8,6 @@ titles:
media: Kit de prensa
license: Licencia
documentation: Documentación
- media-kit: Dossier de medios
events: Eventos
generic:
home: Inicio
diff --git a/_i18n/fr.yml b/_i18n/fr.yml
index e88cfb811..c8737973a 100644
--- a/_i18n/fr.yml
+++ b/_i18n/fr.yml
@@ -6,7 +6,6 @@ titles:
download: Télécharger AntennaPod
license: Licence
forum: Forum
- media: Kit presse
privacy: Politique de confidentialité
generic:
share: Partager
diff --git a/_i18n/it.yml b/_i18n/it.yml
index a0947b792..f3dcce18b 100644
--- a/_i18n/it.yml
+++ b/_i18n/it.yml
@@ -87,7 +87,6 @@ titles:
documentation: Documentazione
download: Scarica AntennaPod
about: Cos'è
- media: Cartella stampa
privacy: Informativa sulla privacy
forum: Forum
license: Licenza
diff --git a/_i18n/nl.yml b/_i18n/nl.yml
index f5702122a..2b31d7414 100644
--- a/_i18n/nl.yml
+++ b/_i18n/nl.yml
@@ -60,7 +60,6 @@ titles:
download: Download AntennaPod
forum: Forum
license: Licentie
- media: Mediakit
homepage:
header: De Open Podcast Speler
description: AntennaPod is een podcast-speler die volledig open is. De app is open