Changes

Jump to navigation Jump to search
no edit summary
Line 7: Line 7:     
== Current status ==
 
== Current status ==
Draft
+
Draft. Not live yet.
== Taxonomy definition ==
+
 
 +
=== Script ===
 +
 
 +
The taxonomy is generated with this script:
 +
 
 +
<pre>
 +
 
 +
#!/usr/bin/perl -w
 +
 
 +
use strict;
 +
 
 +
my $entry_format = <<TXT
 +
en:Once opened, consume within <i> days
 +
fr:A consommer <i> jours après ouverture
 +
numeric_days:en:<i>
 +
TXT
 +
;
 +
 
 +
for (my $i = 1; $i <= 4 * 12; $i++) {
 +
 
 +
my $entry = $entry_format;
 +
$entry =~ s/<i>/$i/g;
 +
print $entry . "\n";
 +
}
 +
 
 +
</pre>
 +
===Singular===
 +
<pre>
 +
en:1 day, 1day
 +
fr:1 jour, 1jour
 +
 
 +
en:1 month,1month
 +
fr:1 mois, 1mois
 +
</pre>
       +
== Taxonomy definition ==
 
<pre>
 
<pre>
fr:A consommer 15 jours après ouverture
+
en:Once opened, consume within <i> days
en:Once opened, consume within 15 days
+
fr:A consommer <i> jours après ouverture
 +
 
 +
en:Consume within <i> mois
 +
fr:A consommer sous <i> mois
    
en:Store in a dry place
 
en:Store in a dry place

Navigation menu