Skip to content

Commit 6ab3b9f

Browse files
wasadeclaude
andcommitted
Replace 'The Microsetta Initiative'/'TMI' with 'American Gut Project'/'AGP'
Updates all user-visible text in templates and all four locale translation files (en_US, es_ES, es_MX, ja_JP) as part of rebranding effort. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ef982a0 commit 6ab3b9f

8 files changed

Lines changed: 71 additions & 71 deletions

File tree

microsetta_interface/templates/new_results_page.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,14 +479,14 @@
479479
break;
480480
case "tmi-WGS-gut":
481481
// Temporary workaround - we're going to add the Hadza study to the info['qiita-study-ids'] variable and alter the label to be more appropriate. Remove this line and the following four lines once contextual studies for WGS gut samples are fully restored.
482-
label = '{{ _('The Microsetta Initiative and Comparative Studies') }}';
482+
label = '{{ _('the American Gut Project and Comparative Studies') }}';
483483
span_id = "#dataset_links_tmi";
484484
info['qiita-study-ids'].push("11358");
485485
break;
486486
case "tmi-16S-gut":
487487
case "tmi-WGS-skin":
488488
case "tmi-16S-skin":
489-
label = '{{ _('The Microsetta Initiative') }}';
489+
label = '{{ _('the American Gut Project') }}';
490490
span_id = "#dataset_links_tmi";
491491
break;
492492
case "multipop-16S-gut":

microsetta_interface/templates/nutrition.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<div class="col-12 text-center">
212212
<div class="kit_id_container">
213213
<label for="ffq_code" name="ffq_code_name" class="tmi-content">{{ _('Registration Code') }}:</label><br />
214-
<input type="text" name="ffq_code" id="ffq_code" class="form-control" placeholder="TMI-XXXXX-XXXXX-XXXXX" />
214+
<input type="text" name="ffq_code" id="ffq_code" class="form-control" placeholder="AGP-XXXXX-XXXXX-XXXXX" />
215215
<label for="ffq_code" class="error kit-validation-error" style="display: none"></label>
216216
</div>
217217
</div>

microsetta_interface/templates/sample_results.jinja2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@
160160
<div class="column" style="text-align: center">
161161
<h3>{{ _('Alpha Diversity') }}</h3>
162162
<br>
163-
<p>{{ _('Here, we\'re providing a measure of the diversity of your sample, and how it compares to the diversities of all of the same type of samples in The Microsetta Initiative. There are many ways to calculate diversity. For instance, you could compute a diversity value by counting the number of unique organisms observed (i.e., the sample "richness"). Or, you might be interested in weighting the calculation by the relative abundance of the organisms (i.e., the sample "evenness"). The metric we\'re computing here is called Faith\'s Phylogenetic Diversity (originally defined <a href="https://www.sciencedirect.com/science/article/pii/0006320792912013" target="_blank">here</a>). Faith\'s Phylogenetic Diversity computes the "richness" of your sample as the amount of evolutionary breadth represented by your sample. The way we compute alpha diversity is also through <a href="https://qiime2.org" target="_blank">QIIME 2</a>, and more information on it can be found in the alpha and beta diversity <a href="https://docs.qiime2.org/2020.6/tutorials/moving-pictures/#alpha-and-beta-diversity-analysis" target="_blank">sections</a> of the QIIME 2 tutorial') }}.</p>
163+
<p>{{ _('Here, we\'re providing a measure of the diversity of your sample, and how it compares to the diversities of all of the same type of samples in the American Gut Project. There are many ways to calculate diversity. For instance, you could compute a diversity value by counting the number of unique organisms observed (i.e., the sample "richness"). Or, you might be interested in weighting the calculation by the relative abundance of the organisms (i.e., the sample "evenness"). The metric we\'re computing here is called Faith\'s Phylogenetic Diversity (originally defined <a href="https://www.sciencedirect.com/science/article/pii/0006320792912013" target="_blank">here</a>). Faith\'s Phylogenetic Diversity computes the "richness" of your sample as the amount of evolutionary breadth represented by your sample. The way we compute alpha diversity is also through <a href="https://qiime2.org" target="_blank">QIIME 2</a>, and more information on it can be found in the alpha and beta diversity <a href="https://docs.qiime2.org/2020.6/tutorials/moving-pictures/#alpha-and-beta-diversity-analysis" target="_blank">sections</a> of the QIIME 2 tutorial') }}.</p>
164164
<div id="vis"></div>
165165
</div>
166166
</div>
167167
<div class="column" style="text-align: center">
168168
<h3>{{ _('Beta Diversity') }}</h3>
169169
<br>
170-
<p>{{ _('Here we display how your sample fits in among the other samples of The Microsetta Initiative in terms of shared microbes. There are many ways to calculate beta diversity, differing in how to weight the distance between any two microbes. We take evolutionary distance into account with the metric displayed here, known as Unweighted Unifrac. You can find an overview of this metric <a href="https://en.wikipedia.org/wiki/UniFrac" target="_blank">here</a> or better understand its derivation <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1828774/" target="_blank">here</a>. This computation is performed with <a href="https://qiime2.org" target="_blank">QIIME 2</a>, and more information on it can be found in the alpha and beta diversity <a href="https://docs.qiime2.org/2020.6/tutorials/moving-pictures/#alpha-and-beta-diversity-analysis" target="_blank">sections</a> of the QIIME 2 tutorial') }}.</p>
170+
<p>{{ _('Here we display how your sample fits in among the other samples of the American Gut Project in terms of shared microbes. There are many ways to calculate beta diversity, differing in how to weight the distance between any two microbes. We take evolutionary distance into account with the metric displayed here, known as Unweighted Unifrac. You can find an overview of this metric <a href="https://en.wikipedia.org/wiki/UniFrac" target="_blank">here</a> or better understand its derivation <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1828774/" target="_blank">here</a>. This computation is performed with <a href="https://qiime2.org" target="_blank">QIIME 2</a>, and more information on it can be found in the alpha and beta diversity <a href="https://docs.qiime2.org/2020.6/tutorials/moving-pictures/#alpha-and-beta-diversity-analysis" target="_blank">sections</a> of the QIIME 2 tutorial') }}.</p>
171171
<div id='emperor-notebook' style="position: relative; width:100%; height:500px;"></div>
172172
</div>
173173
{% endblock %}

