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

Only the language code is displayed for the maximum file upload. #9593

Closed
rich20 opened this issue Dec 9, 2023 · 0 comments
Closed

Only the language code is displayed for the maximum file upload. #9593

rich20 opened this issue Dec 9, 2023 · 0 comments

Comments

@rich20
Copy link
Member

rich20 commented Dec 9, 2023

Describe the bug
https://www.kunena.org/forum/36-German/168224-platzhalter-statt-die-maximal-erlaubte-anzahl-an-dateien#230105
Confirmed

To Reproduce
Try to upload more than the allowed number of attachments as a normal user

Result
COM_KUNENA_UPLOADED_LABEL_ERROR_REACHED_MAX_NUMBER_FILES

Additional context
No language override helps either, the content of src/media/kunena/core/js/upload.main.js:376 is always displayed, as if it were hardcoded.

$('<div class="alert alert-danger" id="alert_max_file"><button class="close" type="button" data-dismiss="alert">×</button>' + Joomla.Text._('COM_KUNENA_UPLOADED_LABEL_ERROR_REACHED_MAX_NUMBER_FILES') + '</div>').insertBefore($('#files'));

System information

  • Joomla version: ‎4.4.2-dev
  • Joomla template: CASSIOPEIA
  • Kunena version: 6.2.2-DEV
  • Kunena template: Aurelia
  • Php version: 8.2.9
  • Database version: 10.5.22-MariaDB

Desktop

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Chromium, Firefox and Opera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants