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

Mess style in lang files (marketplace module) #80

Open
hide-me opened this issue Feb 18, 2025 · 0 comments
Open

Mess style in lang files (marketplace module) #80

hide-me opened this issue Feb 18, 2025 · 0 comments

Comments

@hide-me
Copy link

hide-me commented Feb 18, 2025

  1. Mess with file style after any automatic update in this file. So maintainers should fix template of this file or autoupdater (I don't know exactly).
  2. As well, after any auto update of any file with locales the first string with <?php deletes comments for file (for example in Russian I put my author label on comment in 1st line after <?php So, please leave 1st line without changing. Thank you!

What steps will reproduce the problem?

  1. Open file: protected/humhub/modules/marketplace/messages/ANY_LOCALE/base.php
  2. Look on it.

What is the expected result?

  'Module successfully disabled!' => 'Модуль успешно отключен!',
  'Module successfully enabled!' => 'Модуль успешно подключен!',
  'No active Professional Edition license found!' => 'Активная лицензия Professional Edition не найдена!',
  'The license could not be activated:' => 'Лицензию не удалось активировать:',
  'The license was successfully activated!' => 'Лицензия успешно активирована!',
  'The license was successfully removed!' => 'Лицензия успешно удалена!',
  '--- Disable module: {moduleId} ---' => '--- Отключение модуля: {moduleId} ---',
  '--- Enable module: {moduleId} ---' => '--- Включение модуля: {moduleId} ---',

What do you get instead?

  '
Module successfully disabled!
' => 'Модуль успешно отключен!',
  '
Module successfully enabled!
' => 'Модуль успешно подключен!',
  '
No active Professional Edition license found!
' => 'Активная лицензия Professional Edition не найдена!',
  '
The license could not be activated:
' => 'Лицензию не удалось активировать:',
  '
The license was successfully activated!
' => 'Лицензия успешно активирована!',
  '
The license was successfully removed!
' => 'Лицензия успешно удалена!',
  '--- Disable module: {moduleId} ---
' => '--- Отключение модуля: {moduleId} ---',
  '--- Enable module: {moduleId} ---
' => '--- Включение модуля: {moduleId} ---',

Additional info

Q A
HumHub version 1.17 or ANY
PHP version Not important
Operating system Not important

Note: Also provide the full error stacks from Administration --> Information --> Logging and errors from your browser console if possible.
Note: Please use the community site for any questions on customizing HumHub.

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

1 participant