Skip to content

Commit 1d6b638

Browse files
committed
Merge branch 'release/1.0.20'
2 parents 25a03ce + e13672f commit 1d6b638

11 files changed

Lines changed: 2271 additions & 20 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env
2424

2525
# Misc
2626
/scripts/*.json
27+
!/scripts/en.json
2728
/scripts/*.csv
2829

2930
/scripts/consent_forms/*csv

app/components/exp-player/component.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ export default ExpPlayer.extend({
3737
account.set('extra', dest);
3838
return account.save();
3939
}).catch( e => console.error('Could not mark account as having completed study:', e));
40-
}
40+
},
41+
saveFrame() {
42+
return this._super(...arguments).catch((e) => {
43+
// intercept, tag, and log error
44+
e.message = 'intercepted: ' + e.message;
45+
this.get('raven').captureException(e, {tags: {is_intercepted: true}});
46+
throw e;
47+
});
48+
},
4149
}
4250
});

app/components/isp-consent-form/consentText.js

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/locales/en/translations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ const translations = {
106106
"labelUnaccepted": "Please accept terms to continue"
107107
},
108108
"checkboxLabel": "I have read and understand the above statements and agree to participate.",
109-
"firstSection": "Welcome to our study. Your participation will be in one session and will take less than one hour. You will be asked to describe a situation you experienced recently and your behaviors in it. You will also be asked some questions about your values and attitudes. At the end of the study, if you choose, you will receive personalized information about your personality.",
110-
"secondSection": "All of your responses will be confidential and identified only by a number (and not by your name). For research purposes, these anonymous data may be archived in an online database maintained by the Center for Open Science (www.cos.io). Each question must be answered in order to complete this survey, but you can discontinue your participation at any time without penalty. The potential benefits of this research include improving the understanding of persons and their lives across cultural contexts. There are no known risks.",
109+
"firstSection": "Welcome to our study. Your participation will be in one session and will take less than one hour. You will be asked to describe a situation you experienced recently and your behaviors in it. You will also be asked some questions about your values and attitudes. At the end of the study, if you choose, you will receive personalized information about your personality.",
110+
"secondSection": "All of your responses will be confidential and identified only by a number (and not by your name). For research purposes, these anonymous data may be archived in an online database maintained by the Center for Open Science (www.cos.io). Each question must be answered in order to complete this survey, but you can discontinue your participation at any time without penalty. The potential benefits of this research include improving the understanding of persons and their lives across cultural contexts. There are no known risks.",
111111
"thirdSection": "If you have any questions about this study or your rights as a participant, you may contact [local collaborator’s name, email and affiliation], who is responsible for data collection at your location, or the University of California, Riverside, Office of Research Integrity by email at IRB@ucr.edu. We sincerely appreciate your cooperation.",
112112
"title": "Consent to Participate in Research",
113113
"versionHistory": "(Consent form version: 14 October 2016)"

app/locales/nl/translations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export default {
207207
"10": {
208208
"items": {
209209
"1": {
210-
"label": "Heel wat"
210+
"label": "Er zijn veel sociale normen waar mensen zich aan moeten houden in dit land."
211211
},
212212
"2": {
213213
"label": "In dit land zijn er hele duidelijke verwachtingen over hoe mensen zich moeten gedragen in de meeste situaties."

app/locales/sv/config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Ember-I18n includes configuration for common locales. Most users
2+
// can safely delete this file. Use it if you need to override behavior
3+
// for a locale or define behavior for a locale that Ember-I18n
4+
// doesn't know about.
5+
export default {
6+
// rtl: [true|FALSE],
7+
//
8+
// pluralForm: function(count) {
9+
// if (count === 0) { return 'zero'; }
10+
// if (count === 1) { return 'one'; }
11+
// if (count === 2) { return 'two'; }
12+
// if (count < 5) { return 'few'; }
13+
// if (count >= 5) { return 'many'; }
14+
// return 'other';
15+
// }
16+
};

0 commit comments

Comments
 (0)