From 6b9410927730a40c53e00193cbe0d8ac60cf16af Mon Sep 17 00:00:00 2001 From: hueso Date: Thu, 15 May 2025 11:28:53 -0300 Subject: [PATCH] spanish translations --- .../clock/close_enough_clock_face.c | 18 +++++++++--------- watch-library/shared/watch/watch_utility.c | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/movement/watch_faces/clock/close_enough_clock_face.c b/movement/watch_faces/clock/close_enough_clock_face.c index cbd62e27..0412d2f7 100644 --- a/movement/watch_faces/clock/close_enough_clock_face.c +++ b/movement/watch_faces/clock/close_enough_clock_face.c @@ -33,20 +33,20 @@ const char *words[12] = { " ", " 5", "10", - "15", + "CU", "20", - "25", - "30", - "35", + "Me", + "ME", + "mE", "40", "45", "50", "55", }; -static const char *past_word = " P"; -static const char *to_word = " 2"; -static const char *oclock_word = "OC"; +static const char *past_word = " y"; +static const char *to_word = " -"; +static const char *oclock_word = "EP"; // sets when in the five minute period we switch // from "X past HH" to "X to HH+1" @@ -185,7 +185,7 @@ bool close_enough_clock_face_loop(movement_event_t event, movement_settings_t *s int words_length = sizeof(words) / sizeof(words[0]); strncpy( - first_word, + third_word, five_minute_period >= hour_switch_index ? words[words_length - five_minute_period] : words[five_minute_period], @@ -197,7 +197,7 @@ bool close_enough_clock_face_loop(movement_event_t event, movement_settings_t *s to_word : past_word, 3 ); - sprintf(third_word, "%2d", close_enough_hour); + sprintf(first_word, "%2d", close_enough_hour); } sprintf( diff --git a/watch-library/shared/watch/watch_utility.c b/watch-library/shared/watch/watch_utility.c index c00791e7..3267669e 100644 --- a/watch-library/shared/watch/watch_utility.c +++ b/watch-library/shared/watch/watch_utility.c @@ -26,7 +26,7 @@ #include "watch_utility.h" const char * watch_utility_get_weekday(watch_date_time date_time) { - static const char weekdays[7][3] = {"MO", "TU", "WE", "TH", "FR", "SA", "SU"}; + static const char weekdays[7][3] = {"LU", "MA", "MI", "JU", "VI", "SA", "do"}; return weekdays[watch_utility_get_iso8601_weekday_number(date_time.unit.year + WATCH_RTC_REFERENCE_YEAR, date_time.unit.month, date_time.unit.day) - 1]; }