Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix(docu): no tabs in yaml codeblock, fix codeblock language, fix typo

as-opae61b9e317fd
diff --git a/docs/development/concepts/translations/README.md b/docs/development/concepts/translations/README.md
index dbdfa59188c..8edd4c4cef7 100644
--- a/docs/development/concepts/translations/README.md
+++ b/docs/development/concepts/translations/README.md
@@ -52,14 +52,14 @@ You should prefix your string unless its something very generic:
# ...
work_packages:
my_specific_page:
- my_button: "My localized button label"
+ my_button: "My localized button label"
```
You can then use the `t()` helper method in the Rails erb view to translate the string:
-```html
+```erb
<%= styled_button_tag t('work_packages.my_specific_page.my_button') %>
```
@@ -79,7 +79,7 @@ The Rails guide on translations will give advanced examples on variable interpol
## Using I18n in your frontend code
-The frontend receives all translations prefixed with `js.` (see above) through compiled javascript files from `frontend/src/locales/{language}.js` folder generated by I18n.js. These locales are loaded early on in the application in [frontend/src/main.ts](https://github.com/opf/openproject/blob/dev/frontend/src/main.ts) to ensure they are present when the page loads. The import happens dynamically so only the language the user has selected is going to be loaded by webpack.
+The frontend receives all translations prefixed with `js-` (see above) through compiled javascript files from `frontend/src/locales/{language}.js` folder generated by I18n.js. These locales are loaded early on in the application in [frontend/src/main.ts](https://github.com/opf/openproject/blob/dev/frontend/src/main.ts) to ensure they are present when the page loads. The import happens dynamically so only the language the user has selected is going to be loaded by webpack.
diff --git a/docs/getting-started/boards-introduction/README.md b/docs/getting-started/boards-introduction/README.md
index 3305f09fced..9871686ff3f 100644
--- a/docs/getting-started/boards-introduction/README.md
+++ b/docs/getting-started/boards-introduction/README.md
@@ -20,7 +20,7 @@ This document provides an initial introduction to the boards in OpenProject, i.e
To find out more about the detailed functionalities of Boards, please visit our [user guide for boards](../../user-guide/agile-boards).
-Agile boards is only one of OpenProject's features. Find a comprehensive comparison between OpenProject and Trello [here](https://www.openproject.org/alternatives/best-trello-alternative/).
+Agile boards is only one of OpenProject's features. Find a comprehensive comparison between OpenProject and Trello [here](https://www.openproject.org/project-management-software-alternatives/best-trello-alternative/).
| Topic | Content |