-
Notifications
You must be signed in to change notification settings - Fork 1k
Fixes #38605 - Reword note about compute resources #10634
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
base: develop
Are you sure you want to change the base?
Conversation
This patch rewords the note that is shown below the table of compute resources on the Administer > About page on the Available Providers tab. * Remove "bundler" for development setups which not ideal for downstream products * Remove "oVirt" which is deprecated (NOTE: When I first looked at it, it still referenced oVirt. This has been fixed by Leos via b777a65.) * Recommend following the docs and using "foreman-installer" in favor of their package managers. Without a chapter, the users will start at the beginning of the guide. There is no chapter that lists all virtualization platforms and cloud providers. Co-authored-by: Thorben Denzer <denzer@atix.de>
cc @Thorben-D |
@@ -60,7 +60,8 @@ | |||
<% end %> | |||
</tbody> | |||
</table> | |||
<%= _('To enable a provider, either install the OS package (e.g. foreman-libvirt) or enable the bundler group for development setup (e.g. libvirt).') %> | |||
<%= _('You can enable additional compute resources. For more information, see') %> | |||
<%= link_to _('provisioning hosts'), external_link_path(type: 'docs', section: "Provisioning_Hosts", chapter: ""), :rel => "external" %>. |
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.
Please use the helpers introduced in b566ea8. I think this should work:
<%= link_to _('provisioning hosts'), external_link_path(type: 'docs', section: "Provisioning_Hosts", chapter: ""), :rel => "external" %>. | |
<%= link_to _('provisioning hosts'), documentation_url('Provisioning_Hosts', type: 'docs'), :rel => "external" %>. |
@@ -60,7 +60,8 @@ | |||
<% end %> | |||
</tbody> | |||
</table> | |||
<%= _('To enable a provider, either install the OS package (e.g. foreman-libvirt) or enable the bundler group for development setup (e.g. libvirt).') %> | |||
<%= _('You can enable additional compute resources. For more information, see') %> |
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.
Splitting sentences in translation is always a bad a idea and must be avoided. Please use string interpolation instead. See https://projects.theforeman.org/projects/foreman/wiki/Translating. Though I'm not 100% sure what the current best practice around links is.
This patch rewords the note that is shown below the table of compute resources on the Administer > About page on the Available Providers tab.
Without a chapter, the users will start at the beginning of the guide. There is no chapter that lists all virtualization platforms and cloud providers.