Edgewall Software

Changeset 8108


Ignore:
Timestamp:
Apr 13, 2009, 6:52:57 PM (14 years ago)
Author:
Christian Boos
Message:

i18n: error page fixes (among other things, make the text gender neutral, #7767).

This also highlights a problem with the Genshi message extraction (#G299).

Location:
trunk/trac
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/trac/locale/fr_FR/LC_MESSAGES/messages.po

    r8107 r8108  
    1111"Report-Msgid-Bugs-To: trac-dev@googlegroups.com\n"
    1212"POT-Creation-Date: 2007-08-15 09:47+0200\n"
    13 "PO-Revision-Date: 2009-04-13 18:28+0200\n"
     13"PO-Revision-Date: 2009-04-13 18:50+0200\n"
    1414"Last-Translator: Christian Boos <cboos@neuf.fr>\n"
    1515"Language-Team: fr_FR <trac-dev@googlegroups.com>\n"
     
    116116#: trac/admin/templates/admin_milestones.html:100
    117117#: trac/admin/templates/admin_versions.html:77 trac/templates/about.html:68
    118 #: trac/templates/error.html:167 trac/ticket/admin.py:181
     118#: trac/templates/error.html:166 trac/ticket/admin.py:181
    119119#: trac/ticket/admin.py:356 trac/ticket/admin.py:509
    120120msgid "Name"
     
    15221522msgstr "Section"
    15231523
    1524 #: trac/templates/about.html:69 trac/templates/error.html:167
     1524#: trac/templates/about.html:69 trac/templates/error.html:166
    15251525msgid "Value"
    15261526msgstr "Valeur"
     
    17391739#: trac/templates/error.html:106
    17401740msgid ""
    1741 "There was an internal error in Trac. It is recommended\n"
    1742 "              that you inform your local"
    1743 msgstr ""
    1744 "Une erreur interne s'est produite dans Trac. Il est recommandé d'en\n"
    1745 "              informer votre"
    1746 
    1747 #: trac/templates/error.html:108
    1748 msgid ""
    1749 "Trac\n"
    1750 "              administrator"
    1751 msgstr ""
    1752 "Trac\n"
    1753 "              administrateur"
    1754 
    1755 #: trac/templates/error.html:109
    1756 msgid ""
    1757 "and give him all the information he needs to\n"
    1758 "              reproduce the issue."
    1759 msgstr ""
    1760 "local et de lui fournir toutes les informations dont il aura besoin pour\n"
    1761 "              reproduire ce problème."
     1741"There was an internal error in Trac. \n"
     1742"                It is recommended that you notify your local \n"
     1743"                [1:\n"
     1744"                    Trac administrator] with the information needed to \n"
     1745"                reproduce the issue."
     1746msgstr ""
     1747"Une erreur interne est survenue dans Trac. \n"
     1748"                Il est recommandé que vous en informiez votre \n"
     1749"                [1:Administrateur(trice) Trac] en lui fournissant tout \n"
     1750"                renseignement lui permettant de reproduire ce problème."
    17621751
    17631752#: trac/templates/error.html:114
     
    17761765msgid "This is probably a local installation issue."
    17771766msgstr ""
     1767"Il est possible que ce ne soit qu'un problème lié à l'installation de "
     1768"Trac."
    17781769
    17791770#: trac/templates/error.html:122
    17801771msgid "You should"
    1781 msgstr ""
     1772msgstr "Vous devriez"
    17821773
    17831774#: trac/templates/error.html:123
     
    17911782#: trac/templates/error.html:128
    17921783msgid "Found a bug in Trac?"
    1793 msgstr ""
     1784msgstr "Vous avez découvert un bug dans Trac ?"
    17941785
    17951786#: trac/templates/error.html:129
     
    18031794
    18041795#: trac/templates/error.html:131
    1805 msgid ""
    1806 "Before you do that, though, [1:please first try\n"
    1807 "                [2:searching]\n"
     1796msgid "Before you do that, though, please first try"
     1797msgstr "IGNORE: partial extraction - see below"
     1798
     1799#: trac/templates/error.html:132
     1800msgid "searching"
     1801msgstr "IGNORE: partial extraction - see below"
     1802
     1803#: trac/templates/error.html:132
     1804msgid "for similar issues"
     1805msgstr "IGNORE: partial extraction - see below"
     1806
     1807#: trac/templates/error.html:133
     1808msgid ""
     1809", as it is quite likely that this problem\n"
     1810"                has been reported before. For questions about "
     1811"installation\n"
     1812"                and configuration of Trac, please try the"
     1813msgstr "IGNORE: partial extraction - see below"
     1814
     1815#: trac/templates/error.html:136
     1816msgid "mailing list"
     1817msgstr "IGNORE: partial extraction - see below"
     1818
     1819#: trac/templates/error.html:136
     1820msgid "instead of filing a ticket."
     1821msgstr "IGNORE: partial extraction - see below"
     1822
     1823#: trac/templates/error.html:131
     1824msgid ""
     1825"Before you do that, though, please first try\n"
     1826"                [1:[2:searching]\n"
    18081827"                for similar issues], as it is quite likely that this "
    18091828"problem\n"
     
    18141833"                instead of filing a ticket."
    18151834msgstr ""
    1816 
    1817 #: trac/templates/error.html:141
    1818 msgid "Otherwise, please"
    1819 msgstr "Sinon, merci de bien vouloir"
    1820 
    1821 #: trac/templates/error.html:141
    1822 msgid ""
    1823 "a new ticket at\n"
     1835"Avant de faire cela, [1:veuillez au préalable essayer de\n"
     1836"                [2:trouver]\n"
     1837"                d'éventuels rapports similaires], car il est probable que"
     1838" ce problème\n"
     1839"                ait déjà été reporté. Pour des questions concernant "
     1840"l'installation\n"
     1841"                et la configuration de Trac, veuillez utiliser la\n"
     1842"                [3:liste de diffusion]\n"
     1843"                plutôt que de créer un ticket."
     1844
     1845#: trac/templates/error.html:140
     1846#, python-format
     1847msgid ""
     1848"Otherwise, please %(create)s a new ticket at\n"
    18241849"                the Trac project site, where you can describe the problem"
    18251850" and\n"
    18261851"                explain how to reproduce it."
    18271852msgstr ""
    1828 "un nouveau ticket sur\n"
    1829 "le site du projet Trac, sur lequel vous pourrez décrire précisément le \n"
    1830 "problème et détailler comment le reproduire."
    1831 
    1832 #: trac/templates/error.html:146
     1853"Autrement, veuillez %(create)s un nouveau ticket sur\n"
     1854"le site du projet Trac, dans lequel vous pourrez décrire précisément le \n"
     1855"problème et expliquer comment le reproduire."
     1856
     1857#: trac/templates/error.html:145
    18331858msgid "Python Traceback"
    18341859msgstr "Pile d'appel Python"
    18351860
    1836 #: trac/templates/error.html:147
     1861#: trac/templates/error.html:146
    18371862msgid "Most recent call last:"
    18381863msgstr "L'appel le plus récent apparaît en dernier :"
    18391864
    1840 #: trac/templates/error.html:152 trac/templates/error.html:179
     1865#: trac/templates/error.html:151 trac/templates/error.html:178
    18411866msgid "File \""
    18421867msgstr "Fichier \""
    18431868
    1844 #: trac/templates/error.html:152
     1869#: trac/templates/error.html:151
    18451870msgid ""
    18461871"\",\n"
     
    18501875"                        ligne"
    18511876
    1852 #: trac/templates/error.html:153 trac/templates/error.html:179
     1877#: trac/templates/error.html:152 trac/templates/error.html:178
    18531878msgid ", in"
    18541879msgstr ", dans"
    18551880
    1856 #: trac/templates/error.html:157
     1881#: trac/templates/error.html:156
    18571882msgid "Code fragment:"
    18581883msgstr "Fragment du Code :"
    18591884
    1860 #: trac/templates/error.html:165
     1885#: trac/templates/error.html:164
    18611886msgid "Local variables:"
    18621887msgstr "Variables locales :"
    18631888
    1864 #: trac/templates/error.html:179
     1889#: trac/templates/error.html:178
    18651890msgid "\", line"
    18661891msgstr "\", ligne"
    18671892
    1868 #: trac/templates/error.html:182
     1893#: trac/templates/error.html:181
    18691894msgid "Switch to plain text view"
    18701895msgstr "Basculer en vue texte brut"
    18711896
    1872 #: trac/templates/error.html:185
     1897#: trac/templates/error.html:184
    18731898msgid "System Information:"
    18741899msgstr "Information Système :"
    18751900
    1876 #: trac/templates/error.html:197
     1901#: trac/templates/error.html:196
    18771902msgid "TracGuide"
    18781903msgstr "TracGuide"
    18791904
    1880 #: trac/templates/error.html:197
     1905#: trac/templates/error.html:196
    18811906msgid "— The Trac User and Administration Guide"
    18821907msgstr "- Manuel d'Utilisation et d'Administration de Trac"
  • trunk/trac/locale/messages.pot

    r8107 r8108  
    99"Project-Id-Version: Trac 0.12\n"
    1010"Report-Msgid-Bugs-To: trac-dev@googlegroups.com\n"
    11 "POT-Creation-Date: 2009-04-13 18:27+0200\n"
     11"POT-Creation-Date: 2009-04-13 18:44+0200\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    114114#: trac/admin/templates/admin_milestones.html:100
    115115#: trac/admin/templates/admin_versions.html:77 trac/templates/about.html:68
    116 #: trac/templates/error.html:167 trac/ticket/admin.py:181
     116#: trac/templates/error.html:166 trac/ticket/admin.py:181
    117117#: trac/ticket/admin.py:356 trac/ticket/admin.py:509
    118118msgid "Name"
     
    13481348msgstr ""
    13491349
    1350 #: trac/templates/about.html:69 trac/templates/error.html:167
     1350#: trac/templates/about.html:69 trac/templates/error.html:166
    13511351msgid "Value"
    13521352msgstr ""
     
    15551555#: trac/templates/error.html:106
    15561556msgid ""
    1557 "There was an internal error in Trac. It is recommended\n"
    1558 "              that you inform your local"
    1559 msgstr ""
    1560 
    1561 #: trac/templates/error.html:108
    1562 msgid ""
    1563 "Trac\n"
    1564 "              administrator"
    1565 msgstr ""
    1566 
    1567 #: trac/templates/error.html:109
    1568 msgid ""
    1569 "and give him all the information he needs to\n"
    1570 "              reproduce the issue."
     1557"There was an internal error in Trac. \n"
     1558"                It is recommended that you notify your local \n"
     1559"                [1:\n"
     1560"                    Trac administrator] with the information needed to \n"
     1561"                reproduce the issue."
    15711562msgstr ""
    15721563
     
    16081599
    16091600#: trac/templates/error.html:131
    1610 msgid ""
    1611 "Before you do that, though, [1:please first try\n"
    1612 "                [2:searching]\n"
     1601msgid "Before you do that, though, please first try"
     1602msgstr ""
     1603
     1604#: trac/templates/error.html:132
     1605msgid "searching"
     1606msgstr ""
     1607
     1608#: trac/templates/error.html:132
     1609msgid "for similar issues"
     1610msgstr ""
     1611
     1612#: trac/templates/error.html:133
     1613msgid ""
     1614", as it is quite likely that this problem\n"
     1615"                has been reported before. For questions about "
     1616"installation\n"
     1617"                and configuration of Trac, please try the"
     1618msgstr ""
     1619
     1620#: trac/templates/error.html:136
     1621msgid "mailing list"
     1622msgstr ""
     1623
     1624#: trac/templates/error.html:136
     1625msgid "instead of filing a ticket."
     1626msgstr ""
     1627
     1628#: trac/templates/error.html:131
     1629msgid ""
     1630"Before you do that, though, please first try\n"
     1631"                [1:[2:searching]\n"
    16131632"                for similar issues], as it is quite likely that this "
    16141633"problem\n"
     
    16201639msgstr ""
    16211640
    1622 #: trac/templates/error.html:141
    1623 msgid "Otherwise, please"
    1624 msgstr ""
    1625 
    1626 #: trac/templates/error.html:141
    1627 msgid ""
    1628 "a new ticket at\n"
     1641#: trac/templates/error.html:140
     1642#, python-format
     1643msgid ""
     1644"Otherwise, please %(create)s a new ticket at\n"
    16291645"                the Trac project site, where you can describe the problem"
    16301646" and\n"
     
    16321648msgstr ""
    16331649
     1650#: trac/templates/error.html:145
     1651msgid "Python Traceback"
     1652msgstr ""
     1653
    16341654#: trac/templates/error.html:146
    1635 msgid "Python Traceback"
    1636 msgstr ""
    1637 
    1638 #: trac/templates/error.html:147
    16391655msgid "Most recent call last:"
    16401656msgstr ""
    16411657
    1642 #: trac/templates/error.html:152 trac/templates/error.html:179
     1658#: trac/templates/error.html:151 trac/templates/error.html:178
    16431659msgid "File \""
    16441660msgstr ""
    16451661
    1646 #: trac/templates/error.html:152
     1662#: trac/templates/error.html:151
    16471663msgid ""
    16481664"\",\n"
     
    16501666msgstr ""
    16511667
    1652 #: trac/templates/error.html:153 trac/templates/error.html:179
     1668#: trac/templates/error.html:152 trac/templates/error.html:178
    16531669msgid ", in"
    16541670msgstr ""
    16551671
    1656 #: trac/templates/error.html:157
     1672#: trac/templates/error.html:156
    16571673msgid "Code fragment:"
    16581674msgstr ""
    16591675
    1660 #: trac/templates/error.html:165
     1676#: trac/templates/error.html:164
    16611677msgid "Local variables:"
    16621678msgstr ""
    16631679
    1664 #: trac/templates/error.html:179
     1680#: trac/templates/error.html:178
    16651681msgid "\", line"
    16661682msgstr ""
    16671683
    1668 #: trac/templates/error.html:182
     1684#: trac/templates/error.html:181
    16691685msgid "Switch to plain text view"
    16701686msgstr ""
    16711687
    1672 #: trac/templates/error.html:185
     1688#: trac/templates/error.html:184
    16731689msgid "System Information:"
    16741690msgstr ""
    16751691
    1676 #: trac/templates/error.html:197
     1692#: trac/templates/error.html:196
    16771693msgid "TracGuide"
    16781694msgstr ""
    16791695
    1680 #: trac/templates/error.html:197
     1696#: trac/templates/error.html:196
    16811697msgid "— The Trac User and Administration Guide"
    16821698msgstr ""
  • trunk/trac/templates/error.html

    r7826 r8108  
    104104          <py:choose>
    105105            <py:when test="'TRAC_ADMIN' not in perm">
    106               <p>There was an internal error in Trac. It is recommended
    107               that you inform your local
    108               <a py:strip="not project.admin" href="mailto:${project.admin}">Trac
    109               administrator</a> and give him all the information he needs to
    110               reproduce the issue.
     106              <p i18n:msg="">There was an internal error in Trac.
     107                It is recommended that you notify your local
     108                <a py:strip="not project.admin" href="mailto:${project.admin}">
     109                    Trac administrator</a> with the information needed to
     110                reproduce the issue.
    111111              </p>
    112112              <form py:if="project.admin_href"
     
    129129              <p>If you think this should work and you can reproduce the problem,
    130130              you should consider reporting this to the Trac team.</p>
    131               <p i18n:msg="">Before you do that, though, <strong>please first try
    132                 <a py:with="q = quote_plus(message[:80])"
    133                    href="${trac.homepage}search?ticket=yes&amp;noquickjump=1&amp;q=$q">searching</a>
     131              <p i18n:msg="" py:with="q = quote_plus(message[:80])">Before you do that, though, please first try
     132                <strong><a href="${trac.homepage}search?ticket=yes&amp;noquickjump=1&amp;q=$q">searching</a>
    134133                for similar issues</strong>, as it is quite likely that this problem
    135134                has been reported before. For questions about installation
     
    139138              </p>
    140139              <form class="newticket" method="get" action="${trac.homepage}newticket">
    141                 <p>Otherwise, please ${create_ticket(True)} a new ticket at
     140                <p i18n:msg="create">Otherwise, please ${create_ticket(True)} a new ticket at
    142141                the Trac project site, where you can describe the problem and
    143142                explain how to reproduce it.</p>
Note: See TracChangeset for help on using the changeset viewer.