Gphoto2 UI does not fetch language-specific names for
month and week day names using locales. As a result,
translators have to retranslate everything in po-files e.g.
> #: gphoto2/main.c:466
> msgid "Jan"
> msgstr "tam"
>
> #: gphoto2/main.c:466
> msgid "January"
> msgstr "tammikuuta"
This could be fixed using locales and parsing the
message strings using functions such as strptime.
Logged In: YES
user_id=796550
It is indeed the wrong solution to have MonthTable and
WeekdayTable in main.c. And in the code, those tables seem
to be always used with sprintf.
All date/time related sprintf calls should be replaced by
strftime().
Logged In: YES
user_id=18854
Could you provide us with a patch, please ?
Logged In: YES
user_id=796550
I made a patch, which I will submit right away.
I was unable to compile gphoto, so I couldn't confirm the
patch actually works.
Logged In: YES
user_id=48092
we use strptime in current cvs (for 2.1.6 release)