diff options
author | David Prévot <taffit> | 2011-12-23 23:02:35 +0000 |
---|---|---|
committer | David Prévot <taffit> | 2011-12-23 23:02:35 +0000 |
commit | 9ee38fe5c2a76e4593b19a5a677c26b318b872d0 (patch) | |
tree | e03493a41b9ec19808d72a2912ea7d69c179304d | |
parent | bcd6445a67da66a0d281dbde8b88c51b3ea2c486 (diff) |
Fix gettext stuff and update POT file; (fr) sync
CVS version numbers
stattrans.pl: 1.106 -> 1.107
english/po/stats.pot: 1.3 -> 1.4
french/po/stats.fr.po: 1.4 -> 1.5
-rw-r--r-- | english/po/stats.pot | 136 | ||||
-rw-r--r-- | french/po/stats.fr.po | 100 | ||||
-rwxr-xr-x | stattrans.pl | 2 |
3 files changed, 127 insertions, 111 deletions
diff --git a/english/po/stats.pot b/english/po/stats.pot index f36d09a84a0..e7513b65c24 100644 --- a/english/po/stats.pot +++ b/english/po/stats.pot @@ -9,7 +9,7 @@ msgid "This translation is too out of date" msgstr "" #: ../../stattrans.pl:205 -#: ../../stattrans.pl:389 +#: ../../stattrans.pl:390 msgid "Wrong translation version" msgstr "" @@ -18,7 +18,7 @@ msgid "The original is newer than this translation" msgstr "" #: ../../stattrans.pl:212 -#: ../../stattrans.pl:389 +#: ../../stattrans.pl:390 msgid "The original no longer exists" msgstr "" @@ -30,189 +30,197 @@ msgstr "" msgid "hit count N/A" msgstr "" -#: ../../stattrans.pl:481 +#: ../../stattrans.pl:389 +msgid "Click to fetch diffstat data" +msgstr "" + +#: ../../stattrans.pl:483 msgid "Translation summary for" msgstr "" -#: ../../stattrans.pl:484 +#: ../../stattrans.pl:486 msgid "Translated" msgstr "" -#: ../../stattrans.pl:484 -#: ../../stattrans.pl:557 -#: ../../stattrans.pl:626 -#: ../../stattrans.pl:672 -#: ../../stattrans.pl:715 +#: ../../stattrans.pl:486 +#: ../../stattrans.pl:560 +#: ../../stattrans.pl:629 +#: ../../stattrans.pl:675 +#: ../../stattrans.pl:718 msgid "Up to date" msgstr "" -#: ../../stattrans.pl:484 -#: ../../stattrans.pl:627 -#: ../../stattrans.pl:673 +#: ../../stattrans.pl:486 +#: ../../stattrans.pl:630 +#: ../../stattrans.pl:676 msgid "Outdated" msgstr "" -#: ../../stattrans.pl:484 -#: ../../stattrans.pl:628 -#: ../../stattrans.pl:674 -#: ../../stattrans.pl:717 +#: ../../stattrans.pl:486 +#: ../../stattrans.pl:631 +#: ../../stattrans.pl:677 +#: ../../stattrans.pl:720 msgid "Not translated" msgstr "" -#: ../../stattrans.pl:485 -#: ../../stattrans.pl:486 #: ../../stattrans.pl:487 #: ../../stattrans.pl:488 +#: ../../stattrans.pl:489 +#: ../../stattrans.pl:490 msgid "files" msgstr "" -#: ../../stattrans.pl:491 -#: ../../stattrans.pl:492 #: ../../stattrans.pl:493 #: ../../stattrans.pl:494 +#: ../../stattrans.pl:495 +#: ../../stattrans.pl:496 msgid "bytes" msgstr "" -#: ../../stattrans.pl:501 +#: ../../stattrans.pl:503 msgid "Note: the lists of pages are sorted by popularity. Hover over the page name to see the number of hits." msgstr "" -#: ../../stattrans.pl:506 +#: ../../stattrans.pl:508 msgid "Outdated translations" msgstr "" -#: ../../stattrans.pl:508 -#: ../../stattrans.pl:556 +#: ../../stattrans.pl:510 +#: ../../stattrans.pl:559 msgid "File" msgstr "" -#: ../../stattrans.pl:509 -#: ../../stattrans.pl:516 +#: ../../stattrans.pl:511 +#: ../../stattrans.pl:519 msgid "Translation" msgstr "" -#: ../../stattrans.pl:510 +#: ../../stattrans.pl:512 msgid "Origin" msgstr "" -#: ../../stattrans.pl:511 +#: ../../stattrans.pl:513 msgid "Comment" msgstr "" -#: ../../stattrans.pl:512 -#: ../../stattrans.pl:513 +#: ../../stattrans.pl:514 +msgid "Diffstat" +msgstr "" + +#: ../../stattrans.pl:515 +#: ../../stattrans.pl:516 msgid "Unified diff" msgstr "" -#: ../../stattrans.pl:512 -#: ../../stattrans.pl:513 +#: ../../stattrans.pl:515 +#: ../../stattrans.pl:516 msgid "Colored diff" msgstr "" -#: ../../stattrans.pl:514 +#: ../../stattrans.pl:517 msgid "Diff" msgstr "" -#: ../../stattrans.pl:515 +#: ../../stattrans.pl:518 msgid "Log" msgstr "" -#: ../../stattrans.pl:517 +#: ../../stattrans.pl:520 msgid "Maintainer" msgstr "" -#: ../../stattrans.pl:523 +#: ../../stattrans.pl:526 msgid "General pages not translated" msgstr "" -#: ../../stattrans.pl:524 +#: ../../stattrans.pl:527 msgid "Untranslated general pages" msgstr "" -#: ../../stattrans.pl:529 +#: ../../stattrans.pl:532 msgid "News items not translated" msgstr "" -#: ../../stattrans.pl:530 +#: ../../stattrans.pl:533 msgid "Untranslated news items" msgstr "" -#: ../../stattrans.pl:535 +#: ../../stattrans.pl:538 msgid "Consultant/user pages not translated" msgstr "" -#: ../../stattrans.pl:536 +#: ../../stattrans.pl:539 msgid "Untranslated consultant/user pages" msgstr "" -#: ../../stattrans.pl:541 +#: ../../stattrans.pl:544 msgid "International pages not translated" msgstr "" -#: ../../stattrans.pl:542 +#: ../../stattrans.pl:545 msgid "Untranslated international pages" msgstr "" -#: ../../stattrans.pl:547 +#: ../../stattrans.pl:550 msgid "Translated pages (up-to-date)" msgstr "" -#: ../../stattrans.pl:554 -#: ../../stattrans.pl:699 +#: ../../stattrans.pl:557 +#: ../../stattrans.pl:702 msgid "Translated templates (PO files)" msgstr "" -#: ../../stattrans.pl:555 -#: ../../stattrans.pl:702 +#: ../../stattrans.pl:558 +#: ../../stattrans.pl:705 msgid "PO Translation Statistics" msgstr "" -#: ../../stattrans.pl:558 -#: ../../stattrans.pl:716 +#: ../../stattrans.pl:561 +#: ../../stattrans.pl:719 msgid "Fuzzy" msgstr "" -#: ../../stattrans.pl:559 +#: ../../stattrans.pl:562 msgid "Untranslated" msgstr "" -#: ../../stattrans.pl:560 +#: ../../stattrans.pl:563 msgid "Total" msgstr "" -#: ../../stattrans.pl:577 +#: ../../stattrans.pl:580 msgid "Total:" msgstr "" -#: ../../stattrans.pl:589 -#: ../../stattrans.pl:740 +#: ../../stattrans.pl:592 +#: ../../stattrans.pl:743 msgid "Created with" msgstr "" -#: ../../stattrans.pl:606 +#: ../../stattrans.pl:609 msgid "Translated web pages" msgstr "" -#: ../../stattrans.pl:609 +#: ../../stattrans.pl:612 msgid "Translation Statistics by Page Count" msgstr "" -#: ../../stattrans.pl:624 -#: ../../stattrans.pl:670 -#: ../../stattrans.pl:714 +#: ../../stattrans.pl:627 +#: ../../stattrans.pl:673 +#: ../../stattrans.pl:717 msgid "Language" msgstr "" -#: ../../stattrans.pl:625 -#: ../../stattrans.pl:671 +#: ../../stattrans.pl:628 +#: ../../stattrans.pl:674 msgid "Translations" msgstr "" -#: ../../stattrans.pl:652 +#: ../../stattrans.pl:655 msgid "Translated web pages (by size)" msgstr "" -#: ../../stattrans.pl:655 +#: ../../stattrans.pl:658 msgid "Translation Statistics by Page Size" msgstr "" diff --git a/french/po/stats.fr.po b/french/po/stats.fr.po index 85354490228..1589cc800e7 100644 --- a/french/po/stats.fr.po +++ b/french/po/stats.fr.po @@ -35,7 +35,7 @@ msgstr "%d chaînes sont à traduire." msgid "This translation is too out of date" msgstr "Cette traduction est trop incomplète" -#: ../../stattrans.pl:205 ../../stattrans.pl:389 +#: ../../stattrans.pl:205 ../../stattrans.pl:390 msgid "Wrong translation version" msgstr "Mauvaise version de traduction" @@ -43,7 +43,7 @@ msgstr "Mauvaise version de traduction" msgid "The original is newer than this translation" msgstr "L'original est plus récent que sa traduction" -#: ../../stattrans.pl:212 ../../stattrans.pl:389 +#: ../../stattrans.pl:212 ../../stattrans.pl:390 msgid "The original no longer exists" msgstr "L'original n'existe plus" @@ -55,39 +55,43 @@ msgstr "Nombre de visites indisponible" msgid "hits" msgstr "visites" -#: ../../stattrans.pl:481 +#: ../../stattrans.pl:389 +msgid "Click to fetch diffstat data" +msgstr "Cliquer pour récupérer les statistiques du différentiel" + +#: ../../stattrans.pl:483 msgid "Translation summary for" msgstr "Vue globale des traductions pour la langue :" -#: ../../stattrans.pl:484 ../../stattrans.pl:628 ../../stattrans.pl:674 -#: ../../stattrans.pl:717 +#: ../../stattrans.pl:486 ../../stattrans.pl:631 ../../stattrans.pl:677 +#: ../../stattrans.pl:720 msgid "Not translated" msgstr "Non traduites" -#: ../../stattrans.pl:484 ../../stattrans.pl:627 ../../stattrans.pl:673 +#: ../../stattrans.pl:486 ../../stattrans.pl:630 ../../stattrans.pl:676 msgid "Outdated" msgstr "Incomplètes" -#: ../../stattrans.pl:484 +#: ../../stattrans.pl:486 msgid "Translated" msgstr "Traduites" -#: ../../stattrans.pl:484 ../../stattrans.pl:557 ../../stattrans.pl:626 -#: ../../stattrans.pl:672 ../../stattrans.pl:715 +#: ../../stattrans.pl:486 ../../stattrans.pl:560 ../../stattrans.pl:629 +#: ../../stattrans.pl:675 ../../stattrans.pl:718 msgid "Up to date" msgstr "À jour" -#: ../../stattrans.pl:485 ../../stattrans.pl:486 ../../stattrans.pl:487 -#: ../../stattrans.pl:488 +#: ../../stattrans.pl:487 ../../stattrans.pl:488 ../../stattrans.pl:489 +#: ../../stattrans.pl:490 msgid "files" msgstr "fichiers" -#: ../../stattrans.pl:491 ../../stattrans.pl:492 ../../stattrans.pl:493 -#: ../../stattrans.pl:494 +#: ../../stattrans.pl:493 ../../stattrans.pl:494 ../../stattrans.pl:495 +#: ../../stattrans.pl:496 msgid "bytes" msgstr "octets" -#: ../../stattrans.pl:501 +#: ../../stattrans.pl:503 msgid "" "Note: the lists of pages are sorted by popularity. Hover over the page name " "to see the number of hits." @@ -95,130 +99,134 @@ msgstr "" "Remarque : les listes de pages sont classées par popularité. Le nombre de " "visites apparaît lorsque le pointeur passe sur le nom de la page." -#: ../../stattrans.pl:506 +#: ../../stattrans.pl:508 msgid "Outdated translations" msgstr "Traductions incomplètes" -#: ../../stattrans.pl:508 ../../stattrans.pl:556 +#: ../../stattrans.pl:510 ../../stattrans.pl:559 msgid "File" msgstr "Fichier" -#: ../../stattrans.pl:509 ../../stattrans.pl:516 +#: ../../stattrans.pl:511 ../../stattrans.pl:519 msgid "Translation" msgstr "Traduction" -#: ../../stattrans.pl:510 +#: ../../stattrans.pl:512 msgid "Origin" msgstr "Original" -#: ../../stattrans.pl:511 +#: ../../stattrans.pl:513 msgid "Comment" msgstr "Commentaire" -#: ../../stattrans.pl:512 ../../stattrans.pl:513 +#: ../../stattrans.pl:514 +msgid "Diffstat" +msgstr "Statistiques du différentiel" + +#: ../../stattrans.pl:515 ../../stattrans.pl:516 msgid "Colored diff" msgstr "Différentiel coloré" -#: ../../stattrans.pl:512 ../../stattrans.pl:513 +#: ../../stattrans.pl:515 ../../stattrans.pl:516 msgid "Unified diff" msgstr "Différentiel unifié" -#: ../../stattrans.pl:514 +#: ../../stattrans.pl:517 msgid "Diff" msgstr "Différentiel" -#: ../../stattrans.pl:515 +#: ../../stattrans.pl:518 msgid "Log" msgstr "Journal" -#: ../../stattrans.pl:517 +#: ../../stattrans.pl:520 msgid "Maintainer" msgstr "Responsable" -#: ../../stattrans.pl:523 +#: ../../stattrans.pl:526 msgid "General pages not translated" msgstr "Pages générales non traduites" -#: ../../stattrans.pl:524 +#: ../../stattrans.pl:527 msgid "Untranslated general pages" msgstr "Pages générales non traduites" -#: ../../stattrans.pl:529 +#: ../../stattrans.pl:532 msgid "News items not translated" msgstr "Nouvelles non traduites" -#: ../../stattrans.pl:530 +#: ../../stattrans.pl:533 msgid "Untranslated news items" msgstr "Nouvelles non traduites" -#: ../../stattrans.pl:535 +#: ../../stattrans.pl:538 msgid "Consultant/user pages not translated" msgstr "Pages de consultants et d'utilisateurs non traduites" -#: ../../stattrans.pl:536 +#: ../../stattrans.pl:539 msgid "Untranslated consultant/user pages" msgstr "Pages de consultants et d'utilisateurs non traduites" -#: ../../stattrans.pl:541 +#: ../../stattrans.pl:544 msgid "International pages not translated" msgstr "Pages internationales non traduites" -#: ../../stattrans.pl:542 +#: ../../stattrans.pl:545 msgid "Untranslated international pages" msgstr "Pages internationales non traduites" -#: ../../stattrans.pl:547 +#: ../../stattrans.pl:550 msgid "Translated pages (up-to-date)" msgstr "Pages web traduites (à jour)" -#: ../../stattrans.pl:554 ../../stattrans.pl:699 +#: ../../stattrans.pl:557 ../../stattrans.pl:702 msgid "Translated templates (PO files)" msgstr "Chaînes traduites (fichiers PO)" -#: ../../stattrans.pl:555 ../../stattrans.pl:702 +#: ../../stattrans.pl:558 ../../stattrans.pl:705 msgid "PO Translation Statistics" msgstr "Statistiques de traduction des fichiers PO" -#: ../../stattrans.pl:558 ../../stattrans.pl:716 +#: ../../stattrans.pl:561 ../../stattrans.pl:719 msgid "Fuzzy" msgstr "Approximatives" -#: ../../stattrans.pl:559 +#: ../../stattrans.pl:562 msgid "Untranslated" msgstr "Non traduites" -#: ../../stattrans.pl:560 +#: ../../stattrans.pl:563 msgid "Total" msgstr "Total" -#: ../../stattrans.pl:577 +#: ../../stattrans.pl:580 msgid "Total:" msgstr "Total :" -#: ../../stattrans.pl:589 ../../stattrans.pl:740 +#: ../../stattrans.pl:592 ../../stattrans.pl:743 msgid "Created with" msgstr "Page créée avec" -#: ../../stattrans.pl:606 +#: ../../stattrans.pl:609 msgid "Translated web pages" msgstr "Pages web traduites" -#: ../../stattrans.pl:609 +#: ../../stattrans.pl:612 msgid "Translation Statistics by Page Count" msgstr "Statistiques de traduction par nombre de pages" -#: ../../stattrans.pl:624 ../../stattrans.pl:670 ../../stattrans.pl:714 +#: ../../stattrans.pl:627 ../../stattrans.pl:673 ../../stattrans.pl:717 msgid "Language" msgstr "Langue" -#: ../../stattrans.pl:625 ../../stattrans.pl:671 +#: ../../stattrans.pl:628 ../../stattrans.pl:674 msgid "Translations" msgstr "Traductions" -#: ../../stattrans.pl:652 +#: ../../stattrans.pl:655 msgid "Translated web pages (by size)" msgstr "Pages web traduites (par taille)" -#: ../../stattrans.pl:655 +#: ../../stattrans.pl:658 msgid "Translation Statistics by Page Size" msgstr "Statistiques de traduction par taille de pages" diff --git a/stattrans.pl b/stattrans.pl index 02f54acbd56..8c5204a1c8d 100755 --- a/stattrans.pl +++ b/stattrans.pl @@ -386,7 +386,7 @@ foreach $lang (@search_in) { $o_body .= sprintf "<td>%s</td>", $transversion{"$lang/$file"}; $o_body .= sprintf "<td>%s</td>", $version{"$orig/$file"}; $o_body .= sprintf "<td>%s</td>", $msg; - $o_body .= sprintf "<td style='font-family: monospace' title='<gettext domain=\"stats\">Click to fetch diffstat data.</gettext>' onClick=\"setDiffstat('%s', '%s', '%s', this)\">+/-</td>", $file, $transversion{"$lang/$file"}, $version{"$orig/$file"}; + $o_body .= sprintf '<td style=\'font-family: monospace\' title=\'<gettext domain="stats">Click to fetch diffstat data</gettext>\' onClick="setDiffstat(\'%s\', \'%s\', \'%s\', this)">+/-</td>', $file, $transversion{"$lang/$file"}, $version{"$orig/$file"}; if ($msg eq '<gettext domain="stats">Wrong translation version</gettext>' || $msg eq '<gettext domain="stats">The original no longer exists</gettext>') { $o_body .= "<td></td><td></td>"; } else { |