Subversion Repositories svn LFS-FR

Compare Revisions

Ignore whitespace Rev 7128 → Rev 7129

/branches/BLFS_po_dev/general/genlib/js2.po
10,10 → 10,10
"PO-Revision-Date: 2016-08-14 15:58+0000\n"
"Last-Translator: system user <>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Pootle 2.7\n"
"X-POOTLE-MTIME: 1471190288.000000\n"
31,17 → 31,17
#. type: Content of the JS2-size entity
#: blfs-en/general/genlib/js2.xml:11
msgid "15 MB"
msgstr "15 Mio"
msgstr "15 Mo"
 
#. type: Content of the JS2-buildsize entity
#: blfs-en/general/genlib/js2.xml:12
msgid "1.8 GB"
msgstr "1.8 Gio"
msgstr "1.8 Go"
 
#. type: Content of the JS2-time entity
#: blfs-en/general/genlib/js2.xml:13
msgid "4.2 SBU (additional 1.6 SBU for the tests)"
msgstr ""
msgstr "4.2 SBuo (1.6 SBU supplémentaires pour les tests)"
 
#. type: Content of: <sect1><sect1info>
#: blfs-en/general/genlib/js2.xml:20
49,6 → 49,8
"<othername>$LastChangedBy: ken $</othername> <date>$Date: 2016-02-27 "
"04:14:42 +0100 (sam. 27 févr. 2016) $</date>"
msgstr ""
"<othername>$LastChangedBy: ken $</othername> <date>$Date: 2016-02-27 "
"04:14:42 +0100 (sam. 27 févr. 2016) $</date>"
 
#. type: Content of: <sect1><title>
#: blfs-en/general/genlib/js2.xml:24
63,7 → 65,7
#. type: Content of: <sect1><sect2><title>
#: blfs-en/general/genlib/js2.xml:31
msgid "Introduction to JS"
msgstr ""
msgstr "Introduction à JS"
 
#. type: Content of: <sect1><sect2><para>
#: blfs-en/general/genlib/js2.xml:34
176,6 → 178,16
" --with-system-nspr &amp;&amp;\n"
"make</userinput>"
msgstr ""
"<userinput>cd js/src &amp;&amp;\n"
"\n"
"sed -i 's/(defined\\((@TEMPLATE_FILE)\\))/\\1/' config/milestone.pl &amp;&amp;\n"
"\n"
"./configure --prefix=/usr \\\n"
" --enable-readline \\\n"
" --enable-threadsafe \\\n"
" --with-system-ffi \\\n"
" --with-system-nspr &amp;&amp;\n"
"make</userinput>"
 
#. type: Content of: <sect1><sect2><para>
#: blfs-en/general/genlib/js2.xml:120
200,6 → 212,11
" /usr/lib/pkgconfig/mozjs-24.pc \\\n"
" -type f -exec chmod -v 644 {} \\;</userinput>"
msgstr ""
"<userinput>make install &amp;&amp;\n"
"find /usr/include/mozjs-24/ \\\n"
" /usr/lib/libmozjs-24.a \\\n"
" /usr/lib/pkgconfig/mozjs-24.pc \\\n"
" -type f -exec chmod -v 644 {} \\;</userinput>"
 
#. type: Content of: <sect1><sect2><title>
#: blfs-en/general/genlib/js2.xml:137
/branches/BLFS_po_dev/tools/templatetranslator.py
28,8 → 28,8
except:
x=1
entry.msgstr = msgstr
if "fuzzy" in entry.flags:
entry.flags.remove("fuzzy")
#if "fuzzy" in entry.flags:
# entry.flags.remove("fuzzy")
 
 
 
39,10 → 39,10
# find an MD5 sum
regexps.append([re.compile('([a-f0-9]{32})$'), '#1'])
# convert KB to Ko, MB to Mo and GB to Go, and keep SBU
regexps.append([re.compile('([0-9\\.]+) KB$'), '#1 Ko'])
regexps.append([re.compile('([0-9\\.]+) MB$'), '#1 Mo'])
regexps.append([re.compile('([0-9\\.]+) GB$'), '#1 Go'])
regexps.append([re.compile('([0-9\\.]+) ([KMG])B$'), '#1 #2o'])
regexps.append([re.compile('([0-9\\.]+) ([KMG])B \(additional ([0-9\\.]+) ([KMG])B for the tests\)$'), '#1 #2o (#3 #4o supplémentaires pour les tests)'])
regexps.append([re.compile('([0-9\\.]+) SBU$'), '#1 SBU'])
regexps.append([re.compile('([0-9\\.]+) SBU \(additional ([0-9\\.]+) SBU for the tests\)$'), '#1 SBuo (#2 SBU supplémentaires pour les tests)'])
regexps.append([re.compile('less than 0.1 SBU$'), 'moins de 0.1 SBU'])
# termes à gauche des informations
regexps.append([re.compile('Package Information$'), 'Informations sur le paquet'])
71,13 → 71,19
regexps.append([re.compile('Short Descriptions$'), 'Descriptions courtes'])
# phrases récurrentes
regexps.append([re.compile('Install (.*) by running the following commands:$'), 'Installez #1 en lançant les commandes suivantes&nbsp;:'])
regexps.append([re.compile('(<userinput>.*</userinput>)$'), '#1'])
regexps.append([re.compile('(<userinput>.*</userinput>)$', re.MULTILINE|re.DOTALL), '#1'])
regexps.append([re.compile('(<literal>.*</literal>)$', re.MULTILINE|re.DOTALL), '#1'])
regexps.append([re.compile('(<computeroutput>.*</computeroutput>)$', re.MULTILINE|re.DOTALL), '#1'])
regexps.append([re.compile('Now, as the (.*) user:$'), 'Maintenant, en tant qu\'utilisateur #1&nbsp;:'])
regexps.append([re.compile('To test the results, issue: (<command>.*</command>).$'), 'Pour tester les résultats lancez&nbsp;: #1.'])
regexps.append([re.compile('This package does not come with a test suite.$'), 'Ce paquet n\'est pas fourni avec une suite de tests.'])
regexps.append([re.compile('Additional Downloads$'), 'Téléchargements supplémentaires'])
regexps.append([re.compile('Required patch: (.*)$'), 'Correctif requis&nbsp;: #1'])
regexps.append([re.compile('(<othername>.*)$'), '#1'])
regexps.append([re.compile('Introduction to (.*)$'), 'Introduction à #1'])
regexps.append([re.compile('(<xref [^>]>)$'), '#1'])
 
 
#regexps.append([re.compile('$'), ''])
 
number = len(files)
93,3 → 99,4
convert(entry, reg[0], reg[1])
po.save()
print('')