Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: README.md

Issue 1090303002: Fix plural examples to use the right parameter name (Closed) Base URL: https://github.com/dart-lang/intl.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 860fb10e7c07b4acc92a715d29baabd24f3d753e..2f789a2acbf793aadb450289fdbb2ff90d72b649 100644
--- a/README.md
+++ b/README.md
@@ -122,7 +122,7 @@ message string, for plurals and genders.
name: "remainingEmailsMessage",
args: [howMany, userName],
desc: "How many emails remain after archiving.",
- examples: {'number': 42, 'userName': 'Fred'});
+ examples: {'howMany': 42, 'userName': 'Fred'});
print(remainingEmailsMessage(1, "Fred"));
@@ -139,7 +139,7 @@ provide its parameters to the [Intl.plural][Intl.plural] call instead.
name: "remainingEmailsMessage",
args: [howMany, userName],
desc: "How many emails remain after archiving.",
- examples: {'number': 42, 'userName': 'Fred'});
+ examples: {'howMany': 42, 'userName': 'Fred'});
Similarly, there is an [Intl.gender][Intl.gender] message, and plurals
and genders can be nested.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698