[translations] New patch do add "Portuguese" link to the webpage

[ Thread Index | Date Index | More lilynet.net/translations Archives ]


Hello, everyone. Here we go with my first patch.

This should add the link to the website in portuguese to the footer. Local tests seems to work alright. I was talking with Rafael about that and if, possible, could these be added to the production (master?) branch so this goes to the website?

Thanks!
Caio
From 747b301504e091de2a7d5c541383a5332511ad70 Mon Sep 17 00:00:00 2001
From: Caio Barros <caio.barros@xxxxxxxxx>
Date: Wed, 6 May 2020 11:41:13 -0300
Subject: [PATCH] Added the link to the Portuguese language website to the
 footer

---
 scripts/build/website_post.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py
index 53e8a0171f..d24ce9cca5 100644
--- a/scripts/build/website_post.py
+++ b/scripts/build/website_post.py
@@ -47,6 +47,10 @@ translations = {
         'English': 'Nederlands',
         'Other languages': 'Andere talen',
         },
+    'pt': {
+        'English': 'Português',
+        'Other languages': 'Outros idiomas',
+        },
     'zh': {
         'English': '中文',
         'Other languages': '其他语言',
-- 
2.11.0



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/