Skip to content

Conversation

maximiliankolb
Copy link
Contributor

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.

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>
@maximiliankolb
Copy link
Contributor Author

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" %>.
Copy link
Member

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:

Suggested change
<%= 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') %>
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants