Date: Collapsed 'sunday' and 'sun' into a closeEnough() call

- Removed the STRING_DATE_JANUARY_LONG and STRING_DATE_JANUARY_SHORT,
  replacing them with STRING_DATE_JANUARY and a call to closeEnough().
  This means you can enter 'jan', 'janu', 'janua', 'januar', 'january',
  instead of only 'jan' or 'january'.
This commit is contained in:
Paul Beckingham 2015-07-19 19:52:36 -04:00
parent 2dd2bd22b8
commit f1251303de
12 changed files with 225 additions and 408 deletions

View file

@ -627,47 +627,26 @@
#define STRING_DATE_INVALID_FORMAT "'{1}' nie jest poprawną wartością daty w formacie '{2}'."
#define STRING_DATE_BAD_WEEKSTART "Zmienna konfiguracji 'weekstart' może przyjmować tylko wartość 'Sunday' lub 'Monday'."
#define STRING_DATE_JANUARY_LONG "styczeń"
#define STRING_DATE_FEBRUARY_LONG "luty"
#define STRING_DATE_MARCH_LONG "marzec"
#define STRING_DATE_APRIL_LONG "kwiecień"
#define STRING_DATE_MAY_LONG "maj"
#define STRING_DATE_JUNE_LONG "czerwiec"
#define STRING_DATE_JULY_LONG "lipiec"
#define STRING_DATE_AUGUST_LONG "sierpień"
#define STRING_DATE_SEPTEMBER_LONG "wrzesień"
#define STRING_DATE_OCTOBER_LONG "październik"
#define STRING_DATE_NOVEMBER_LONG "listopad"
#define STRING_DATE_DECEMBER_LONG "grudzień"
#define STRING_DATE_JANUARY "styczeń"
#define STRING_DATE_FEBRUARY "luty"
#define STRING_DATE_MARCH "marzec"
#define STRING_DATE_APRIL "kwiecień"
#define STRING_DATE_MAY "maj"
#define STRING_DATE_JUNE "czerwiec"
#define STRING_DATE_JULY "lipiec"
#define STRING_DATE_AUGUST "sierpień"
#define STRING_DATE_SEPTEMBER "wrzesień"
#define STRING_DATE_OCTOBER "październik"
#define STRING_DATE_NOVEMBER "listopad"
#define STRING_DATE_DECEMBER "grudzień"
#define STRING_DATE_JANUARY_SHORT "sty"
#define STRING_DATE_FEBRUARY_SHORT "lut"
#define STRING_DATE_MARCH_SHORT "mar"
#define STRING_DATE_APRIL_SHORT "kwi"
#define STRING_DATE_MAY_SHORT "maj"
#define STRING_DATE_JUNE_SHORT "cze"
#define STRING_DATE_JULY_SHORT "lip"
#define STRING_DATE_AUGUST_SHORT "sie"
#define STRING_DATE_SEPTEMBER_SHORT "wrz"
#define STRING_DATE_OCTOBER_SHORT "paź"
#define STRING_DATE_NOVEMBER_SHORT "lis"
#define STRING_DATE_DECEMBER_SHORT "gru"
#define STRING_DATE_SUNDAY_LONG "niedziela"
#define STRING_DATE_MONDAY_LONG "poniedziałek"
#define STRING_DATE_TUESDAY_LONG "wtorek"
#define STRING_DATE_WEDNESDAY_LONG "środa"
#define STRING_DATE_THURSDAY_LONG "czwartek"
#define STRING_DATE_FRIDAY_LONG "piątek"
#define STRING_DATE_SATURDAY_LONG "sobota"
#define STRING_DATE_SUNDAY_SHORT "nie"
#define STRING_DATE_MONDAY_SHORT "pon"
#define STRING_DATE_TUESDAY_SHORT "wto"
#define STRING_DATE_WEDNESDAY_SHORT "śro"
#define STRING_DATE_THURSDAY_SHORT "czw"
#define STRING_DATE_FRIDAY_SHORT "pią"
#define STRING_DATE_SATURDAY_SHORT "sob"
#define STRING_DATE_SUNDAY "niedziela"
#define STRING_DATE_MONDAY "poniedziałek"
#define STRING_DATE_TUESDAY "wtorek"
#define STRING_DATE_WEDNESDAY "środa"
#define STRING_DATE_THURSDAY "czwartek"
#define STRING_DATE_FRIDAY "piątek"
#define STRING_DATE_SATURDAY "sobota"
// dependency
#define STRING_DEPEND_BLOCKED "Zadanie {1} jest blokowane przez:"