Heya!

I implemented this by making some small changes to
roundcubemail/program/include/rcmail.php to load a separate timezones.inc
file from the language's localization directory. I also moved the names of
the timezones from roundcubemail/program/steps/settings/func.inc to an
initial timezones.inc for en_US, and made it load them from rcube_label()
instead.

I also added timezones.inc files for all the other localizations with just
an empty array, to prevent include errors.

Patch is attached. Criticism welcomed.

Best wishes,
Frank van den Brink

P.S. I tried using trac, but its registration page told me that "No handler
matched request to /register".


 --- 8< --- detachments --- 8< ---
 The following attachments have been detached and are available for viewing.
  http://detached.gigo.com/rc/Dk/V83gEBww/0001-Added-timezone-.patch
 Only click these links if you trust the sender, as well as this message.
 --- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to