changeset 467:3693c662fa88

core (menu): update "about" text following renaming
author Goffi <goffi@goffi.org>
date Sat, 20 Mar 2021 14:38:53 +0100
parents cd448b877d1d
children 8e42048649f7
files cagou/core/menu.py
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/menu.py	Sat Mar 20 14:26:33 2021 +0100
+++ b/cagou/core/menu.py	Sat Mar 20 14:38:53 2021 +0100
@@ -37,18 +37,18 @@
 
 log = logging.getLogger(__name__)
 
-ABOUT_TITLE = _("About {}".format(C.APP_NAME))
-ABOUT_CONTENT = _("""[b]Cagou (Salut à Toi)[/b]
+ABOUT_TITLE = _("About {}").format(C.APP_NAME)
+ABOUT_CONTENT = _("""[b]{app_name} ({app_name_alt})[/b]
 
-[u]cagou version[/u]:
+[u]{app_name} version[/u]:
 {version}
 
 [u]backend version[/u]:
 {backend_version}
 
-Cagou is a libre communication tool based on libre standard XMPP.
+{app_name} is a libre communication tool based on libre standard XMPP.
 
-Cagou is part of the "Salut à Toi" project (desktop/mobile frontend)
+{app_name} is part of the "Libervia" project ({app_component} frontend)
 more informations at [color=5500ff][ref=website]salut-a-toi.org[/ref][/color]
 """)
 
@@ -201,8 +201,12 @@
         about.title = ABOUT_TITLE
         about.content = AboutContent(
             text=ABOUT_CONTENT.format(
+                app_name = C.APP_NAME,
+                app_name_alt = C.APP_NAME_ALT,
+                app_component = C.APP_COMPONENT,
                 backend_version = G.host.backend_version,
-                version=G.host.version),
+                version=G.host.version
+            ),
             markup=True)
         about.open()