Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/StringTranslation/TranslationInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
91 * "@count new comments". | 91 * "@count new comments". |
92 * @param array $args | 92 * @param array $args |
93 * An associative array of replacements to make after translation. Instances | 93 * An associative array of replacements to make after translation. Instances |
94 * of any key in this array are replaced with the corresponding value. | 94 * of any key in this array are replaced with the corresponding value. |
95 * Based on the first character of the key, the value is escaped and/or | 95 * Based on the first character of the key, the value is escaped and/or |
96 * themed. See \Drupal\Component\Utility\SafeMarkup::format(). Note that you do | 96 * themed. See \Drupal\Component\Render\FormattableMarkup. Note that you do |
97 * not need to include @count in this array; this replacement is done | 97 * not need to include @count in this array; this replacement is done |
98 * automatically for the plural cases. | 98 * automatically for the plural cases. |
99 * @param array $options | 99 * @param array $options |
100 * An associative array of additional options. See t() for allowed keys. | 100 * An associative array of additional options. See t() for allowed keys. |
101 * | 101 * |
102 * @return \Drupal\Core\StringTranslation\PluralTranslatableMarkup | 102 * @return \Drupal\Core\StringTranslation\PluralTranslatableMarkup |
103 * A translated string. | 103 * A translated string. |
104 * | 104 * |
105 * @see \Drupal\Core\StringTranslation\TranslationInterface::translate() | 105 * @see \Drupal\Core\StringTranslation\TranslationInterface::translate() |
106 * @see t() | 106 * @see t() |
107 * @see \Drupal\Component\Utility\SafeMarkup::format() | 107 * @see \Drupal\Component\Render\FormattableMarkup |
108 * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup::createFromTranslatedString() | 108 * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup::createFromTranslatedString() |
109 */ | 109 */ |
110 public function formatPlural($count, $singular, $plural, array $args = [], array $options = []); | 110 public function formatPlural($count, $singular, $plural, array $args = [], array $options = []); |
111 | 111 |
112 } | 112 } |