Skip to content

Mess style in lang files (marketplace module) #80

@hide-me

Description

@hide-me
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions