6.x-1.1 to .......
------------------
+- Added: Translate tags vocablary name on node form, by dboulet, #494576
+- Fixed i18n Filter in Views results in SQL Error, by markus_petrux, #522162
+- Added tag support for taxonomy synchronization, #605600
- Fixed buggy taxonomy synchronization, #365606, #365606, #379306
- Cleaning some module dependencies and old code.
- Fixed: Select translations autocomplete wrong filtering by hass, #557980
// Special treatment for tags, add some help texts
foreach (element_children($form['taxonomy']['tags']) as $vid) {
if (i18ntaxonomy_vocabulary($vid) == I18N_TAXONOMY_LOCALIZE) {
+ $form['taxonomy']['tags'][$vid]['#title'] = check_plain(tt("taxonomy:vocabulary:$vid:name", $form['taxonomy']['tags'][$vid]['#title']));
$form['taxonomy']['tags'][$vid]['#description'] .= ' '. t('This is a localizable vocabulary, so only terms in %language are allowed here.', array('%language' => language_default('name')));
}
}
class content_negotiation_filter_handler extends views_handler_filter {
function query() {
- $table_alias = $this->query->ensure_table('node');
- $where = i18n_db_rewrite_where($table_alias, 'node');
- $this->query->add_where($this->options['group'], $where);
+ $this->ensure_my_table();
+ $where = i18n_db_rewrite_where($this->table_alias, 'node');
+ if (!empty($where)) {
+ $this->query->add_where($this->options['group'], $where);
+ }
}
function option_definition() {