[asterisk-bugs] [Asterisk 0012475]: [patch] message about number of new and old messages not properly conjugated in Russian

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 10:01:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12475 
====================================================================== 
Reported By:                chappell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12475
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-18-2008 09:35 CDT
Last Modified:              04-18-2008 10:01 CDT
====================================================================== 
Summary:                    [patch] message about number of new and old messages
not properly conjugated in Russian
Description: 
This is an old patch which we have been using for over a year.  Without it
the introductory message about how many voicemail messages are in the new
and old boxes is garbled.  The problems include dropt works, bad grammar,
and wrong counts.  As best I remember the patch fixes these problems:

* removed bad exception code for the Russian word for "one" in the neuter
singular
* due to confusion one of the counts of messages was wrong
* fixed conjugation of the adjectives meaning "old" and "new"

If necessary, I can go back and study the old code in order to accurately
describe exactly how it garbles the message.



====================================================================== 

---------------------------------------------------------------------- 
 chappell - 04-18-08 10:01  
---------------------------------------------------------------------- 
By the way, I notice that most languages provide their own version of
vm_intro().  I believe the need for this could be eliminated for most if
not all languages by improving the default (vm_intro_en()) function and
adding general use functions for it to call which declining nouns and
adjectives in counting contexts.

Basically the non-English languages provide their own versions in order to
correct three deficiencies in the default function:

1) It contains a hard coded rule for declining (in this case pluralizing)
the word "message" rather than calling function which takes a language
parameter and count and selects the proper noun form.

2) It does not attempt to decline the words "old" and "new" since they are
undeclinable in English.

3) It plays the names of mailboxes (vm-Old and vm-INBOX rather than the
words "old" and "new".  This problem is masked in English by the fact that
the default sound files vm-Old and vm-INBOX contain only the words "old"
and "new" respectively.  In other languages this won't work.

This last problem will become evident to English speakers if they
re-record the sound files to contain the phrases "the new messages" and
"the old messages".  You will hear "You have 5 the new messages and 10 the
old messages messages."  When non-English speakers hear this gibberish they
start creating their own function.

I am not trying to include these problems in this bug report.  I am just
trying to give this bug some context.  If anyone wants to discuss these
additional issues, please contact me directly at
David.Chappell at trincoll.edu. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 10:01  chappell       Note Added: 0085688                          
======================================================================




More information about the asterisk-bugs mailing list