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

Added descriptive text about multilingual settings. #43

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions administrator/language/en-GB/en-GB.com_jcomments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ A_SETTINTS_LANGUAGE="Language:"
A_SETTINGS_RESTORE_DEFAULT="Restore default"
A_SETTINGS_RESTORED="The default settings have been restored!"
A_SETTINGS_SAVED="Settings have been successfully saved!"
A_SETTINGS_MULTILANG_DESC="Attention! If you are using a multi-lingual site, to customize the component parameters for the desired language, select the language in the filter on the left sidebar."

; settings/general
A_COMMON="General"
Expand Down
1 change: 1 addition & 0 deletions administrator/language/ru-RU/ru-RU.com_jcomments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ A_SETTINTS_LANGUAGE="Язык:"
A_SETTINGS_RESTORE_DEFAULT="Сбросить настройки"
A_SETTINGS_RESTORED="Восстановлены настройки по умолчанию!"
A_SETTINGS_SAVED="Настройки успешно сохранены!"
A_SETTINGS_MULTILANG_DESC="Внимание! Если вы используете на сайте многоязычность, для настройки параметров компонента для необходимого языка выберите этот язык в фильтре на боковой панели слева."

; settings/general
A_COMMON="Общие"
Expand Down
3 changes: 3 additions & 0 deletions administrator/views/settings/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ function toggleListLayout(val) {
Joomla.submitform(task, document.getElementById('settings-form'));
}
}

// Render multi-lingual settings help.
Joomla.renderMessages({'notice': ['<?php echo JText::_('A_SETTINGS_MULTILANG_DESC', true); ?>']});
});
</script>

Expand Down