Commit c01ba5a6 authored by Michael Terry's avatar Michael Terry

Move the credits section from the help docs to the about dialog

parent d28d435a
Pipeline #201203 failed with stage
in 4 minutes and 34 seconds
......@@ -250,7 +250,14 @@ public class DejaDupApp : Gtk.Application
void about()
{
unowned List<Gtk.Window> list = get_windows();
string[] artists = {"Barbara Muraus <barbara.muraus@gmail.com>",
"Jakub Steiner <jimmac@novell.com>"};
string[] authors = {"Michael Terry <mike@mterry.name>"};
string[] documenters = {"Michael Terry <mike@mterry.name>"};
Gtk.show_about_dialog(list == null ? null : list.data,
"artists", artists,
"authors", authors,
"documenters", documenters,
"license-type", Gtk.License.GPL_3_0,
"logo-icon-name", Config.ICON_NAME,
"translator-credits", _("translator-credits"),
......
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-License-Identifier: CC-BY-SA-4.0
SPDX-FileCopyrightText: Michael Terry
-->
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:itst="http://itstool.org/extensions/"
its:version="2.0"
type="topic" style="tip"
id="credits">
<info>
<desc>Meet the team</desc>
<link type="guide" xref="index#about"/>
<its:rules xmlns:mal="http://projectmallard.org/1.0/">
<itst:credits appendTo="/mal:page/mal:section[@id='translation-credits']/mal:list">
<item its:translate="no"><p>
<itst:value-of select="name"/>
&lt;<itst:value-of select="email"/>&gt;,
<itst:value-of select="years"/>
</p></item>
</itst:credits>
</its:rules>
</info>
<title>Credits</title>
<section id="development-credits">
<title>Development</title>
<list>
<item its:translate="no"><p><link href="https://canonical.com/">Canonical Ltd</link></p></item>
<item its:translate="no"><p><link href="mailto:mike@mterry.name">Michael Terry</link></p></item>
</list>
</section>
<section id="art-credits">
<title>Art</title>
<list>
<item its:translate="no"><p><link href="mailto:barbara.muraus@gmail.com">Barbara Muraus</link></p></item>
<item its:translate="no"><p><link href="mailto:jimmac@novell.com">Jakub Steiner</link></p></item>
<item its:translate="no"><p><link href="mailto:mike@mterry.name">Michael Terry</link></p></item>
</list>
</section>
<section id="documentation-credits">
<title>Documentation</title>
<list>
<item its:translate="no"><p><link href="https://canonical.com/">Canonical Ltd</link></p></item>
<item its:translate="no"><p><link href="mailto:mike@mterry.name">Michael Terry</link></p></item>
</list>
</section>
<section id="translation-credits"><title>Translation</title><list></list></section>
</page>
......@@ -5,7 +5,6 @@
gnome.yelp(meson.project_name(),
sources: ['contribute.page',
'credits.page',
'index.page',
'license.page',
'prefs.page',
......@@ -15,8 +14,6 @@ gnome.yelp(meson.project_name(),
'support.page'],
symlink_media: true)
meson.add_install_script('post-install.sh', datadir)
validate_help_linguas = find_program('./validate-linguas')
test('help-linguas', validate_help_linguas,
env: ['LC_ALL=C.UTF-8'],
......
#!/bin/sh
# -*- Mode: sh; indent-tabs-mode: nil; tab-width: 2; coding: utf-8 -*-
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Michael Terry
datadir="$DESTDIR/$1"
# Drop the translation section from the non-translated help
sed -i 's/.*translator-credits.*//' "$datadir/help/C/deja-dup/credits.page"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment