diff options
author | Andre Klapper <a9016009@gmx.de> | 2013-04-20 02:21:54 +0800 |
---|---|---|
committer | Andre Klapper <a9016009@gmx.de> | 2013-04-20 02:21:54 +0800 |
commit | 431e33b94600997be144cfa1cab1730f625f10f2 (patch) | |
tree | fedc50dae47eee3a98439f4ffdd75c83dac15dad /help | |
parent | c9eef2346546a3dd437210bff18e26b6551b2624 (diff) | |
download | gsoc2013-evolution-431e33b94600997be144cfa1cab1730f625f10f2.tar.gz gsoc2013-evolution-431e33b94600997be144cfa1cab1730f625f10f2.tar.zst gsoc2013-evolution-431e33b94600997be144cfa1cab1730f625f10f2.zip |
User docs: Use XInclude for common Account Identity section to avoid string duplication
Diffstat (limited to 'help')
-rw-r--r-- | help/C/mail-account-manage-imap-plus.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-local-delivery.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-maildir-format-directories.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-mh-format-directories.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-microsoft-exchange-evo-ews.page | 12 | ||||
-rw-r--r-- | help/C/mail-account-manage-microsoft-exchange-evo-mapi.page | 12 | ||||
-rw-r--r-- | help/C/mail-account-manage-pop.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-unix-mbox-spool-directory.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-unix-mbox-spool-file.page | 11 | ||||
-rw-r--r-- | help/C/mail-account-manage-usenet-news.page | 11 | ||||
-rw-r--r-- | help/C/xinclude-mail-account-identity.xml | 9 |
11 files changed, 59 insertions, 62 deletions
diff --git a/help/C/mail-account-manage-imap-plus.page b/help/C/mail-account-manage-imap-plus.page index 3bd4c8ddad..3df0d13bdb 100644 --- a/help/C/mail-account-manage-imap-plus.page +++ b/help/C/mail-account-manage-imap-plus.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq> or by right-clicking on the respective top-level node in the folder list and choosing <gui>Properties</gui>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-local-delivery.page b/help/C/mail-account-manage-local-delivery.page index 22ac417e73..a1739edc6d 100644 --- a/help/C/mail-account-manage-local-delivery.page +++ b/help/C/mail-account-manage-local-delivery.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-maildir-format-directories.page b/help/C/mail-account-manage-maildir-format-directories.page index 71dfe14b3d..f1382d2a1c 100644 --- a/help/C/mail-account-manage-maildir-format-directories.page +++ b/help/C/mail-account-manage-maildir-format-directories.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-mh-format-directories.page b/help/C/mail-account-manage-mh-format-directories.page index 0f184e970f..9662ea623a 100644 --- a/help/C/mail-account-manage-mh-format-directories.page +++ b/help/C/mail-account-manage-mh-format-directories.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-microsoft-exchange-evo-ews.page b/help/C/mail-account-manage-microsoft-exchange-evo-ews.page index 963285ba89..c1c4f59a03 100644 --- a/help/C/mail-account-manage-microsoft-exchange-evo-ews.page +++ b/help/C/mail-account-manage-microsoft-exchange-evo-ews.page @@ -21,17 +21,15 @@ <section id="account-editor"> <title>Account Editor</title> - <p>Mail accounts can be added by choosing <guiseq><gui>File</gui><gui>New</gui><gui>Mail Account</gui></guiseq> or via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Add</gui></guiseq>. The steps are mostly the same as for the <link xref="intro-first-run">First-Run Assistant</link>, except for not getting asked whether to import data from other applications or to restore from a backup file.</p> <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq> or by right-clicking on the respective top-level node in the folder list and choosing <gui>Properties</gui>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-microsoft-exchange-evo-mapi.page b/help/C/mail-account-manage-microsoft-exchange-evo-mapi.page index b7ad08836f..c4de5ab93b 100644 --- a/help/C/mail-account-manage-microsoft-exchange-evo-mapi.page +++ b/help/C/mail-account-manage-microsoft-exchange-evo-mapi.page @@ -21,17 +21,15 @@ <section id="account-editor"> <title>Account Editor</title> - <p>Mail accounts can be added by choosing <guiseq><gui>File</gui><gui>New</gui><gui>Mail Account</gui></guiseq> or via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Add</gui></guiseq>. The steps are mostly the same as for the <link xref="intro-first-run">First-Run Assistant</link>, except for not getting asked whether to import data from other applications or to restore from a backup file.</p> <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq> or by right-clicking on the respective top-level node in the folder list and choosing <gui>Properties</gui>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-pop.page b/help/C/mail-account-manage-pop.page index 9264a1ba5b..eab31011f9 100644 --- a/help/C/mail-account-manage-pop.page +++ b/help/C/mail-account-manage-pop.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-unix-mbox-spool-directory.page b/help/C/mail-account-manage-unix-mbox-spool-directory.page index 31bf4bd5d9..2792956a96 100644 --- a/help/C/mail-account-manage-unix-mbox-spool-directory.page +++ b/help/C/mail-account-manage-unix-mbox-spool-directory.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-unix-mbox-spool-file.page b/help/C/mail-account-manage-unix-mbox-spool-file.page index 17ac7ecebb..3670d86b9e 100644 --- a/help/C/mail-account-manage-unix-mbox-spool-file.page +++ b/help/C/mail-account-manage-unix-mbox-spool-file.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/mail-account-manage-usenet-news.page b/help/C/mail-account-manage-usenet-news.page index 632ab7e8d1..702a9ab57c 100644 --- a/help/C/mail-account-manage-usenet-news.page +++ b/help/C/mail-account-manage-usenet-news.page @@ -25,12 +25,11 @@ <p>Mail accounts can be edited via <guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Mail Accounts</gui><gui style="button">Edit</gui></guiseq> or by right-clicking on the respective top-level node in the folder list and choosing <gui>Properties</gui>.</p> <p>The following settings are available when editing an existing account:</p> -<section id="identity"> -<title>Identity</title> -<!-- TODO:XINCLUDE: Quite ugly to copy this text into all account type's, but it's not really worth a separate topic page for it, plus it would make the intro-first-run.page even more complex. Maybe later replace this text by a single instance by doing some content sharing with xinclude and xpointer in the other mail-account-manage-*.page files and in intro-first-run.page. <include href="foo.xml" xmlns="http://www.w3.org/2001/XInclude"/> See gnome-user-docs module for example usage. Also see https://bugzilla.gnome.org/show_bug.cgi?id=638866 --> -<p>Here you define your name and your email address.</p> -<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> -</section> +<!-- As the "Identity" section is identical in all account pages, it is centrally in one file included +via XInclude. See +http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. --> +<include href="xinclude-mail-account-identity.xml" + xpointer="xmlns(mal=http://projectmallard.org/1.0/)xpointer(/mal:info/mal:section)" + xmlns="http://www.w3.org/2001/XInclude"/> <section id="receiving-email"> <title>Receiving Email and Receiving options</title> diff --git a/help/C/xinclude-mail-account-identity.xml b/help/C/xinclude-mail-account-identity.xml new file mode 100644 index 0000000000..e1811e7e9f --- /dev/null +++ b/help/C/xinclude-mail-account-identity.xml @@ -0,0 +1,9 @@ +<info xmlns="http://projectmallard.org/1.0/"> + +<section id="identity"> +<title>Identity</title> +<p>Here you define your name and your email address.</p> +<p>Optionally you can make this account your default account (e.g. when writing emails), set a Reply-To email address (if you want replies to messages sent to a different address), and set an organization (the company where you work, or the organization you represent when you send email from this account).</p> +</section> + +</info> |