Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OHW login.html to some text in Spanish #20

Merged
merged 3 commits into from
Feb 13, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions templates/login.html
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@
title='hub logo' />
</a>
<div id="operated-by">
Operated by: <a href="{{ custom.operated_by.url }}">{{ custom.operated_by.name }}</a> |
Funded by: <a href="{{ custom.funded_by.url }}">{{ custom.funded_by.name }}</a> |
Designed by: <a href="{{ custom.designed_by.url }}">{{ custom.designed_by.name }}</a>
Operación: <a href="{{ custom.operated_by.url }}">{{ custom.operated_by.name }}</a> |
Financiamiento: <a href="{{ custom.funded_by.url }}">{{ custom.funded_by.name }}</a> |
Diseño: <a href="{{ custom.designed_by.url }}">{{ custom.designed_by.name }}</a>
</div>
</div>
<div class="login-container text-center">
@@ -61,20 +61,27 @@
</a>
{% else %}
<a role="button" class='btn btn-jupyter btn-lg' href='{{authenticator_login_url}}'>
Log in to continue
Log in para continuar
</a>
{% endif %}
</div>

<div class="col-md-8 col-md-offset-2 details">
<div class="col-md-6">
<big class="details-welcome lead">
Welcome to the <a href="{{ custom.org.url }}">{{ custom.org.name }}</a> <strong>2i2c JupyterHub</strong>.
Bienvenido al <strong>JupyterHub-2i2c</strong> de <a href="{{ custom.org.url }}">{{ custom.org.name }}</a>
del evento Intercoonecta OceanHackWeek en español, Feb. 27 - Mar. 3, 2023.
<br />
(<strong>The interface will be in Spanish by default through March 3, 2023! If you are not
participating in the OHW-español event Feb. 27 - Mar. 3, please use this hub lightly.</strong>)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about a link to directions on how to switch language? We could include them as a subheading on https://oceanhackweek.org/resources/prep/jupyterhub.html or more generically send folks to https://jupyterlab.readthedocs.io/en/stable/user/language.html for now.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this works, though I'd love to have an English overview of the event that we could link folks too, along with instructions on how to change the JupyterLab language.

We don't have the web site for the event ready to go yet. I'll work on an initial version over the next couple of days, and we can include a short-paragraph description in English.

Logo

I do plan to submit a changed logo that incorporates the modified OHW logo we've been using.

Multi-lingual instructions/links to localize interface (since we also have a notable Brazilian contingent)

I think I'm now pedalling back from changing the language default, and instead stick with the English default plus instructions for switching the language. We already have the instructions in Spanish for switching the language to Spanish. Anyways, the details are off topic here, but I'll tweak the relevant text in this PR.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abkfenris How does my new text look?

Once you and I come to agreement about these initial changes to the login page, I'll request that the PR be merged, per @consideRatio's instructions.

emiliom marked this conversation as resolved.
Show resolved Hide resolved
</big>
<br />
<br />
Este servicio corre sobre infraestructura de código abierto. Para mayor información, consulte
la <a href="https://2i2c.org/pilot">documentación (en inglés)</a>.
<br />
This is a pilot service running on open source infrastructure.
See <a href="https://2i2c.org/pilot">the 2i2c Pilot documentation</a> for usage and deployment information.</p>
See <a href="https://2i2c.org/pilot">the 2i2c Pilot documentation</a> for usage and deployment information.
</div>
<div class="col-md-6 details-logos">
<div class="pull-right">