[MediaWiki-commits] [Gerrit] typo in queue2civi insert msg dialog - change (wikimedia...crm)
Adamw has uploaded a new change for review. https://gerrit.wikimedia.org/r/116182 Change subject: typo in queue2civi insert msg dialog .. typo in queue2civi insert msg dialog Change-Id: I034ab7d92e41ac3ed7d1e82c8e0c3c01fc247e99 --- M sites/all/modules/queue2civicrm/queue2civicrm.module 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm refs/changes/82/116182/1 diff --git a/sites/all/modules/queue2civicrm/queue2civicrm.module b/sites/all/modules/queue2civicrm/queue2civicrm.module index 74e2d83..cebb439 100644 --- a/sites/all/modules/queue2civicrm/queue2civicrm.module +++ b/sites/all/modules/queue2civicrm/queue2civicrm.module @@ -324,7 +324,7 @@ */ function queue2civicrm_generate_message() { //language codes - $lang = array('EN','DE','FR'); + $lang = array('en','de','fr'); $currency_codes = array('USD', 'GBP', 'EUR', 'ILS'); shuffle($currency_codes); @@ -338,7 +338,7 @@ 'utm_source' => mt_rand(), 'utm_medium' => mt_rand(), 'utm_campaign' => mt_rand(), - 'language' => array_rand($lang), + 'language' => $lang[array_rand($lang)], 'referrer' => 'http://example.com/'.mt_rand(), 'email' => mt_rand() . '@example.com', 'first_name' => mt_rand(), -- To view, visit https://gerrit.wikimedia.org/r/116182 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I034ab7d92e41ac3ed7d1e82c8e0c3c01fc247e99 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: master Gerrit-Owner: Adamw ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] typo in queue2civi insert msg dialog - change (wikimedia...crm)
Mwalker has submitted this change and it was merged. Change subject: typo in queue2civi insert msg dialog .. typo in queue2civi insert msg dialog Change-Id: I034ab7d92e41ac3ed7d1e82c8e0c3c01fc247e99 --- M sites/all/modules/queue2civicrm/queue2civicrm.module 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Mwalker: Looks good to me, approved jenkins-bot: Verified diff --git a/sites/all/modules/queue2civicrm/queue2civicrm.module b/sites/all/modules/queue2civicrm/queue2civicrm.module index 74e2d83..cebb439 100644 --- a/sites/all/modules/queue2civicrm/queue2civicrm.module +++ b/sites/all/modules/queue2civicrm/queue2civicrm.module @@ -324,7 +324,7 @@ */ function queue2civicrm_generate_message() { //language codes - $lang = array('EN','DE','FR'); + $lang = array('en','de','fr'); $currency_codes = array('USD', 'GBP', 'EUR', 'ILS'); shuffle($currency_codes); @@ -338,7 +338,7 @@ 'utm_source' => mt_rand(), 'utm_medium' => mt_rand(), 'utm_campaign' => mt_rand(), - 'language' => array_rand($lang), + 'language' => $lang[array_rand($lang)], 'referrer' => 'http://example.com/'.mt_rand(), 'email' => mt_rand() . '@example.com', 'first_name' => mt_rand(), -- To view, visit https://gerrit.wikimedia.org/r/116182 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I034ab7d92e41ac3ed7d1e82c8e0c3c01fc247e99 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: master Gerrit-Owner: Adamw Gerrit-Reviewer: Katie Horn Gerrit-Reviewer: Mwalker Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits