Skip to content

Add Brazilian Portuguese (pt_BR) translations (GLPI 11.0.x) - #70

Closed
andrefelipeufcg wants to merge 1 commit into
pluginsGLPI:11.0/bugfixesfrom
andrefelipeufcg:pt-br-11.0
Closed

andrefelipeufcg wants to merge 1 commit into
pluginsGLPI:11.0/bugfixesfrom
andrefelipeufcg:pt-br-11.0

Conversation

@andrefelipeufcg

Copy link
Copy Markdown

Summary

Add the Brazilian Portuguese (pt_BR) translation catalog for the advancedforms plugin (GLPI 11.0.x branch).

  • Include reservation, validation, table, notification, pre-reservation, and calendar availability messages.
  • Pass the translated reservation placeholder from Twig to JavaScript while preserving the internationalized fallback.

Files changed

  • locales/pt_BR.po / locales/pt_BR.mo - new translation catalog
  • templates/reservation_question.html.twig - pass translated placeholder via data attribute
  • public/js/modules/ReservationQuestionWidget.js - use the data attribute placeholder with i18n fallback

Notes

This is the GLPI 11.0.x counterpart of PR #58 (which targets main / GLPI 12).

Validation

  • PHP syntax checks pass for all modified files.
  • The pt_BR.mo catalog was compiled from pt_BR.po.

Closes #59

@andrefelipeufcg

Copy link
Copy Markdown
Author

Superseded by #72 (GLPI 11 and 12 compatibility), opened from a dedicated branch targeting main.

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.

2 participants