-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Create infrastructure for translations #61220
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
Draft
melissawm
wants to merge
2
commits into
pandas-dev:main
Choose a base branch
from
melissawm:translations
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html lang="{{ selected_language }}"> | ||
<head> | ||
<script defer data-domain="pandas.pydata.org" src="https://views.scientific-python.org/js/script.js"></script> | ||
<title>pandas - Python Data Analysis Library</title> | ||
|
@@ -15,6 +15,8 @@ | |
href="{{ base_url }}{{ stylesheet }}"> | ||
{% endfor %} | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> | ||
<meta id="languages" data-lang="{{ languages }}"> | ||
<script src="{{ base_url }}static/js/language_switcher.js"></script> | ||
</head> | ||
<body> | ||
<header> | ||
|
@@ -50,6 +52,8 @@ | |
</li> | ||
{% endif %} | ||
{% endfor %} | ||
<!-- Language switcher --> | ||
<div id="language-switcher-container"></div> | ||
</ul> | ||
</div> | ||
</div> | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Donate to pandas | ||
|
||
<div id="salsalabs-donate-container"> | ||
</div> | ||
<script type="text/javascript" | ||
src="https://default.salsalabs.org/api/widget/template/4ba4e328-1855-47c8-9a89-63e4757d2151/?tId=salsalabs-donate-container"> | ||
</script> | ||
|
||
_pandas_ is a Sponsored Project of [NumFOCUS](https://numfocus.org/), a 501(c)(3) nonprofit charity in the United States. | ||
NumFOCUS provides _pandas_ with fiscal, legal, and administrative support to help ensure the | ||
health and sustainability of the project. Visit numfocus.org for more information. | ||
|
||
Donations to _pandas_ are managed by NumFOCUS. For donors in the United States, your gift is tax-deductible | ||
to the extent provided by law. As with any donation, you should consult with your tax adviser about your particular tax situation. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
# Citing and logo | ||
|
||
## Citing pandas | ||
|
||
If you use _pandas_ for a scientific publication, we would appreciate citations to the published software and the | ||
following paper: | ||
|
||
- [pandas on Zenodo](https://zenodo.org/search?page=1&size=20&q=conceptrecid%3A%223509134%22&sort=-version&all_versions=True), | ||
Please find us on Zenodo and replace with the citation for the version you are using. You can replace the full author | ||
list from there with "The pandas development team" like in the example below. | ||
|
||
@software{reback2020pandas, | ||
author = {The pandas development team}, | ||
title = {pandas-dev/pandas: Pandas}, | ||
month = feb, | ||
year = 2020, | ||
publisher = {Zenodo}, | ||
version = {latest}, | ||
doi = {10.5281/zenodo.3509134}, | ||
url = {https://doi.org/10.5281/zenodo.3509134} | ||
} | ||
|
||
- [Data structures for statistical computing in python](https://pub.curvenote.com/01908378-3686-7168-a380-d82bbf21c799/public/mckinney-57fc0d4e8a08cd7f26a4b8bf468a71f4.pdf), | ||
McKinney, Proceedings of the 9th Python in Science Conference, Volume 445, 2010. | ||
|
||
@InProceedings{ mckinney-proc-scipy-2010, | ||
author = { {W}es {M}c{K}inney }, | ||
title = { {D}ata {S}tructures for {S}tatistical {C}omputing in {P}ython }, | ||
booktitle = { {P}roceedings of the 9th {P}ython in {S}cience {C}onference }, | ||
pages = { 56 - 61 }, | ||
year = { 2010 }, | ||
editor = { {S}t\'efan van der {W}alt and {J}arrod {M}illman }, | ||
doi = { 10.25080/Majora-92bf1922-00a } | ||
} | ||
|
||
## Brand and logo | ||
|
||
When using the project name _pandas_, please use it in lower case, even at the beginning of a sentence. | ||
|
||
The official logos of _pandas_ are: | ||
|
||
### Primary logo | ||
|
||
<table class="table logo"> | ||
<tr> | ||
<td> | ||
<img alt="" src="{{ base_url }}static/img/pandas.svg"/> | ||
</td> | ||
<td style="background-color: #150458"> | ||
<img alt="" src="{{ base_url }}static/img/pandas_white.svg"/> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
### Secondary logo | ||
|
||
<table class="table logo"> | ||
<tr> | ||
<td> | ||
<img alt="" src="{{ base_url }}static/img/pandas_secondary.svg"/> | ||
</td> | ||
<td style="background-color: #150458"> | ||
<img alt="" src="{{ base_url }}static/img/pandas_secondary_white.svg"/> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
### Logo mark | ||
|
||
<table class="table logo"> | ||
<tr> | ||
<td> | ||
<img alt="" src="{{ base_url }}static/img/pandas_mark.svg"/> | ||
</td> | ||
<td style="background-color: #150458"> | ||
<img alt="" src="{{ base_url }}static/img/pandas_mark_white.svg"/> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
### Logo usage | ||
|
||
The pandas logo is available in full color and white accent. | ||
The full color logo should only appear against white backgrounds. | ||
The white accent logo should go against contrasting color background. | ||
|
||
When using the logo, please follow the next directives: | ||
|
||
- Primary logo should never be seen under 1 inch in size for printing and 72px for web | ||
- The secondary logo should never be seen under 0.75 inch in size for printing and 55px for web | ||
- Leave enough margin around the logo (leave the height of the logo in the top, bottom and both sides) | ||
- Do not distort the logo by changing its proportions | ||
- Do not place text or other elements on top of the logo | ||
|
||
### Colors | ||
|
||
<table class="table"> | ||
<tr> | ||
<td style="text-align: center;"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"> | ||
<circle cx="50" cy="50" r="50" fill="#150458"/> | ||
</svg> | ||
<br/> | ||
<b style="color: #150458;">Blue</b><br/> | ||
RGB: R21 G4 B88<br/> | ||
HEX: #150458 | ||
</td> | ||
<td style="text-align: center;"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"> | ||
<circle cx="50" cy="50" r="50" fill="#ffca00"/> | ||
</svg> | ||
<br/> | ||
<b style="color: #150458;">Yellow</b><br/> | ||
RGB: R255 G202 B0<br/> | ||
HEX: #FFCA00 | ||
</td> | ||
<td style="text-align: center;"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"> | ||
<circle cx="50" cy="50" r="50" fill="#e70488"/> | ||
</svg> | ||
<br/> | ||
<b style="color: #150458;">Pink</b><br/> | ||
RGB: R231 G4 B136<br/> | ||
HEX: #E70488 | ||
</td> | ||
</tr> | ||
</table> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@melissawm this should probably be an inverted rule so that everything except
is ignored now that translations will not live on this repo