commit 78ab509961f833a402c421032f42cfd58fb49645 Author: Piotr Drąg piotrdrag@gmail.com Date: Wed Jun 30 11:55:37 2010 +0200
Try to fix Translating_Wiki.xml formatting
en-US/Translating_Wiki.xml | 39 ++++++++++++++++++--------------------- 1 files changed, 18 insertions(+), 21 deletions(-) --- diff --git a/en-US/Translating_Wiki.xml b/en-US/Translating_Wiki.xml index 2a0faa6..51fc2e1 100644 --- a/en-US/Translating_Wiki.xml +++ b/en-US/Translating_Wiki.xml @@ -8,61 +8,58 @@ The <ulink url="http://fedoraproject.org/wiki">Fedora Wiki</ulink> is the repository for project-related information. Some of these pages may need to be translated in order to better serve the Fedora community. This chapter will explain, step-by-step, the proper method of translating a wiki page. </para> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Find_the_English_version_of_the_page"> - <title>Find the English version of the page</title> + <title>Find the English Version of the Page</title> <para> English is the base language for the Fedora Project wiki, so there needs to be an English version of the page you are working on. (If there isn't an English version of the page you are working on, see Handling translations without an English version below.) </para> <para> - If there is already a language template at the top of that page, click <command>[edit]</command> on the right side of the language box and move to step 4; otherwise, continue to step 2. + If there is already a language template at the top of that page, click <guibutton>edit</guibutton> on the right side of the language box and move to step 4; otherwise, continue to step 2. </para> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Find_the_English_version_of_the_page-Handling_translations_without_an_English_version"> - <title>Handling translations without an English version</title> + <title>Handling Translations Without an English Version</title> <para> - If the page you create doesn't have an English version, create a new page for the English version, add the {{template|autolang}} template as noted above, and then add the {{template|needs english}} template. This will flag the page for needing an English translation as well as create a base page. + If the page you create doesn't have an English version, create a new page for the English version, add the <code>{{template|autolang}}</code> template as noted above, and then add the <code>{{template|needs english}}</code> template. This will flag the page for needing an English translation as well as create a base page. </para> </section> </section> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Add_the_language_template_to_the_English_page"> - <title>Add the language template to the English page</title> + <title>Add the Language Template to the English Page</title> <para> - Edit the English page, and at the top of it, add the {{template|autolang}} template: - - <command>{{autolang|base=yes}}</command> - -The <code>base=yes</code> part is ''required'' for the English page. Save the page. + Edit the English page, and at the top of it, add the <code>{{template|autolang}}</code> template: + <screen><command>{{autolang|base=yes}}</screen></command> +The <code>base=yes</code> part is <emphasis>required</emphasis> for the English page. Save the page. </para> </section> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Create_the_language_template"> - <title>Create the language template</title> + <title>Create the Language Template</title> <para> - The {{template|autolang}} autolang template should provide a link for you to set up the language box. Click it, and an edit page will come up. ''Don't change any of the content'' and save the page. Then click the <command>[edit]</command> link on the right side of the language box. + The {{template|autolang}} autolang template should provide a link for you to set up the language box. Click it, and an edit page will come up. <emphasis>Don't change any of the content</emphasis> and save the page. Then click the <guibutton>edit</guibutton> link on the right side of the language box. </para> </section> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Add_your_language_to_the_template"> - <title>Add your language to the template</title> + <title>Add Your Language to the Template</title> <para> At this point you should have an edit box open with template syntax that looks similar to this: - <command>{{lang|en|page=''Base page name''}}</command> </para> <para> - The text between <code>lang</code> and <code>page=</code> is the list of language codes. Add the language code that you are translating to this list. Use [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php?v... this list] to determine the proper MediaWiki language code. + The text between <code>lang</code> and <code>page=</code> is the list of language codes. Add the language code that you are translating to this list. Use <ulink url="http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php?view=markup">this list</a> to determine the proper MediaWiki language code. </para> - <note><title>Please keep the list alphabetical</title> + <note><title>Please Keep the List Alphabetical</title> <para>Keep the list of language codes alphabetical by code. This means German (de) should come before English (en), for example.</para> </note> </section> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Start_the_new_page"> - <title>Start the new page</title> + <title>Start the New Page</title> <para> - Click on the red link for your language to start the new page. Insert the template <code><command>{{autolang}}</command></code> at the top of your page, so that the list of languages is there. ''Be certain to not include "base=yes" in the template for non-English subpages.'' + Click on the red link for your language to start the new page. Insert the template <code>{{autolang}}</code> at the top of your page, so that the list of languages is there. <emphasis>Be certain to not include <code>base=yes</code> in the template for non-English subpages.</emphasis> </para> </section> <section id="sect-Translation_Quick_Start_Guide-Translating_Wiki-Start_the_new_page-Moving_pages"> - <title>Moving pages from the old translation setup</title> + <title>Moving Pages From the Old Translation Setup</title> <para> - For translated pages that aren't in the proper place, follow steps 1-4 above. Then, copy the title of the new page (e.g., "Fedora Project Wiki/de"). Click the "move" button at the top of the old page and paste the new page name in the "to new title" field. Edit the new page and add <code><command>{{autolang}}</command></code> to the top. + For translated pages that aren't in the proper place, follow steps 1-4 above. Then, copy the title of the new page (e.g. "Fedora Project Wiki/de"). Click the <guibutton>move</guibutton> link at the top of the old page and paste the new page name in the "to new title" field. Edit the new page and add <code>{{autolang}}</code> to the top. </para> </section> - + </chapter>
docs-commits@lists.fedoraproject.org