Skip to content

Translations user permissions#2330

Merged
frankiejol merged 3 commits into
UPC:mainfrom
Yago004:translations-user-perm
May 26, 2026
Merged

Translations user permissions#2330
frankiejol merged 3 commits into
UPC:mainfrom
Yago004:translations-user-perm

Conversation

@Yago004

@Yago004 Yago004 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Added translations for user permissions and the delete user warning message to english, catalan and spanish.

@frankiejol frankiejol requested a review from Copilot May 20, 2026 06:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates user-facing permission descriptions and the “remove user” confirmation text to be translatable (and consistently keyed) across English, Catalan, and Spanish.

Changes:

  • Standardizes several permission-description msgids to lowercase to match the strings used in lib/Ravada.pm.
  • Adds new translation entries for additional permissions and the remove-user confirmation message in en.po, ca.po, and es.po.
  • Fixes punctuation in the remove-user confirmation template string.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
templates/main/manage_user_remove.html.ep Updates the confirmation text to match the new translation key (punctuation).
lib/Ravada/I18N/es.po Adds/updates Spanish translations for permission strings and the remove-user warning.
lib/Ravada/I18N/en.po Adds/updates English translation entries for the new/standardized permission strings and warning.
lib/Ravada/I18N/ca.po Adds/updates Catalan translations for permission strings and the remove-user warning.
lib/Ravada.pm Aligns grant description strings with the new lowercase msgids used for translation lookup.
Comments suppressed due to low confidence (1)

lib/Ravada/I18N/es.po:2622

  • The Spanish translation for "can manage all the virtual networks." says "puede gestionar todas las máquines virtuales.": it refers to machines instead of networks and also contains a typo ("máquines" -> "máquinas"). Please adjust the translation to mention virtual networks and fix the spelling.
msgid "can manage all the virtual networks."
msgstr "puede gestionar todas las máquines virtuales."


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/Ravada/I18N/es.po
Comment on lines +2608 to +2610
msgid "can create virtual networks."
msgstr "puede crear máquinas virtuales."

Comment thread lib/Ravada/I18N/ca.po Outdated
msgstr "pot hibernar les seves màquines virtuals."

msgid "can manage all the virtual networks."
msgstr "pot gestionar totes les màquines virtuals."
@frankiejol frankiejol added this to the v2.4.7 milestone May 21, 2026

@frankiejol frankiejol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect !

@frankiejol frankiejol merged commit 9962afe into UPC:main May 26, 2026
1 check passed
@Yago004 Yago004 deleted the translations-user-perm branch June 26, 2026 08:48
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

Successfully merging this pull request may close these issues.

3 participants