… night, I'm going home to beer.
added some german translations, translated into german
missing translations to Spanish
…EXISTS which is not valid MySQL syntax. IF EXISTS has been removed.
…t exist if wiki plugin has not been activated Modified most of the SQL statements so they would not fail, but no easy way to fix line 10. To work around this patch.php was modified so it continues to execute all SQL statements even if one fails. A longer term fix would be to include the table name as a separate parameter on each line in the .sql patch files, then have patch.php verify that the table exists before executing the sql statement.
…man translations, translation into german
Some more tidying of unneeded files
New config option: Expose user emails
…ue (to mimic old behaviour). If set to false, then all e-mail will come from the site address defined in the Mail From field (or automatically calculated if not set). I also split the code that generates the site e-mail address into a getSiteEmailAddress() function, so that we encapsulate the logic to generate it better - it can now be called from elsewhere, if needed. This will involve a change to the DB data (to add the new option to the config_options table, and to modify the ordering of a subsequent item). I have added the necessary changes to initial_data.sql, but I don't know how to manage updates to existing systems. Here is the code that will need to be run, but I have no idea where to put it, I'm afraid! INSERT INTO `<?php echo $table_prefix ?>config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('mailing', 'mail_expose_user_emails', '1', 'BoolConfigHandler', 0, 12, 'Enable to expose user e-mails in the from/reply-to field, or disable to always use the site address, below.'); UPDATE `<?php echo $table_prefix ?>config_options` SET `option_order` = 13 WHERE `category_name` = 'mailing' AND `name` = 'mail_from';
…t are provided as empty by the application, and into which user files will go. I have instead added .gitignore files to these directories that will ignore everything in them, so that we reduce the risk of accidentally committing user files into the repository, and to make it a lot easier to see the legitimate changes that have been made locally. The empty.txt files were originally required because Git doesn't allow empty directories, but now we have .gitignore files in them they are no longer empty, so the original file is no longer required.
Added a page showing each missing item for a given language (to be compared with English translations)