# HG changeset patch # User Goffi # Date 1616247533 -3600 # Node ID 3693c662fa88f8ebbc7d71eb81371a5ed34e4682 # Parent cd448b877d1d9bdcbca2d2cfe1982f641ddbd79e core (menu): update "about" text following renaming diff -r cd448b877d1d -r 3693c662fa88 cagou/core/menu.py --- 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()