It appears that there are a few untranslatable strings in cvs.module. These are in the cvs_settings_form() function.

  if (module_exists('project') && project_use_taxonomy()) {
    $form['type_validation'] = array(
      '#title' => t('Validate %cvs_dir by %type', array('%cvs_dir' => 'CVS directory', '%type' => 'Project type')),
      '#type' => 'fieldset',
    );
    $form['type_validation']['cvs_directory_validate_by_type'] = array(
      '#title' => t('Validate %cvs_dir using %type', array('%cvs_dir' => 'CVS directory', '%type' => 'Project type')),
      '#type' => 'checkbox',
      '#default_value' => variable_get('cvs_directory_validate_by_type', 1),
      '#description' => t("If this box is checked, the first element of the path specified in the %cvs_dir field must match the selected %type for project nodes.  This is a case insensitive comparison, and spaces in the %type field will be converted to hypens ('-') for the purpose of the comparison. However, if custom directories are specified in the fields below, those will be used for validation instead.", array('%cvs_dir' => 'CVS directory', '%type' => 'Project type')),
    );

In both cases, 'CVS directory' doesn't show up in Drupal's list of translatable strings using the locale module. Is is possible to translate these strings? If not, it seems that they should be changed to that it is possible.

Thanks
AC

Comments

dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed

Fixed this, found other occurances of the same bug, and committed it all to HEAD, DRUPAL-4-7--2 and DRUPAL-4-7.

Anonymous’s picture

Status: Fixed » Closed (fixed)