summaryrefslogtreecommitdiffstats
path: root/base/dialog/calendar.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-20 16:17:04 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-20 16:17:04 +0200
commitd8e7fa64bca6524ca0e3729bed1cefe3effbb207 (patch)
tree5b8ec163f8d979623f1475769a35416fa081696b /base/dialog/calendar.patch
parent335fe3e7e27ac68852f5b4e6f3ad7518695058bd (diff)
downloadnutyx-extra-d8e7fa64bca6524ca0e3729bed1cefe3effbb207.tar.gz
nutyx-extra-d8e7fa64bca6524ca0e3729bed1cefe3effbb207.tar.bz2
nutyx-extra-d8e7fa64bca6524ca0e3729bed1cefe3effbb207.tar.xz
nutyx-extra-d8e7fa64bca6524ca0e3729bed1cefe3effbb207.zip
dialog, calendrier en français
Diffstat (limited to 'base/dialog/calendar.patch')
-rw-r--r--base/dialog/calendar.patch72
1 files changed, 72 insertions, 0 deletions
diff --git a/base/dialog/calendar.patch b/base/dialog/calendar.patch
new file mode 100644
index 000000000..eddad4d13
--- /dev/null
+++ b/base/dialog/calendar.patch
@@ -0,0 +1,72 @@
+--- dialog-1.1-20080819/calendar.c 2008-06-21 12:36:41.000000000 +0000
++++ /usr/ports/base/dialog/calendar.c 2010-06-19 18:37:55.000000000 +0000
+@@ -149,13 +149,13 @@
+ #else
+ static const char *const of_week[] =
+ {
+- "Sunday",
+- "Monday",
+- "Tuesday",
+- "Wednesday",
+- "Thursday",
+- "Friday",
+- "Saturday"
++ "Dimanche",
++ "Lundi",
++ "Mardi",
++ "Mercredi",
++ "Jeudi",
++ "Vendredi",
++ "Samedi"
+ };
+ #endif
+ int cell_wide = MON_WIDE;
+@@ -251,18 +251,18 @@
+ #else
+ static const char *const months[] =
+ {
+- "January",
+- "February",
+- "March",
+- "April",
+- "May",
+- "June",
+- "July",
+- "August",
+- "September",
+- "October",
+- "November",
+- "December"
++ "Janvier",
++ "Fevrier",
++ "Mars",
++ "Avril",
++ "Mai",
++ "Juin",
++ "Juillet",
++ "Aout",
++ "Septembre",
++ "Octobre",
++ "Novembre",
++ "Decembre"
+ };
+ #endif
+ int month;
+@@ -270,7 +270,7 @@
+ month = current->tm_mon + 1;
+
+ wattrset(data->parent, dialog_attr); /* Headline "Month" */
+- (void) mvwprintw(data->parent, data->y - 2, data->x - 1, _("Month"));
++ (void) mvwprintw(data->parent, data->y - 2, data->x - 1, _("Mois"));
+ dlg_draw_box(data->parent,
+ data->y - 1, data->x - 1,
+ data->height + 2, data->width + 2,
+@@ -290,7 +290,7 @@
+ int year = current->tm_year + 1900;
+
+ wattrset(data->parent, dialog_attr); /* Headline "Year" */
+- (void) mvwprintw(data->parent, data->y - 2, data->x - 1, _("Year"));
++ (void) mvwprintw(data->parent, data->y - 2, data->x - 1, _("Année"));
+ dlg_draw_box(data->parent,
+ data->y - 1, data->x - 1,
+ data->height + 2, data->width + 2,