Closed abelsromero closed 3 years ago
Stupid question...I wanted to add an option to add Code repo button next to the Website button, but couldn't find where the labels are defined, not even search for the labels "Website" or "Download" :open_mouth:
Stupid question...I wanted to add an option to add Code repo button next to the Website button, but couldn't find where the labels are defined, not even search for the labels "Website" or "Download"
This is created from a layout file in the base theme for projects seen here: https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/layouts/projects/summary.html. If you wanted to add a code repo button, you could probably make a pull request to add it (with some checking to only print it when we have it). It can be tricky to find so I don't blame you!
This is created from a layout file in the base theme for projects seen here: https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/layouts/projects/summary.html. If you wanted to add a code repo button, you could probably make a pull request to add it (with some checking to only print it when we have it). It can be tricky to find so I don't blame you!
That's not the issue, the thing is where do the literals come from? I was expecting this {{ i18n "project-summary-website-label" }}
to point to some property/json/yaml with that key but could not find it, even searching by "Website" which the value did not bring results.
This is created from a layout file in the base theme for projects seen here: https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/layouts/projects/summary.html. If you wanted to add a code repo button, you could probably make a pull request to add it (with some checking to only print it when we have it). It can be tricky to find so I don't blame you!
That's not the issue, the thing is where do the literals come from? I was expecting this
{{ i18n "project-summary-website-label" }}
to point to some property/json/yaml with that key but could not find it, even searching by "Website" which the value did not bring results.
Ahh! Gotcha. i18n labels are stored in the i18n folder in the root of the project, in line with whats defined on the Hugo documentation for i18n. That particular value is set in the following file: https://github.com/EclipseFdn/hugo-solstice-theme/blob/master/i18n/en.toml#L208
@abelsromero - I see you link to the project proposal. AFAIK this page is immutable once the project is created.
The project page is: https://projects.eclipse.org/projects/technology.austen
The biggest difference: The project page contains the Git repo link, while the project proposal doesn't.
Therefore I suggest: please update the URL to point at the project page.
refore I suggest: please update the URL to point at the project page.
Fixed, many thanks for the verification
Closes #61