summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2016-02-21 09:45:08 (GMT)
committerwebchick2016-02-21 09:45:20 (GMT)
commit6008776f55b939696b3c12ae2fa58bd6b90b8f87 (patch)
treee042177b673f0e4c205bd795b991747fc1fbf388
parente740b7060f11ba21a3433099522f82f5bb26be01 (diff)
Issue #2668008 by dimaro, rakesh.gectcr, kannan@kiluvai.com, felribeiro, jhodgdon, eojthebrave, mobaid, xjm, AjitS: Internationalization topic refers to format_plural() function that does not exist
-rw-r--r--core/lib/Drupal/Core/Language/language.api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Language/language.api.php b/core/lib/Drupal/Core/Language/language.api.php
index f0dc2f7..eb56b59 100644
--- a/core/lib/Drupal/Core/Language/language.api.php
+++ b/core/lib/Drupal/Core/Language/language.api.php
@@ -29,7 +29,8 @@ use Drupal\Core\Language\LanguageInterface;
* - Any time UI text is displayed using PHP code, it should be passed through
* either the global t() function or a t() method on the class. If it
* involves plurals, it should be passed through either the global
- * formatPlural() function or a formatPlural() method on the class. Use
+ * \Drupal\Core\StringTranslation\PluralTranslatableMarkup::createFromTranslatedString()
+ * or a formatPlural() method on the class. Use
* \Drupal\Core\StringTranslation\StringTranslationTrait to get these methods
* into a class.
* - Dates displayed in the UI should be passed through the 'date' service