[Asterisk-code-review] spelling: genitive (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:09:00 CDT 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16947 )


Change subject: spelling: genitive
......................................................................

spelling: genitive

Change-Id: Ifb80eb7f68665b8b0936156a911c8b51e52bcaf7
---
M apps/app_saycounted.c
M apps/app_voicemail.c
M main/say.c
3 files changed, 12 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/47/16947/1

diff --git a/apps/app_saycounted.c b/apps/app_saycounted.c
index 09a873a..0e0f2e0 100644
--- a/apps/app_saycounted.c
+++ b/apps/app_saycounted.c
@@ -53,8 +53,8 @@
 			to <replaceable>filename</replaceable>. If the channel language is
 			English, then the suffix will be either empty or "s". If the channel
 			language is Russian or some other Slavic language, then the suffix
-			will be empty for nominative, "x1" for genative singular, and "x2"
-			for genative plural.</para>
+			will be empty for nominative, "x1" for genitive singular, and "x2"
+			for genitive plural.</para>
 			<para>Note that combining <replaceable>filename</replaceable> with
 			a suffix will not necessarily produce a correctly spelled plural
 			form. For example, SayCountedNoun(2,man) will play the sound file
@@ -96,7 +96,7 @@
 			be added (since, in English, adjectives are not declined). If the
 			channel language is Russian or some other slavic language, then the
 			suffix will the specified <replaceable>gender</replaceable> for
-			nominative, and "x" for genative plural. (The genative singular is
+			nominative, and "x" for genitive plural. (The genitive singular is
 			not used when counting things.) For example, SayCountedAdj(1,new,f)
 			will play sound file "newa" (containing the word "novaya"), but
 			SayCountedAdj(5,new,f) will play sound file "newx" (containing the
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index a2d42e0..a5da765 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -9464,10 +9464,10 @@
  * If you use it for Russian and other slavic languages, you will need these additional sound files:
  *
  *  vm-newn		"novoye" (singular, neuter)
- *  vm-newx		"novikh" (counting plural form, genative plural)
+ *  vm-newx		"novikh" (counting plural form, genitive plural)
  *  vm-message		"sobsheniye" (singular form)
- *  vm-messagex1	"sobsheniya" (first counting plural form, genative singular)
- *  vm-messagex2	"sobsheniy" (second counting plural form, genative plural)
+ *  vm-messagex1	"sobsheniya" (first counting plural form, genitive singular)
+ *  vm-messagex2	"sobsheniy" (second counting plural form, genitive plural)
  *  digits/1n		"odno" (neuter singular for phrases such as "one message" or "thirty one messages")
  *  digits/2n		"dva" (neuter singular)
  */
diff --git a/main/say.c b/main/say.c
index 3b260e1..41de526 100644
--- a/main/say.c
+++ b/main/say.c
@@ -9657,8 +9657,8 @@
 /*! \brief
  * Counting of objects in slavic languages such as Russian and Ukrainian the
  * rules are more complicated. There are two plural forms used in counting.
- * They are the genative singular which we represent with the suffix "x1" and
- * the genative plural which we represent with the suffix "x2". The base names
+ * They are the genitive singular which we represent with the suffix "x1" and
+ * the genitive plural which we represent with the suffix "x2". The base names
  * of the soundfiles remain in English. For example:
  *  - 1 degree (soudfile says "gradus")
  *  - 2 degreex1 (soundfile says "gradusa")
@@ -9676,9 +9676,9 @@
 	if (num == 1) {			/* singular */
 	    return "";
 	}
-	if (num > 0 && num < 5) {	/* 2--4 get genative singular */
+	if (num > 0 && num < 5) {	/* 2--4 get genitive singular */
 	    return "x1";
-	} else {			/* 5--19 get genative plural */
+	} else {			/* 5--19 get genitive plural */
 	    return "x2";
 	}
 }
@@ -9705,7 +9705,7 @@
 /*! \brief
  * In slavic languages such as Russian and Ukrainian the rules for declining
  * adjectives are simpler than those for nouns.  When counting we use only
- * the singular (to which we give no suffix) and the genative plural (which
+ * the singular (to which we give no suffix) and the genitive plural (which
  * we represent by adding an "x").  Oh, an in the singular gender matters
  * so we append the supplied gender suffix ("m", "f", "n").
  */
@@ -9720,7 +9720,7 @@
 	}
 	if (num == 1) {
 	    return gender ? gender : "";
-	} else {		/* all other numbers get the genative plural */
+	} else {		/* all other numbers get the genitive plural */
 	    return "x";
 	}
 }

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16947
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ifb80eb7f68665b8b0936156a911c8b51e52bcaf7
Gerrit-Change-Number: 16947
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/d64c8c57/attachment.html>


More information about the asterisk-code-review mailing list