Skip to content
Browse files

Switch out "1-digit" and "2-digits" for "last-digit" and "last-two-di…

…gits". Add description ordinal localization to release notes.
  • Loading branch information...
1 parent ceda3f1 commit 6b492ed74a0d958803c5058f46e413b924ab0a16 @rmzelle rmzelle committed Aug 2, 2012
Showing with 22 additions and 8 deletions.
  1. +15 −1 release-notes-CSL-1.0.1.txt
  2. +7 −7 specification.txt
View
16 release-notes-CSL-1.0.1.txt
@@ -133,7 +133,7 @@ are not (yet) normative.
Line Spacing
------------
-The minimum value for line spacing has been increased to "1".
+The minimum value for the ``line-spacing`` attribute has been increased to "1".
See `Whitespace <http://goo.gl/0UfDl#whitespace>`_ in the CSL 1.0.1
specification.
@@ -176,6 +176,20 @@ Ticket:
- https://github.com/citation-style-language/schema/issues/10
+Localization of Ordinals
+------------------------
+
+To improve support for the localization of ordinals, such as "2nd" and "3rd",
+the number of ordinal terms has been expanded, and a ``match`` attribute has
+been introduced.
+
+See `Ordinal Suffixes <http://goo.gl/0UfDl#ordinal-suffixes>`_ in the CSL 1.0.1
+specification.
+
+Ticket:
+
+- https://github.com/citation-style-language/schema/issues/66
+
Names
-----
View
14 specification.txt
@@ -601,16 +601,16 @@ be overridden for certain numbers with the following terms:
- "ordinal-00" through "ordinal-09" - by default, a term in this group is used
when the last digit in the term name matches the last digit of the rendered
number. E.g. "ordinal-00" would match the numbers "0", "10", "20", etc. By
- setting the optional ``match`` attribute to "2-digits" ("1-digit" is the
- default), matches are limited to numbers where the two last digits agree ("0",
- "100", "200", etc.). When ``match`` is set to "whole-number", there is only a
- match if the number is the same as that of the term.
+ setting the optional ``match`` attribute to "last-two-digits" ("last-digit" is
+ the default), matches are limited to numbers where the two last digits agree
+ ("0", "100", "200", etc.). When ``match`` is set to "whole-number", there is
+ only a match if the number is the same as that of the term.
- "ordinal-10" through "ordinal-99" - by default, a term in this group is used
when the last two digits in the term name match the last two digits of the
rendered number. When the optional ``match`` attribute is set to
- "whole-number", there is only a match if the number is the same as that of the
- term.
+ "whole-number" ("last-two-digits" is the default), there is only a match if
+ the number is the same as that of the term.
When a number has matching terms from both groups (e.g. "13" can match
"ordinal-03" and "ordinal-13"), the term from the "ordinal-10" through
@@ -644,7 +644,7 @@ masculine variant is undefined. When the "day" date-part is rendered in the
"ordinal" form, the ordinal gender is matched against that of the month term.
The example below gives "1re éd." ("1st ed."), "1er janvier" ("January 1st"),
-and "3e janvier" ("January 3rd"):
+and "3e édition" ("3rd edition"):
.. sourcecode:: xml

0 comments on commit 6b492ed

Please sign in to comment.
Something went wrong with that request. Please try again.