<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16947">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: genitive<br><br>Change-Id: Ifb80eb7f68665b8b0936156a911c8b51e52bcaf7<br>---<br>M apps/app_saycounted.c<br>M apps/app_voicemail.c<br>M main/say.c<br>3 files changed, 12 insertions(+), 12 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/47/16947/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_saycounted.c b/apps/app_saycounted.c</span><br><span>index 09a873a..0e0f2e0 100644</span><br><span>--- a/apps/app_saycounted.c</span><br><span>+++ b/apps/app_saycounted.c</span><br><span>@@ -53,8 +53,8 @@</span><br><span> to <replaceable>filename</replaceable>. If the channel language is</span><br><span> English, then the suffix will be either empty or "s". If the channel</span><br><span> language is Russian or some other Slavic language, then the suffix</span><br><span style="color: hsl(0, 100%, 40%);">- will be empty for nominative, "x1" for genative singular, and "x2"</span><br><span style="color: hsl(0, 100%, 40%);">- for genative plural.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ will be empty for nominative, "x1" for genitive singular, and "x2"</span><br><span style="color: hsl(120, 100%, 40%);">+ for genitive plural.</para></span><br><span> <para>Note that combining <replaceable>filename</replaceable> with</span><br><span> a suffix will not necessarily produce a correctly spelled plural</span><br><span> form. For example, SayCountedNoun(2,man) will play the sound file</span><br><span>@@ -96,7 +96,7 @@</span><br><span> be added (since, in English, adjectives are not declined). If the</span><br><span> channel language is Russian or some other slavic language, then the</span><br><span> suffix will the specified <replaceable>gender</replaceable> for</span><br><span style="color: hsl(0, 100%, 40%);">- nominative, and "x" for genative plural. (The genative singular is</span><br><span style="color: hsl(120, 100%, 40%);">+ nominative, and "x" for genitive plural. (The genitive singular is</span><br><span> not used when counting things.) For example, SayCountedAdj(1,new,f)</span><br><span> will play sound file "newa" (containing the word "novaya"), but</span><br><span> SayCountedAdj(5,new,f) will play sound file "newx" (containing the</span><br><span>diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c</span><br><span>index a2d42e0..a5da765 100644</span><br><span>--- a/apps/app_voicemail.c</span><br><span>+++ b/apps/app_voicemail.c</span><br><span>@@ -9464,10 +9464,10 @@</span><br><span> * If you use it for Russian and other slavic languages, you will need these additional sound files:</span><br><span> *</span><br><span> * vm-newn "novoye" (singular, neuter)</span><br><span style="color: hsl(0, 100%, 40%);">- * vm-newx "novikh" (counting plural form, genative plural)</span><br><span style="color: hsl(120, 100%, 40%);">+ * vm-newx "novikh" (counting plural form, genitive plural)</span><br><span> * vm-message "sobsheniye" (singular form)</span><br><span style="color: hsl(0, 100%, 40%);">- * vm-messagex1 "sobsheniya" (first counting plural form, genative singular)</span><br><span style="color: hsl(0, 100%, 40%);">- * vm-messagex2 "sobsheniy" (second counting plural form, genative plural)</span><br><span style="color: hsl(120, 100%, 40%);">+ * vm-messagex1 "sobsheniya" (first counting plural form, genitive singular)</span><br><span style="color: hsl(120, 100%, 40%);">+ * vm-messagex2 "sobsheniy" (second counting plural form, genitive plural)</span><br><span> * digits/1n "odno" (neuter singular for phrases such as "one message" or "thirty one messages")</span><br><span> * digits/2n "dva" (neuter singular)</span><br><span> */</span><br><span>diff --git a/main/say.c b/main/say.c</span><br><span>index 3b260e1..41de526 100644</span><br><span>--- a/main/say.c</span><br><span>+++ b/main/say.c</span><br><span>@@ -9657,8 +9657,8 @@</span><br><span> /*! \brief</span><br><span> * Counting of objects in slavic languages such as Russian and Ukrainian the</span><br><span> * rules are more complicated. There are two plural forms used in counting.</span><br><span style="color: hsl(0, 100%, 40%);">- * They are the genative singular which we represent with the suffix "x1" and</span><br><span style="color: hsl(0, 100%, 40%);">- * the genative plural which we represent with the suffix "x2". The base names</span><br><span style="color: hsl(120, 100%, 40%);">+ * They are the genitive singular which we represent with the suffix "x1" and</span><br><span style="color: hsl(120, 100%, 40%);">+ * the genitive plural which we represent with the suffix "x2". The base names</span><br><span> * of the soundfiles remain in English. For example:</span><br><span> * - 1 degree (soudfile says "gradus")</span><br><span> * - 2 degreex1 (soundfile says "gradusa")</span><br><span>@@ -9676,9 +9676,9 @@</span><br><span> if (num == 1) { /* singular */</span><br><span> return "";</span><br><span> }</span><br><span style="color: hsl(0, 100%, 40%);">- if (num > 0 && num < 5) { /* 2--4 get genative singular */</span><br><span style="color: hsl(120, 100%, 40%);">+ if (num > 0 && num < 5) { /* 2--4 get genitive singular */</span><br><span> return "x1";</span><br><span style="color: hsl(0, 100%, 40%);">- } else { /* 5--19 get genative plural */</span><br><span style="color: hsl(120, 100%, 40%);">+ } else { /* 5--19 get genitive plural */</span><br><span> return "x2";</span><br><span> }</span><br><span> }</span><br><span>@@ -9705,7 +9705,7 @@</span><br><span> /*! \brief</span><br><span> * In slavic languages such as Russian and Ukrainian the rules for declining</span><br><span> * adjectives are simpler than those for nouns. When counting we use only</span><br><span style="color: hsl(0, 100%, 40%);">- * the singular (to which we give no suffix) and the genative plural (which</span><br><span style="color: hsl(120, 100%, 40%);">+ * the singular (to which we give no suffix) and the genitive plural (which</span><br><span> * we represent by adding an "x"). Oh, an in the singular gender matters</span><br><span> * so we append the supplied gender suffix ("m", "f", "n").</span><br><span> */</span><br><span>@@ -9720,7 +9720,7 @@</span><br><span> }</span><br><span> if (num == 1) {</span><br><span> return gender ? gender : "";</span><br><span style="color: hsl(0, 100%, 40%);">- } else { /* all other numbers get the genative plural */</span><br><span style="color: hsl(120, 100%, 40%);">+ } else { /* all other numbers get the genitive plural */</span><br><span> return "x";</span><br><span> }</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16947">change 16947</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16947"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ifb80eb7f68665b8b0936156a911c8b51e52bcaf7 </div>
<div style="display:none"> Gerrit-Change-Number: 16947 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>