Convert Italian to UTF-8

This commit is contained in:
Dianne Skoll
2022-01-25 21:55:13 -05:00
parent a76feebe45
commit 4a61fe73de

View File

@@ -15,23 +15,13 @@
#define L_LANGNAME "Italian" #define L_LANGNAME "Italian"
/* Day names */ /* Day names */
#if ISOLATIN1
#define L_SUNDAY "Domenica" #define L_SUNDAY "Domenica"
#define L_MONDAY "Luned\354" #define L_MONDAY "Lunedí"
#define L_TUESDAY "Marted\354" #define L_TUESDAY "Martedí"
#define L_WEDNESDAY "Mercoled\354" #define L_WEDNESDAY "Mercoledí"
#define L_THURSDAY "Gioved\354" #define L_THURSDAY "Giovedí"
#define L_FRIDAY "Venerd\354" #define L_FRIDAY "Venerdí"
#define L_SATURDAY "Sabato" #define L_SATURDAY "Sabato"
#else /* ISOLATIN1 */
#define L_SUNDAY "Domenica"
#define L_MONDAY "Lunedi`"
#define L_TUESDAY "Martedi`"
#define L_WEDNESDAY "Mercoledi`"
#define L_THURSDAY "Giovedi`"
#define L_FRIDAY "Venerdi`"
#define L_SATURDAY "Sabato"
#endif /* ISOLATIN */
/* Month names */ /* Month names */
#define L_JAN "Gennaio" #define L_JAN "Gennaio"
@@ -76,58 +66,54 @@
a more drastic fix */ a more drastic fix */
/* Minutes, hours, at, etc */ /* Minutes, hours, at, etc */
#define L_NOW "ora" #define L_NOW "ora"
#define L_AT "alle" #define L_AT "alle"
#define L_MINUTE "minut" #define L_MINUTE "minut"
#define L_HOUR "or" #define L_HOUR "or"
#if ISOLATIN1 #define L_IS "é"
#define L_IS "\350"
#else /* ISOLATIN1 */
#define L_IS "e`"
#endif/* ISOLATIN1 */
#define L_WAS "era" #define L_WAS "era"
#define L_AND "e" #define L_AND "e"
/* What to add to make "hour" plural */ /* What to add to make "hour" plural */
#define L_HPLU "s" #define L_HPLU "s"
/* What to add to make "minute" plural */ /* What to add to make "minute" plural */
#define L_MPLU "s" #define L_MPLU "s"
/* Define any overrides here, such as L_ORDINAL_OVERRIDE, L_A_OVER, etc. /* Define any overrides here, such as L_ORDINAL_OVERRIDE, L_A_OVER, etc.
See the file dosubst.c for more info. */ See the file dosubst.c for more info. */
#define L_P_OVER sprintf(s, (diff == 1 ? "o" : "i")); #define L_P_OVER sprintf(s, (diff == 1 ? "o" : "i"));
#define L_Q_OVER sprintf(s, (diff == 1 ? "a" : "e")); #define L_Q_OVER sprintf(s, (diff == 1 ? "a" : "e"));
#define L_HPLU_OVER hplu = (hdiff == 1 ? "a" : "e"); #define L_HPLU_OVER hplu = (hdiff == 1 ? "a" : "e");
#define L_MPLU_OVER mplu = (mdiff == 1 ? "o" : "i"); #define L_MPLU_OVER mplu = (mdiff == 1 ? "o" : "i");
#define L_A_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d,\ #define L_A_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d,\
MonthName[m], y); MonthName[m], y);
#define L_C_OVER sprintf(s, "%s", DayName[jul%7]); #define L_C_OVER sprintf(s, "%s", DayName[jul%7]);
#define L_E_OVER sprintf(s, "%02d%c%02d%c%04d", d, DateSep,\ #define L_E_OVER sprintf(s, "%02d%c%02d%c%04d", d, DateSep,\
m+1, DateSep, y); m+1, DateSep, y);
#define L_F_OVER sprintf(s, "%02d%c%02d%c%04d", m+1, DateSep, d, DateSep, y); #define L_F_OVER sprintf(s, "%02d%c%02d%c%04d", m+1, DateSep, d, DateSep, y);
#define L_G_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, MonthName[m]); #define L_G_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, MonthName[m]);
#define L_H_OVER sprintf(s, "%02d%c%02d", d, DateSep, m+1); #define L_H_OVER sprintf(s, "%02d%c%02d", d, DateSep, m+1);
#define L_I_OVER sprintf(s, "%02d%c%02d", m+1, DateSep, d); #define L_I_OVER sprintf(s, "%02d%c%02d", m+1, DateSep, d);
#define L_J_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d, \ #define L_J_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d, \
MonthName[m], y); MonthName[m], y);
#define L_K_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, \ #define L_K_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, \
MonthName[m]); MonthName[m]);
#define L_L_OVER sprintf(s, "%04d%c%02d%c%02d", y, DateSep, m+1, DateSep, d); #define L_L_OVER sprintf(s, "%04d%c%02d%c%02d", y, DateSep, m+1, DateSep, d);
#define L_U_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d, \ #define L_U_OVER sprintf(s, "%s, %d %s %d", DayName[jul%7], d, \
MonthName[m], y); MonthName[m], y);
#define L_V_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, \ #define L_V_OVER sprintf(s, "%s, %d %s", DayName[jul%7], d, \
MonthName[m]); MonthName[m]);
#endif /* L_IN_DOSUBST */ #endif /* L_IN_DOSUBST */