From cb65b28cc78f728b1f1e3b4910333602e4b2855d Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 13 May 2001 14:59:14 +0000 Subject: Pouet --- lib/scalaires.c | 12 ++++++------ po/fr.po | 23 +++++++++++++---------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/lib/scalaires.c b/lib/scalaires.c index 7240543..be98e0f 100644 --- a/lib/scalaires.c +++ b/lib/scalaires.c @@ -195,21 +195,21 @@ char *rat_to_string(rationnel rat, int first) switch (display) { case DEC: if (rat.denom == 1) - sprintf(temp, "%qd", rat.num); + sprintf(temp, "%lld", rat.num); else - sprintf(temp, "%qd/%qd", rat.num, rat.denom); + sprintf(temp, "%lld/%lld", rat.num, rat.denom); break; case HEX: if (rat.denom == 1) - sprintf(temp, "0x%qx", rat.num); + sprintf(temp, "0x%llx", rat.num); else - sprintf(temp, "0x%qx/0x%qx", rat.num, rat.denom); + sprintf(temp, "0x%llx/0x%llx", rat.num, rat.denom); break; case OCT: if (rat.denom == 1) - sprintf(temp, "0%qo", rat.num); + sprintf(temp, "0%llo", rat.num); else - sprintf(temp, "0%qo/0%qo", rat.num, rat.denom); + sprintf(temp, "0%llo/0%llo", rat.num, rat.denom); break; case FLT: sprintf(temp, "%g", rat_to_double(rat)); diff --git a/po/fr.po b/po/fr.po index 9b40633..0091b48 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-05-03 02:44+0200\n" +"POT-Creation-Date: 2001-05-03 04:06+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -211,23 +211,23 @@ msgstr "" msgid "act_pile: OP_FUNC_CALL incorrect value for 2nd arg" msgstr "act_pile: OP_FUNC_CALL valeur incorrecte pour le deuxième argument" -#: lib/pile.c:472 +#: lib/pile.c:476 msgid "act_pile: OP_FUNC_CALL arg2 is an empty polynom" msgstr "act_pile: OP_FUNC_CALL arg2 est un polynôme vide" -#: lib/pile.c:482 +#: lib/pile.c:486 msgid "act_pile: OP_FUNC_CALL incorrect argument number" msgstr "act_pile: OP_FUNC_CALL nombre d'arguments incorrect" -#: lib/pile.c:486 +#: lib/pile.c:490 msgid "act_pile: Unknown operator" msgstr "act_pile: Opérateur inconnu" -#: lib/pile.c:498 +#: lib/pile.c:502 msgid "\t-- Printing Stack\n" msgstr "\t-- Affichage de la Pile\n" -#: lib/pile.c:514 +#: lib/pile.c:518 msgid "\t-- End Printing Stack\n" msgstr "\t-- Fin d'Affichage de la Pile\n" @@ -251,7 +251,10 @@ msgstr "Re msgid "Signal received: break" msgstr "Reçu le signal break" -#: src/Polynom.c:81 +#. +#. * signal(SIGSEGV, segfaulthand); signal(SIGINT, ctrlbreakhand); +#. +#: src/Polynom.c:82 msgid "" "\n" "Performing initialisation...\n" @@ -261,7 +264,7 @@ msgstr "" "Initialisation...\n" "\n" -#: src/Polynom.c:86 +#: src/Polynom.c:87 msgid "" "\n" "Starting interface...\n" @@ -271,7 +274,7 @@ msgstr "" "Lancement de l'interface\n" "\n" -#: src/Polynom.c:89 +#: src/Polynom.c:90 msgid "" "\n" "Performing shutdown...\n" @@ -281,6 +284,6 @@ msgstr "" "Arret...\n" "\n" -#: src/Polynom.c:96 +#: src/Polynom.c:97 msgid "Exiting, bye!\n" msgstr "C'est terminé, au revoir!\n" -- cgit v1.2.3