This was fixed by adding a translation of the %x format in the po/es.po file.
These commits also mean that Glom will guess a date format (sometimes wrongly) when the translator has not provided one. This will be in a new glom 1.8.x release soon:
2008-11-21 Murray Cumming <email address hidden>
* glom/libglom/data_structure/glomconversions.c:
sanity_check_date_text_representation_uses_4_digit_years():
Default to dd/mm/yyyy for dates when the translator has not provided
a 4-digit-year date syntax for the locale, printing a warning that the
default might not be suitable. This seems better than failing.
2008-11-21 Murray Cumming <email address hidden>
* glom/libglom/data_structure/glomconversions.[h|cc]:
Added sanity_check_date_parsing() and
sanity_check_date_text_representation_uses_4_digit_years().
* glom/main.cc: Use them to show informative warnings at startup.
The translators comment for %x mentions those warnings now too.
* po/es.po: Add a translation for %x because the es locales do not
use 4-digit years for this.
Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/glom/+bug/300057
* glom/test_pyembed.cc: Add a cast to avoid a warning.
* glom/utility_widgets/db_adddel/db_adddel.cc: Initialize InnerIgnore
members to avoid warnings, though these would always be initialized in
real life.
This was fixed by adding a translation of the %x format in the po/es.po file.
These commits also mean that Glom will guess a date format (sometimes wrongly) when the translator has not provided one. This will be in a new glom 1.8.x release soon:
2008-11-21 Murray Cumming <email address hidden>
* glom/libglom/ data_structure/ glomconversions .c: check_date_ text_representa tion_uses_ 4_digit_ years() :
sanity_
Default to dd/mm/yyyy for dates when the translator has not provided
a 4-digit-year date syntax for the locale, printing a warning that the
default might not be suitable. This seems better than failing.
2008-11-21 Murray Cumming <email address hidden>
* glom/libglom/ data_structure/ glomconversions .[h|cc] : check_date_ parsing( ) and check_date_ text_representa tion_uses_ 4_digit_ years() . /bugs.launchpad .net/ubuntu/ +source/ glom/+bug/ 300057
Added sanity_
sanity_
* glom/main.cc: Use them to show informative warnings at startup.
The translators comment for %x mentions those warnings now too.
* po/es.po: Add a translation for %x because the es locales do not
use 4-digit years for this.
Ubuntu bug https:/
* glom/test_ pyembed. cc: Add a cast to avoid a warning. widgets/ db_adddel/ db_adddel. cc: Initialize InnerIgnore
* glom/utility_
members to avoid warnings, though these would always be initialized in
real life.