summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-02-09 03:24:06 (GMT)
committer webchick2013-02-09 03:24:06 (GMT)
commit4bbff1649e13b75a0b1fefe770d1130a483d2076 (patch)
tree3343a61c3f2e35a1e8b545d74f828d0aaeee2ee5
parent1c408b7c4cfa7ba707111b249122ef12547e9e0e (diff)
Issue #1831636 by claudinec, jlscott, thsutton, chrischinchilla, moe4715, ancamp, YesCT, kbasarab: Reword error message about incompatible translation formats.
-rw-r--r--core/modules/translation_entity/translation_entity.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/translation_entity/translation_entity.module b/core/modules/translation_entity/translation_entity.module
index 0167180..3f0c6b6 100644
--- a/core/modules/translation_entity/translation_entity.module
+++ b/core/modules/translation_entity/translation_entity.module
@@ -847,7 +847,7 @@ function translation_entity_language_configuration_element_validate($element, ar
// @todo Set the correct form element name as soon as the element parents
// are correctly set. We should be using NestedArray::getValue() but for
// now we cannot.
- form_set_error('', t('Translation is not supported if language is always one of: @locked_languages', array('@locked_languages' => implode(', ', $locked_languages))));
+ form_set_error('', t('"Show language selector" is not compatible with translating content that has default language: %choice. Either do not hide the language selector or pick a specific language.', array('%choice' => $locked_languages[$values['langcode']])));
}
}