From aaec2794ad44dd86e5aee828e03d9cb15e2a9e06 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Mon, 10 Feb 2025 22:21:46 +0000 Subject: [PATCH] Adjust two translatable strings --- generate_home_tmpl.py | 6 +++--- lang/C/messages.pot | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/generate_home_tmpl.py b/generate_home_tmpl.py index 8de4bac..5d85782 100644 --- a/generate_home_tmpl.py +++ b/generate_home_tmpl.py @@ -44,7 +44,7 @@ str_box2 = _("Friendica is Free Software, licensed under the terms of the str_header3 = _("Decentralization") str_box3 = _("Decentralized architecture with no central authority or ownership. Relationships can be made across any compatible system, creating a network of Internet scale made up of smaller sites. Seamless wall-to-wall posts and remote comments, even across different network nodes.") str_header4 = _("Interoperability") -str_box4 = _("Friendica has build in support for the ActivityPub (e.g. Hubzilla, Mastodon, Pleroma, Pixelfed, Socialhome), OStatus (e.g. GNU social) and diaspora* (e.g. diaspora*) protocol. With additional addons you can bridge to more networks like pump.io, Twitter and others.") +str_box4 = _("Friendica has built-in support for the ActivityPub (e.g. Hubzilla, Mastodon, Pleroma, Pixelfed, Socialhome), OStatus (e.g. GNU social) and diaspora* (e.g. diaspora*) protocols. With additional addons you can bridge to more networks like pump.io, Twitter and others.") # we don't need the dummy anymore del _ @@ -64,7 +64,7 @@ for lng in translations: l = gettext.translation(domain=myDomain, localedir=fn, languages=[lng]) languages[lng] = l # for the beginning and ending of the if ... else if ... else cascade -ifelse = {0: '\n{{if eq .Lang "{{lngcode}}"}}\n', count: '\n{{else}}\n'} +ifelse = {0: '\n{{if eq .Lang "{{lngcode}}"}}\n', count: '\n{{else}}\n'} # The icons from font awesome used for the four info box titles icons = {'ul' : '', 'ur' : '', @@ -117,7 +117,7 @@ templateFooter = """ """ # templates and preparation done, generate the home.tmpl file containing all ready languages -with open('custom/templates/home.tmpl', mode='w', encoding='utf-8') as outFile: +with open('custom/templates/home.tmpl', mode='w', encoding='utf-8') as outFile: outFile.write(templateHead) if count: for i in range(count+1): diff --git a/lang/C/messages.pot b/lang/C/messages.pot index 71207d2..fdfba4a 100644 --- a/lang/C/messages.pot +++ b/lang/C/messages.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2020-08-18 18:15+CEST\n" +"POT-Creation-Date: 2025-02-10 22:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -48,6 +48,6 @@ msgid "Interoperability" msgstr "" #: generate_home_tmpl.py:47 -msgid "Friendica has build in support for the ActivityPub (e.g. Hubzilla, Mastodon, Pleroma, Pixelfed, Socialhome), OStatus (e.g. GNU social) and diaspora* (e.g. diaspora*) protocol. With additional addons you can bridge to more networks like pump.io, Twitter and others." +msgid "Friendica has built-in support for the ActivityPub (e.g. Hubzilla, Mastodon, Pleroma, Pixelfed, Socialhome), OStatus (e.g. GNU social) and diaspora* (e.g. diaspora*) protocols. With additional addons you can bridge to more networks like pump.io, Twitter and others." msgstr ""