Add a settings button to the news instance

merge-requests/8/head
Bob Mottram 2020-11-02 17:40:02 +00:00
parent ac2a651303
commit f8760a57d4
16 changed files with 36 additions and 17 deletions

View File

@ -324,5 +324,6 @@
"User": "المستعمل", "User": "المستعمل",
"Features" : "ميزات", "Features" : "ميزات",
"Article": "مقال إخباري", "Article": "مقال إخباري",
"Create an article": "قم بإنشاء مقال" "Create an article": "قم بإنشاء مقال",
"Settings": "إعدادات"
} }

View File

@ -324,5 +324,6 @@
"User": "Usuari", "User": "Usuari",
"Features" : "Article", "Features" : "Article",
"Article": "Reportatge", "Article": "Reportatge",
"Create an article": "Creeu un article" "Create an article": "Creeu un article",
"Settings": "Configuració"
} }

View File

@ -324,5 +324,6 @@
"User": "Defnyddiwr", "User": "Defnyddiwr",
"Features" : "Nodweddion", "Features" : "Nodweddion",
"Article": "Erthygl", "Article": "Erthygl",
"Create an article": "Creu erthygl" "Create an article": "Creu erthygl",
"Settings": "Gosodiadau"
} }

View File

@ -324,5 +324,6 @@
"User": "Nutzerin", "User": "Nutzerin",
"Features" : "Eigenschaften", "Features" : "Eigenschaften",
"Article": "Artikel", "Article": "Artikel",
"Create an article": "Erstellen Sie einen Artikel" "Create an article": "Erstellen Sie einen Artikel",
"Settings": "Einstellungen"
} }

View File

@ -324,5 +324,6 @@
"User": "User", "User": "User",
"Features" : "Features", "Features" : "Features",
"Article": "Article", "Article": "Article",
"Create an article": "Create an article" "Create an article": "Create an article",
"Settings": "Settings"
} }

View File

@ -324,5 +324,6 @@
"User": "Usuaria", "User": "Usuaria",
"Features" : "Caracteristicas", "Features" : "Caracteristicas",
"Article": "Artículo", "Article": "Artículo",
"Create an article": "Crea un articulo" "Create an article": "Crea un articulo",
"Settings": "Configuraciones"
} }

View File

@ -324,5 +324,6 @@
"User": "Utilisatrice", "User": "Utilisatrice",
"Features" : "Traits", "Features" : "Traits",
"Article": "Article", "Article": "Article",
"Create an article": "Créer un article" "Create an article": "Créer un article",
"Settings": "Réglages"
} }

View File

@ -324,5 +324,6 @@
"User": "Úsáideoir", "User": "Úsáideoir",
"Features" : "Gnéithe", "Features" : "Gnéithe",
"Article": "Airteagal", "Article": "Airteagal",
"Create an article": "Cruthaigh alt" "Create an article": "Cruthaigh alt",
"Settings": "Socruithe"
} }

View File

@ -324,5 +324,6 @@
"User": "उपयोगकर्ता", "User": "उपयोगकर्ता",
"Features" : "विशेषताएं", "Features" : "विशेषताएं",
"Article": "लेख", "Article": "लेख",
"Create an article": "एक लेख बनाएँ" "Create an article": "एक लेख बनाएँ",
"Settings": "समायोजन"
} }

View File

@ -324,5 +324,6 @@
"User": "Utente", "User": "Utente",
"Features" : "Caratteristiche", "Features" : "Caratteristiche",
"Article": "Articolo", "Article": "Articolo",
"Create an article": "Crea un articolo" "Create an article": "Crea un articolo",
"Settings": "impostazioni"
} }

View File

@ -324,5 +324,6 @@
"User": "ユーザー", "User": "ユーザー",
"Features" : "特徴", "Features" : "特徴",
"Article": "論文", "Article": "論文",
"Create an article": "記事を作成する" "Create an article": "記事を作成する",
"Settings": "設定"
} }

View File

@ -320,5 +320,6 @@
"User": "User", "User": "User",
"Features" : "Features", "Features" : "Features",
"Article": "Article", "Article": "Article",
"Create an article": "Create an article" "Create an article": "Create an article",
"Settings": "Settings"
} }

View File

@ -324,5 +324,6 @@
"User": "Do utilizador", "User": "Do utilizador",
"Features" : "Recursos", "Features" : "Recursos",
"Article": "Artigo", "Article": "Artigo",
"Create an article": "Crie um artigo" "Create an article": "Crie um artigo",
"Settings": "Definições"
} }

View File

@ -324,5 +324,6 @@
"User": "Пользователь", "User": "Пользователь",
"Features" : "особенности", "Features" : "особенности",
"Article": "Статья", "Article": "Статья",
"Create an article": "Создать статью" "Create an article": "Создать статью",
"Settings": "Настройки"
} }

View File

@ -324,5 +324,6 @@
"User": "用户", "User": "用户",
"Features" : "特征", "Features" : "特征",
"Article": "文章", "Article": "文章",
"Create an article": "建立文章" "Create an article": "建立文章",
"Settings": "设定值"
} }

View File

@ -6415,9 +6415,13 @@ def headerButtonsTimeline(defaultTimeline: str,
if newsHeader: if newsHeader:
tlStr += \ tlStr += \
' <a href="' + usersPath + '/inbox' + \ ' <a href="' + usersPath + '/inbox">' + \
'"><button class="button">' + \ '<button class="button">' + \
'<span>' + translate['User'] + '</span></button></a>\n' '<span>' + translate['User'] + '</span></button></a>\n'
tlStr += \
' <a href="' + usersPath + '/editprofile">' + \
'<button class="button">' + \
'<span>' + translate['Settings'] + '</span></button></a>\n'
# the newswire button to show right column links # the newswire button to show right column links
if not iconsAsButtons: if not iconsAsButtons: