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 PROTECTED]>

        * 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 PROTECTED]>

        * 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.


** Changed in: glom (Ubuntu)
       Status: New => Fix Committed

-- 
Glom 1.8.1 Year error with date fields
https://bugs.launchpad.net/bugs/300057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to