Skip to content
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

[BUG] Translation failure in Oqtane.Client\Modules\Admin\Roles\Index.razor #4202

Closed
marceloatoledo opened this issue Apr 29, 2024 · 0 comments

Comments

@marceloatoledo
Copy link

Oqtane Info
Version - 5.1.1

Describe the bug
In the Oqtane.Client\Modules\admin\roles\Index.razor file, the "Text" property is missing from the ActionLink:
This causes translation to other languages to fail

ActionLink Action="Edit" Parameters="@($"id=" + context.RoleId.ToString())" Security="SecurityAccessLevel.Edit" Disabled="@(context.IsSystem)" ResourceKey="Edit"
ActionLink Action="Users" Parameters="@($"id=" + context.RoleId.ToString())" Security="SecurityAccessLevel.Edit" ResourceKey="Users"

Expected Behavior
For the Edit and User buttons to be translated

ActionLink Action="Edit" Text="Edit" Parameters="@($"id=" + context.RoleId.ToString())" Security="SecurityAccessLevel.Edit" Disabled="@(context.IsSystem)" ResourceKey="Edit"
ActionLink Action="Users" Text="Users" Parameters="@($"id=" + context.RoleId.ToString())" Security="SecurityAccessLevel.Edit" ResourceKey="Users"

Steps To Reproduce
Install other languages and in the language bar switch to anything other than English

@marceloatoledo marceloatoledo changed the title [BUG] Translation failure in Oqtane.Client/Modules/Admin/Roles/Index.razor [BUG] Translation failure in Oqtane.Client\Modules\Admin\Roles\Index.razor Apr 29, 2024
leigh-pointer added a commit to leigh-pointer/oqtane.framework.fork that referenced this issue Apr 30, 2024
sbwalker added a commit that referenced this issue May 1, 2024
Fix for missing parameters and Resx values Issue #4202 #4203 #4210 and part #4209
@sbwalker sbwalker closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants