First off really impressed with this module so far. Good job.

Changing the code as follows in adjustisearch.module adds the ability to translate:

// Creates the submit button.
  $form['adjustisearch_search_submit'] = array(
    '#type'  => 'submit',
    '#value' => t('Search'),
  );
  
  return $form;
}

Also fixed spelling error in this bit of code. "Buttion" to "Button".

Thank you for developing this module.

P.s don't have patching working here, so my apologies for just pasting the code.

Comments

ConnorK’s picture

Status: Active » Fixed
StatusFileSize
new652 bytes
new667 bytes

Thanks for pointing this out for me. I thought I had caught every place in the code to allow for translation. I guess I just missed that one =)

I'm glad that you find my module useful!

Attached are the patches with the code modification you made.

I'm committing the patch into the repository now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.