Commit d6994cbe authored by Phu Nguyen's avatar Phu Nguyen
Browse files

Handle generation ourselves, let Scripty do extraction only

parent b0b876f7
# SPDX-FileCopyrightText: 2022 Phu Hung Nguyen <phu.nguyen@kdemail.net>
# SPDX-License-Identifier: LGPL-3.0-or-later
hugoi18n extract $podir
#!/usr/bin/env bash
export FILENAME="elisa-kde-org_www"
function export_pot_file # First parameter is the path of the pot file we have to create, containing $FILENAME
{
potfile=$1
hugoi18n extract $potfile
}
function import_po_files # First parameter is the path of a directory containing several .po files named as $lang.po
{
export LANG=en_US.UTF-8
podir=$1
hugoi18n -q compile $podir
hugoi18n -q generate
}
......@@ -16,61 +16,6 @@ i18n:
- menu
- strings
languages:
az:
contentDir: content-trans/az
languageCode: az
languageName: Azərbaycanca
menu:
main:
- name: Maddi Dəstək
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ca:
contentDir: content-trans/ca
languageCode: ca
languageName: Català
menu:
main:
- name: Donatius
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ca-va:
contentDir: content-trans/ca-va
languageCode: ca@valencia
languageName: Català (Valencià)
menu:
main:
- name: Donatius
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
cs:
contentDir: content-trans/cs
languageCode: cs
languageName: Český
menu:
main:
- name: Přispět
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
de:
contentDir: content-trans/de
languageCode: de
languageName: Deutsch
menu:
main:
- name: Spenden
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
en:
languageCode: en
languageName: English
......@@ -81,226 +26,6 @@ languages:
weight: 5
title: Elisa
weight: 1
en-gb:
contentDir: content-trans/en-gb
languageCode: en_GB
languageName: British English
menu:
main:
- name: Donate
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
es:
contentDir: content-trans/es
languageCode: es
languageName: Español
menu:
main:
- name: Donación
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
eu:
contentDir: content-trans/eu
languageCode: eu
languageName: Euskara
menu:
main:
- name: Egin dohaintza
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
fr:
contentDir: content-trans/fr
languageCode: fr
languageName: Français
menu:
main:
- name: Faire un don
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
it:
contentDir: content-trans/it
languageCode: it
languageName: Italiano
menu:
main:
- name: Fai una donazione
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ja:
contentDir: content-trans/ja
languageCode: ja
languageName: 日本語
menu:
main:
- name: Donate
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ka:
contentDir: content-trans/ka
languageCode: ka
languageName: ქართული
menu:
main:
- name: შემოწირულობა
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ko:
contentDir: content-trans/ko
languageCode: ko
languageName: 한국어
menu:
main:
- name: 기부하기
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
nl:
contentDir: content-trans/nl
languageCode: nl
languageName: Nederlands
menu:
main:
- name: Doneren
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
pl:
contentDir: content-trans/pl
languageCode: pl
languageName: Polski
menu:
main:
- name: Darowizna
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
pt-br:
contentDir: content-trans/pt-br
languageCode: pt_BR
languageName: Português brasileiro
menu:
main:
- name: Doar
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
pt-pt:
contentDir: content-trans/pt-pt
languageCode: pt
languageName: Português
menu:
main:
- name: Doar
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
ru:
contentDir: content-trans/ru
languageCode: ru
languageName: Русский
menu:
main:
- name: Пожертвовать
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
sk:
contentDir: content-trans/sk
languageCode: sk
languageName: Slovenčina
menu:
main:
- name: Venovať peniaze
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
sl:
contentDir: content-trans/sl
languageCode: sl
languageName: Slovenščina
menu:
main:
- name: Donirajte
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
sv:
contentDir: content-trans/sv
languageCode: sv
languageName: Svenska
menu:
main:
- name: Ge ett bidrag
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
tr:
contentDir: content-trans/tr
languageCode: tr
languageName: Türkçe
menu:
main:
- name: Bağış Yapın
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
uk:
contentDir: content-trans/uk
languageCode: uk
languageName: Українська
menu:
main:
- name: Підтримати фінансово
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
zh-cn:
contentDir: content-trans/zh-cn
languageCode: zh_CN
languageName: 简体中文
menu:
main:
- name: 捐款
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
zh-tw:
contentDir: content-trans/zh-tw
languageCode: zh_TW
languageName: 正體中文
menu:
main:
- name: Donate
url: https://kde.org/donate
weight: 5
title: Elisa
weight: 2
markup:
goldmark:
renderer:
......
---
description: Sadə, etibarlı və istifadəsi zövqlü musiqi oynadıcı.
menu:
main:
weight: 1
title: Elisa
---
---
appstream: org.kde.elisa
gear: true
layout: download
menu:
main:
weight: 2
name: Elisa
sources:
- description: '**Bunları istifadə edərək flathub repozitoriyasını əlavə edin**
```bash
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
**Install Elisa**
```bash
flatpak install flathub org.kde.elisa
```
'
name: Flatpak
src_icon: /reusable-assets/flatpak.png
- description: '* [Microsoft store](https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl)
* [Win64 executable](https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/)'
name: Windows
src_icon: /reusable-assets/windows.svg
title: Endirin
---
---
getintouch: 'Tərtibatla bağlı müzakirələrin çoxu [Elisa poçt paylaşmı siyahısına]
(http://mail.kde.org/mailman/listinfo/elisa) ünvanındadır.
Sadəcə qoşulun, salamlaşın bizə ilə kömək etmək istədiyinizi söyləyin!'
layout: get-involved
menu:
main:
weight: 4
name: Elisa
title: İştirak edin
userbase: Elisa
---
Elisa'ya töhvə vermək istəyirsiniz? Bəzi maraqlı tapşırıqlar üçün [Phabricator](https://phabricator.kde.org/tag/elisa/) və ya [mənbə koduna göz gəzdirmək üçün](https://invent.kde.org/multimedia/elisa) saytına baxın.
---
forum: https://forum.kde.org/
handbook: https://docs.kde.org/stable5/en/elisa/elisa/index.html
layout: users
menu:
main:
weight: 3
name: Elisa
title: İstifadəçi dəstəyi
---
---
description: Un reproductor musical que és senzill, fiable i agradable d'emprar.
menu:
main:
weight: 1
title: Elisa
---
---
appstream: org.kde.elisa
gear: true
layout: download
menu:
main:
weight: 2
name: Elisa
sources:
- description: '**Afegir el repositori de Flathub utilitzant:**
```bash
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
**Instal·lar Elisa**
```bash
flatpak install flathub org.kde.elisa
```
'
name: Flatpak
src_icon: /reusable-assets/flatpak.png
- description: '* [Microsoft Store](https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl)
* [Executable Win64](https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/)'
name: Windows
src_icon: /reusable-assets/windows.svg
title: Baixada
---
---
getintouch: 'La majoria dels debats relacionats amb el desenvolupament tenen lloc
a la [llista de correu d''Elisa](http://mail.kde.org/mailman/listinfo/elisa).
Uniu-vos-hi, digueu hola i expliqueu que vos agradaria ajudar!'
layout: get-involved
menu:
main:
weight: 4
name: Elisa
title: Col·laboreu-hi
userbase: Elisa
---
Voleu col·laborar amb Elisa? Reviseu el [Phabricator](https://phabricator.kde.org/tag/elisa/) buscant alguna tasca interessant o [exploreu el codi font](https://invent.kde.org/multimedia/elisa).
---
forum: https://forum.kde.org/
handbook: https://docs.kde.org/stable5/ca/elisa/elisa/index.html
layout: users
menu:
main:
weight: 3
name: Elisa
title: Suport a l'usuari
---
---
description: Un reproductor musical que és senzill, fiable i agradable d'emprar.
menu:
main:
weight: 1
title: Elisa
---
---
appstream: org.kde.elisa
gear: true
layout: download
menu:
main:
weight: 2
name: Elisa
sources:
- description: '**Afegir el repositori de Flathub usant:**
```bash
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
**Instal·lar l''Elisa**
```bash
flatpak install flathub org.kde.elisa
```
'
name: Flatpak
src_icon: /reusable-assets/flatpak.png
- description: '* [Microsoft Store](https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl)
* [Executable Win64](https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/)'
name: Windows
src_icon: /reusable-assets/windows.svg
title: Baixada
---
---
getintouch: 'La majoria dels debats relacionats amb el desenvolupament tenen lloc
a la [llista de correu de l''Elisa](http://mail.kde.org/mailman/listinfo/elisa).
Uniu-vos-hi, digueu hola i expliqueu que us agradaria ajudar!'
layout: get-involved
menu:
main:
weight: 4
name: Elisa
title: Col·laboreu-hi
userbase: Elisa
---
Voleu col·laborar amb l'Elisa? Reviseu el [Phabricator](https://phabricator.kde.org/tag/elisa/) cercant alguna tasca interessant o [exploreu el codi font](https://invent.kde.org/multimedia/elisa).
---
forum: https://forum.kde.org/
handbook: https://docs.kde.org/stable5/ca/elisa/elisa/index.html
layout: users
menu:
main:
weight: 3
name: Elisa
title: Suport a l'usuari
---
---
description: A music player that is simple, reliable, and a joy to use.
menu:
main:
weight: 1
title: Elisa
---
---
appstream: org.kde.elisa
gear: true
layout: download
menu:
main:
weight: 2
name: Elisa
sources:
- description: '**Přidejte repozitář flathub pomocí:**
```bash
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
**Nainstalujte aplikaci Elisa**
```bash
flatpak install flathub org.kde.elisa
```
'
name: Flatpak
src_icon: /reusable-assets/flatpak.png
- description: '* [Microsoft store](https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl)
* [Win64 executable](https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/)'
name: Okna
src_icon: /reusable-assets/windows.svg
title: Stáhnout
---
---
getintouch: 'Most development-related discussions take place on the [Elisa mailing
list](http://mail.kde.org/mailman/listinfo/elisa).
Just join in, say hi and tell us what you would like to help us with!'
layout: get-involved
menu:
main:
weight: 4
name: Elisa
title: Přidejte se
userbase: Elisa
---
Want to contribute to Elisa? Check out [Phabricator](https://phabricator.kde.org/tag/elisa/) for some fun task or [browse the source code](https://invent.kde.org/multimedia/elisa).
---
forum: https://forum.kde.org/
handbook: https://docs.kde.org/stable5/en/elisa/elisa/index.html
layout: users
menu:
main:
weight: 3
name: Elisa
title: Podpora uživatelů
---
---
description: A music player that is simple, reliable, and a joy to use.
menu:
main:
weight: 1
title: Elisa
---
Supports Markdown