Trying to figure out how to create patches. I thought this would be a good start at trying to contribute (my first patch). So please forgive me i'm not totally familiar with the process:
Attached are some small misspellings in the help of the rewrite and copy plugins:
diff --git a/plugins/copy.inc b/plugins/copy.inc
index fb8b633..f9e1b83 100644
--- a/plugins/copy.inc
+++ b/plugins/copy.inc
@@ -24,7 +24,7 @@ function feeds_tamper_copy_form($importer, $element_key, $settings) {
'#type' => 'radios',
'#default_value' => isset($settings['to_from']) ? $settings['to_from'] : 'to',
'#options' => array('to' => t('To'), 'from' => t('From')),
- '#description' => t('Select wheter this source value should be copied to another source, or from another source to this one.'),
+ '#description' => t('Select whether this source value should be copied to another source, or from another source to this one.'),
);$form['source'] = array(
diff --git a/plugins/keyword_filter.inc b/plugins/keyword_filter.inc
index ee1a12f..00b67e8 100644
--- a/plugins/keyword_filter.inc
+++ b/plugins/keyword_filter.inc
@@ -60,7 +60,7 @@ function feeds_tamper_keyword_filter_validate(&$settings) {
else {
foreach ($settings['word_list'] as &$word) {
if (!preg_match('/^\w.*\w$/', $word)) {
- form_set_error('settings][words', t('Seach text must begin and end with a letter, number, or underscore to use the %option option.
%word', arra
+ form_set_error('settings][words', t('Search text must begin and end with a letter, number, or underscore to use the %option option.
%word', arr
}
$word = '/\b\Q' . $word . '\E\b/';
if (!$settings['case_sensitive']) {
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds_tamper-1300396-1.patch | 1.57 KB | chrisjlee |
#1 | feeds_tamper-1300396-1.patch | 1.92 KB | chrisjlee |
Comments
Comment #1
chrisjlee CreditAttribution: chrisjlee commentedComment #2
chrisjlee CreditAttribution: chrisjlee commentedSorry this is the right one. The last one has the wrong changeset hashes i tried my best following the git workflow outline in the advanced contributor guide:
Comment #3
twistor CreditAttribution: twistor commentedWell, there ya go. You're first commit. Thanks.
http://drupalcode.org/project/feeds_tamper.git/commit/b4979b8
Comment #4
chrisjlee CreditAttribution: chrisjlee commentedAlright! Thanks.
Comment #5.0
(not verified) CreditAttribution: commentedFixed Patch revised it