microsetta_interface/templates/submit_interest.jinja2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ $(document).ready(function(){
298298
<center>
299299
{% if campaign_id is none %}
300300
{{ _('Sorry, it appears you\'ve followed a bad link. If you were trying to sign up for a project, please try copying the link again.') }}<br /><br />
301-
{{ _('Otherwise, please visit our <a href="https://microsetta.ucsd.edu/">website</a> to learn about other opportunities to participate in The Microsetta Initiative.') }}
301+
{{ _('Otherwise, please visit our <a href="https://microsetta.ucsd.edu/">website</a> to learn about other opportunities to participate in the American Gut Project.') }}
302302
{% elif not valid_campaign %}
303303
{{ _('Sorry, due to widespread interest, the sign-up list for this project is full.') }}<br /><br />
304-
{{ _('Please visit our <a href="https://microsetta.ucsd.edu/">website</a> to learn about other opportunities to participate in The Microsetta Initiative.') }}
304+
{{ _('Please visit our <a href="https://microsetta.ucsd.edu/">website</a> to learn about other opportunities to participate in the American Gut Project.') }}
305305
{% else %}
306306
<div id="validation_modal" class="val_modal">
307307
<div class="val_modal_content">
@@ -593,7 +593,7 @@ $(document).ready(function(){
593593
</fieldset>
594594
<fieldset id="submit_interest_4">
595595
<div class="form-group">
596-
<label for="confirm_consent" name="confirm_consent_label">{{ _('By subscribing to this program, I agree to receive communications via the newsletter regarding the status of the program, the steps I must complete, tips and tricks for completing my participation and surveys. I agree and understand that I can unsubscribe at any time using a link in the newsletter and this will not change my consent to receive sample status updates directly from the TMI database. ') }}*</label><br />
596+
<label for="confirm_consent" name="confirm_consent_label">{{ _('By subscribing to this program, I agree to receive communications via the newsletter regarding the status of the program, the steps I must complete, tips and tricks for completing my participation and surveys. I agree and understand that I can unsubscribe at any time using a link in the newsletter and this will not change my consent to receive sample status updates directly from the AGP database. ') }}*</label><br />
597597
<input type="checkbox" name="confirm_consent" value="true"> {{ _('Yes') }}
598598
<label for="confirm_consent" class="error" style="display: none;">{{ _('Please agree to receiving communications from us.') }}</label>
599599
</div>

microsetta_interface/translations/en_US/LC_MESSAGES/messages.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,11 +2326,11 @@ msgid ""
23262326
msgstr ""
23272327

23282328
#: templates/new_results_page.jinja2:482
2329-
msgid "The Microsetta Initiative and Comparative Studies"
2329+
msgid "the American Gut Project and Comparative Studies"
23302330
msgstr ""
23312331

23322332
#: templates/new_results_page.jinja2:489
2333-
msgid "The Microsetta Initiative"
2333+
msgid "the American Gut Project"
23342334
msgstr ""
23352335

23362336
#: templates/new_results_page.jinja2:516
@@ -3301,8 +3301,8 @@ msgstr ""
33013301
#: templates/sample_results.jinja2:163
33023302
msgid ""
33033303
"Here, we're providing a measure of the diversity of your sample, and how "
3304-
"it compares to the diversities of all of the same type of samples in The "
3305-
"Microsetta Initiative. There are many ways to calculate diversity. For "
3304+
"it compares to the diversities of all of the same type of samples in the "
3305+
"American Gut Project. There are many ways to calculate diversity. For "
33063306
"instance, you could compute a diversity value by counting the number of "
33073307
"unique organisms observed (i.e., the sample \"richness\"). Or, you might "
33083308
"be interested in weighting the calculation by the relative abundance of "
@@ -3325,8 +3325,8 @@ msgstr ""
33253325

33263326
#: templates/sample_results.jinja2:170
33273327
msgid ""
3328-
"Here we display how your sample fits in among the other samples of The "
3329-
"Microsetta Initiative in terms of shared microbes. There are many ways to"
3328+
"Here we display how your sample fits in among the other samples of the "
3329+
"American Gut Project in terms of shared microbes. There are many ways to"
33303330
" calculate beta diversity, differing in how to weight the distance "
33313331
"between any two microbes. We take evolutionary distance into account with"
33323332
" the metric displayed here, known as Unweighted Unifrac. You can find an "
@@ -3653,7 +3653,7 @@ msgstr ""
36533653
msgid ""
36543654
"Otherwise, please visit our <a "
36553655
"href=\"https://microsetta.ucsd.edu/\">website</a> to learn about other "
3656-
"opportunities to participate in The Microsetta Initiative."
3656+
"opportunities to participate in the American Gut Project."
36573657
msgstr ""
36583658

36593659
#: templates/submit_interest.jinja2:303
@@ -3665,8 +3665,8 @@ msgstr ""
36653665
#: templates/submit_interest.jinja2:304
36663666
msgid ""
36673667
"Please visit our <a href=\"https://microsetta.ucsd.edu/\">website</a> to "
3668-
"learn about other opportunities to participate in The Microsetta "
3669-
"Initiative."
3668+
"learn about other opportunities to participate in the American Gut "
3669+
"Project."
36703670
msgstr ""
36713671

36723672
#: templates/submit_interest.jinja2:308 templates/update_address.jinja2:181
@@ -3747,7 +3747,7 @@ msgid ""
37473747
"complete, tips and tricks for completing my participation and surveys. I "
37483748
"agree and understand that I can unsubscribe at any time using a link in "
37493749
"the newsletter and this will not change my consent to receive sample "
3750-
"status updates directly from the TMI database. "
3750+
"status updates directly from the AGP database. "
37513751
msgstr ""
37523752

37533753
#: templates/submit_interest.jinja2:602 templates/survey.jinja2:299

microsetta_interface/translations/es_ES/LC_MESSAGES/messages.po

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2467,12 +2467,12 @@ msgstr ""
24672467
"polvo se compone de hasta un 50%% de las células muertas de la piel."
24682468

24692469
#: templates/new_results_page.jinja2:482
2470-
msgid "The Microsetta Initiative and Comparative Studies"
2471-
msgstr "The Microsetta Initiative y los estudios comparativos"
2470+
msgid "the American Gut Project and Comparative Studies"
2471+
msgstr "the American Gut Project y los estudios comparativos"
24722472

24732473
#: templates/new_results_page.jinja2:489
2474-
msgid "The Microsetta Initiative"
2475-
msgstr "The Microsetta Initiative"
2474+
msgid "the American Gut Project"
2475+
msgstr "the American Gut Project"
24762476

24772477
#: templates/new_results_page.jinja2:516
24782478
msgid "Publication link"
@@ -3742,8 +3742,8 @@ msgstr "Diversidad Alfa"
37423742
#: templates/sample_results.jinja2:163
37433743
msgid ""
37443744
"Here, we're providing a measure of the diversity of your sample, and how "
3745-
"it compares to the diversities of all of the same type of samples in The "
3746-
"Microsetta Initiative. There are many ways to calculate diversity. For "
3745+
"it compares to the diversities of all of the same type of samples in the "
3746+
"American Gut Project. There are many ways to calculate diversity. For "
37473747
"instance, you could compute a diversity value by counting the number of "
37483748
"unique organisms observed (i.e., the sample \"richness\"). Or, you might "
37493749
"be interested in weighting the calculation by the relative abundance of "
@@ -3761,7 +3761,7 @@ msgid ""
37613761
msgstr ""
37623762
"Aquí, nosotros estamos proporcionamos una medida de la diversidad de su "
37633763
"muestra, y cómo se compara con las diversidades de todos los mismos tipos"
3764-
" de muestras en The Microsetta Initiative. Hay muchas formas de calcular "
3764+
" de muestras en the American Gut Project. Hay muchas formas de calcular "
37653765
"la diversidad. Por ejemplo, usted podría calcular un valor de diversidad "
37663766
"contando el número de organismos únicos observados (es decir, la "
37673767
"“riqueza” de la muestra). O bien, podría estar interesado en ponderar el "
@@ -3785,8 +3785,8 @@ msgstr "Diversidad Beta"
37853785

37863786
#: templates/sample_results.jinja2:170
37873787
msgid ""
3788-
"Here we display how your sample fits in among the other samples of The "
3789-
"Microsetta Initiative in terms of shared microbes. There are many ways to"
3788+
"Here we display how your sample fits in among the other samples of the "
3789+
"American Gut Project in terms of shared microbes. There are many ways to"
37903790
" calculate beta diversity, differing in how to weight the distance "
37913791
"between any two microbes. We take evolutionary distance into account with"
37923792
" the metric displayed here, known as Unweighted Unifrac. You can find an "
@@ -3801,7 +3801,7 @@ msgid ""
38013801
" 2 tutorial"
38023802
msgstr ""
38033803
"Aquí nosotros mostramos cómo se sitúa su muestra entre las otras muestras"
3804-
" de la Iniciativa Microsetta en términos de microbios compartidos. Hay "
3804+
" de the American Gut Project en términos de microbios compartidos. Hay "
38053805
"muchas formas de calcular la diversidad beta, difiriendo en cómo medir la"
38063806
" distancia entre dos microbios. Nosotros, tomamos en cuenta la distancia "
38073807
"evolutiva con la métrica que se muestra aquí, conocida como Unweighted "
@@ -4173,11 +4173,11 @@ msgstr ""
41734173
msgid ""
41744174
"Otherwise, please visit our <a "
41754175
"href=\"https://microsetta.ucsd.edu/\">website</a> to learn about other "
4176-
"opportunities to participate in The Microsetta Initiative."
4176+
"opportunities to participate in the American Gut Project."
41774177
msgstr ""
41784178
"De lo contrario, por favor visite nuestra <a "
41794179
"href=\"https://microsetta.ucsd.edu/\">página web</a> para conocer acerca "
4180-
"de otras oportunidades para participar en The Microsetta Initiative."
4180+
"de otras oportunidades para participar en the American Gut Project."
41814181

41824182
#: templates/submit_interest.jinja2:303
41834183
msgid ""
@@ -4190,12 +4190,12 @@ msgstr ""
41904190
#: templates/submit_interest.jinja2:304
41914191
msgid ""
41924192
"Please visit our <a href=\"https://microsetta.ucsd.edu/\">website</a> to "
4193-
"learn about other opportunities to participate in The Microsetta "
4194-
"Initiative."
4193+
"learn about other opportunities to participate in the American Gut "
4194+
"Project."
41954195
msgstr ""
41964196
"Por favor visite nuestro <a href=\"https://microsetta.ucsd.edu/\">sitio "
4197-
"web</a> para conocer otras oportunidades para participar en The "
4198-
"Microsetta Initiative."
4197+
"web</a> para conocer otras oportunidades para participar en the "
4198+
"American Gut Project."
41994199

42004200
#: templates/submit_interest.jinja2:308 templates/update_address.jinja2:181
42014201
msgid "Verifying your information, please wait just a moment."
@@ -4285,15 +4285,15 @@ msgid ""
42854285
"complete, tips and tricks for completing my participation and surveys. I "
42864286
"agree and understand that I can unsubscribe at any time using a link in "
42874287
"the newsletter and this will not change my consent to receive sample "
4288-
"status updates directly from the TMI database. "
4288+
"status updates directly from the AGP database. "
42894289
msgstr ""
42904290
"Al suscribirme al programa THDMI, acepto recibir comunicaciones a través "
42914291
"del boletín informativo sobre el estado del programa, los pasos que debo "
42924292
"completar, consejos para completar mi participación y encuestas. Yo "
42934293
"acepto y entiendo que puedo cancelar mi suscripción en cualquier momento "
42944294
"usando un enlace en el boletín informativo y esto no cambiará mi "
42954295
"consentimiento para recibir actualizaciones del estado de mi muestra "
4296-
"directamente desde la base de datos de TMI. "
4296+
"directamente desde la base de datos de AGP. "
42974297

42984298
#: templates/submit_interest.jinja2:602 templates/survey.jinja2:299
42994299
#: templates/survey.jinja2:330

0 commit comments

Comments
 (0)