Explorar o código

Singular 'library' when appropriate

Mustache is really terrible for this kind of thing.
Daniel James %!s(int64=9) %!d(string=hai) anos
pai
achega
c8ce0350ec
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      index.html

+ 3 - 1
index.html

@@ -56,7 +56,9 @@
   <h3>Changes in this release</h3>
 
   {{#unreleased_lib_count}}
-  <p>The release includes {{unreleased_lib_count}} new libraries
+  <p>The release includes {{unreleased_lib_count}} new
+  {{#unreleased_library_plural}}libraries{{/unreleased_library_plural}}
+  {{^unreleased_library_plural}}library{{/unreleased_library_plural}}
   ({{#unreleased_libs}}{{#index}}, {{/index}}<a href="{{link}}">{{name}}</a>{{/unreleased_libs}})
   as well as updates to many existing libraries.
   {{/unreleased_lib_count}}

粤ICP备19079148号